@corva/ui 0.89.0-7 → 0.89.0-9

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 (722) hide show
  1. package/cjs-bundle/clients/api/apiCore.js +1 -1
  2. package/cjs-bundle/components/AddComment/Popover.js +1 -1
  3. package/cjs-bundle/components/AddComment/Popup.js +1 -1
  4. package/cjs-bundle/components/AddComment/components/Content.js +1 -1
  5. package/cjs-bundle/components/AdvancedSlider/Handle.js +1 -1
  6. package/cjs-bundle/components/Annotations/components/AnnotationsList/components/AddAnnotationForm/index.js +1 -1
  7. package/cjs-bundle/components/Annotations/components/AnnotationsList/components/Annotation/index.js +1 -1
  8. package/cjs-bundle/components/Annotations/components/AnnotationsList/components/AnnotationComments/index.js +1 -1
  9. package/cjs-bundle/components/Annotations/components/AnnotationsList/components/AnnotationInput/index.js +1 -1
  10. package/cjs-bundle/components/Annotations/components/AnnotationsList/index.js +1 -1
  11. package/cjs-bundle/components/Annotations/components/LastAnnotation/index.js +1 -1
  12. package/cjs-bundle/components/AppIcon/utils.js +1 -1
  13. package/cjs-bundle/components/AppVersionsSelect/AppVersionsSelect.js +1 -1
  14. package/cjs-bundle/components/AssetEditor/effects/index.js +1 -1
  15. package/cjs-bundle/components/AssetEditor/index.js +1 -1
  16. package/cjs-bundle/components/AssetEditorV2/components/SecondaryAssetSelect.js +1 -1
  17. package/cjs-bundle/components/AssetEditorV2/effects/index.js +1 -1
  18. package/cjs-bundle/components/AssetEditorV2/effects/usePrimaryAssetSelectData.js +1 -1
  19. package/cjs-bundle/components/AssetEditorV2/index.js +1 -1
  20. package/cjs-bundle/components/AssetEditorV2/utils/index.js +1 -1
  21. package/cjs-bundle/components/Attachment/index.js +1 -1
  22. package/cjs-bundle/components/BICOffsetPickerDialog/components/Map/Map.js +1 -1
  23. package/cjs-bundle/components/BICOffsetPickerDialog/components/WellSection/index.js +1 -1
  24. package/cjs-bundle/components/BICOffsetPickerDialog/index.js +1 -1
  25. package/cjs-bundle/components/Breadcrumbs/index.js +1 -1
  26. package/cjs-bundle/components/Casing/CasingTable/index.js +1 -1
  27. package/cjs-bundle/components/Casing/CasingTableV2/CasingTableV2.js +1 -1
  28. package/cjs-bundle/components/Casing/CasingTableV2/components/CasingJoints/Browser.js +1 -1
  29. package/cjs-bundle/components/Casing/CasingTableV2/components/CasingJoints/Editor.js +1 -1
  30. package/cjs-bundle/components/Casing/CasingTableV2/components/Component.js +1 -1
  31. package/cjs-bundle/components/Casing/CasingTableV2/components/DrillPipe/Browser.js +1 -1
  32. package/cjs-bundle/components/Casing/CasingTableV2/components/DrillPipe/Editor.js +1 -1
  33. package/cjs-bundle/components/Casing/CasingTableV2/components/EditComponentDialog.js +1 -1
  34. package/cjs-bundle/components/Casing/CasingTile/CasingTile.js +1 -1
  35. package/cjs-bundle/components/Chart/components/buttons/ChartTypeButton.js +1 -1
  36. package/cjs-bundle/components/Chart/components/buttons/DragToZoomButton.js +1 -1
  37. package/cjs-bundle/components/Chart/components/buttons/HideAxesButton.js +1 -1
  38. package/cjs-bundle/components/Chart/components/buttons/PanButton.js +1 -1
  39. package/cjs-bundle/components/Chart/components/buttons/ResetZoomButton.js +1 -1
  40. package/cjs-bundle/components/Chart/components/buttons/ZoomInButton.js +1 -1
  41. package/cjs-bundle/components/Chart/components/buttons/ZoomOutButton.js +1 -1
  42. package/cjs-bundle/components/Chart/utils.js +1 -1
  43. package/cjs-bundle/components/ChartActionsList/ChartActionsList.js +1 -1
  44. package/cjs-bundle/components/CollapsableSidebar.js +1 -1
  45. package/cjs-bundle/components/ColorPicker/PaletteChromePicker/PaletteChromePicker.js +1 -1
  46. package/cjs-bundle/components/Comment/index.js +1 -1
  47. package/cjs-bundle/components/CommentInput/index.js +1 -1
  48. package/cjs-bundle/components/CommentsInfo/index.js +1 -1
  49. package/cjs-bundle/components/DevCenter/AppHeader/AppHeader.js +1 -1
  50. package/cjs-bundle/components/DevCenter/AppsDataProvider/effects/dataResolvers.js +1 -1
  51. package/cjs-bundle/components/DevCenter/AppsDataProvider/effects/useAppsData.js +1 -1
  52. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/DevCenterAppContainer.js +1 -1
  53. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/AppInfoMessage/AppInfoMessage.js +1 -1
  54. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/AppSettingsDialog.js +1 -1
  55. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/NonPriorityMenus/NonPriorityMenus.js +1 -1
  56. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/PriorityMenus/PriorityMenus.js +1 -1
  57. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/RestoreAppSizeButton/index.js +1 -1
  58. package/cjs-bundle/components/DevCenter/IsolatedDevCenterAppContainer/DevCenterAppZoidComponent.js +1 -1
  59. package/cjs-bundle/components/DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedApp.js +1 -1
  60. package/cjs-bundle/components/DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedAppPage.js +1 -1
  61. package/cjs-bundle/components/DocumentViewer/DocumentViewer.js +1 -1
  62. package/cjs-bundle/components/Drillstring/BHAComponentDetail/index.js +1 -1
  63. package/cjs-bundle/components/Drillstring/BHAComponentsTable/BHAComponentsTable.js +1 -1
  64. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Agitator/Browser.js +1 -1
  65. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Agitator/Editor.js +1 -1
  66. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Bit/Browser.js +1 -1
  67. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Bit/Editor.js +1 -1
  68. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Component.js +1 -1
  69. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/DrillCollar/Browser.js +1 -1
  70. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/DrillCollar/Editor.js +1 -1
  71. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/DrillPipe/Browser.js +1 -1
  72. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/DrillPipe/Editor.js +1 -1
  73. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/EditComponentDialog.js +1 -1
  74. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Jar/Browser.js +1 -1
  75. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Jar/Editor.js +1 -1
  76. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Lwd/Browser.js +1 -1
  77. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Lwd/Editor.js +1 -1
  78. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Lwd/Measurement.js +1 -1
  79. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Mwd/Browser.js +1 -1
  80. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Mwd/Editor.js +1 -1
  81. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/NozzleSize/index.js +1 -1
  82. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Pdm/Browser.js +1 -1
  83. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Pdm/Editor.js +1 -1
  84. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/PressureLoss/index.js +1 -1
  85. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Rss/Browser.js +1 -1
  86. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Rss/Editor.js +1 -1
  87. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/SortableComponent.js +1 -1
  88. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Stabilizer/Browser.js +1 -1
  89. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Stabilizer/Editor.js +1 -1
  90. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Sub/Browser.js +1 -1
  91. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Sub/Editor.js +1 -1
  92. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Suggestions/Suggestions.js +1 -1
  93. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Ur/Browser.js +1 -1
  94. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Ur/Editor.js +1 -1
  95. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/shared/ConfirmationPopup.js +1 -1
  96. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/shared/InputText.js +1 -1
  97. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/shared/SelectField.js +1 -1
  98. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/shared/SharedEditorElements.js +1 -1
  99. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/shared/StaticField.js +1 -1
  100. package/cjs-bundle/components/Drillstring/BHAList/BHAList.js +1 -1
  101. package/cjs-bundle/components/Drillstring/BHATable/index.js +1 -1
  102. package/cjs-bundle/components/Drillstring/BHATile/BHATile.js +1 -1
  103. package/cjs-bundle/components/Drillstring/DrillstringDetail/DrillstringDetail.js +1 -1
  104. package/cjs-bundle/components/EmbeddedApp/DevCenterEmbeddedApp.js +1 -1
  105. package/cjs-bundle/components/EmbeddedApp/EmbeddedApp.js +1 -1
  106. package/cjs-bundle/components/ErrorBoundary/DevCenterAppErrorView/DevCenterAppErrorView.js +1 -1
  107. package/cjs-bundle/components/FeedItem/FeedItem.js +1 -1
  108. package/cjs-bundle/components/FeedItem/FeedItemEditProvider/FeedItemEditModal.js +1 -1
  109. package/cjs-bundle/components/FeedItem/FeedItemEditProvider/FeedItemEditProvider.js +1 -1
  110. package/cjs-bundle/components/FeedItem/components/Content.js +1 -1
  111. package/cjs-bundle/components/FeedItem/components/Icon.js +1 -1
  112. package/cjs-bundle/components/FeedItem/editModals/DvdCommentEdit/DvdCommentEdit.js +1 -1
  113. package/cjs-bundle/components/FeedItem/feedItemTypes/AppAnnotationFeedItem/index.js +1 -1
  114. package/cjs-bundle/components/FeedItem/feedItemTypes/BhaFeedItem/BhaFeedItem.js +1 -1
  115. package/cjs-bundle/components/FeedItem/feedItemTypes/LessonsLearnedFeedItem/index.js +1 -1
  116. package/cjs-bundle/components/FeedItem/feedItemTypes/StageOverviewFeedItem/components/Stages/Stages.js +1 -1
  117. package/cjs-bundle/components/FeedItem/feedItemTypes/StageOverviewFeedItem/index.js +1 -1
  118. package/cjs-bundle/components/FeedItem/feedItemTypes/SurveyStationFeedItem/index.js +1 -1
  119. package/cjs-bundle/components/FeedItem/feedItemTypes/WellPlanFeedItem/index.js +1 -1
  120. package/cjs-bundle/components/FilePreview/index.js +1 -1
  121. package/cjs-bundle/components/GoogleDocsViewer/index.js +1 -1
  122. package/cjs-bundle/components/HeaderLayout/effects/index.js +1 -1
  123. package/cjs-bundle/components/InfiniteList/index.js +1 -1
  124. package/cjs-bundle/components/OffsetWellPickerV2/OffsetWellPickerDialog.js +1 -1
  125. package/cjs-bundle/components/OffsetWellPickerV2/components/Filter/NonEngineeredWellsSwitch.js +1 -1
  126. package/cjs-bundle/components/OffsetWellPickerV2/components/Filter/SidetrackSwitch.js +1 -1
  127. package/cjs-bundle/components/OffsetWellPickerV2/components/Filter/ToggleMapButton.js +1 -1
  128. package/cjs-bundle/components/OffsetWellPickerV2/components/Filter/index.js +1 -1
  129. package/cjs-bundle/components/OffsetWellPickerV2/components/Map/Map.js +1 -1
  130. package/cjs-bundle/components/OffsetWellPickerV2/components/Table/MetricsAddMenu.js +1 -1
  131. package/cjs-bundle/components/OffsetWellPickerV2/components/Table/index.js +1 -1
  132. package/cjs-bundle/components/OffsetWellPickerV2/effects/index.js +1 -1
  133. package/cjs-bundle/components/OffsetWellPickerV2/utils/apiCalls.js +1 -1
  134. package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/components/Filter/SidetrackSwitch.js +1 -1
  135. package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/components/Filter/index.js +1 -1
  136. package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/components/Map/Map.js +1 -1
  137. package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/MetricsAddMenu.js +1 -1
  138. package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/index.js +1 -1
  139. package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/effects/index.js +1 -1
  140. package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/index.js +1 -1
  141. package/cjs-bundle/components/OffsetWellPickerV3/components/OffsetWellSelectionView/index.js +1 -1
  142. package/cjs-bundle/components/OffsetWellPickerV3/components/TabSelection/ToggleMapButton.js +1 -1
  143. package/cjs-bundle/components/OffsetWellPickerV3/components/TabSelection/index.js +1 -1
  144. package/cjs-bundle/components/OffsetWellPickerV3/components/WellHubView/index.js +1 -1
  145. package/cjs-bundle/components/OffsetWellPickerV3/components/shared/OffsetWellTableHead.js +1 -1
  146. package/cjs-bundle/components/OffsetWellPickerV3/index.js +1 -1
  147. package/cjs-bundle/components/OffsetWellPickerV3/utils/apiCalls.js +1 -1
  148. package/cjs-bundle/components/OffsetWellPickerV4/OffsetWellPickerV4.js +1 -1
  149. package/cjs-bundle/components/OffsetWellPickerV4/components/AppHeader/AppHeader.js +1 -1
  150. package/cjs-bundle/components/OffsetWellPickerV4/components/CustomInfoIcon/CustomInfoIcon.js +1 -1
  151. package/cjs-bundle/components/OffsetWellPickerV4/components/Filter/Filter.js +1 -1
  152. package/cjs-bundle/components/OffsetWellPickerV4/components/Filter/RadiusInput.js +1 -1
  153. package/cjs-bundle/components/OffsetWellPickerV4/components/OffsetWellsTable/AdvancedSearch/AssetResultSection.js +1 -1
  154. package/cjs-bundle/components/OffsetWellPickerV4/components/OffsetWellsTable/MetricsSelect.js +1 -1
  155. package/cjs-bundle/components/OffsetWellPickerV4/components/OffsetWellsTable/MetricsSettingMenu.js +1 -1
  156. package/cjs-bundle/components/OffsetWellPickerV4/components/OffsetWellsTable/OffsetWellsTable.js +1 -1
  157. package/cjs-bundle/components/OffsetWellPickerV4/components/OffsetWellsTable/OffsetWellsTableHead.js +1 -1
  158. package/cjs-bundle/components/OffsetWellPickerV4/components/OffsetWellsTable/OffsetWellsTableRow.js +1 -1
  159. package/cjs-bundle/components/OffsetWellPickerV4/components/Toolbar/Toolbar.js +1 -1
  160. package/cjs-bundle/components/OffsetWellPickerV4/effects/useAdvancedWells.js +1 -1
  161. package/cjs-bundle/components/OffsetWellPickerV4/utils/apiCalls.js +1 -1
  162. package/cjs-bundle/components/OffsetWellPickerV4/utils/index.js +1 -1
  163. package/cjs-bundle/components/PadModeSelect/PadModeSelect.js +1 -1
  164. package/cjs-bundle/components/PadOffsetsPicker/StagesSelector.js +1 -1
  165. package/cjs-bundle/components/PadOffsetsPickerV2/PadOffsetsPickerV2.js +1 -1
  166. package/cjs-bundle/components/ParameterCharts/AddEditTrack.js +1 -1
  167. package/cjs-bundle/components/ParameterCharts/ParameterCharts.js +1 -1
  168. package/cjs-bundle/components/ParameterCharts/components/ChartContainer.js +1 -1
  169. package/cjs-bundle/components/ParameterCharts/components/SingleChannelTrackSettings.js +1 -1
  170. package/cjs-bundle/components/ParameterCharts/components/Tooltip/Tooltip.js +1 -1
  171. package/cjs-bundle/components/ParameterCharts/components/TraceHeader.js +1 -1
  172. package/cjs-bundle/components/ParameterCharts/components/TraceSettings.js +1 -1
  173. package/cjs-bundle/components/ParameterCharts/components/Track.js +1 -1
  174. package/cjs-bundle/components/ParameterCharts/components/TrackSettings.js +1 -1
  175. package/cjs-bundle/components/PinnableFilters/effects/index.js +1 -1
  176. package/cjs-bundle/components/PostInput/PostInput.js +1 -1
  177. package/cjs-bundle/components/PostPreviewDialog/index.js +1 -1
  178. package/cjs-bundle/components/Search/Search.js +1 -1
  179. package/cjs-bundle/components/Search/components/Paper.js +1 -1
  180. package/cjs-bundle/components/StageDesignVActual/ComparisonBar/ComparisonBar.js +1 -1
  181. package/cjs-bundle/components/StageDesignVActual/ComparisonRow.js +1 -1
  182. package/cjs-bundle/components/StageDesignVActual/ElementsComparison/ElementsComparison.js +1 -1
  183. package/cjs-bundle/components/Template/TemplateSharingDialog/UsersChipSelector.js +1 -1
  184. package/cjs-bundle/components/Template/TemplateSharingDialog/index.js +1 -1
  185. package/cjs-bundle/components/TracesEditModal/TracesEditModal.js +1 -1
  186. package/cjs-bundle/components/TracesEditModal/TracesEditModalContainer.js +1 -1
  187. package/cjs-bundle/components/UserCard/index.js +1 -1
  188. package/cjs-bundle/components/UserMention/index.js +1 -1
  189. package/cjs-bundle/components/UserMention/utils/index.js +1 -1
  190. package/cjs-bundle/components/WellSummary/ActivitySummaryChart.js +1 -1
  191. package/cjs-bundle/components/WellSummary/effects/useWellSummaryData.js +1 -1
  192. package/cjs-bundle/config/theme/index.js +1 -1
  193. package/cjs-bundle/effects/useSubscriptions.js +1 -1
  194. package/cjs-bundle/permissions/useProvidePermissions.js +1 -1
  195. package/cjs-bundle/permissions/withPermissionsHOC.js +1 -1
  196. package/cjs-bundle/utils/casing/conversion.js +1 -1
  197. package/cjs-bundle/utils/filePreview.js +1 -1
  198. package/cjs-bundle/utils/index.js +1 -1
  199. package/clients/api/apiCore.js +1 -1
  200. package/components/AddComment/Popover.js +1 -1
  201. package/components/AddComment/Popup.d.ts.map +1 -1
  202. package/components/AddComment/Popup.js +1 -1
  203. package/components/AddComment/components/Content.js +1 -1
  204. package/components/AdvancedSlider/AdvancedSlider.d.ts.map +1 -1
  205. package/components/AdvancedSlider/Handle.d.ts.map +1 -1
  206. package/components/AdvancedSlider/Handle.js +1 -1
  207. package/components/AdvancedSlider/styles/handleStyles.d.ts +1 -1
  208. package/components/AdvancedSlider/styles/handleStyles.d.ts.map +1 -1
  209. package/components/Annotations/components/AnnotationsList/components/AddAnnotationForm/index.js +1 -1
  210. package/components/Annotations/components/AnnotationsList/components/Annotation/index.js +1 -1
  211. package/components/Annotations/components/AnnotationsList/components/AnnotationComments/index.js +1 -1
  212. package/components/Annotations/components/AnnotationsList/components/AnnotationInput/index.d.ts +1 -1
  213. package/components/Annotations/components/AnnotationsList/components/AnnotationInput/index.js +1 -1
  214. package/components/Annotations/components/AnnotationsList/index.d.ts +2 -2
  215. package/components/Annotations/components/AnnotationsList/index.js +1 -1
  216. package/components/Annotations/components/LastAnnotation/index.js +1 -1
  217. package/components/AppIcon/utils.js +1 -1
  218. package/components/AppVersionsSelect/AppVersionsSelect.d.ts.map +1 -1
  219. package/components/AppVersionsSelect/AppVersionsSelect.js +1 -1
  220. package/components/AppVersionsSelect/effects/index.d.ts.map +1 -1
  221. package/components/AssetEditor/AssetEditorAutocomplete.d.ts +4 -4
  222. package/components/AssetEditor/SingleAssetEditor.d.ts +3 -3
  223. package/components/AssetEditor/SingleAssetEditor.d.ts.map +1 -1
  224. package/components/AssetEditor/effects/index.d.ts.map +1 -1
  225. package/components/AssetEditor/effects/index.js +1 -1
  226. package/components/AssetEditor/index.js +1 -1
  227. package/components/AssetEditorV2/components/MultipleAssetsToggle.d.ts.map +1 -1
  228. package/components/AssetEditorV2/components/PrimaryAssetSelect.d.ts.map +1 -1
  229. package/components/AssetEditorV2/components/PrimaryAssetSelectV2.d.ts.map +1 -1
  230. package/components/AssetEditorV2/components/SecondaryAssetSelect.d.ts.map +1 -1
  231. package/components/AssetEditorV2/components/SecondaryAssetSelect.js +1 -1
  232. package/components/AssetEditorV2/components/SelectItem.d.ts.map +1 -1
  233. package/components/AssetEditorV2/effects/index.d.ts.map +1 -1
  234. package/components/AssetEditorV2/effects/index.js +1 -1
  235. package/components/AssetEditorV2/effects/usePrimaryAssetSelectData.d.ts.map +1 -1
  236. package/components/AssetEditorV2/effects/usePrimaryAssetSelectData.js +1 -1
  237. package/components/AssetEditorV2/index.d.ts.map +1 -1
  238. package/components/AssetEditorV2/index.js +1 -1
  239. package/components/AssetEditorV2/utils/index.d.ts.map +1 -1
  240. package/components/AssetEditorV2/utils/index.js +1 -1
  241. package/components/AssetsMultipleSelector/AssetsMultipleSelector.d.ts.map +1 -1
  242. package/components/Attachment/index.d.ts +3 -3
  243. package/components/Attachment/index.js +1 -1
  244. package/components/Autocomplete/Autocomplete.d.ts.map +1 -1
  245. package/components/Avatar/index.d.ts +4 -4
  246. package/components/BICOffsetPickerDialog/components/Map/Map.d.ts.map +1 -1
  247. package/components/BICOffsetPickerDialog/components/Map/Map.js +1 -1
  248. package/components/BICOffsetPickerDialog/components/Map/index.d.ts.map +1 -1
  249. package/components/BICOffsetPickerDialog/components/WellSection/AutoCompleteAssetSearch/AssetResultSection.d.ts.map +1 -1
  250. package/components/BICOffsetPickerDialog/components/WellSection/AutoCompleteAssetSearch/AssetTypesSection.d.ts.map +1 -1
  251. package/components/BICOffsetPickerDialog/components/WellSection/NumberCircle.d.ts +1 -1
  252. package/components/BICOffsetPickerDialog/components/WellSection/NumberCircle.d.ts.map +1 -1
  253. package/components/BICOffsetPickerDialog/components/WellSection/SectionItem.d.ts.map +1 -1
  254. package/components/BICOffsetPickerDialog/components/WellSection/index.d.ts.map +1 -1
  255. package/components/BICOffsetPickerDialog/components/WellSection/index.js +1 -1
  256. package/components/BICOffsetPickerDialog/index.js +1 -1
  257. package/components/Breadcrumbs/index.d.ts.map +1 -1
  258. package/components/Breadcrumbs/index.js +1 -1
  259. package/components/Button/components/Button/index.d.ts +1 -1
  260. package/components/Button/components/LiveButton/styles.d.ts +1 -1
  261. package/components/Casing/CasingTable/index.js +1 -1
  262. package/components/Casing/CasingTableV2/CasingTableV2.d.ts.map +1 -1
  263. package/components/Casing/CasingTableV2/CasingTableV2.js +1 -1
  264. package/components/Casing/CasingTableV2/components/CasingJoints/Browser.d.ts.map +1 -1
  265. package/components/Casing/CasingTableV2/components/CasingJoints/Browser.js +1 -1
  266. package/components/Casing/CasingTableV2/components/CasingJoints/Editor.d.ts.map +1 -1
  267. package/components/Casing/CasingTableV2/components/CasingJoints/Editor.js +1 -1
  268. package/components/Casing/CasingTableV2/components/Component.d.ts.map +1 -1
  269. package/components/Casing/CasingTableV2/components/Component.js +1 -1
  270. package/components/Casing/CasingTableV2/components/DrillPipe/Browser.d.ts.map +1 -1
  271. package/components/Casing/CasingTableV2/components/DrillPipe/Browser.js +1 -1
  272. package/components/Casing/CasingTableV2/components/DrillPipe/Editor.d.ts.map +1 -1
  273. package/components/Casing/CasingTableV2/components/DrillPipe/Editor.js +1 -1
  274. package/components/Casing/CasingTableV2/components/EditComponentDialog.js +1 -1
  275. package/components/Casing/CasingTableV2/components/Header.d.ts.map +1 -1
  276. package/components/Casing/CasingTile/CasingTile.d.ts.map +1 -1
  277. package/components/Casing/CasingTile/CasingTile.js +1 -1
  278. package/components/Chart/components/AxisDropdown.d.ts.map +1 -1
  279. package/components/Chart/components/ChartButton.d.ts.map +1 -1
  280. package/components/Chart/components/ChartButtons.d.ts.map +1 -1
  281. package/components/Chart/components/ChartSelect.d.ts.map +1 -1
  282. package/components/Chart/components/ChartWrapper.d.ts.map +1 -1
  283. package/components/Chart/components/buttons/ChartTypeButton.d.ts.map +1 -1
  284. package/components/Chart/components/buttons/ChartTypeButton.js +1 -1
  285. package/components/Chart/components/buttons/DragToZoomButton.d.ts.map +1 -1
  286. package/components/Chart/components/buttons/DragToZoomButton.js +1 -1
  287. package/components/Chart/components/buttons/HideAxesButton.d.ts.map +1 -1
  288. package/components/Chart/components/buttons/HideAxesButton.js +1 -1
  289. package/components/Chart/components/buttons/PanButton.d.ts.map +1 -1
  290. package/components/Chart/components/buttons/PanButton.js +1 -1
  291. package/components/Chart/components/buttons/ResetZoomButton.d.ts.map +1 -1
  292. package/components/Chart/components/buttons/ResetZoomButton.js +1 -1
  293. package/components/Chart/components/buttons/ZoomInButton.d.ts.map +1 -1
  294. package/components/Chart/components/buttons/ZoomInButton.js +1 -1
  295. package/components/Chart/components/buttons/ZoomOutButton.d.ts.map +1 -1
  296. package/components/Chart/components/buttons/ZoomOutButton.js +1 -1
  297. package/components/Chart/effects/useChartModifier.d.ts.map +1 -1
  298. package/components/Chart/effects/useZoom.d.ts.map +1 -1
  299. package/components/Chart/options.d.ts.map +1 -1
  300. package/components/Chart/utils.d.ts.map +1 -1
  301. package/components/Chart/utils.js +1 -1
  302. package/components/ChartActionsList/ChartActionsList.d.ts +1 -1
  303. package/components/ChartActionsList/ChartActionsList.js +1 -1
  304. package/components/Chip/index.d.ts +1 -1
  305. package/components/CollapsableSidebar.d.ts +2 -2
  306. package/components/CollapsableSidebar.js +1 -1
  307. package/components/ColorPicker/PaletteChromePicker/PaletteChromePicker.js +1 -1
  308. package/components/Comment/index.d.ts +3 -3
  309. package/components/Comment/index.js +1 -1
  310. package/components/CommentInput/index.d.ts +2 -2
  311. package/components/CommentInput/index.js +1 -1
  312. package/components/CommentsInfo/index.js +1 -1
  313. package/components/ConfirmationDialog.d.ts +5 -5
  314. package/components/ContextMenuItem/index.d.ts.map +1 -1
  315. package/components/CopyToClipboard/CopyToClipboard.d.ts.map +1 -1
  316. package/components/DevCenter/AppHeader/AppHeader.d.ts.map +1 -1
  317. package/components/DevCenter/AppHeader/AppHeader.js +1 -1
  318. package/components/DevCenter/AppHeader/AppHeaderStyles.d.ts +1 -1
  319. package/components/DevCenter/AppsDataProvider/AppsDataProvider.d.ts.map +1 -1
  320. package/components/DevCenter/AppsDataProvider/effects/__tests__/mocks/assetDashboard/wellAssetDashboard/appWithDefaultSettings.d.ts.map +1 -1
  321. package/components/DevCenter/AppsDataProvider/effects/dataResolvers.d.ts.map +1 -1
  322. package/components/DevCenter/AppsDataProvider/effects/dataResolvers.js +1 -1
  323. package/components/DevCenter/AppsDataProvider/effects/useAppsData.js +1 -1
  324. package/components/DevCenter/DevCenterAppContainer/DevCenterAppContainer.d.ts.map +1 -1
  325. package/components/DevCenter/DevCenterAppContainer/DevCenterAppContainer.js +1 -1
  326. package/components/DevCenter/DevCenterAppContainer/components/AnnotationsButton/AnnotationsButton.d.ts.map +1 -1
  327. package/components/DevCenter/DevCenterAppContainer/components/AppInfoMessage/AppInfoMessage.js +1 -1
  328. package/components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/AppSettingsDialog.d.ts.map +1 -1
  329. package/components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/AppSettingsDialog.js +1 -1
  330. package/components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/styles.d.ts +1 -1
  331. package/components/DevCenter/DevCenterAppContainer/components/FullscreenButton/FullscreenButton.d.ts.map +1 -1
  332. package/components/DevCenter/DevCenterAppContainer/components/NonPriorityMenus/NonPriorityMenus.d.ts.map +1 -1
  333. package/components/DevCenter/DevCenterAppContainer/components/NonPriorityMenus/NonPriorityMenus.js +1 -1
  334. package/components/DevCenter/DevCenterAppContainer/components/PriorityMenus/PriorityMenus.d.ts.map +1 -1
  335. package/components/DevCenter/DevCenterAppContainer/components/PriorityMenus/PriorityMenus.js +1 -1
  336. package/components/DevCenter/DevCenterAppContainer/components/RestoreAppSizeButton/index.d.ts.map +1 -1
  337. package/components/DevCenter/DevCenterAppContainer/components/RestoreAppSizeButton/index.js +1 -1
  338. package/components/DevCenter/DevCenterAppContainer/effects/useAnnotationsData.d.ts.map +1 -1
  339. package/components/DevCenter/DevCenterRouterContext/effects/useDevCenterRouter.d.ts.map +1 -1
  340. package/components/DevCenter/IsolatedDevCenterAppContainer/DevCenterAppZoidComponent.js +1 -1
  341. package/components/DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedApp.d.ts.map +1 -1
  342. package/components/DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedApp.js +1 -1
  343. package/components/DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedAppPage.js +1 -1
  344. package/components/DevCenter/SideBar/SideBar.d.ts +3 -3
  345. package/components/DocumentViewer/DocumentViewer.d.ts.map +1 -1
  346. package/components/DocumentViewer/DocumentViewer.js +1 -1
  347. package/components/Drillstring/BHAComponentDetail/index.d.ts.map +1 -1
  348. package/components/Drillstring/BHAComponentDetail/index.js +1 -1
  349. package/components/Drillstring/BHAComponentsTable/BHAComponentsTable.d.ts.map +1 -1
  350. package/components/Drillstring/BHAComponentsTable/BHAComponentsTable.js +1 -1
  351. package/components/Drillstring/BHAComponentsTable/components/Agitator/Browser.d.ts.map +1 -1
  352. package/components/Drillstring/BHAComponentsTable/components/Agitator/Browser.js +1 -1
  353. package/components/Drillstring/BHAComponentsTable/components/Agitator/Editor.d.ts.map +1 -1
  354. package/components/Drillstring/BHAComponentsTable/components/Agitator/Editor.js +1 -1
  355. package/components/Drillstring/BHAComponentsTable/components/Bit/Browser.d.ts.map +1 -1
  356. package/components/Drillstring/BHAComponentsTable/components/Bit/Browser.js +1 -1
  357. package/components/Drillstring/BHAComponentsTable/components/Bit/Editor.d.ts.map +1 -1
  358. package/components/Drillstring/BHAComponentsTable/components/Bit/Editor.js +1 -1
  359. package/components/Drillstring/BHAComponentsTable/components/Component.d.ts +1 -1
  360. package/components/Drillstring/BHAComponentsTable/components/Component.d.ts.map +1 -1
  361. package/components/Drillstring/BHAComponentsTable/components/Component.js +1 -1
  362. package/components/Drillstring/BHAComponentsTable/components/DrillCollar/Browser.d.ts.map +1 -1
  363. package/components/Drillstring/BHAComponentsTable/components/DrillCollar/Browser.js +1 -1
  364. package/components/Drillstring/BHAComponentsTable/components/DrillCollar/Editor.d.ts.map +1 -1
  365. package/components/Drillstring/BHAComponentsTable/components/DrillCollar/Editor.js +1 -1
  366. package/components/Drillstring/BHAComponentsTable/components/DrillPipe/Browser.d.ts.map +1 -1
  367. package/components/Drillstring/BHAComponentsTable/components/DrillPipe/Browser.js +1 -1
  368. package/components/Drillstring/BHAComponentsTable/components/DrillPipe/Editor.d.ts.map +1 -1
  369. package/components/Drillstring/BHAComponentsTable/components/DrillPipe/Editor.js +1 -1
  370. package/components/Drillstring/BHAComponentsTable/components/EditComponentDialog.js +1 -1
  371. package/components/Drillstring/BHAComponentsTable/components/Header.d.ts.map +1 -1
  372. package/components/Drillstring/BHAComponentsTable/components/Jar/Browser.d.ts.map +1 -1
  373. package/components/Drillstring/BHAComponentsTable/components/Jar/Browser.js +1 -1
  374. package/components/Drillstring/BHAComponentsTable/components/Jar/Editor.d.ts.map +1 -1
  375. package/components/Drillstring/BHAComponentsTable/components/Jar/Editor.js +1 -1
  376. package/components/Drillstring/BHAComponentsTable/components/Lwd/Browser.d.ts.map +1 -1
  377. package/components/Drillstring/BHAComponentsTable/components/Lwd/Browser.js +1 -1
  378. package/components/Drillstring/BHAComponentsTable/components/Lwd/Editor.d.ts.map +1 -1
  379. package/components/Drillstring/BHAComponentsTable/components/Lwd/Editor.js +1 -1
  380. package/components/Drillstring/BHAComponentsTable/components/Lwd/Measurement.d.ts.map +1 -1
  381. package/components/Drillstring/BHAComponentsTable/components/Lwd/Measurement.js +1 -1
  382. package/components/Drillstring/BHAComponentsTable/components/Mwd/Browser.d.ts.map +1 -1
  383. package/components/Drillstring/BHAComponentsTable/components/Mwd/Browser.js +1 -1
  384. package/components/Drillstring/BHAComponentsTable/components/Mwd/Editor.d.ts.map +1 -1
  385. package/components/Drillstring/BHAComponentsTable/components/Mwd/Editor.js +1 -1
  386. package/components/Drillstring/BHAComponentsTable/components/NozzleSize/index.d.ts.map +1 -1
  387. package/components/Drillstring/BHAComponentsTable/components/NozzleSize/index.js +1 -1
  388. package/components/Drillstring/BHAComponentsTable/components/Pdm/Browser.d.ts.map +1 -1
  389. package/components/Drillstring/BHAComponentsTable/components/Pdm/Browser.js +1 -1
  390. package/components/Drillstring/BHAComponentsTable/components/Pdm/Editor.d.ts.map +1 -1
  391. package/components/Drillstring/BHAComponentsTable/components/Pdm/Editor.js +1 -1
  392. package/components/Drillstring/BHAComponentsTable/components/PressureLoss/index.d.ts.map +1 -1
  393. package/components/Drillstring/BHAComponentsTable/components/PressureLoss/index.js +1 -1
  394. package/components/Drillstring/BHAComponentsTable/components/Rss/Browser.d.ts.map +1 -1
  395. package/components/Drillstring/BHAComponentsTable/components/Rss/Browser.js +1 -1
  396. package/components/Drillstring/BHAComponentsTable/components/Rss/Editor.d.ts.map +1 -1
  397. package/components/Drillstring/BHAComponentsTable/components/Rss/Editor.js +1 -1
  398. package/components/Drillstring/BHAComponentsTable/components/SortableComponent.js +1 -1
  399. package/components/Drillstring/BHAComponentsTable/components/Stabilizer/Browser.d.ts.map +1 -1
  400. package/components/Drillstring/BHAComponentsTable/components/Stabilizer/Browser.js +1 -1
  401. package/components/Drillstring/BHAComponentsTable/components/Stabilizer/Editor.d.ts.map +1 -1
  402. package/components/Drillstring/BHAComponentsTable/components/Stabilizer/Editor.js +1 -1
  403. package/components/Drillstring/BHAComponentsTable/components/Sub/Browser.d.ts.map +1 -1
  404. package/components/Drillstring/BHAComponentsTable/components/Sub/Browser.js +1 -1
  405. package/components/Drillstring/BHAComponentsTable/components/Sub/Editor.d.ts.map +1 -1
  406. package/components/Drillstring/BHAComponentsTable/components/Sub/Editor.js +1 -1
  407. package/components/Drillstring/BHAComponentsTable/components/Suggestions/Suggestions.d.ts.map +1 -1
  408. package/components/Drillstring/BHAComponentsTable/components/Suggestions/Suggestions.js +1 -1
  409. package/components/Drillstring/BHAComponentsTable/components/Ur/Browser.d.ts.map +1 -1
  410. package/components/Drillstring/BHAComponentsTable/components/Ur/Browser.js +1 -1
  411. package/components/Drillstring/BHAComponentsTable/components/Ur/Editor.d.ts.map +1 -1
  412. package/components/Drillstring/BHAComponentsTable/components/Ur/Editor.js +1 -1
  413. package/components/Drillstring/BHAComponentsTable/components/shared/CancelButton.d.ts.map +1 -1
  414. package/components/Drillstring/BHAComponentsTable/components/shared/ConfirmationPopup.d.ts.map +1 -1
  415. package/components/Drillstring/BHAComponentsTable/components/shared/ConfirmationPopup.js +1 -1
  416. package/components/Drillstring/BHAComponentsTable/components/shared/InputText.d.ts.map +1 -1
  417. package/components/Drillstring/BHAComponentsTable/components/shared/InputText.js +1 -1
  418. package/components/Drillstring/BHAComponentsTable/components/shared/SaveButton.d.ts.map +1 -1
  419. package/components/Drillstring/BHAComponentsTable/components/shared/SelectField.d.ts.map +1 -1
  420. package/components/Drillstring/BHAComponentsTable/components/shared/SelectField.js +1 -1
  421. package/components/Drillstring/BHAComponentsTable/components/shared/SharedEditorElements.d.ts.map +1 -1
  422. package/components/Drillstring/BHAComponentsTable/components/shared/SharedEditorElements.js +1 -1
  423. package/components/Drillstring/BHAComponentsTable/components/shared/StaticField.d.ts.map +1 -1
  424. package/components/Drillstring/BHAComponentsTable/components/shared/StaticField.js +1 -1
  425. package/components/Drillstring/BHAComponentsTable/components/utils/calculation.d.ts.map +1 -1
  426. package/components/Drillstring/BHAList/BHAList.d.ts.map +1 -1
  427. package/components/Drillstring/BHAList/BHAList.js +1 -1
  428. package/components/Drillstring/BHASchematic.d.ts.map +1 -1
  429. package/components/Drillstring/BHATable/index.d.ts.map +1 -1
  430. package/components/Drillstring/BHATable/index.js +1 -1
  431. package/components/Drillstring/BHATile/BHATile.d.ts.map +1 -1
  432. package/components/Drillstring/BHATile/BHATile.js +1 -1
  433. package/components/Drillstring/BHATileIcon.d.ts.map +1 -1
  434. package/components/Drillstring/BhaIndicator/BhaIndicator.d.ts +1 -1
  435. package/components/Drillstring/BhaIndicator/BhaIndicator.d.ts.map +1 -1
  436. package/components/Drillstring/DrillstringDetail/DrillstringDetail.d.ts.map +1 -1
  437. package/components/Drillstring/DrillstringDetail/DrillstringDetail.js +1 -1
  438. package/components/EditableItem/EditableItemWithBadge/index.d.ts.map +1 -1
  439. package/components/EmbeddedApp/DevCenterEmbeddedApp.js +1 -1
  440. package/components/EmbeddedApp/EmbeddedApp.js +1 -1
  441. package/components/EmbeddedApp/components/AppInfo.d.ts.map +1 -1
  442. package/components/EmojiIconButton.d.ts.map +1 -1
  443. package/components/EmptyState/styles.d.ts +1 -1
  444. package/components/EmptyView/EmptyAppView/components/ErrorSubtitleWithIntercomLink.d.ts.map +1 -1
  445. package/components/ErrorBoundary/DevCenterAppErrorView/DevCenterAppErrorView.d.ts.map +1 -1
  446. package/components/ErrorBoundary/DevCenterAppErrorView/DevCenterAppErrorView.js +1 -1
  447. package/components/FeedItem/FeedItem.d.ts.map +1 -1
  448. package/components/FeedItem/FeedItem.js +1 -1
  449. package/components/FeedItem/FeedItemEditProvider/FeedItemEditModal.js +1 -1
  450. package/components/FeedItem/FeedItemEditProvider/FeedItemEditProvider.d.ts +1 -1
  451. package/components/FeedItem/FeedItemEditProvider/FeedItemEditProvider.d.ts.map +1 -1
  452. package/components/FeedItem/FeedItemEditProvider/FeedItemEditProvider.js +1 -1
  453. package/components/FeedItem/components/Actions.d.ts.map +1 -1
  454. package/components/FeedItem/components/AvatarIcon.d.ts.map +1 -1
  455. package/components/FeedItem/components/Content.d.ts.map +1 -1
  456. package/components/FeedItem/components/Content.js +1 -1
  457. package/components/FeedItem/components/FeedComments.d.ts.map +1 -1
  458. package/components/FeedItem/components/Icon.js +1 -1
  459. package/components/FeedItem/components/RigAndWell.d.ts.map +1 -1
  460. package/components/FeedItem/editModals/DvdCommentEdit/DvdCommentEdit.d.ts.map +1 -1
  461. package/components/FeedItem/editModals/DvdCommentEdit/DvdCommentEdit.js +1 -1
  462. package/components/FeedItem/editModals/HookloadCommentEdit/HookloadCommentEdit.d.ts.map +1 -1
  463. package/components/FeedItem/editModals/NptLessonsCommentEdit/NptLessonsCommentEdit.d.ts.map +1 -1
  464. package/components/FeedItem/editModals/PCCommentEdit/PCCommentEdit.d.ts.map +1 -1
  465. package/components/FeedItem/feedItemTypes/AlertFeedItem.d.ts.map +1 -1
  466. package/components/FeedItem/feedItemTypes/AppAnnotationFeedItem/index.d.ts.map +1 -1
  467. package/components/FeedItem/feedItemTypes/AppAnnotationFeedItem/index.js +1 -1
  468. package/components/FeedItem/feedItemTypes/BhaFeedItem/BhaFeedItem.js +1 -1
  469. package/components/FeedItem/feedItemTypes/BhaFeedItem/components/BhaSchematic.d.ts.map +1 -1
  470. package/components/FeedItem/feedItemTypes/CompletionDailyCostFeedItem.d.ts.map +1 -1
  471. package/components/FeedItem/feedItemTypes/CompletionNptFeedItem.d.ts.map +1 -1
  472. package/components/FeedItem/feedItemTypes/CompletionOperationSummaryFeedItem.d.ts.map +1 -1
  473. package/components/FeedItem/feedItemTypes/CompletionOperationalNoteFeedItem.d.ts.map +1 -1
  474. package/components/FeedItem/feedItemTypes/DepthCommentFeedItem.d.ts.map +1 -1
  475. package/components/FeedItem/feedItemTypes/DrillerMemoFeedItem.d.ts.map +1 -1
  476. package/components/FeedItem/feedItemTypes/DrillingDailyCostFeedItem.d.ts.map +1 -1
  477. package/components/FeedItem/feedItemTypes/DrillingOperationSummaryFeedItem.d.ts.map +1 -1
  478. package/components/FeedItem/feedItemTypes/DrillingOperationalNoteFeedItem.d.ts.map +1 -1
  479. package/components/FeedItem/feedItemTypes/FluidReportFeedItem.d.ts.map +1 -1
  480. package/components/FeedItem/feedItemTypes/GeosteeringFeedItem.d.ts +1 -1
  481. package/components/FeedItem/feedItemTypes/GeosteeringFeedItem.d.ts.map +1 -1
  482. package/components/FeedItem/feedItemTypes/LessonsLearnedFeedItem/index.js +1 -1
  483. package/components/FeedItem/feedItemTypes/NptFeedItem.d.ts.map +1 -1
  484. package/components/FeedItem/feedItemTypes/PCCommentFeedItem.d.ts.map +1 -1
  485. package/components/FeedItem/feedItemTypes/PostFeedItem.d.ts.map +1 -1
  486. package/components/FeedItem/feedItemTypes/StageOverviewFeedItem/components/NoData.d.ts.map +1 -1
  487. package/components/FeedItem/feedItemTypes/StageOverviewFeedItem/components/PredictionsItem.d.ts.map +1 -1
  488. package/components/FeedItem/feedItemTypes/StageOverviewFeedItem/components/Stages/Stages.d.ts.map +1 -1
  489. package/components/FeedItem/feedItemTypes/StageOverviewFeedItem/components/Stages/Stages.js +1 -1
  490. package/components/FeedItem/feedItemTypes/StageOverviewFeedItem/components/Stages/utils.d.ts.map +1 -1
  491. package/components/FeedItem/feedItemTypes/StageOverviewFeedItem/index.d.ts.map +1 -1
  492. package/components/FeedItem/feedItemTypes/StageOverviewFeedItem/index.js +1 -1
  493. package/components/FeedItem/feedItemTypes/SurveyStationFeedItem/components/Warning.d.ts.map +1 -1
  494. package/components/FeedItem/feedItemTypes/SurveyStationFeedItem/index.d.ts.map +1 -1
  495. package/components/FeedItem/feedItemTypes/SurveyStationFeedItem/index.js +1 -1
  496. package/components/FeedItem/feedItemTypes/TracesMemoFeedItem.d.ts.map +1 -1
  497. package/components/FeedItem/feedItemTypes/WellPlanFeedItem/constants.d.ts.map +1 -1
  498. package/components/FeedItem/feedItemTypes/WellPlanFeedItem/index.d.ts.map +1 -1
  499. package/components/FeedItem/feedItemTypes/WellPlanFeedItem/index.js +1 -1
  500. package/components/FilePreview/index.d.ts +1 -1
  501. package/components/FilePreview/index.js +1 -1
  502. package/components/FileTypeIcon.d.ts.map +1 -1
  503. package/components/FileUploadIconButton.d.ts.map +1 -1
  504. package/components/FilesLoader/Icons/FileIcon.d.ts.map +1 -1
  505. package/components/FilesLoader/effects/useUploadingFile.d.ts.map +1 -1
  506. package/components/FilesLoader/useStyles.d.ts.map +1 -1
  507. package/components/FolderMenuItem/index.d.ts.map +1 -1
  508. package/components/FolderMenuItemWithLinks/index.d.ts.map +1 -1
  509. package/components/GoogleDocsViewer/index.d.ts.map +1 -1
  510. package/components/GoogleDocsViewer/index.js +1 -1
  511. package/components/GoogleDocsViewer/styles.d.ts +1 -1
  512. package/components/HeaderLayout/effects/index.d.ts.map +1 -1
  513. package/components/HeaderLayout/effects/index.js +1 -1
  514. package/components/Icons/GppGoodIcon.d.ts.map +1 -1
  515. package/components/Icons/RecommendationIcon.d.ts.map +1 -1
  516. package/components/Icons/SendIcon.d.ts.map +1 -1
  517. package/components/ImageViewer/index.d.ts.map +1 -1
  518. package/components/InfiniteList/index.d.ts.map +1 -1
  519. package/components/InfiniteList/index.js +1 -1
  520. package/components/KeyboardDateTimePicker.d.ts.map +1 -1
  521. package/components/MenuItem/index.d.ts.map +1 -1
  522. package/components/MiddleTruncate/MiddleTruncate.d.ts.map +1 -1
  523. package/components/NewDocumentViewer/styles.d.ts +1 -1
  524. package/components/OffsetWellMap/WellTooltip.d.ts.map +1 -1
  525. package/components/OffsetWellPickerV2/OffsetWellPickerDialog.js +1 -1
  526. package/components/OffsetWellPickerV2/components/Filter/MultiSelect.d.ts.map +1 -1
  527. package/components/OffsetWellPickerV2/components/Filter/NonEngineeredWellsSwitch.js +1 -1
  528. package/components/OffsetWellPickerV2/components/Filter/SidetrackSwitch.js +1 -1
  529. package/components/OffsetWellPickerV2/components/Filter/ToggleMapButton.js +1 -1
  530. package/components/OffsetWellPickerV2/components/Filter/index.d.ts.map +1 -1
  531. package/components/OffsetWellPickerV2/components/Filter/index.js +1 -1
  532. package/components/OffsetWellPickerV2/components/Map/Map.d.ts.map +1 -1
  533. package/components/OffsetWellPickerV2/components/Map/Map.js +1 -1
  534. package/components/OffsetWellPickerV2/components/Map/index.d.ts.map +1 -1
  535. package/components/OffsetWellPickerV2/components/Map/popupGenerator.d.ts.map +1 -1
  536. package/components/OffsetWellPickerV2/components/Table/MetricsAddMenu.js +1 -1
  537. package/components/OffsetWellPickerV2/components/Table/MetricsSelect.d.ts +2 -2
  538. package/components/OffsetWellPickerV2/components/Table/index.d.ts +1 -1
  539. package/components/OffsetWellPickerV2/components/Table/index.d.ts.map +1 -1
  540. package/components/OffsetWellPickerV2/components/Table/index.js +1 -1
  541. package/components/OffsetWellPickerV2/effects/index.d.ts.map +1 -1
  542. package/components/OffsetWellPickerV2/effects/index.js +1 -1
  543. package/components/OffsetWellPickerV2/utils/apiCalls.js +1 -1
  544. package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Filter/SidetrackSwitch.d.ts.map +1 -1
  545. package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Filter/SidetrackSwitch.js +1 -1
  546. package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Filter/index.js +1 -1
  547. package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Map/Map.d.ts.map +1 -1
  548. package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Map/Map.js +1 -1
  549. package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Map/popupGenerator.d.ts.map +1 -1
  550. package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Map/utils.d.ts.map +1 -1
  551. package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/AutoCompleteAssetSearch/AssetResultSection.d.ts.map +1 -1
  552. package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/AutoCompleteAssetSearch/AssetTypesSection.d.ts.map +1 -1
  553. package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/MetricsAddMenu.js +1 -1
  554. package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/MetricsSelect.d.ts +1 -1
  555. package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/index.d.ts.map +1 -1
  556. package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/index.js +1 -1
  557. package/components/OffsetWellPickerV3/components/CustomSelectionView/effects/index.d.ts.map +1 -1
  558. package/components/OffsetWellPickerV3/components/CustomSelectionView/effects/index.js +1 -1
  559. package/components/OffsetWellPickerV3/components/CustomSelectionView/index.d.ts.map +1 -1
  560. package/components/OffsetWellPickerV3/components/CustomSelectionView/index.js +1 -1
  561. package/components/OffsetWellPickerV3/components/OffsetWellSelectionView/index.d.ts.map +1 -1
  562. package/components/OffsetWellPickerV3/components/OffsetWellSelectionView/index.js +1 -1
  563. package/components/OffsetWellPickerV3/components/TabSelection/ToggleMapButton.js +1 -1
  564. package/components/OffsetWellPickerV3/components/TabSelection/index.d.ts.map +1 -1
  565. package/components/OffsetWellPickerV3/components/TabSelection/index.js +1 -1
  566. package/components/OffsetWellPickerV3/components/WellHubView/index.d.ts.map +1 -1
  567. package/components/OffsetWellPickerV3/components/WellHubView/index.js +1 -1
  568. package/components/OffsetWellPickerV3/components/shared/OffsetWellTableHead.d.ts.map +1 -1
  569. package/components/OffsetWellPickerV3/components/shared/OffsetWellTableHead.js +1 -1
  570. package/components/OffsetWellPickerV3/index.js +1 -1
  571. package/components/OffsetWellPickerV3/utils/apiCalls.d.ts.map +1 -1
  572. package/components/OffsetWellPickerV3/utils/apiCalls.js +1 -1
  573. package/components/OffsetWellPickerV4/OffsetWellPickerV4.js +1 -1
  574. package/components/OffsetWellPickerV4/components/AppHeader/AppHeader.d.ts.map +1 -1
  575. package/components/OffsetWellPickerV4/components/AppHeader/AppHeader.js +1 -1
  576. package/components/OffsetWellPickerV4/components/CustomInfoIcon/CustomInfoIcon.d.ts.map +1 -1
  577. package/components/OffsetWellPickerV4/components/CustomInfoIcon/CustomInfoIcon.js +1 -1
  578. package/components/OffsetWellPickerV4/components/Filter/Filter.d.ts.map +1 -1
  579. package/components/OffsetWellPickerV4/components/Filter/Filter.js +1 -1
  580. package/components/OffsetWellPickerV4/components/Filter/PeriodSelect.d.ts.map +1 -1
  581. package/components/OffsetWellPickerV4/components/Filter/RadiusInput.d.ts +2 -2
  582. package/components/OffsetWellPickerV4/components/Filter/RadiusInput.d.ts.map +1 -1
  583. package/components/OffsetWellPickerV4/components/Filter/RadiusInput.js +1 -1
  584. package/components/OffsetWellPickerV4/components/Filter/SingleSelect.d.ts.map +1 -1
  585. package/components/OffsetWellPickerV4/components/Filter/WellSection.d.ts.map +1 -1
  586. package/components/OffsetWellPickerV4/components/OffsetWellsTable/AdvancedSearch/AssetResultSection.d.ts.map +1 -1
  587. package/components/OffsetWellPickerV4/components/OffsetWellsTable/AdvancedSearch/AssetResultSection.js +1 -1
  588. package/components/OffsetWellPickerV4/components/OffsetWellsTable/AdvancedSearch/AssetTypesSection.d.ts.map +1 -1
  589. package/components/OffsetWellPickerV4/components/OffsetWellsTable/AdvancedSearch/AutoCompleteAssetSearch.d.ts +1 -1
  590. package/components/OffsetWellPickerV4/components/OffsetWellsTable/AdvancedSearch/AutoCompleteAssetSearch.d.ts.map +1 -1
  591. package/components/OffsetWellPickerV4/components/OffsetWellsTable/MetricsSelect.d.ts.map +1 -1
  592. package/components/OffsetWellPickerV4/components/OffsetWellsTable/MetricsSelect.js +1 -1
  593. package/components/OffsetWellPickerV4/components/OffsetWellsTable/MetricsSettingMenu.d.ts.map +1 -1
  594. package/components/OffsetWellPickerV4/components/OffsetWellsTable/MetricsSettingMenu.js +1 -1
  595. package/components/OffsetWellPickerV4/components/OffsetWellsTable/OffsetWellsTable.js +1 -1
  596. package/components/OffsetWellPickerV4/components/OffsetWellsTable/OffsetWellsTableHead.js +1 -1
  597. package/components/OffsetWellPickerV4/components/OffsetWellsTable/OffsetWellsTableRow.js +1 -1
  598. package/components/OffsetWellPickerV4/components/Toolbar/Toolbar.d.ts.map +1 -1
  599. package/components/OffsetWellPickerV4/components/Toolbar/Toolbar.js +1 -1
  600. package/components/OffsetWellPickerV4/constants.d.ts.map +1 -1
  601. package/components/OffsetWellPickerV4/effects/useAdvancedWells.d.ts.map +1 -1
  602. package/components/OffsetWellPickerV4/effects/useAdvancedWells.js +1 -1
  603. package/components/OffsetWellPickerV4/effects/useAssetsData.d.ts.map +1 -1
  604. package/components/OffsetWellPickerV4/effects/useBicWells.d.ts.map +1 -1
  605. package/components/OffsetWellPickerV4/effects/useFetchWells.d.ts.map +1 -1
  606. package/components/OffsetWellPickerV4/effects/useFilterOptions.d.ts.map +1 -1
  607. package/components/OffsetWellPickerV4/effects/useFilteredWells.d.ts.map +1 -1
  608. package/components/OffsetWellPickerV4/effects/useSortedWells.d.ts.map +1 -1
  609. package/components/OffsetWellPickerV4/effects/useTableColumns.d.ts.map +1 -1
  610. package/components/OffsetWellPickerV4/utils/apiCalls.d.ts.map +1 -1
  611. package/components/OffsetWellPickerV4/utils/apiCalls.js +1 -1
  612. package/components/OffsetWellPickerV4/utils/index.d.ts.map +1 -1
  613. package/components/OffsetWellPickerV4/utils/index.js +1 -1
  614. package/components/OffsetWellPickerV4/utils/timePeriod.d.ts.map +1 -1
  615. package/components/PadModeSelect/PadModeSelect.d.ts +1 -1
  616. package/components/PadModeSelect/PadModeSelect.d.ts.map +1 -1
  617. package/components/PadModeSelect/PadModeSelect.js +1 -1
  618. package/components/PadModeSelect/utils.d.ts.map +1 -1
  619. package/components/PadOffsetsPicker/OffsetAssetChip.d.ts.map +1 -1
  620. package/components/PadOffsetsPicker/OffsetAssetsListExpander.d.ts.map +1 -1
  621. package/components/PadOffsetsPicker/PadOffsetsPicker.d.ts.map +1 -1
  622. package/components/PadOffsetsPicker/StagesSelector.d.ts.map +1 -1
  623. package/components/PadOffsetsPicker/StagesSelector.js +1 -1
  624. package/components/PadOffsetsPickerV2/PadOffsetsPickerV2.d.ts.map +1 -1
  625. package/components/PadOffsetsPickerV2/PadOffsetsPickerV2.js +1 -1
  626. package/components/ParameterCharts/AddEditTrack.d.ts +2 -2
  627. package/components/ParameterCharts/AddEditTrack.js +1 -1
  628. package/components/ParameterCharts/ParameterCharts.d.ts.map +1 -1
  629. package/components/ParameterCharts/ParameterCharts.js +1 -1
  630. package/components/ParameterCharts/components/ChartContainer.js +1 -1
  631. package/components/ParameterCharts/components/Charts/LineChart.d.ts.map +1 -1
  632. package/components/ParameterCharts/components/DataLoadingIndicator.d.ts +1 -1
  633. package/components/ParameterCharts/components/SingleChannelTrackSettings.js +1 -1
  634. package/components/ParameterCharts/components/Tooltip/Tooltip.js +1 -1
  635. package/components/ParameterCharts/components/TraceHeader.js +1 -1
  636. package/components/ParameterCharts/components/TraceSettings.js +1 -1
  637. package/components/ParameterCharts/components/Track.d.ts.map +1 -1
  638. package/components/ParameterCharts/components/Track.js +1 -1
  639. package/components/ParameterCharts/components/TrackSettings.d.ts +1 -1
  640. package/components/ParameterCharts/components/TrackSettings.js +1 -1
  641. package/components/ParameterCharts/constants.d.ts.map +1 -1
  642. package/components/PinnableFilters/effects/index.js +1 -1
  643. package/components/PostInput/PostInput.d.ts.map +1 -1
  644. package/components/PostInput/PostInput.js +1 -1
  645. package/components/PostPreviewDialog/index.d.ts +2 -2
  646. package/components/PostPreviewDialog/index.js +1 -1
  647. package/components/Search/Search.d.ts.map +1 -1
  648. package/components/Search/Search.js +1 -1
  649. package/components/Search/components/Groups.d.ts.map +1 -1
  650. package/components/Search/components/InputAdornmentLeft.d.ts.map +1 -1
  651. package/components/Search/components/Listbox.d.ts +1 -1
  652. package/components/Search/components/Paper.d.ts.map +1 -1
  653. package/components/Search/components/Paper.js +1 -1
  654. package/components/Search/styles.d.ts +1 -1
  655. package/components/SlateFormattedText/RenderElements.d.ts.map +1 -1
  656. package/components/StageDesignVActual/ComparisonBar/ComparisonBar.js +1 -1
  657. package/components/StageDesignVActual/ComparisonRow.js +1 -1
  658. package/components/StageDesignVActual/ElementsComparison/ElementsComparison.js +1 -1
  659. package/components/Stepper/Step/styles.d.ts +1 -1
  660. package/components/Table/TableCell/TableCell.d.ts.map +1 -1
  661. package/components/Table/TablePagination/TablePagination.d.ts +5 -5
  662. package/components/Table/TableSortLabel/TableSortLabel.d.ts.map +1 -1
  663. package/components/Template/TemplatePopover/index.d.ts.map +1 -1
  664. package/components/Template/TemplateSharingDialog/UsersChipSelector.d.ts.map +1 -1
  665. package/components/Template/TemplateSharingDialog/UsersChipSelector.js +1 -1
  666. package/components/Template/TemplateSharingDialog/index.js +1 -1
  667. package/components/TracesEditModal/TracesEditModal.js +1 -1
  668. package/components/TracesEditModal/TracesEditModalContainer.d.ts.map +1 -1
  669. package/components/TracesEditModal/TracesEditModalContainer.js +1 -1
  670. package/components/TruncatedText/index.d.ts.map +1 -1
  671. package/components/Typography.d.ts +27 -27
  672. package/components/UserCard/index.d.ts +2 -2
  673. package/components/UserCard/index.js +1 -1
  674. package/components/UserCardPopover.d.ts +2 -2
  675. package/components/UserMention/index.js +1 -1
  676. package/components/UserMention/utils/index.d.ts.map +1 -1
  677. package/components/UserMention/utils/index.js +1 -1
  678. package/components/VirtualizedTable/VirtualizedTable.d.ts +3 -3
  679. package/components/WellSummary/ActivitySummaryChart.js +1 -1
  680. package/components/WellSummary/FracWirelineTimeChart.d.ts.map +1 -1
  681. package/components/WellSummary/WellSummaryItemValue.d.ts +1 -1
  682. package/components/WellSummary/WellSummaryItemValue.d.ts.map +1 -1
  683. package/components/WellSummary/effects/useWellSummaryData.d.ts.map +1 -1
  684. package/components/WellSummary/effects/useWellSummaryData.js +1 -1
  685. package/components/WellSummary/utils.d.ts.map +1 -1
  686. package/config/mapbox/index.d.ts.map +1 -1
  687. package/config/theme/index.js +1 -1
  688. package/effects/useDevCenterApp.d.ts.map +1 -1
  689. package/effects/useSignedURL.d.ts.map +1 -1
  690. package/effects/useSubscriptions.d.ts.map +1 -1
  691. package/effects/useSubscriptions.js +1 -1
  692. package/exampleApp/ChartActionsListExample.d.ts.map +1 -1
  693. package/exampleApp/ParameterChartExample.d.ts.map +1 -1
  694. package/hocs/withAssetEditorLockHOC.d.ts.map +1 -1
  695. package/hocs/withMUIProvidersHOC.d.ts.map +1 -1
  696. package/index.d.ts.map +1 -1
  697. package/package.json +2 -2
  698. package/permissions/ProvidePermissions.d.ts.map +1 -1
  699. package/permissions/constants/index.d.ts.map +1 -1
  700. package/permissions/useProvidePermissions.d.ts.map +1 -1
  701. package/permissions/useProvidePermissions.js +1 -1
  702. package/permissions/withPermissionsHOC.d.ts.map +1 -1
  703. package/permissions/withPermissionsHOC.js +1 -1
  704. package/utils/FluidCheckUtils.d.ts.map +1 -1
  705. package/utils/accuracy.d.ts +1 -1
  706. package/utils/bha.d.ts.map +1 -1
  707. package/utils/casing/conversion.js +1 -1
  708. package/utils/casing/validation.d.ts.map +1 -1
  709. package/utils/devcenterToasts.d.ts.map +1 -1
  710. package/utils/drillstring/conversion.d.ts.map +1 -1
  711. package/utils/drillstring/validation.d.ts.map +1 -1
  712. package/utils/feed.d.ts.map +1 -1
  713. package/utils/filePreview.d.ts.map +1 -1
  714. package/utils/filePreview.js +1 -1
  715. package/utils/index.d.ts.map +1 -1
  716. package/utils/index.js +1 -1
  717. package/utils/main.d.ts.map +1 -1
  718. package/utils/mapbox.d.ts +1 -1
  719. package/utils/mapbox.d.ts.map +1 -1
  720. package/utils/metrics/metricsConfig.d.ts.map +1 -1
  721. package/utils/metrics/utils.d.ts.map +1 -1
  722. package/utils/notificationToasts.d.ts.map +1 -1
@@ -1 +1 @@
1
- import{memo as e}from"react";import{isEmpty as t}from"lodash";import o from"prop-types";import{Grid as r}from"@material-ui/core";import{isMobileDetected as i}from"../../../../../utils/mobileDetect.js";import{jsxs as s,jsx as n}from"react/jsx-runtime";import"../../../../DevCenter/DevCenterAppContainer/components/IsInsideDcAppProvider/IsInsideDcAppProvider.js";import"../../../../DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/DcFullscreenElemsCoordinatorProvider.js";import"../../../../DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/IsInsideDcFullscreenElemProvider.js";import"classnames";import"../../../../../icons/WithCustomSize.js";import"../../../../../icons/IconParkProvider.js";import"../../../../../icons/customIcons/icons/AddMessage.js";import"../../../../../icons/customIcons/icons/Attention.js";import"../../../../../icons/customIcons/icons/Collapse.js";import"../../../../../icons/customIcons/icons/Expand.js";import"../../../../../icons/customIcons/icons/FolderClosed.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/Wellhub.js";import"../../../../../icons/customIcons/icons/MultiRuler.js";import"../../../../IconButton/index.js";import"../../../../../constants/goals.js";import"../../../../../constants/segment.js";import"../../../../../constants/alerts.js";import"../../../../../constants/apps.js";import{COMPONENT_MATERIALS as p}from"../../../../../constants/drillstring.js";import"../../../../../constants/completion.js";import"../../../../../constants/appPackages.js";import"../../../../../constants/notifications.js";import"../../../../../constants/feed.js";import"../../../../../constants/bha.js";import"../../../../../utils/env.js";import"../../../../GradientManager/configuration/constants.js";import"../../../../Modal/CorvaModal.css.js";import"uuid";import"../../../../IconMenu/index.js";import"../../../../StyledMenuItem/index.js";import"../../../../AppIcon/AppIcon.js";import"../../../../DevCenter/AppHeader/AppHeader.js";import"../../../../DevCenter/AppSideBar/AppSideBar.js";import"../../../../DevCenter/AppsDataProvider/AppsDataProvider.js";import"@babel/runtime/helpers/defineProperty";import"@babel/runtime/helpers/slicedToArray";import"@material-ui/icons";import"../../../../Icons/AnnotationIcon.js";import"../../../../Annotations/components/AnnotationsList/index.js";import"../../../../Annotations/components/LastAnnotation/index.js";import"../../../../Annotations/AnnotationsContext.js";import"@babel/runtime/helpers/asyncToGenerator";import"@babel/runtime/regenerator";import"querystring";import"uuid/v1";import"../../../../../clients/jsonApi/index.js";import"../../../../../clients/subscriptions.js";import"../../../../../utils/index.js";import"jsona";import"../../../../StatusBadge/constants.js";import"@babel/runtime/helpers/toConsumableArray";import"lodash/set";import"lodash/get";import"lodash/unset";import"moment";import"../../../../../clients/api/apiCore.js";import"../../../../../clients/constants.js";import"../../../../../clients/sso/auth0.js";import"../../../../../clients/sso/oauth2.js";import"../../../../HelpCenter/HelpCenterIcon.js";import"../../../../DevCenter/DevCenterAppContainer/components/AppActions/AppActions.css.js";import"../../../../DevCenter/DevCenterAppContainer/components/AppSettingsDialog/AppSettingsDialog.js";import"../../../../DevCenter/DevCenterAppContainer/components/AppSettingsDialog/components/RemoveAppButton.js";import"../../../../DevCenter/DevCenterAppContainer/components/AppSettingsDialog/components/SettingsAccordion.js";import"../../../../DevCenter/DevCenterAppContainer/components/AnnotationsButton/AnnotationsButton.js";import"../../../../DevCenter/DevCenterAppContainer/components/NonPriorityMenus/NonPriorityMenus.js";import"../../../../DevCenter/DevCenterAppContainer/components/FullscreenButton/FullscreenButton.js";import"../../../../DevCenter/DevCenterAppContainer/components/AppInfoMessage/AppInfoMessage.js";import"../../../../DevCenter/DevCenterAppContainer/components/DevCenterAppView/DevCenterAppView.js";import"../../../../DevCenter/AppContext.js";import"../../../../DevCenter/DevCenterAppContainer/DevCenterAppContainer.css.js";import"../../../../DevCenter/DevCenterAppContainer/components/RestoreAppSizeButton/index.js";import"../../../../DevCenter/DevCenterAppContainer/components/PriorityMenus/PriorityMenus.css.js";import"../../../../DevCenter/DevCenterRouterContext/DevCenterRouterContext.js";import"../../../../DevCenter/DevCenterRouterContext/UniversalLink/UniversalLink.js";import"@babel/runtime/helpers/objectWithoutProperties";import"react-router";import"rollbar";import"@rollbar/react";import"../../../../DevCenter/NavigationBar/NavigationBar.js";import"../../../../DevCenter/SideBar/SideBar.js";import"../../../../DevCenter/AppSettingsPopover/AppSettingsPopover.js";import"../../../../DevCenter/AppFilterPanelLayout/AppFilterPanelLayout.js";import"../../../../DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedAppPage.js";import"../../../../DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedApp.js";import"../../../../AssetEditor/index.js";import"../../../../AssetEditorV2/index.js";import"../../../../AppVersionsSelect/AppVersionsSelect.js";import"../../../../LoadingIndicator/LoadingIndicator.js";import"../../../../Typography.js";import"../../../../RealTimeValuesSidebar/RealTimeSidebar.js";import"../../../../CollapsableSidebar.js";import"../../../../DateTimePicker/index.js";import"../../../../DatePicker/index.js";import"../../../../ErrorBoundary/ErrorBoundary.js";import"../../../../ErrorBoundary/DevCenterAppErrorView/DevCenterAppErrorView.js";import"../../../../SlateFormattedText/SlateFormattedText.js";import"../../../../SlateFormattedText/RenderElements.js";import"@babel/runtime/helpers/typeof";import"slate";import"../../../../EmptyState/EmptyState.js";import"../../../../ParameterCharts/ParameterCharts.js";import"../../../../ParameterCharts/AddEditTrack.js";import"../../../../ChartActionsList/ChartActionsList.js";import"../../../../CopyToClipboard/CopyToClipboard.js";import"../../../../AssetEditor/AssetEditorAutocomplete.js";import"../../../../AssetEditor/SingleAssetEditor.js";import"../../../../SettingEditors/ColorEditor/index.js";import"../../../../SettingEditors/DropdownEditor/index.js";import"../../../../SettingEditors/RadioEditor/index.js";import"../../../../SwitchControl/index.js";import"../../../../ColorPicker/ColorPicker.js";import"../../../../Chart/components/ChartButton.js";import"../../../../Chart/components/ChartButtons.js";import"../../../../Chart/components/ChartWrapper.js";import"../../../../Chart/components/AxisDropdown.js";import"../../../../Chart/components/ChartSelect.js";import"../../../../Chart/components/buttons/DragToZoomButton.js";import"../../../../Chart/components/buttons/ZoomInButton.js";import"../../../../Chart/components/buttons/ZoomOutButton.js";import"../../../../Chart/components/buttons/PanButton.js";import"../../../../Chart/components/buttons/ResetZoomButton.js";import"../../../../Chart/components/buttons/HideAxesButton.js";import"../../../../Chart/components/buttons/ChartTypeButton.js";import"../../../../ColorPicker/PaletteChromePicker/PaletteChromePicker.js";import"../../../../TruncatedText/index.js";import"../../../../MiddleTruncatedText/MiddleTruncatedText.js";import"../../../../RangeSlider/RangeSlider.js";import"../../../../AdvancedSlider/AdvancedSlider.js";import"../../../../Breadcrumbs/index.js";import"../../../../VirtualizedTable/index.js";import"../../../../EmptyView/EmptyView.js";import"../../../../EmptyView/EmptyAppView/EmptyAppView.js";import"../../../../Button/components/Button/index.js";import"moment-timezone";import"../../../../Button/components/LiveButton/components/LiveButtonStateIndicator/index.js";import"../../../../Button/components/LiveButton/styles.js";import"../../../../ContextMenuItem/index.js";import"../../../../FolderMenuItem/index.js";import"../../../../EditableItem/EditableItem/index.js";import"../../../../EditableItem/EditableItemWithBadge/index.js";import"../../../../Checkbox/index.js";import"../../../../FolderMenuItemWithLinks/index.js";import"../../../../TextField/index.js";import"../../../../Chip/index.js";import"../../../../Counter/index.js";import"../../../../AnchorsList/AnchorsList.js";import"../../../../Select/index.js";import"../../../../Select/SelectFilterBy.js";import"../../../../CustomSelect/index.js";import"../../../../Tabs/Tabs.js";import"../../../../Tabs/Tab.js";import"../../../../ResizableTable/ResizableTable.js";import"../../../../GradientPicker/GradientPicker.js";import"../../../../GradientManager/GradientList.js";import"@material-ui/icons/AddCircle";import"../../../../GradientManager/GradientPreview/GradientPreview.js";import"../../../../GradientManager/GradientSelect.styles.js";import"../../../../GradientManager/GradientManager.styles.js";import"../../../BHASchematic.js";import"../../../BHATable/index.js";import m from"../../../BHAComponentIcon.js";import"../../../BHAComponentDetail/index.js";import"../../../BHATileIcon.js";import"../../../BHATile/BHATile.js";import"../../../BHAList/BHAList.js";import"../../BHAComponentsTable.js";import"../../../../Casing/CasingTable/index.js";import"../../../../Casing/CasingComponentIcon.js";import"../../../../Casing/CasingTileIcon.js";import"../../../../Casing/CasingTableV2/CasingTableV2.js";import"../../../../Casing/CasingTile/CasingTile.js";import"../../../../DisabledSettingsMessage/DisabledSettingsMessage.js";import"../../../../WellSummary/WellSummaryItemLabel.js";import"../../../../WellSummary/WellSummaryItemTitle.js";import"../../../../WellSummary/WellSummaryItemValue.js";import"../../../../WellSummary/ActivitySummaryChart.js";import"../../../../WellSummary/FracWirelineTimeChart.js";import"../../../../BICOffsetPickerDialog/index.js";import"../../../../OffsetWellButton/OffsetWellButton.js";import"../../../../OffsetWellPickerV2/OffsetWellPickerDialog.js";import"../../../../OffsetWellPickerV3/index.js";import"../../../../OffsetWellChips/Chip.js";import"../../../../OffsetWellChips/ChipsContainer.js";import"../../../../OffsetWellPickerV4/utils/apiCalls.js";import"../../../../OffsetWellPickerV4/effects/useAdvancedWells.js";import"../../../../OffsetWellPickerV4/constants.js";import"react-virtualized";import"../../../../OffsetWellPickerV4/effects/useAssetsData.js";import"../../../../OffsetWellPickerV4/components/AppHeader/AppHeader.js";import"../../../../OffsetWellPickerV4/components/Toolbar/Toolbar.js";import"../../../../OffsetWellPickerV4/components/Filter/Filter.js";import"../../../../OffsetWellPickerV4/components/Map/WellsMap.js";import"../../../../OffsetWellPickerV4/components/OffsetWellsTable/OffsetWellsTable.js";import"../../../../OffsetWellPickerV4/components/OffsetWellsTable/AdvancedSearch/constants.js";import"../../../../OffsetWellPickerV4/utils/index.js";import"../../../../OffsetWellPickerV4/OffsetWellPickerV4.module.css.js";import"../../../../../styles/typography/index.js";import"../../../../../styles/counter/counter.module.scss.js";import"../../../../OffsetWellMap/OffsetWellMap.js";import"@material-ui/core/Snackbar";import"../../../../Notifications/Toast.js";import"../../../../Toaster/Toaster.js";import"../../../../ConfirmationDialog.js";import"../../../../TextLink/index.js";import"../../../../Avatar/index.js";import"../../../../Template/TemplatePopover/index.js";import"../../../../Template/TemplateSharingDialog/index.js";import"../../../../MenuItem/index.js";import"../../../../MiddleTruncate/MiddleTruncate.js";import"../../../../PadModeSelect/PadModeSelect.js";import"../../../../PinnableFilters/PinnableFilters.js";import"../../../../HeaderLayout/HeaderLayout.js";import"../../../../PadOffsetsPicker/PadOffsetsPicker.js";import"../../../../PadOffsetsPicker/OffsetAssetChip.js";import"../../../../PadOffsetsPicker/OffsetAssetsListExpander.js";import"../../../../PadOffsetsPicker/StagesSelector.js";import"../../../../PadOffsetsPickerV2/PadOffsetsPickerV2.js";import"../../../../Table/TableToolbar/TableToolbar.js";import"../../../../Table/TableContainer/TableContainer.js";import"../../../../Table/TableCell/TableCell.js";import"../../../../Table/TablePagination/TablePagination.js";import"../../../../Table/TablePaginationActions/TablePaginationActions.js";import"../../../../Tooltip/ScrollableTooltip.js";import"../../../../PriceInput/PriceInput.js";import"../../../../LabelsCounter/LabelsCounter.js";import"../../../../Stepper/Stepper.js";import"../../../../Stepper/Step/Step.js";import"../../../../Stepper/StepsWrapper.js";import"../../../../Comment/CommentIcon/index.js";import"../../../../FilesLoader/FilesLoader.js";import"../../../../FilesLoader/Icons/FileIcon.js";import"../../../../SearchInput/index.js";import"../../../../FeedItem/FeedItem.js";import"../../../../FeedItem/FeedItemEditProvider/FeedItemEditProvider.js";import"../../../../PostInput/PostInput.js";import"../../../../KeyboardDateTimePicker.js";import"../../../../AddComment/Popover.js";import"../../../../AddComment/Popup.js";import"../../../../StageDesignVActual/ComparisonBar/ComparisonBar.js";import"../../../../StageDesignVActual/ElementsComparison/ElementsComparison.js";import"../../../../StageDesignVActual/ComparisonHeader.js";import"../../../../StageDesignVActual/ComparisonRow.js";import"../../../../EmbeddedApp/DevCenterEmbeddedApp.js";import"../../../../EmbeddedApp/EmbeddedApp.js";import"../../../../Autocomplete/Autocomplete.js";import"../../../../DocumentViewer/DocumentViewer.js";import"../../../../ColorPickerPalette/ColorPickerPalette.js";import"../../../../Search/Search.js";import"../../../../Search/components/Listbox.js";import"../../../../Search/components/Paper.js";import"../../../../Search/components/RecentSearches.js";import"../../../../Search/components/Groups.js";import"../../../../StatusBadge/index.js";import"../../../../Attachment/index.js";import"../../../../EmojiIconButton.js";import"../../../../FileUploadIconButton.js";import"../../../../FilePreview/index.js";import"../../../../FailedFileUploading.js";import"../../../../UserMention/index.js";import"../../../../CommentsInfo/index.js";import"../../../../CommentInput/index.js";import"../../../../Comment/index.js";import"../../../../CommentLoader.js";import"../../../../AssetNameLabel/AssetStatusBadge.js";import"../../../../AssetEditorV2/components/PrimaryAssetSelect.js";import"../../../../AssetEditorV2/components/SecondaryAssetSelect.js";import"../../../../AssetEditorV2/components/SelectItem.js";import"../../../../AssetEditorV2/components/MultipleAssetsToggle.js";import"../../../../AssetEditorV2/components/PrimaryAssetSelectV2.js";import"../../../../EChartsWrapper/EChartsWrapper.js";import"../../../../AssetsMultipleSelector/AssetsMultipleSelector.js";import"@material-ui/icons/Close";import"@material-ui/icons/GetApp";import"../../../../GoogleDocsViewer/index.js";import"../../../../NewDocumentViewer/effects/useFileContent.js";import"../../../../NewDocumentViewer/styles.js";import{useStyles as a}from"../sharedStyles.js";import{CancelButton as l}from"../shared/CancelButton.js";import"../shared/ExpandCollapseButton.js";import"../shared/FormatedNumber.js";import{InputText as c}from"../shared/InputText.js";import"../shared/MoreButton.js";import{SaveButton as d}from"../shared/SaveButton.js";import{SelectField as j}from"../shared/SelectField.js";import"../shared/StaticField.js";import{SharedEditorElements as u}from"../shared/SharedEditorElements.js";import"../shared/ConfirmationPopup.js";import C from"./Measurement.js";import{CONTAINER_XS as A}from"../constants.js";function f(e){var o=e.component,f=e.error,h=e.onChange,g=e.onCancel,b=e.onSave,v=e.columns,S=a({isMobile:i}),P=i?A/2:A/v,D=function(e){return f&&f[e]};return s(r,{container:!0,spacing:0,className:S.editorContainer,children:[!i&&n(r,{item:!0,className:S.editorComponentSize,children:n(m,{component:o})}),n(r,{item:!0,className:S.eidtorContentContainer,children:s(r,{container:!0,spacing:2,children:[n(u,{component:o,getError:D,onChange:h}),n(c,{type:"name",label:"Name",value:o.name,error:D("name"),xs:P,onChangeField:h}),n(c,{type:"weight",label:"T.Weight",unit:"mass",value:o.weight,error:D("weight"),disabled:!0,xs:P,onChangeField:h}),n(c,{type:"connection_type",label:"Connection Type",value:o.connection_type,error:D("connection_type"),xs:P,onChangeField:h}),n(j,{type:"material",options:p,label:"Component",value:o.material,error:D("material"),xs:P,onChangeField:h}),n(C,{isEditing:!0,data:o.lwd_measurements,errors:D("lwd_measurements"),onChange:function(e){h("lwd_measurements",e)}})]})}),!i&&s(r,{item:!0,className:S.eidtorActionGroup,children:[n(l,{handleCancel:g}),n(d,{handleSave:b,disabled:!t(f)})]})]})}f.propTypes={component:o.shape({name:o.string,weight:o.number,connection_type:o.string,material:o.string,lwd_measurements:o.arrayOf(o.shape({}))}).isRequired,error:o.shape({}),onChange:o.func.isRequired,onCancel:o.func.isRequired,onSave:o.func.isRequired,columns:o.number.isRequired},f.defaultProps={error:null};var h=e(f);export{h as default};
1
+ import{memo as e}from"react";import{isEmpty as t}from"lodash";import o from"prop-types";import{Grid as r}from"@material-ui/core";import{useStyles as i}from"../sharedStyles.js";import{CancelButton as s}from"../shared/CancelButton.js";import"../shared/ExpandCollapseButton.js";import"../shared/FormatedNumber.js";import{InputText as n}from"../shared/InputText.js";import"../shared/MoreButton.js";import{SaveButton as p}from"../shared/SaveButton.js";import{SelectField as m}from"../shared/SelectField.js";import"../shared/StaticField.js";import{SharedEditorElements as a}from"../shared/SharedEditorElements.js";import"../shared/ConfirmationPopup.js";import{CONTAINER_XS as l}from"../constants.js";import c from"./Measurement.js";import{isMobileDetected as d}from"../../../../../utils/mobileDetect.js";import{jsxs as j,jsx as u}from"react/jsx-runtime";import"../../../../DevCenter/DevCenterAppContainer/components/IsInsideDcAppProvider/IsInsideDcAppProvider.js";import"../../../../DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/DcFullscreenElemsCoordinatorProvider.js";import"../../../../DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/IsInsideDcFullscreenElemProvider.js";import"classnames";import"../../../../../icons/WithCustomSize.js";import"../../../../../icons/IconParkProvider.js";import"../../../../../icons/customIcons/icons/AddMessage.js";import"../../../../../icons/customIcons/icons/Attention.js";import"../../../../../icons/customIcons/icons/Collapse.js";import"../../../../../icons/customIcons/icons/Expand.js";import"../../../../../icons/customIcons/icons/FolderClosed.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/Wellhub.js";import"../../../../../icons/customIcons/icons/MultiRuler.js";import"../../../../IconButton/index.js";import"../../../../../constants/goals.js";import"../../../../../constants/segment.js";import"../../../../../constants/alerts.js";import"../../../../../constants/apps.js";import{COMPONENT_MATERIALS as C}from"../../../../../constants/drillstring.js";import"../../../../../constants/completion.js";import"../../../../../constants/appPackages.js";import"../../../../../constants/notifications.js";import"../../../../../constants/feed.js";import"../../../../../constants/bha.js";import"../../../../../utils/env.js";import"../../../../GradientManager/configuration/constants.js";import"../../../../Modal/CorvaModal.css.js";import"uuid";import"../../../../IconMenu/index.js";import"../../../../StyledMenuItem/index.js";import"../../../../AppIcon/AppIcon.js";import"../../../../DevCenter/AppHeader/AppHeader.js";import"../../../../DevCenter/AppSideBar/AppSideBar.js";import"../../../../DevCenter/AppsDataProvider/AppsDataProvider.js";import"@babel/runtime/helpers/defineProperty";import"@babel/runtime/helpers/slicedToArray";import"@material-ui/icons";import"../../../../DevCenter/AppContext.js";import"../../../../DevCenter/DevCenterRouterContext/DevCenterRouterContext.js";import"../../../../DevCenter/DevCenterRouterContext/UniversalLink/UniversalLink.js";import"@babel/runtime/helpers/objectWithoutProperties";import"react-router";import"@babel/runtime/helpers/asyncToGenerator";import"@babel/runtime/regenerator";import"../../../../../utils/index.js";import"../../../../DevCenter/DevCenterAppContainer/components/AppActions/AppActions.css.js";import"../../../../DevCenter/DevCenterAppContainer/components/AppSettingsDialog/AppSettingsDialog.js";import"../../../../DevCenter/DevCenterAppContainer/components/AppSettingsDialog/components/RemoveAppButton.js";import"../../../../DevCenter/DevCenterAppContainer/components/AppSettingsDialog/components/SettingsAccordion.js";import"../../../../DevCenter/DevCenterAppContainer/components/AnnotationsButton/AnnotationsButton.js";import"../../../../DevCenter/DevCenterAppContainer/components/NonPriorityMenus/NonPriorityMenus.js";import"../../../../DevCenter/DevCenterAppContainer/components/FullscreenButton/FullscreenButton.js";import"../../../../DevCenter/DevCenterAppContainer/components/AppInfoMessage/AppInfoMessage.js";import"../../../../DevCenter/DevCenterAppContainer/components/DevCenterAppView/DevCenterAppView.js";import"../../../../DevCenter/DevCenterAppContainer/components/RestoreAppSizeButton/index.js";import"../../../../DevCenter/DevCenterAppContainer/components/PriorityMenus/PriorityMenus.css.js";import"rollbar";import"@rollbar/react";import"../../../../DevCenter/DevCenterAppContainer/DevCenterAppContainer.css.js";import"../../../../Icons/AnnotationIcon.js";import"../../../../Annotations/components/AnnotationsList/index.js";import"../../../../Annotations/components/LastAnnotation/index.js";import"../../../../Annotations/AnnotationsContext.js";import"querystring";import"uuid/v1";import"../../../../../clients/subscriptions.js";import"../../../../../clients/jsonApi/index.js";import"jsona";import"../../../../StatusBadge/constants.js";import"@babel/runtime/helpers/toConsumableArray";import"lodash/set";import"lodash/get";import"lodash/unset";import"moment";import"../../../../../clients/api/apiCore.js";import"../../../../../clients/constants.js";import"../../../../../clients/sso/auth0.js";import"../../../../../clients/sso/oauth2.js";import"../../../../HelpCenter/HelpCenterIcon.js";import"../../../../DevCenter/NavigationBar/NavigationBar.js";import"../../../../DevCenter/SideBar/SideBar.js";import"../../../../DevCenter/AppSettingsPopover/AppSettingsPopover.js";import"../../../../DevCenter/AppFilterPanelLayout/AppFilterPanelLayout.js";import"../../../../DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedAppPage.js";import"../../../../DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedApp.js";import"../../../../AssetEditor/index.js";import"../../../../AssetEditorV2/index.js";import"../../../../AppVersionsSelect/AppVersionsSelect.js";import"../../../../LoadingIndicator/LoadingIndicator.js";import"../../../../Typography.js";import"../../../../RealTimeValuesSidebar/RealTimeSidebar.js";import"../../../../CollapsableSidebar.js";import"../../../../DateTimePicker/index.js";import"../../../../DatePicker/index.js";import"../../../../ErrorBoundary/ErrorBoundary.js";import"../../../../ErrorBoundary/DevCenterAppErrorView/DevCenterAppErrorView.js";import"../../../../SlateFormattedText/SlateFormattedText.js";import"../../../../SlateFormattedText/RenderElements.js";import"@babel/runtime/helpers/typeof";import"slate";import"../../../../EmptyState/EmptyState.js";import"../../../../ParameterCharts/ParameterCharts.js";import"../../../../ParameterCharts/AddEditTrack.js";import"../../../../ChartActionsList/ChartActionsList.js";import"../../../../CopyToClipboard/CopyToClipboard.js";import"../../../../AssetEditor/AssetEditorAutocomplete.js";import"../../../../AssetEditor/SingleAssetEditor.js";import"../../../../SettingEditors/ColorEditor/index.js";import"../../../../SettingEditors/DropdownEditor/index.js";import"../../../../SettingEditors/RadioEditor/index.js";import"../../../../SwitchControl/index.js";import"../../../../ColorPicker/ColorPicker.js";import"../../../../Chart/components/ChartButton.js";import"../../../../Chart/components/ChartButtons.js";import"../../../../Chart/components/ChartWrapper.js";import"../../../../Chart/components/AxisDropdown.js";import"../../../../Chart/components/ChartSelect.js";import"../../../../Chart/components/buttons/DragToZoomButton.js";import"../../../../Chart/components/buttons/ZoomInButton.js";import"../../../../Chart/components/buttons/ZoomOutButton.js";import"../../../../Chart/components/buttons/PanButton.js";import"../../../../Chart/components/buttons/ResetZoomButton.js";import"../../../../Chart/components/buttons/HideAxesButton.js";import"../../../../Chart/components/buttons/ChartTypeButton.js";import"../../../../ColorPicker/PaletteChromePicker/PaletteChromePicker.js";import"../../../../TruncatedText/index.js";import"../../../../MiddleTruncatedText/MiddleTruncatedText.js";import"../../../../RangeSlider/RangeSlider.js";import"../../../../AdvancedSlider/AdvancedSlider.js";import"../../../../Breadcrumbs/index.js";import"../../../../VirtualizedTable/index.js";import"../../../../EmptyView/EmptyView.js";import"../../../../EmptyView/EmptyAppView/EmptyAppView.js";import"../../../../Button/components/Button/index.js";import"moment-timezone";import"../../../../Button/components/LiveButton/components/LiveButtonStateIndicator/index.js";import"../../../../Button/components/LiveButton/styles.js";import"../../../../ContextMenuItem/index.js";import"../../../../FolderMenuItem/index.js";import"../../../../EditableItem/EditableItem/index.js";import"../../../../EditableItem/EditableItemWithBadge/index.js";import"../../../../Checkbox/index.js";import"../../../../FolderMenuItemWithLinks/index.js";import"../../../../TextField/index.js";import"../../../../Chip/index.js";import"../../../../Counter/index.js";import"../../../../AnchorsList/AnchorsList.js";import"../../../../Select/index.js";import"../../../../Select/SelectFilterBy.js";import"../../../../CustomSelect/index.js";import"../../../../Tabs/Tabs.js";import"../../../../Tabs/Tab.js";import"../../../../ResizableTable/ResizableTable.js";import"../../../../GradientPicker/GradientPicker.js";import"../../../../GradientManager/GradientList.js";import"@material-ui/icons/AddCircle";import"../../../../GradientManager/GradientPreview/GradientPreview.js";import"../../../../GradientManager/GradientSelect.styles.js";import"../../../../GradientManager/GradientManager.styles.js";import"../../../BHASchematic.js";import"../../../BHATable/index.js";import A from"../../../BHAComponentIcon.js";import"../../../BHAComponentDetail/index.js";import"../../../BHATileIcon.js";import"../../../BHATile/BHATile.js";import"../../../BHAList/BHAList.js";import"../../BHAComponentsTable.js";import"../../../../Casing/CasingTable/index.js";import"../../../../Casing/CasingComponentIcon.js";import"../../../../Casing/CasingTileIcon.js";import"../../../../Casing/CasingTableV2/CasingTableV2.js";import"../../../../Casing/CasingTile/CasingTile.js";import"../../../../DisabledSettingsMessage/DisabledSettingsMessage.js";import"../../../../WellSummary/WellSummaryItemLabel.js";import"../../../../WellSummary/WellSummaryItemTitle.js";import"../../../../WellSummary/WellSummaryItemValue.js";import"../../../../WellSummary/ActivitySummaryChart.js";import"../../../../WellSummary/FracWirelineTimeChart.js";import"../../../../BICOffsetPickerDialog/index.js";import"../../../../OffsetWellButton/OffsetWellButton.js";import"../../../../OffsetWellPickerV2/OffsetWellPickerDialog.js";import"../../../../OffsetWellPickerV3/index.js";import"../../../../OffsetWellChips/Chip.js";import"../../../../OffsetWellChips/ChipsContainer.js";import"../../../../OffsetWellPickerV4/utils/apiCalls.js";import"../../../../OffsetWellPickerV4/effects/useAdvancedWells.js";import"../../../../OffsetWellPickerV4/constants.js";import"react-virtualized";import"../../../../OffsetWellPickerV4/effects/useAssetsData.js";import"../../../../OffsetWellPickerV4/components/AppHeader/AppHeader.js";import"../../../../OffsetWellPickerV4/components/Toolbar/Toolbar.js";import"../../../../OffsetWellPickerV4/components/Filter/Filter.js";import"../../../../OffsetWellPickerV4/components/Map/WellsMap.js";import"../../../../OffsetWellPickerV4/components/OffsetWellsTable/OffsetWellsTable.js";import"../../../../OffsetWellPickerV4/components/OffsetWellsTable/AdvancedSearch/constants.js";import"../../../../OffsetWellPickerV4/utils/index.js";import"../../../../OffsetWellPickerV4/OffsetWellPickerV4.module.css.js";import"../../../../../styles/typography/index.js";import"../../../../../styles/counter/counter.module.scss.js";import"../../../../OffsetWellMap/OffsetWellMap.js";import"@material-ui/core/Snackbar";import"../../../../Notifications/Toast.js";import"../../../../Toaster/Toaster.js";import"../../../../ConfirmationDialog.js";import"../../../../TextLink/index.js";import"../../../../Avatar/index.js";import"../../../../Template/TemplatePopover/index.js";import"../../../../Template/TemplateSharingDialog/index.js";import"../../../../MenuItem/index.js";import"../../../../MiddleTruncate/MiddleTruncate.js";import"../../../../PadModeSelect/PadModeSelect.js";import"../../../../PinnableFilters/PinnableFilters.js";import"../../../../HeaderLayout/HeaderLayout.js";import"../../../../PadOffsetsPicker/PadOffsetsPicker.js";import"../../../../PadOffsetsPicker/OffsetAssetChip.js";import"../../../../PadOffsetsPicker/OffsetAssetsListExpander.js";import"../../../../PadOffsetsPicker/StagesSelector.js";import"../../../../PadOffsetsPickerV2/PadOffsetsPickerV2.js";import"../../../../Table/TableToolbar/TableToolbar.js";import"../../../../Table/TableContainer/TableContainer.js";import"../../../../Table/TableCell/TableCell.js";import"../../../../Table/TablePagination/TablePagination.js";import"../../../../Table/TablePaginationActions/TablePaginationActions.js";import"../../../../Tooltip/ScrollableTooltip.js";import"../../../../PriceInput/PriceInput.js";import"../../../../LabelsCounter/LabelsCounter.js";import"../../../../Stepper/Stepper.js";import"../../../../Stepper/Step/Step.js";import"../../../../Stepper/StepsWrapper.js";import"../../../../Comment/CommentIcon/index.js";import"../../../../FilesLoader/FilesLoader.js";import"../../../../FilesLoader/Icons/FileIcon.js";import"../../../../SearchInput/index.js";import"../../../../FeedItem/FeedItem.js";import"../../../../FeedItem/FeedItemEditProvider/FeedItemEditProvider.js";import"../../../../PostInput/PostInput.js";import"../../../../KeyboardDateTimePicker.js";import"../../../../AddComment/Popover.js";import"../../../../AddComment/Popup.js";import"../../../../StageDesignVActual/ComparisonBar/ComparisonBar.js";import"../../../../StageDesignVActual/ElementsComparison/ElementsComparison.js";import"../../../../StageDesignVActual/ComparisonHeader.js";import"../../../../StageDesignVActual/ComparisonRow.js";import"../../../../EmbeddedApp/DevCenterEmbeddedApp.js";import"../../../../EmbeddedApp/EmbeddedApp.js";import"../../../../Autocomplete/Autocomplete.js";import"../../../../DocumentViewer/DocumentViewer.js";import"../../../../ColorPickerPalette/ColorPickerPalette.js";import"../../../../Search/Search.js";import"../../../../Search/components/Listbox.js";import"../../../../Search/components/Paper.js";import"../../../../Search/components/RecentSearches.js";import"../../../../Search/components/Groups.js";import"../../../../StatusBadge/index.js";import"../../../../Attachment/index.js";import"../../../../EmojiIconButton.js";import"../../../../FileUploadIconButton.js";import"../../../../FilePreview/index.js";import"../../../../FailedFileUploading.js";import"../../../../UserMention/index.js";import"../../../../CommentsInfo/index.js";import"../../../../CommentInput/index.js";import"../../../../Comment/index.js";import"../../../../CommentLoader.js";import"../../../../AssetNameLabel/AssetStatusBadge.js";import"../../../../AssetEditorV2/components/PrimaryAssetSelect.js";import"../../../../AssetEditorV2/components/SecondaryAssetSelect.js";import"../../../../AssetEditorV2/components/SelectItem.js";import"../../../../AssetEditorV2/components/MultipleAssetsToggle.js";import"../../../../AssetEditorV2/components/PrimaryAssetSelectV2.js";import"../../../../EChartsWrapper/EChartsWrapper.js";import"../../../../AssetsMultipleSelector/AssetsMultipleSelector.js";import"@material-ui/icons/Close";import"@material-ui/icons/GetApp";import"../../../../GoogleDocsViewer/index.js";import"../../../../NewDocumentViewer/effects/useFileContent.js";import"../../../../NewDocumentViewer/styles.js";function f(e){var o=e.component,f=e.error,h=e.onChange,g=e.onCancel,b=e.onSave,v=e.columns,S=i({isMobile:d}),P=d?l/2:l/v,D=function(e){return f&&f[e]};return j(r,{container:!0,spacing:0,className:S.editorContainer,children:[!d&&u(r,{item:!0,className:S.editorComponentSize,children:u(A,{component:o})}),u(r,{item:!0,className:S.eidtorContentContainer,children:j(r,{container:!0,spacing:2,children:[u(a,{component:o,getError:D,onChange:h}),u(n,{type:"name",label:"Name",value:o.name,error:D("name"),xs:P,onChangeField:h}),u(n,{type:"weight",label:"T.Weight",unit:"mass",value:o.weight,error:D("weight"),disabled:!0,xs:P,onChangeField:h}),u(n,{type:"connection_type",label:"Connection Type",value:o.connection_type,error:D("connection_type"),xs:P,onChangeField:h}),u(m,{type:"material",options:C,label:"Component",value:o.material,error:D("material"),xs:P,onChangeField:h}),u(c,{isEditing:!0,data:o.lwd_measurements,errors:D("lwd_measurements"),onChange:function(e){h("lwd_measurements",e)}})]})}),!d&&j(r,{item:!0,className:S.eidtorActionGroup,children:[u(s,{handleCancel:g}),u(p,{handleSave:b,disabled:!t(f)})]})]})}f.propTypes={component:o.shape({name:o.string,weight:o.number,connection_type:o.string,material:o.string,lwd_measurements:o.arrayOf(o.shape({}))}).isRequired,error:o.shape({}),onChange:o.func.isRequired,onCancel:o.func.isRequired,onSave:o.func.isRequired,columns:o.number.isRequired},f.defaultProps={error:null};var h=e(f);export{h as default};
@@ -1 +1 @@
1
- {"version":3,"file":"Measurement.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Drillstring/BHAComponentsTable/components/Lwd/Measurement.js"],"names":[],"mappings":";;AAaA;;;;;gBAqHC"}
1
+ {"version":3,"file":"Measurement.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Drillstring/BHAComponentsTable/components/Lwd/Measurement.js"],"names":[],"mappings":";;AAcA;;;;;gBAqHC"}
@@ -1 +1 @@
1
- import e from"@babel/runtime/helpers/defineProperty";import t from"@babel/runtime/helpers/toConsumableArray";import{memo as r,Fragment as n}from"react";import a from"classnames";import i from"prop-types";import{IconButton as o,Grid as s}from"@material-ui/core";import l from"@material-ui/icons/Add";import m from"@material-ui/icons/Delete";import{isMobileDetected as c}from"../../../../../utils/mobileDetect.js";import{getUnitDisplay as u}from"../../../../../utils/index.js";import{LWD_MEASUREMENT_TYPES as p}from"../../../../../constants/drillstring.js";import"../shared/CancelButton.js";import"../shared/ExpandCollapseButton.js";import"../shared/FormatedNumber.js";import{InputText as d}from"../shared/InputText.js";import"../shared/MoreButton.js";import"../shared/SaveButton.js";import{SelectField as f}from"../shared/SelectField.js";import{StaticField as b}from"../shared/StaticField.js";import"../shared/SharedEditorElements.js";import"../shared/ConfirmationPopup.js";import{useStyles as h}from"../sharedStyles.js";import{jsxs as y,jsx as g}from"react/jsx-runtime";function j(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function O(t){for(var r=1;r<arguments.length;r++){var n=null!=arguments[r]?arguments[r]:{};r%2?j(Object(n),!0).forEach((function(r){e(t,r,n[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):j(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function v(r){var i,j=r.data,v=r.errors,P=r.isEditing,x=r.onChange,C=h({isMobile:c,isEditing:P}),N=v||[],M=function(e){return function(){x([].concat(t(j.slice(0,e)),t(j.slice(e+1))))}},w=function(t){return function(r,n){var a=j.map((function(a,i){return i===t?O(O({},a),{},e({},r,n)):a}));x(a)}};return 0!==j.length||P?y("div",{className:C.subGroup,children:[y("div",{className:a(C.subTitle,e({},C.subTitleEditing,P)),children:["LWD Measurements",P&&g(o,{"data-not-migrated-muiiconbutton":!0,className:C.addButton,onClick:function(){x([].concat(t(j),[{type:null,name:null,distance:null}]))},children:g(l,{className:C.addIcon,color:"primary"})})]}),g(s,{container:!0,spacing:2,className:a(C.detailedView,(i={},e(i,C.detailedViewMobile,c),e(i,C.eidtorNozzleView,P),i)),children:j.map((function(t,r){return y(n,{children:[P?g(f,{type:"type",options:p,label:"Measurement Type",value:t.type,error:N[r]&&N[r].type,xs:3,onChangeField:w(r)}):g(b,{label:"Measurement Type",value:t.type,format:null,xs:4}),P?g(d,{type:"name",label:"Measurement Name",value:t.name,error:N[r]&&N[r].name,xs:3,onChangeField:w(r)}):g(b,{label:"Measurement Name",value:t.name,format:null,xs:4}),P?g(d,{type:"distance",label:"M. Point distance (".concat(u("length"),")"),value:t.distance,error:N[r]&&N[r].distance,xs:3,onChangeField:w(r)}):g(b,{label:"Measure Point distance to Bit",unit:"length",value:t.distance,xs:4}),P&&g(s,{item:!0,xs:3,className:e({},C.cellInnerMobile,c),children:g(o,{"data-not-migrated-muiiconbutton":!0,className:C.addButton,onClick:M(r),children:g(m,{className:C.addIcon})})})]},r)}))})]}):null}v.propTypes={isEditing:i.bool.isRequired,data:i.arrayOf(i.shape({type:i.string,name:i.string,distance:i.number})),errors:i.arrayOf(i.shape({type:i.string,name:i.string,distance:i.string})),onChange:i.func},v.defaultProps={data:[],errors:[],onChange:null};var P=r(v);export{P as default};
1
+ import e from"@babel/runtime/helpers/defineProperty";import t from"@babel/runtime/helpers/toConsumableArray";import{memo as r,Fragment as n}from"react";import a from"classnames";import i from"prop-types";import{IconButton as o,Grid as s}from"@material-ui/core";import l from"@material-ui/icons/Add";import m from"@material-ui/icons/Delete";import"../shared/CancelButton.js";import"../shared/ExpandCollapseButton.js";import"../shared/FormatedNumber.js";import{InputText as c}from"../shared/InputText.js";import"../shared/MoreButton.js";import"../shared/SaveButton.js";import{SelectField as u}from"../shared/SelectField.js";import{StaticField as p}from"../shared/StaticField.js";import"../shared/SharedEditorElements.js";import"../shared/ConfirmationPopup.js";import{useStyles as d}from"../sharedStyles.js";import{isMobileDetected as f}from"../../../../../utils/mobileDetect.js";import{getUnitDisplay as b}from"../../../../../utils/index.js";import{LWD_MEASUREMENT_TYPES as h}from"../../../../../constants/drillstring.js";import{jsxs as y,jsx as g}from"react/jsx-runtime";function j(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function O(t){for(var r=1;r<arguments.length;r++){var n=null!=arguments[r]?arguments[r]:{};r%2?j(Object(n),!0).forEach((function(r){e(t,r,n[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):j(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function v(r){var i,j=r.data,v=r.errors,P=r.isEditing,x=r.onChange,C=d({isMobile:f,isEditing:P}),N=v||[],M=function(e){return function(){x([].concat(t(j.slice(0,e)),t(j.slice(e+1))))}},w=function(t){return function(r,n){var a=j.map((function(a,i){return i===t?O(O({},a),{},e({},r,n)):a}));x(a)}};return 0!==j.length||P?y("div",{className:C.subGroup,children:[y("div",{className:a(C.subTitle,e({},C.subTitleEditing,P)),children:["LWD Measurements",P&&g(o,{"data-not-migrated-muiiconbutton":!0,className:C.addButton,onClick:function(){x([].concat(t(j),[{type:null,name:null,distance:null}]))},children:g(l,{className:C.addIcon,color:"primary"})})]}),g(s,{container:!0,spacing:2,className:a(C.detailedView,(i={},e(i,C.detailedViewMobile,f),e(i,C.eidtorNozzleView,P),i)),children:j.map((function(t,r){return y(n,{children:[P?g(u,{type:"type",options:h,label:"Measurement Type",value:t.type,error:N[r]&&N[r].type,xs:3,onChangeField:w(r)}):g(p,{label:"Measurement Type",value:t.type,format:null,xs:4}),P?g(c,{type:"name",label:"Measurement Name",value:t.name,error:N[r]&&N[r].name,xs:3,onChangeField:w(r)}):g(p,{label:"Measurement Name",value:t.name,format:null,xs:4}),P?g(c,{type:"distance",label:"M. Point distance (".concat(b("length"),")"),value:t.distance,error:N[r]&&N[r].distance,xs:3,onChangeField:w(r)}):g(p,{label:"Measure Point distance to Bit",unit:"length",value:t.distance,xs:4}),P&&g(s,{item:!0,xs:3,className:e({},C.cellInnerMobile,f),children:g(o,{"data-not-migrated-muiiconbutton":!0,className:C.addButton,onClick:M(r),children:g(m,{className:C.addIcon})})})]},r)}))})]}):null}v.propTypes={isEditing:i.bool.isRequired,data:i.arrayOf(i.shape({type:i.string,name:i.string,distance:i.number})),errors:i.arrayOf(i.shape({type:i.string,name:i.string,distance:i.string})),onChange:i.func},v.defaultProps={data:[],errors:[],onChange:null};var P=r(v);export{P as default};
@@ -1 +1 @@
1
- {"version":3,"file":"Browser.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Drillstring/BHAComponentsTable/components/Mwd/Browser.js"],"names":[],"mappings":";;AAWA;;;gBA2BC"}
1
+ {"version":3,"file":"Browser.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Drillstring/BHAComponentsTable/components/Mwd/Browser.js"],"names":[],"mappings":";;AAYA;;;gBA2BC"}
@@ -1 +1 @@
1
- import e from"@babel/runtime/helpers/defineProperty";import{memo as r}from"react";import t from"classnames";import i from"prop-types";import{Grid as o}from"@material-ui/core";import{isMobileDetected as s}from"../../../../../utils/mobileDetect.js";import"../shared/CancelButton.js";import"../shared/ExpandCollapseButton.js";import"../shared/FormatedNumber.js";import"../shared/InputText.js";import"../shared/MoreButton.js";import"../shared/SaveButton.js";import"../shared/SelectField.js";import{StaticField as a}from"../shared/StaticField.js";import"../shared/SharedEditorElements.js";import"../shared/ConfirmationPopup.js";import{useStyles as m}from"../sharedStyles.js";import n from"../PressureLoss/index.js";import{CONTAINER_XS as l}from"../constants.js";import{jsxs as p,Fragment as u,jsx as d}from"react/jsx-runtime";function c(r){var i=r.component,c=r.columns,h=m(),f=l/c;return p(u,{children:[p(o,{container:!0,spacing:2,className:t(h.detailedView,e({},h.detailedViewMobile,s)),children:[d(a,{label:"Name",value:i.name,format:null,xs:f}),d(a,{label:"T.Weight",unit:"mass",value:i.weight,xs:f}),d(a,{label:"Connection Type",value:i.connection_type,format:null,xs:f}),d(a,{label:"Material",value:i.material,format:null,xs:f})]}),d(n,{isEditing:!1,data:i.pressure_loss||[]})]})}c.propTypes={component:i.shape({family:i.string,outer_diameter:i.number,inner_diameter:i.number,linear_weight:i.number,length:i.number,name:i.string,weight:i.number,connection_type:i.string,material:i.string,pressure_loss:i.arrayOf(i.shape({}))}).isRequired,columns:i.number.isRequired};var h=r(c);export{h as default};
1
+ import e from"@babel/runtime/helpers/defineProperty";import{memo as r}from"react";import t from"classnames";import i from"prop-types";import{Grid as o}from"@material-ui/core";import"../shared/CancelButton.js";import"../shared/ExpandCollapseButton.js";import"../shared/FormatedNumber.js";import"../shared/InputText.js";import"../shared/MoreButton.js";import"../shared/SaveButton.js";import"../shared/SelectField.js";import{StaticField as s}from"../shared/StaticField.js";import"../shared/SharedEditorElements.js";import"../shared/ConfirmationPopup.js";import{useStyles as a}from"../sharedStyles.js";import m from"../PressureLoss/index.js";import{CONTAINER_XS as n}from"../constants.js";import{isMobileDetected as l}from"../../../../../utils/mobileDetect.js";import{jsxs as p,Fragment as u,jsx as d}from"react/jsx-runtime";function c(r){var i=r.component,c=r.columns,h=a(),f=n/c;return p(u,{children:[p(o,{container:!0,spacing:2,className:t(h.detailedView,e({},h.detailedViewMobile,l)),children:[d(s,{label:"Name",value:i.name,format:null,xs:f}),d(s,{label:"T.Weight",unit:"mass",value:i.weight,xs:f}),d(s,{label:"Connection Type",value:i.connection_type,format:null,xs:f}),d(s,{label:"Material",value:i.material,format:null,xs:f})]}),d(m,{isEditing:!1,data:i.pressure_loss||[]})]})}c.propTypes={component:i.shape({family:i.string,outer_diameter:i.number,inner_diameter:i.number,linear_weight:i.number,length:i.number,name:i.string,weight:i.number,connection_type:i.string,material:i.string,pressure_loss:i.arrayOf(i.shape({}))}).isRequired,columns:i.number.isRequired};var h=r(c);export{h as default};
@@ -1 +1 @@
1
- {"version":3,"file":"Editor.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Drillstring/BHAComponentsTable/components/Mwd/Editor.js"],"names":[],"mappings":";;AAaA;;;;;;;gBAyEC"}
1
+ {"version":3,"file":"Editor.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Drillstring/BHAComponentsTable/components/Mwd/Editor.js"],"names":[],"mappings":";;AAcA;;;;;;;gBAyEC"}
@@ -1 +1 @@
1
- import{memo as e}from"react";import{isEmpty as t}from"lodash";import o from"prop-types";import{Grid as r}from"@material-ui/core";import{isMobileDetected as i}from"../../../../../utils/mobileDetect.js";import{jsxs as s,jsx as n}from"react/jsx-runtime";import"../../../../DevCenter/DevCenterAppContainer/components/IsInsideDcAppProvider/IsInsideDcAppProvider.js";import"../../../../DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/DcFullscreenElemsCoordinatorProvider.js";import"../../../../DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/IsInsideDcFullscreenElemProvider.js";import"classnames";import"../../../../../icons/WithCustomSize.js";import"../../../../../icons/IconParkProvider.js";import"../../../../../icons/customIcons/icons/AddMessage.js";import"../../../../../icons/customIcons/icons/Attention.js";import"../../../../../icons/customIcons/icons/Collapse.js";import"../../../../../icons/customIcons/icons/Expand.js";import"../../../../../icons/customIcons/icons/FolderClosed.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/Wellhub.js";import"../../../../../icons/customIcons/icons/MultiRuler.js";import"../../../../IconButton/index.js";import"../../../../../constants/goals.js";import"../../../../../constants/segment.js";import"../../../../../constants/alerts.js";import"../../../../../constants/apps.js";import{COMPONENT_MATERIALS as p}from"../../../../../constants/drillstring.js";import"../../../../../constants/completion.js";import"../../../../../constants/appPackages.js";import"../../../../../constants/notifications.js";import"../../../../../constants/feed.js";import"../../../../../constants/bha.js";import"../../../../../utils/env.js";import"../../../../GradientManager/configuration/constants.js";import"../../../../Modal/CorvaModal.css.js";import"uuid";import"../../../../IconMenu/index.js";import"../../../../StyledMenuItem/index.js";import"../../../../AppIcon/AppIcon.js";import"../../../../DevCenter/AppHeader/AppHeader.js";import"../../../../DevCenter/AppSideBar/AppSideBar.js";import"../../../../DevCenter/AppsDataProvider/AppsDataProvider.js";import"@babel/runtime/helpers/defineProperty";import"@babel/runtime/helpers/slicedToArray";import"@material-ui/icons";import"../../../../Icons/AnnotationIcon.js";import"../../../../Annotations/components/AnnotationsList/index.js";import"../../../../Annotations/components/LastAnnotation/index.js";import"../../../../Annotations/AnnotationsContext.js";import"@babel/runtime/helpers/asyncToGenerator";import"@babel/runtime/regenerator";import"querystring";import"uuid/v1";import"../../../../../clients/jsonApi/index.js";import"../../../../../clients/subscriptions.js";import"../../../../../utils/index.js";import"jsona";import"../../../../StatusBadge/constants.js";import"@babel/runtime/helpers/toConsumableArray";import"lodash/set";import"lodash/get";import"lodash/unset";import"moment";import"../../../../../clients/api/apiCore.js";import"../../../../../clients/constants.js";import"../../../../../clients/sso/auth0.js";import"../../../../../clients/sso/oauth2.js";import"../../../../HelpCenter/HelpCenterIcon.js";import"../../../../DevCenter/DevCenterAppContainer/components/AppActions/AppActions.css.js";import"../../../../DevCenter/DevCenterAppContainer/components/AppSettingsDialog/AppSettingsDialog.js";import"../../../../DevCenter/DevCenterAppContainer/components/AppSettingsDialog/components/RemoveAppButton.js";import"../../../../DevCenter/DevCenterAppContainer/components/AppSettingsDialog/components/SettingsAccordion.js";import"../../../../DevCenter/DevCenterAppContainer/components/AnnotationsButton/AnnotationsButton.js";import"../../../../DevCenter/DevCenterAppContainer/components/NonPriorityMenus/NonPriorityMenus.js";import"../../../../DevCenter/DevCenterAppContainer/components/FullscreenButton/FullscreenButton.js";import"../../../../DevCenter/DevCenterAppContainer/components/AppInfoMessage/AppInfoMessage.js";import"../../../../DevCenter/DevCenterAppContainer/components/DevCenterAppView/DevCenterAppView.js";import"../../../../DevCenter/AppContext.js";import"../../../../DevCenter/DevCenterAppContainer/DevCenterAppContainer.css.js";import"../../../../DevCenter/DevCenterAppContainer/components/RestoreAppSizeButton/index.js";import"../../../../DevCenter/DevCenterAppContainer/components/PriorityMenus/PriorityMenus.css.js";import"../../../../DevCenter/DevCenterRouterContext/DevCenterRouterContext.js";import"../../../../DevCenter/DevCenterRouterContext/UniversalLink/UniversalLink.js";import"@babel/runtime/helpers/objectWithoutProperties";import"react-router";import"rollbar";import"@rollbar/react";import"../../../../DevCenter/NavigationBar/NavigationBar.js";import"../../../../DevCenter/SideBar/SideBar.js";import"../../../../DevCenter/AppSettingsPopover/AppSettingsPopover.js";import"../../../../DevCenter/AppFilterPanelLayout/AppFilterPanelLayout.js";import"../../../../DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedAppPage.js";import"../../../../DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedApp.js";import"../../../../AssetEditor/index.js";import"../../../../AssetEditorV2/index.js";import"../../../../AppVersionsSelect/AppVersionsSelect.js";import"../../../../LoadingIndicator/LoadingIndicator.js";import"../../../../Typography.js";import"../../../../RealTimeValuesSidebar/RealTimeSidebar.js";import"../../../../CollapsableSidebar.js";import"../../../../DateTimePicker/index.js";import"../../../../DatePicker/index.js";import"../../../../ErrorBoundary/ErrorBoundary.js";import"../../../../ErrorBoundary/DevCenterAppErrorView/DevCenterAppErrorView.js";import"../../../../SlateFormattedText/SlateFormattedText.js";import"../../../../SlateFormattedText/RenderElements.js";import"@babel/runtime/helpers/typeof";import"slate";import"../../../../EmptyState/EmptyState.js";import"../../../../ParameterCharts/ParameterCharts.js";import"../../../../ParameterCharts/AddEditTrack.js";import"../../../../ChartActionsList/ChartActionsList.js";import"../../../../CopyToClipboard/CopyToClipboard.js";import"../../../../AssetEditor/AssetEditorAutocomplete.js";import"../../../../AssetEditor/SingleAssetEditor.js";import"../../../../SettingEditors/ColorEditor/index.js";import"../../../../SettingEditors/DropdownEditor/index.js";import"../../../../SettingEditors/RadioEditor/index.js";import"../../../../SwitchControl/index.js";import"../../../../ColorPicker/ColorPicker.js";import"../../../../Chart/components/ChartButton.js";import"../../../../Chart/components/ChartButtons.js";import"../../../../Chart/components/ChartWrapper.js";import"../../../../Chart/components/AxisDropdown.js";import"../../../../Chart/components/ChartSelect.js";import"../../../../Chart/components/buttons/DragToZoomButton.js";import"../../../../Chart/components/buttons/ZoomInButton.js";import"../../../../Chart/components/buttons/ZoomOutButton.js";import"../../../../Chart/components/buttons/PanButton.js";import"../../../../Chart/components/buttons/ResetZoomButton.js";import"../../../../Chart/components/buttons/HideAxesButton.js";import"../../../../Chart/components/buttons/ChartTypeButton.js";import"../../../../ColorPicker/PaletteChromePicker/PaletteChromePicker.js";import"../../../../TruncatedText/index.js";import"../../../../MiddleTruncatedText/MiddleTruncatedText.js";import"../../../../RangeSlider/RangeSlider.js";import"../../../../AdvancedSlider/AdvancedSlider.js";import"../../../../Breadcrumbs/index.js";import"../../../../VirtualizedTable/index.js";import"../../../../EmptyView/EmptyView.js";import"../../../../EmptyView/EmptyAppView/EmptyAppView.js";import"../../../../Button/components/Button/index.js";import"moment-timezone";import"../../../../Button/components/LiveButton/components/LiveButtonStateIndicator/index.js";import"../../../../Button/components/LiveButton/styles.js";import"../../../../ContextMenuItem/index.js";import"../../../../FolderMenuItem/index.js";import"../../../../EditableItem/EditableItem/index.js";import"../../../../EditableItem/EditableItemWithBadge/index.js";import"../../../../Checkbox/index.js";import"../../../../FolderMenuItemWithLinks/index.js";import"../../../../TextField/index.js";import"../../../../Chip/index.js";import"../../../../Counter/index.js";import"../../../../AnchorsList/AnchorsList.js";import"../../../../Select/index.js";import"../../../../Select/SelectFilterBy.js";import"../../../../CustomSelect/index.js";import"../../../../Tabs/Tabs.js";import"../../../../Tabs/Tab.js";import"../../../../ResizableTable/ResizableTable.js";import"../../../../GradientPicker/GradientPicker.js";import"../../../../GradientManager/GradientList.js";import"@material-ui/icons/AddCircle";import"../../../../GradientManager/GradientPreview/GradientPreview.js";import"../../../../GradientManager/GradientSelect.styles.js";import"../../../../GradientManager/GradientManager.styles.js";import"../../../BHASchematic.js";import"../../../BHATable/index.js";import m from"../../../BHAComponentIcon.js";import"../../../BHAComponentDetail/index.js";import"../../../BHATileIcon.js";import"../../../BHATile/BHATile.js";import"../../../BHAList/BHAList.js";import"../../BHAComponentsTable.js";import"../../../../Casing/CasingTable/index.js";import"../../../../Casing/CasingComponentIcon.js";import"../../../../Casing/CasingTileIcon.js";import"../../../../Casing/CasingTableV2/CasingTableV2.js";import"../../../../Casing/CasingTile/CasingTile.js";import"../../../../DisabledSettingsMessage/DisabledSettingsMessage.js";import"../../../../WellSummary/WellSummaryItemLabel.js";import"../../../../WellSummary/WellSummaryItemTitle.js";import"../../../../WellSummary/WellSummaryItemValue.js";import"../../../../WellSummary/ActivitySummaryChart.js";import"../../../../WellSummary/FracWirelineTimeChart.js";import"../../../../BICOffsetPickerDialog/index.js";import"../../../../OffsetWellButton/OffsetWellButton.js";import"../../../../OffsetWellPickerV2/OffsetWellPickerDialog.js";import"../../../../OffsetWellPickerV3/index.js";import"../../../../OffsetWellChips/Chip.js";import"../../../../OffsetWellChips/ChipsContainer.js";import"../../../../OffsetWellPickerV4/utils/apiCalls.js";import"../../../../OffsetWellPickerV4/effects/useAdvancedWells.js";import"../../../../OffsetWellPickerV4/constants.js";import"react-virtualized";import"../../../../OffsetWellPickerV4/effects/useAssetsData.js";import"../../../../OffsetWellPickerV4/components/AppHeader/AppHeader.js";import"../../../../OffsetWellPickerV4/components/Toolbar/Toolbar.js";import"../../../../OffsetWellPickerV4/components/Filter/Filter.js";import"../../../../OffsetWellPickerV4/components/Map/WellsMap.js";import"../../../../OffsetWellPickerV4/components/OffsetWellsTable/OffsetWellsTable.js";import"../../../../OffsetWellPickerV4/components/OffsetWellsTable/AdvancedSearch/constants.js";import"../../../../OffsetWellPickerV4/utils/index.js";import"../../../../OffsetWellPickerV4/OffsetWellPickerV4.module.css.js";import"../../../../../styles/typography/index.js";import"../../../../../styles/counter/counter.module.scss.js";import"../../../../OffsetWellMap/OffsetWellMap.js";import"@material-ui/core/Snackbar";import"../../../../Notifications/Toast.js";import"../../../../Toaster/Toaster.js";import"../../../../ConfirmationDialog.js";import"../../../../TextLink/index.js";import"../../../../Avatar/index.js";import"../../../../Template/TemplatePopover/index.js";import"../../../../Template/TemplateSharingDialog/index.js";import"../../../../MenuItem/index.js";import"../../../../MiddleTruncate/MiddleTruncate.js";import"../../../../PadModeSelect/PadModeSelect.js";import"../../../../PinnableFilters/PinnableFilters.js";import"../../../../HeaderLayout/HeaderLayout.js";import"../../../../PadOffsetsPicker/PadOffsetsPicker.js";import"../../../../PadOffsetsPicker/OffsetAssetChip.js";import"../../../../PadOffsetsPicker/OffsetAssetsListExpander.js";import"../../../../PadOffsetsPicker/StagesSelector.js";import"../../../../PadOffsetsPickerV2/PadOffsetsPickerV2.js";import"../../../../Table/TableToolbar/TableToolbar.js";import"../../../../Table/TableContainer/TableContainer.js";import"../../../../Table/TableCell/TableCell.js";import"../../../../Table/TablePagination/TablePagination.js";import"../../../../Table/TablePaginationActions/TablePaginationActions.js";import"../../../../Tooltip/ScrollableTooltip.js";import"../../../../PriceInput/PriceInput.js";import"../../../../LabelsCounter/LabelsCounter.js";import"../../../../Stepper/Stepper.js";import"../../../../Stepper/Step/Step.js";import"../../../../Stepper/StepsWrapper.js";import"../../../../Comment/CommentIcon/index.js";import"../../../../FilesLoader/FilesLoader.js";import"../../../../FilesLoader/Icons/FileIcon.js";import"../../../../SearchInput/index.js";import"../../../../FeedItem/FeedItem.js";import"../../../../FeedItem/FeedItemEditProvider/FeedItemEditProvider.js";import"../../../../PostInput/PostInput.js";import"../../../../KeyboardDateTimePicker.js";import"../../../../AddComment/Popover.js";import"../../../../AddComment/Popup.js";import"../../../../StageDesignVActual/ComparisonBar/ComparisonBar.js";import"../../../../StageDesignVActual/ElementsComparison/ElementsComparison.js";import"../../../../StageDesignVActual/ComparisonHeader.js";import"../../../../StageDesignVActual/ComparisonRow.js";import"../../../../EmbeddedApp/DevCenterEmbeddedApp.js";import"../../../../EmbeddedApp/EmbeddedApp.js";import"../../../../Autocomplete/Autocomplete.js";import"../../../../DocumentViewer/DocumentViewer.js";import"../../../../ColorPickerPalette/ColorPickerPalette.js";import"../../../../Search/Search.js";import"../../../../Search/components/Listbox.js";import"../../../../Search/components/Paper.js";import"../../../../Search/components/RecentSearches.js";import"../../../../Search/components/Groups.js";import"../../../../StatusBadge/index.js";import"../../../../Attachment/index.js";import"../../../../EmojiIconButton.js";import"../../../../FileUploadIconButton.js";import"../../../../FilePreview/index.js";import"../../../../FailedFileUploading.js";import"../../../../UserMention/index.js";import"../../../../CommentsInfo/index.js";import"../../../../CommentInput/index.js";import"../../../../Comment/index.js";import"../../../../CommentLoader.js";import"../../../../AssetNameLabel/AssetStatusBadge.js";import"../../../../AssetEditorV2/components/PrimaryAssetSelect.js";import"../../../../AssetEditorV2/components/SecondaryAssetSelect.js";import"../../../../AssetEditorV2/components/SelectItem.js";import"../../../../AssetEditorV2/components/MultipleAssetsToggle.js";import"../../../../AssetEditorV2/components/PrimaryAssetSelectV2.js";import"../../../../EChartsWrapper/EChartsWrapper.js";import"../../../../AssetsMultipleSelector/AssetsMultipleSelector.js";import"@material-ui/icons/Close";import"@material-ui/icons/GetApp";import"../../../../GoogleDocsViewer/index.js";import"../../../../NewDocumentViewer/effects/useFileContent.js";import"../../../../NewDocumentViewer/styles.js";import{useStyles as a}from"../sharedStyles.js";import{CancelButton as l}from"../shared/CancelButton.js";import"../shared/ExpandCollapseButton.js";import"../shared/FormatedNumber.js";import{InputText as c}from"../shared/InputText.js";import"../shared/MoreButton.js";import{SaveButton as d}from"../shared/SaveButton.js";import{SelectField as j}from"../shared/SelectField.js";import"../shared/StaticField.js";import{SharedEditorElements as u}from"../shared/SharedEditorElements.js";import"../shared/ConfirmationPopup.js";import C from"../PressureLoss/index.js";import{CONTAINER_XS as A}from"../constants.js";function f(e){var o=e.component,f=e.error,h=e.onChange,g=e.onCancel,b=e.onSave,v=e.columns,P=a({isMobile:i}),S=i?A/2:A/v,D=function(e){return f&&f[e]};return s(r,{container:!0,spacing:0,className:P.editorContainer,children:[!i&&n(r,{item:!0,className:P.editorComponentSize,children:n(m,{component:o})}),n(r,{item:!0,className:P.eidtorContentContainer,children:s(r,{container:!0,spacing:2,children:[n(u,{component:o,getError:D,onChange:h}),n(c,{type:"name",label:"Name",value:o.name,error:D("name"),xs:S,onChangeField:h}),n(c,{type:"weight",label:"T.Weight",unit:"mass",value:o.weight,error:D("weight"),disabled:!0,xs:S,onChangeField:h}),n(c,{type:"connection_type",label:"Connection Type",value:o.connection_type,error:D("connection_type"),xs:S,onChangeField:h}),n(j,{type:"material",options:p,label:"Material",value:o.material,error:D("material"),xs:S,onChangeField:h}),n(C,{isEditing:!0,data:o.pressure_loss,errors:D("pressure_loss"),onChange:function(e){h("pressure_loss",e)}})]})}),!i&&s(r,{item:!0,className:P.eidtorActionGroup,children:[n(l,{handleCancel:g}),n(d,{handleSave:b,disabled:!t(f)})]})]})}f.propTypes={component:o.shape({name:o.string,weight:o.number,connection_type:o.string,material:o.string,pressure_loss:o.arrayOf(o.shape({}))}).isRequired,error:o.shape({}),onChange:o.func.isRequired,onCancel:o.func.isRequired,onSave:o.func.isRequired,columns:o.number.isRequired},f.defaultProps={error:null};var h=e(f);export{h as default};
1
+ import{memo as e}from"react";import{isEmpty as t}from"lodash";import o from"prop-types";import{Grid as r}from"@material-ui/core";import{useStyles as i}from"../sharedStyles.js";import{CancelButton as s}from"../shared/CancelButton.js";import"../shared/ExpandCollapseButton.js";import"../shared/FormatedNumber.js";import{InputText as n}from"../shared/InputText.js";import"../shared/MoreButton.js";import{SaveButton as p}from"../shared/SaveButton.js";import{SelectField as m}from"../shared/SelectField.js";import"../shared/StaticField.js";import{SharedEditorElements as a}from"../shared/SharedEditorElements.js";import"../shared/ConfirmationPopup.js";import l from"../PressureLoss/index.js";import{CONTAINER_XS as c}from"../constants.js";import{COMPONENT_MATERIALS as d}from"../../../../../constants/drillstring.js";import{jsxs as j,jsx as u}from"react/jsx-runtime";import"../../../../DevCenter/DevCenterAppContainer/components/IsInsideDcAppProvider/IsInsideDcAppProvider.js";import"../../../../DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/DcFullscreenElemsCoordinatorProvider.js";import"../../../../DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/IsInsideDcFullscreenElemProvider.js";import"classnames";import"../../../../../icons/WithCustomSize.js";import"../../../../../icons/IconParkProvider.js";import"../../../../../icons/customIcons/icons/AddMessage.js";import"../../../../../icons/customIcons/icons/Attention.js";import"../../../../../icons/customIcons/icons/Collapse.js";import"../../../../../icons/customIcons/icons/Expand.js";import"../../../../../icons/customIcons/icons/FolderClosed.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/Wellhub.js";import"../../../../../icons/customIcons/icons/MultiRuler.js";import{isMobileDetected as C}from"../../../../../utils/mobileDetect.js";import"../../../../IconButton/index.js";import"../../../../../constants/goals.js";import"../../../../../constants/segment.js";import"../../../../../constants/alerts.js";import"../../../../../constants/apps.js";import"../../../../../constants/completion.js";import"../../../../../constants/appPackages.js";import"../../../../../constants/notifications.js";import"../../../../../constants/feed.js";import"../../../../../constants/bha.js";import"../../../../../utils/env.js";import"../../../../GradientManager/configuration/constants.js";import"../../../../Modal/CorvaModal.css.js";import"uuid";import"../../../../IconMenu/index.js";import"../../../../StyledMenuItem/index.js";import"../../../../AppIcon/AppIcon.js";import"../../../../DevCenter/AppHeader/AppHeader.js";import"../../../../DevCenter/AppSideBar/AppSideBar.js";import"../../../../DevCenter/AppsDataProvider/AppsDataProvider.js";import"@babel/runtime/helpers/defineProperty";import"@babel/runtime/helpers/slicedToArray";import"@material-ui/icons";import"../../../../DevCenter/AppContext.js";import"../../../../DevCenter/DevCenterRouterContext/DevCenterRouterContext.js";import"../../../../DevCenter/DevCenterRouterContext/UniversalLink/UniversalLink.js";import"@babel/runtime/helpers/objectWithoutProperties";import"react-router";import"@babel/runtime/helpers/asyncToGenerator";import"@babel/runtime/regenerator";import"../../../../../utils/index.js";import"../../../../DevCenter/DevCenterAppContainer/components/AppActions/AppActions.css.js";import"../../../../DevCenter/DevCenterAppContainer/components/AppSettingsDialog/AppSettingsDialog.js";import"../../../../DevCenter/DevCenterAppContainer/components/AppSettingsDialog/components/RemoveAppButton.js";import"../../../../DevCenter/DevCenterAppContainer/components/AppSettingsDialog/components/SettingsAccordion.js";import"../../../../DevCenter/DevCenterAppContainer/components/AnnotationsButton/AnnotationsButton.js";import"../../../../DevCenter/DevCenterAppContainer/components/NonPriorityMenus/NonPriorityMenus.js";import"../../../../DevCenter/DevCenterAppContainer/components/FullscreenButton/FullscreenButton.js";import"../../../../DevCenter/DevCenterAppContainer/components/AppInfoMessage/AppInfoMessage.js";import"../../../../DevCenter/DevCenterAppContainer/components/DevCenterAppView/DevCenterAppView.js";import"../../../../DevCenter/DevCenterAppContainer/components/RestoreAppSizeButton/index.js";import"../../../../DevCenter/DevCenterAppContainer/components/PriorityMenus/PriorityMenus.css.js";import"rollbar";import"@rollbar/react";import"../../../../DevCenter/DevCenterAppContainer/DevCenterAppContainer.css.js";import"../../../../Icons/AnnotationIcon.js";import"../../../../Annotations/components/AnnotationsList/index.js";import"../../../../Annotations/components/LastAnnotation/index.js";import"../../../../Annotations/AnnotationsContext.js";import"querystring";import"uuid/v1";import"../../../../../clients/subscriptions.js";import"../../../../../clients/jsonApi/index.js";import"jsona";import"../../../../StatusBadge/constants.js";import"@babel/runtime/helpers/toConsumableArray";import"lodash/set";import"lodash/get";import"lodash/unset";import"moment";import"../../../../../clients/api/apiCore.js";import"../../../../../clients/constants.js";import"../../../../../clients/sso/auth0.js";import"../../../../../clients/sso/oauth2.js";import"../../../../HelpCenter/HelpCenterIcon.js";import"../../../../DevCenter/NavigationBar/NavigationBar.js";import"../../../../DevCenter/SideBar/SideBar.js";import"../../../../DevCenter/AppSettingsPopover/AppSettingsPopover.js";import"../../../../DevCenter/AppFilterPanelLayout/AppFilterPanelLayout.js";import"../../../../DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedAppPage.js";import"../../../../DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedApp.js";import"../../../../AssetEditor/index.js";import"../../../../AssetEditorV2/index.js";import"../../../../AppVersionsSelect/AppVersionsSelect.js";import"../../../../LoadingIndicator/LoadingIndicator.js";import"../../../../Typography.js";import"../../../../RealTimeValuesSidebar/RealTimeSidebar.js";import"../../../../CollapsableSidebar.js";import"../../../../DateTimePicker/index.js";import"../../../../DatePicker/index.js";import"../../../../ErrorBoundary/ErrorBoundary.js";import"../../../../ErrorBoundary/DevCenterAppErrorView/DevCenterAppErrorView.js";import"../../../../SlateFormattedText/SlateFormattedText.js";import"../../../../SlateFormattedText/RenderElements.js";import"@babel/runtime/helpers/typeof";import"slate";import"../../../../EmptyState/EmptyState.js";import"../../../../ParameterCharts/ParameterCharts.js";import"../../../../ParameterCharts/AddEditTrack.js";import"../../../../ChartActionsList/ChartActionsList.js";import"../../../../CopyToClipboard/CopyToClipboard.js";import"../../../../AssetEditor/AssetEditorAutocomplete.js";import"../../../../AssetEditor/SingleAssetEditor.js";import"../../../../SettingEditors/ColorEditor/index.js";import"../../../../SettingEditors/DropdownEditor/index.js";import"../../../../SettingEditors/RadioEditor/index.js";import"../../../../SwitchControl/index.js";import"../../../../ColorPicker/ColorPicker.js";import"../../../../Chart/components/ChartButton.js";import"../../../../Chart/components/ChartButtons.js";import"../../../../Chart/components/ChartWrapper.js";import"../../../../Chart/components/AxisDropdown.js";import"../../../../Chart/components/ChartSelect.js";import"../../../../Chart/components/buttons/DragToZoomButton.js";import"../../../../Chart/components/buttons/ZoomInButton.js";import"../../../../Chart/components/buttons/ZoomOutButton.js";import"../../../../Chart/components/buttons/PanButton.js";import"../../../../Chart/components/buttons/ResetZoomButton.js";import"../../../../Chart/components/buttons/HideAxesButton.js";import"../../../../Chart/components/buttons/ChartTypeButton.js";import"../../../../ColorPicker/PaletteChromePicker/PaletteChromePicker.js";import"../../../../TruncatedText/index.js";import"../../../../MiddleTruncatedText/MiddleTruncatedText.js";import"../../../../RangeSlider/RangeSlider.js";import"../../../../AdvancedSlider/AdvancedSlider.js";import"../../../../Breadcrumbs/index.js";import"../../../../VirtualizedTable/index.js";import"../../../../EmptyView/EmptyView.js";import"../../../../EmptyView/EmptyAppView/EmptyAppView.js";import"../../../../Button/components/Button/index.js";import"moment-timezone";import"../../../../Button/components/LiveButton/components/LiveButtonStateIndicator/index.js";import"../../../../Button/components/LiveButton/styles.js";import"../../../../ContextMenuItem/index.js";import"../../../../FolderMenuItem/index.js";import"../../../../EditableItem/EditableItem/index.js";import"../../../../EditableItem/EditableItemWithBadge/index.js";import"../../../../Checkbox/index.js";import"../../../../FolderMenuItemWithLinks/index.js";import"../../../../TextField/index.js";import"../../../../Chip/index.js";import"../../../../Counter/index.js";import"../../../../AnchorsList/AnchorsList.js";import"../../../../Select/index.js";import"../../../../Select/SelectFilterBy.js";import"../../../../CustomSelect/index.js";import"../../../../Tabs/Tabs.js";import"../../../../Tabs/Tab.js";import"../../../../ResizableTable/ResizableTable.js";import"../../../../GradientPicker/GradientPicker.js";import"../../../../GradientManager/GradientList.js";import"@material-ui/icons/AddCircle";import"../../../../GradientManager/GradientPreview/GradientPreview.js";import"../../../../GradientManager/GradientSelect.styles.js";import"../../../../GradientManager/GradientManager.styles.js";import"../../../BHASchematic.js";import"../../../BHATable/index.js";import A from"../../../BHAComponentIcon.js";import"../../../BHAComponentDetail/index.js";import"../../../BHATileIcon.js";import"../../../BHATile/BHATile.js";import"../../../BHAList/BHAList.js";import"../../BHAComponentsTable.js";import"../../../../Casing/CasingTable/index.js";import"../../../../Casing/CasingComponentIcon.js";import"../../../../Casing/CasingTileIcon.js";import"../../../../Casing/CasingTableV2/CasingTableV2.js";import"../../../../Casing/CasingTile/CasingTile.js";import"../../../../DisabledSettingsMessage/DisabledSettingsMessage.js";import"../../../../WellSummary/WellSummaryItemLabel.js";import"../../../../WellSummary/WellSummaryItemTitle.js";import"../../../../WellSummary/WellSummaryItemValue.js";import"../../../../WellSummary/ActivitySummaryChart.js";import"../../../../WellSummary/FracWirelineTimeChart.js";import"../../../../BICOffsetPickerDialog/index.js";import"../../../../OffsetWellButton/OffsetWellButton.js";import"../../../../OffsetWellPickerV2/OffsetWellPickerDialog.js";import"../../../../OffsetWellPickerV3/index.js";import"../../../../OffsetWellChips/Chip.js";import"../../../../OffsetWellChips/ChipsContainer.js";import"../../../../OffsetWellPickerV4/utils/apiCalls.js";import"../../../../OffsetWellPickerV4/effects/useAdvancedWells.js";import"../../../../OffsetWellPickerV4/constants.js";import"react-virtualized";import"../../../../OffsetWellPickerV4/effects/useAssetsData.js";import"../../../../OffsetWellPickerV4/components/AppHeader/AppHeader.js";import"../../../../OffsetWellPickerV4/components/Toolbar/Toolbar.js";import"../../../../OffsetWellPickerV4/components/Filter/Filter.js";import"../../../../OffsetWellPickerV4/components/Map/WellsMap.js";import"../../../../OffsetWellPickerV4/components/OffsetWellsTable/OffsetWellsTable.js";import"../../../../OffsetWellPickerV4/components/OffsetWellsTable/AdvancedSearch/constants.js";import"../../../../OffsetWellPickerV4/utils/index.js";import"../../../../OffsetWellPickerV4/OffsetWellPickerV4.module.css.js";import"../../../../../styles/typography/index.js";import"../../../../../styles/counter/counter.module.scss.js";import"../../../../OffsetWellMap/OffsetWellMap.js";import"@material-ui/core/Snackbar";import"../../../../Notifications/Toast.js";import"../../../../Toaster/Toaster.js";import"../../../../ConfirmationDialog.js";import"../../../../TextLink/index.js";import"../../../../Avatar/index.js";import"../../../../Template/TemplatePopover/index.js";import"../../../../Template/TemplateSharingDialog/index.js";import"../../../../MenuItem/index.js";import"../../../../MiddleTruncate/MiddleTruncate.js";import"../../../../PadModeSelect/PadModeSelect.js";import"../../../../PinnableFilters/PinnableFilters.js";import"../../../../HeaderLayout/HeaderLayout.js";import"../../../../PadOffsetsPicker/PadOffsetsPicker.js";import"../../../../PadOffsetsPicker/OffsetAssetChip.js";import"../../../../PadOffsetsPicker/OffsetAssetsListExpander.js";import"../../../../PadOffsetsPicker/StagesSelector.js";import"../../../../PadOffsetsPickerV2/PadOffsetsPickerV2.js";import"../../../../Table/TableToolbar/TableToolbar.js";import"../../../../Table/TableContainer/TableContainer.js";import"../../../../Table/TableCell/TableCell.js";import"../../../../Table/TablePagination/TablePagination.js";import"../../../../Table/TablePaginationActions/TablePaginationActions.js";import"../../../../Tooltip/ScrollableTooltip.js";import"../../../../PriceInput/PriceInput.js";import"../../../../LabelsCounter/LabelsCounter.js";import"../../../../Stepper/Stepper.js";import"../../../../Stepper/Step/Step.js";import"../../../../Stepper/StepsWrapper.js";import"../../../../Comment/CommentIcon/index.js";import"../../../../FilesLoader/FilesLoader.js";import"../../../../FilesLoader/Icons/FileIcon.js";import"../../../../SearchInput/index.js";import"../../../../FeedItem/FeedItem.js";import"../../../../FeedItem/FeedItemEditProvider/FeedItemEditProvider.js";import"../../../../PostInput/PostInput.js";import"../../../../KeyboardDateTimePicker.js";import"../../../../AddComment/Popover.js";import"../../../../AddComment/Popup.js";import"../../../../StageDesignVActual/ComparisonBar/ComparisonBar.js";import"../../../../StageDesignVActual/ElementsComparison/ElementsComparison.js";import"../../../../StageDesignVActual/ComparisonHeader.js";import"../../../../StageDesignVActual/ComparisonRow.js";import"../../../../EmbeddedApp/DevCenterEmbeddedApp.js";import"../../../../EmbeddedApp/EmbeddedApp.js";import"../../../../Autocomplete/Autocomplete.js";import"../../../../DocumentViewer/DocumentViewer.js";import"../../../../ColorPickerPalette/ColorPickerPalette.js";import"../../../../Search/Search.js";import"../../../../Search/components/Listbox.js";import"../../../../Search/components/Paper.js";import"../../../../Search/components/RecentSearches.js";import"../../../../Search/components/Groups.js";import"../../../../StatusBadge/index.js";import"../../../../Attachment/index.js";import"../../../../EmojiIconButton.js";import"../../../../FileUploadIconButton.js";import"../../../../FilePreview/index.js";import"../../../../FailedFileUploading.js";import"../../../../UserMention/index.js";import"../../../../CommentsInfo/index.js";import"../../../../CommentInput/index.js";import"../../../../Comment/index.js";import"../../../../CommentLoader.js";import"../../../../AssetNameLabel/AssetStatusBadge.js";import"../../../../AssetEditorV2/components/PrimaryAssetSelect.js";import"../../../../AssetEditorV2/components/SecondaryAssetSelect.js";import"../../../../AssetEditorV2/components/SelectItem.js";import"../../../../AssetEditorV2/components/MultipleAssetsToggle.js";import"../../../../AssetEditorV2/components/PrimaryAssetSelectV2.js";import"../../../../EChartsWrapper/EChartsWrapper.js";import"../../../../AssetsMultipleSelector/AssetsMultipleSelector.js";import"@material-ui/icons/Close";import"@material-ui/icons/GetApp";import"../../../../GoogleDocsViewer/index.js";import"../../../../NewDocumentViewer/effects/useFileContent.js";import"../../../../NewDocumentViewer/styles.js";function f(e){var o=e.component,f=e.error,h=e.onChange,g=e.onCancel,b=e.onSave,v=e.columns,P=i({isMobile:C}),S=C?c/2:c/v,D=function(e){return f&&f[e]};return j(r,{container:!0,spacing:0,className:P.editorContainer,children:[!C&&u(r,{item:!0,className:P.editorComponentSize,children:u(A,{component:o})}),u(r,{item:!0,className:P.eidtorContentContainer,children:j(r,{container:!0,spacing:2,children:[u(a,{component:o,getError:D,onChange:h}),u(n,{type:"name",label:"Name",value:o.name,error:D("name"),xs:S,onChangeField:h}),u(n,{type:"weight",label:"T.Weight",unit:"mass",value:o.weight,error:D("weight"),disabled:!0,xs:S,onChangeField:h}),u(n,{type:"connection_type",label:"Connection Type",value:o.connection_type,error:D("connection_type"),xs:S,onChangeField:h}),u(m,{type:"material",options:d,label:"Material",value:o.material,error:D("material"),xs:S,onChangeField:h}),u(l,{isEditing:!0,data:o.pressure_loss,errors:D("pressure_loss"),onChange:function(e){h("pressure_loss",e)}})]})}),!C&&j(r,{item:!0,className:P.eidtorActionGroup,children:[u(s,{handleCancel:g}),u(p,{handleSave:b,disabled:!t(f)})]})]})}f.propTypes={component:o.shape({name:o.string,weight:o.number,connection_type:o.string,material:o.string,pressure_loss:o.arrayOf(o.shape({}))}).isRequired,error:o.shape({}),onChange:o.func.isRequired,onCancel:o.func.isRequired,onSave:o.func.isRequired,columns:o.number.isRequired},f.defaultProps={error:null};var h=e(f);export{h as default};
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Drillstring/BHAComponentsTable/components/NozzleSize/index.js"],"names":[],"mappings":";;AAYA;;;;;gBA6GC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Drillstring/BHAComponentsTable/components/NozzleSize/index.js"],"names":[],"mappings":";;AAaA;;;;;gBA6GC"}
@@ -1 +1 @@
1
- import e from"@babel/runtime/helpers/defineProperty";import r from"@babel/runtime/helpers/toConsumableArray";import{memo as t,Fragment as o}from"react";import i from"classnames";import n from"prop-types";import{IconButton as a,Grid as s}from"@material-ui/core";import l from"@material-ui/icons/Add";import c from"@material-ui/icons/Delete";import{isMobileDetected as u}from"../../../../../utils/mobileDetect.js";import{getUnitPreference as m,getUnitDisplay as p}from"../../../../../utils/index.js";import"../shared/CancelButton.js";import"../shared/ExpandCollapseButton.js";import"../shared/FormatedNumber.js";import{InputText as d}from"../shared/InputText.js";import"../shared/MoreButton.js";import"../shared/SaveButton.js";import"../shared/SelectField.js";import{StaticField as f}from"../shared/StaticField.js";import"../shared/SharedEditorElements.js";import"../shared/ConfirmationPopup.js";import{useStyles as h}from"../sharedStyles.js";import{jsxs as b,jsx as g}from"react/jsx-runtime";function j(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);r&&(o=o.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,o)}return t}function y(r){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?j(Object(o),!0).forEach((function(t){e(r,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(o)):j(Object(o)).forEach((function(e){Object.defineProperty(r,e,Object.getOwnPropertyDescriptor(o,e))}))}return r}function z(t){var n,j=t.data,z=t.errors,O=t.isEditing,v=t.onChange,N=h({isMobile:u}),C=z||[],P="in"===m("shortLength")?"".concat(p("shortLength"),"/32"):"".concat(p("shortLength")),x=function(e){return function(){v([].concat(r(j.slice(0,e)),r(j.slice(e+1))))}},S=function(r){return function(t,o){var i=j.map((function(i,n){return n===r?y(y({},i),{},e({},t,o)):i}));v(i)}};return 0!==j.length||O?b("div",{className:N.subGroup,children:[b("div",{className:i(N.subTitle,e({},N.subTitleEditing,O)),children:["Nozzle Sizes",O&&g(a,{"data-not-migrated-muiiconbutton":!0,className:N.addButton,onClick:function(){v([].concat(r(j),[{size:null,count:null}]))},children:g(l,{className:N.addIcon,color:"primary"})})]}),g(s,{container:!0,spacing:2,className:i(N.detailedView,(n={},e(n,N.detailedViewMobile,u),e(n,N.eidtorNozzleView,O),n)),children:j.map((function(r,t){return b(o,{children:[O?g(d,{type:"count",label:"# of this size",value:r.count,error:C[t]&&C[t].count,xs:u?5:4,onChangeField:S(t)}):g(f,{label:"# of this size",value:r.count,xs:6}),O?g(d,{type:"size",label:"Nozzle Size (".concat(P,")"),value:r.size,error:C[t]&&C[t].size,xs:u?5:4,onChangeField:S(t)}):g(f,{label:"Nozzle Size",unit:"shortLength",value:r.size,xs:6}),O&&g(s,{item:!0,xs:u?2:4,className:e({},N.cellInnerMobile,u),children:g(a,{"data-not-migrated-muiiconbutton":!0,className:N.addButton,onClick:x(t),children:g(c,{className:N.addIcon})})})]},t)}))})]}):null}z.propTypes={isEditing:n.bool.isRequired,data:n.arrayOf(n.shape({count:n.number,size:n.number})),errors:n.arrayOf(n.shape({count:n.string,size:n.string})),onChange:n.func},z.defaultProps={data:[],errors:[],onChange:null};var O=t(z);export{O as default};
1
+ import e from"@babel/runtime/helpers/defineProperty";import r from"@babel/runtime/helpers/toConsumableArray";import{memo as t,Fragment as o}from"react";import i from"classnames";import n from"prop-types";import{IconButton as a,Grid as s}from"@material-ui/core";import l from"@material-ui/icons/Add";import c from"@material-ui/icons/Delete";import"../shared/CancelButton.js";import"../shared/ExpandCollapseButton.js";import"../shared/FormatedNumber.js";import{InputText as u}from"../shared/InputText.js";import"../shared/MoreButton.js";import"../shared/SaveButton.js";import"../shared/SelectField.js";import{StaticField as m}from"../shared/StaticField.js";import"../shared/SharedEditorElements.js";import"../shared/ConfirmationPopup.js";import{useStyles as p}from"../sharedStyles.js";import{isMobileDetected as d}from"../../../../../utils/mobileDetect.js";import{getUnitPreference as f,getUnitDisplay as h}from"../../../../../utils/index.js";import{jsxs as b,jsx as g}from"react/jsx-runtime";function j(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);r&&(o=o.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,o)}return t}function y(r){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?j(Object(o),!0).forEach((function(t){e(r,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(o)):j(Object(o)).forEach((function(e){Object.defineProperty(r,e,Object.getOwnPropertyDescriptor(o,e))}))}return r}function z(t){var n,j=t.data,z=t.errors,O=t.isEditing,v=t.onChange,N=p({isMobile:d}),C=z||[],P="in"===f("shortLength")?"".concat(h("shortLength"),"/32"):"".concat(h("shortLength")),x=function(e){return function(){v([].concat(r(j.slice(0,e)),r(j.slice(e+1))))}},S=function(r){return function(t,o){var i=j.map((function(i,n){return n===r?y(y({},i),{},e({},t,o)):i}));v(i)}};return 0!==j.length||O?b("div",{className:N.subGroup,children:[b("div",{className:i(N.subTitle,e({},N.subTitleEditing,O)),children:["Nozzle Sizes",O&&g(a,{"data-not-migrated-muiiconbutton":!0,className:N.addButton,onClick:function(){v([].concat(r(j),[{size:null,count:null}]))},children:g(l,{className:N.addIcon,color:"primary"})})]}),g(s,{container:!0,spacing:2,className:i(N.detailedView,(n={},e(n,N.detailedViewMobile,d),e(n,N.eidtorNozzleView,O),n)),children:j.map((function(r,t){return b(o,{children:[O?g(u,{type:"count",label:"# of this size",value:r.count,error:C[t]&&C[t].count,xs:d?5:4,onChangeField:S(t)}):g(m,{label:"# of this size",value:r.count,xs:6}),O?g(u,{type:"size",label:"Nozzle Size (".concat(P,")"),value:r.size,error:C[t]&&C[t].size,xs:d?5:4,onChangeField:S(t)}):g(m,{label:"Nozzle Size",unit:"shortLength",value:r.size,xs:6}),O&&g(s,{item:!0,xs:d?2:4,className:e({},N.cellInnerMobile,d),children:g(a,{"data-not-migrated-muiiconbutton":!0,className:N.addButton,onClick:x(t),children:g(c,{className:N.addIcon})})})]},t)}))})]}):null}z.propTypes={isEditing:n.bool.isRequired,data:n.arrayOf(n.shape({count:n.number,size:n.number})),errors:n.arrayOf(n.shape({count:n.string,size:n.string})),onChange:n.func},z.defaultProps={data:[],errors:[],onChange:null};var O=t(z);export{O as default};
@@ -1 +1 @@
1
- {"version":3,"file":"Browser.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Drillstring/BHAComponentsTable/components/Pdm/Browser.js"],"names":[],"mappings":";;AAWA;;;gBAmFC"}
1
+ {"version":3,"file":"Browser.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Drillstring/BHAComponentsTable/components/Pdm/Browser.js"],"names":[],"mappings":";;AAYA;;;gBAmFC"}
@@ -1 +1 @@
1
- import e from"@babel/runtime/helpers/defineProperty";import{memo as r}from"react";import a from"classnames";import t from"prop-types";import{Grid as o}from"@material-ui/core";import{isMobileDetected as s}from"../../../../../utils/mobileDetect.js";import"../shared/CancelButton.js";import"../shared/ExpandCollapseButton.js";import"../shared/FormatedNumber.js";import"../shared/InputText.js";import"../shared/MoreButton.js";import"../shared/SaveButton.js";import"../shared/SelectField.js";import{StaticField as l}from"../shared/StaticField.js";import"../shared/SharedEditorElements.js";import"../shared/ConfirmationPopup.js";import{useStyles as n}from"../sharedStyles.js";import i from"../PressureLoss/index.js";import{CONTAINER_XS as m}from"../constants.js";import{jsxs as u,Fragment as b,jsx as d}from"react/jsx-runtime";function p(r){var t=r.component,p=r.columns,_=n({isMobile:s}),f=m/p;return u(b,{children:[u(o,{container:!0,spacing:2,className:a(_.detailedView,e({},_.detailedViewMobile,s)),children:[d(l,{label:"Name",value:t.name,format:null,xs:f}),d(l,{label:"Revolution Per Gallon",unit:"revolutionPerVolume",value:t.rpg,xs:f}),d(l,{label:"T.Weight",unit:"mass",value:t.weight,xs:f}),d(l,{label:"# of stages",value:t.stages,xs:f}),d(l,{label:"# of rotor lobes",value:t.number_rotor_lobes,format:"0.0",xs:f}),d(l,{label:"# of stator lobes",value:t.number_stator_lobes,format:"0.0",xs:f}),d(l,{label:"Bend Range",value:t.bend_range,xs:f}),d(l,{label:"Max WOB",unit:"force",value:t.max_weight_on_bit,xs:f}),d(l,{label:"Make",value:t.make,format:null,xs:f}),d(l,{label:"Model",value:t.model,format:null,xs:f}),d(l,{label:"Bit to Bend",unit:"length",value:t.bit_to_bend,xs:f}),d(o,{item:!0,xs:m,children:d("span",{className:_.additionalTitle,children:"Standard Flow Range"})}),d(l,{label:"Min",unit:"volumeFlowRate",value:t.min_standard_flowrate,xs:f}),d(l,{label:"Max",unit:"volumeFlowRate",value:t.max_standard_flowrate,xs:f}),d(l,{label:"Max Operating Diff Pressure",unit:"pressure",value:t.max_operating_differential_pressure,xs:f}),d(l,{label:"Torque at Max Operating Diff Pressure",unit:"torque",value:t.torque_at_max_operating_differential_pressure,xs:f}),d(l,{label:"% Leakage Flow Loss",value:t.flow_loss_percentage,format:"0.0",xs:f})]}),d(i,{isEditing:!1,title:"Off Bottom Pressure Loss",data:t.off_bottom_pressure_loss||[]})]})}p.propTypes={component:t.shape({family:t.string,outer_diameter:t.number,inner_diameter:t.number,linear_weight:t.number,length:t.number,name:t.string,weight:t.number,off_bottom_pressure_loss:t.arrayOf(t.shape({})),rpg:t.number,stages:t.number,number_rotor_lobes:t.number,number_stator_lobes:t.number,bend_range:t.number,max_weight_on_bit:t.number,model:t.string,bit_to_bend:t.number,min_standard_flowrate:t.number,max_standard_flowrate:t.number,max_operating_differential_pressure:t.number,torque_at_max_operating_differential_pressure:t.number,flow_loss_percentage:t.number,make:t.string}).isRequired,columns:t.number.isRequired};var _=r(p);export{_ as default};
1
+ import e from"@babel/runtime/helpers/defineProperty";import{memo as r}from"react";import a from"classnames";import t from"prop-types";import{Grid as o}from"@material-ui/core";import"../shared/CancelButton.js";import"../shared/ExpandCollapseButton.js";import"../shared/FormatedNumber.js";import"../shared/InputText.js";import"../shared/MoreButton.js";import"../shared/SaveButton.js";import"../shared/SelectField.js";import{StaticField as s}from"../shared/StaticField.js";import"../shared/SharedEditorElements.js";import"../shared/ConfirmationPopup.js";import{useStyles as l}from"../sharedStyles.js";import n from"../PressureLoss/index.js";import{CONTAINER_XS as i}from"../constants.js";import{isMobileDetected as m}from"../../../../../utils/mobileDetect.js";import{jsxs as u,Fragment as b,jsx as d}from"react/jsx-runtime";function p(r){var t=r.component,p=r.columns,_=l({isMobile:m}),f=i/p;return u(b,{children:[u(o,{container:!0,spacing:2,className:a(_.detailedView,e({},_.detailedViewMobile,m)),children:[d(s,{label:"Name",value:t.name,format:null,xs:f}),d(s,{label:"Revolution Per Gallon",unit:"revolutionPerVolume",value:t.rpg,xs:f}),d(s,{label:"T.Weight",unit:"mass",value:t.weight,xs:f}),d(s,{label:"# of stages",value:t.stages,xs:f}),d(s,{label:"# of rotor lobes",value:t.number_rotor_lobes,format:"0.0",xs:f}),d(s,{label:"# of stator lobes",value:t.number_stator_lobes,format:"0.0",xs:f}),d(s,{label:"Bend Range",value:t.bend_range,xs:f}),d(s,{label:"Max WOB",unit:"force",value:t.max_weight_on_bit,xs:f}),d(s,{label:"Make",value:t.make,format:null,xs:f}),d(s,{label:"Model",value:t.model,format:null,xs:f}),d(s,{label:"Bit to Bend",unit:"length",value:t.bit_to_bend,xs:f}),d(o,{item:!0,xs:i,children:d("span",{className:_.additionalTitle,children:"Standard Flow Range"})}),d(s,{label:"Min",unit:"volumeFlowRate",value:t.min_standard_flowrate,xs:f}),d(s,{label:"Max",unit:"volumeFlowRate",value:t.max_standard_flowrate,xs:f}),d(s,{label:"Max Operating Diff Pressure",unit:"pressure",value:t.max_operating_differential_pressure,xs:f}),d(s,{label:"Torque at Max Operating Diff Pressure",unit:"torque",value:t.torque_at_max_operating_differential_pressure,xs:f}),d(s,{label:"% Leakage Flow Loss",value:t.flow_loss_percentage,format:"0.0",xs:f})]}),d(n,{isEditing:!1,title:"Off Bottom Pressure Loss",data:t.off_bottom_pressure_loss||[]})]})}p.propTypes={component:t.shape({family:t.string,outer_diameter:t.number,inner_diameter:t.number,linear_weight:t.number,length:t.number,name:t.string,weight:t.number,off_bottom_pressure_loss:t.arrayOf(t.shape({})),rpg:t.number,stages:t.number,number_rotor_lobes:t.number,number_stator_lobes:t.number,bend_range:t.number,max_weight_on_bit:t.number,model:t.string,bit_to_bend:t.number,min_standard_flowrate:t.number,max_standard_flowrate:t.number,max_operating_differential_pressure:t.number,torque_at_max_operating_differential_pressure:t.number,flow_loss_percentage:t.number,make:t.string}).isRequired,columns:t.number.isRequired};var _=r(p);export{_ as default};
@@ -1 +1 @@
1
- {"version":3,"file":"Editor.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Drillstring/BHAComponentsTable/components/Pdm/Editor.js"],"names":[],"mappings":";;AAYA;;;;;;;gBA4KC"}
1
+ {"version":3,"file":"Editor.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Drillstring/BHAComponentsTable/components/Pdm/Editor.js"],"names":[],"mappings":";;AAaA;;;;;;;gBA4KC"}
@@ -1 +1 @@
1
- import{memo as e}from"react";import{isEmpty as t}from"lodash";import o from"prop-types";import{Grid as r}from"@material-ui/core";import{isMobileDetected as s}from"../../../../../utils/mobileDetect.js";import{jsxs as i,jsx as n}from"react/jsx-runtime";import"../../../../DevCenter/DevCenterAppContainer/components/IsInsideDcAppProvider/IsInsideDcAppProvider.js";import"../../../../DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/DcFullscreenElemsCoordinatorProvider.js";import"../../../../DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/IsInsideDcFullscreenElemProvider.js";import"classnames";import"../../../../../icons/WithCustomSize.js";import"../../../../../icons/IconParkProvider.js";import"../../../../../icons/customIcons/icons/AddMessage.js";import"../../../../../icons/customIcons/icons/Attention.js";import"../../../../../icons/customIcons/icons/Collapse.js";import"../../../../../icons/customIcons/icons/Expand.js";import"../../../../../icons/customIcons/icons/FolderClosed.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/Wellhub.js";import"../../../../../icons/customIcons/icons/MultiRuler.js";import"../../../../IconButton/index.js";import"../../../../../constants/goals.js";import"../../../../../constants/segment.js";import"../../../../../constants/alerts.js";import"../../../../../constants/apps.js";import"../../../../../constants/drillstring.js";import"../../../../../constants/completion.js";import"../../../../../constants/appPackages.js";import"../../../../../constants/notifications.js";import"../../../../../constants/feed.js";import"../../../../../constants/bha.js";import"../../../../../utils/env.js";import"../../../../GradientManager/configuration/constants.js";import"../../../../Modal/CorvaModal.css.js";import"uuid";import"../../../../IconMenu/index.js";import"../../../../StyledMenuItem/index.js";import"../../../../AppIcon/AppIcon.js";import"../../../../DevCenter/AppHeader/AppHeader.js";import"../../../../DevCenter/AppSideBar/AppSideBar.js";import"../../../../DevCenter/AppsDataProvider/AppsDataProvider.js";import"@babel/runtime/helpers/defineProperty";import"@babel/runtime/helpers/slicedToArray";import"@material-ui/icons";import"../../../../Icons/AnnotationIcon.js";import"../../../../Annotations/components/AnnotationsList/index.js";import"../../../../Annotations/components/LastAnnotation/index.js";import"../../../../Annotations/AnnotationsContext.js";import"@babel/runtime/helpers/asyncToGenerator";import"@babel/runtime/regenerator";import"querystring";import"uuid/v1";import"../../../../../clients/jsonApi/index.js";import"../../../../../clients/subscriptions.js";import"../../../../../utils/index.js";import"jsona";import"../../../../StatusBadge/constants.js";import"@babel/runtime/helpers/toConsumableArray";import"lodash/set";import"lodash/get";import"lodash/unset";import"moment";import"../../../../../clients/api/apiCore.js";import"../../../../../clients/constants.js";import"../../../../../clients/sso/auth0.js";import"../../../../../clients/sso/oauth2.js";import"../../../../HelpCenter/HelpCenterIcon.js";import"../../../../DevCenter/DevCenterAppContainer/components/AppActions/AppActions.css.js";import"../../../../DevCenter/DevCenterAppContainer/components/AppSettingsDialog/AppSettingsDialog.js";import"../../../../DevCenter/DevCenterAppContainer/components/AppSettingsDialog/components/RemoveAppButton.js";import"../../../../DevCenter/DevCenterAppContainer/components/AppSettingsDialog/components/SettingsAccordion.js";import"../../../../DevCenter/DevCenterAppContainer/components/AnnotationsButton/AnnotationsButton.js";import"../../../../DevCenter/DevCenterAppContainer/components/NonPriorityMenus/NonPriorityMenus.js";import"../../../../DevCenter/DevCenterAppContainer/components/FullscreenButton/FullscreenButton.js";import"../../../../DevCenter/DevCenterAppContainer/components/AppInfoMessage/AppInfoMessage.js";import"../../../../DevCenter/DevCenterAppContainer/components/DevCenterAppView/DevCenterAppView.js";import"../../../../DevCenter/AppContext.js";import"../../../../DevCenter/DevCenterAppContainer/DevCenterAppContainer.css.js";import"../../../../DevCenter/DevCenterAppContainer/components/RestoreAppSizeButton/index.js";import"../../../../DevCenter/DevCenterAppContainer/components/PriorityMenus/PriorityMenus.css.js";import"../../../../DevCenter/DevCenterRouterContext/DevCenterRouterContext.js";import"../../../../DevCenter/DevCenterRouterContext/UniversalLink/UniversalLink.js";import"@babel/runtime/helpers/objectWithoutProperties";import"react-router";import"rollbar";import"@rollbar/react";import"../../../../DevCenter/NavigationBar/NavigationBar.js";import"../../../../DevCenter/SideBar/SideBar.js";import"../../../../DevCenter/AppSettingsPopover/AppSettingsPopover.js";import"../../../../DevCenter/AppFilterPanelLayout/AppFilterPanelLayout.js";import"../../../../DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedAppPage.js";import"../../../../DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedApp.js";import"../../../../AssetEditor/index.js";import"../../../../AssetEditorV2/index.js";import"../../../../AppVersionsSelect/AppVersionsSelect.js";import"../../../../LoadingIndicator/LoadingIndicator.js";import"../../../../Typography.js";import"../../../../RealTimeValuesSidebar/RealTimeSidebar.js";import"../../../../CollapsableSidebar.js";import"../../../../DateTimePicker/index.js";import"../../../../DatePicker/index.js";import"../../../../ErrorBoundary/ErrorBoundary.js";import"../../../../ErrorBoundary/DevCenterAppErrorView/DevCenterAppErrorView.js";import"../../../../SlateFormattedText/SlateFormattedText.js";import"../../../../SlateFormattedText/RenderElements.js";import"@babel/runtime/helpers/typeof";import"slate";import"../../../../EmptyState/EmptyState.js";import"../../../../ParameterCharts/ParameterCharts.js";import"../../../../ParameterCharts/AddEditTrack.js";import"../../../../ChartActionsList/ChartActionsList.js";import"../../../../CopyToClipboard/CopyToClipboard.js";import"../../../../AssetEditor/AssetEditorAutocomplete.js";import"../../../../AssetEditor/SingleAssetEditor.js";import"../../../../SettingEditors/ColorEditor/index.js";import"../../../../SettingEditors/DropdownEditor/index.js";import"../../../../SettingEditors/RadioEditor/index.js";import"../../../../SwitchControl/index.js";import"../../../../ColorPicker/ColorPicker.js";import"../../../../Chart/components/ChartButton.js";import"../../../../Chart/components/ChartButtons.js";import"../../../../Chart/components/ChartWrapper.js";import"../../../../Chart/components/AxisDropdown.js";import"../../../../Chart/components/ChartSelect.js";import"../../../../Chart/components/buttons/DragToZoomButton.js";import"../../../../Chart/components/buttons/ZoomInButton.js";import"../../../../Chart/components/buttons/ZoomOutButton.js";import"../../../../Chart/components/buttons/PanButton.js";import"../../../../Chart/components/buttons/ResetZoomButton.js";import"../../../../Chart/components/buttons/HideAxesButton.js";import"../../../../Chart/components/buttons/ChartTypeButton.js";import"../../../../ColorPicker/PaletteChromePicker/PaletteChromePicker.js";import"../../../../TruncatedText/index.js";import"../../../../MiddleTruncatedText/MiddleTruncatedText.js";import"../../../../RangeSlider/RangeSlider.js";import"../../../../AdvancedSlider/AdvancedSlider.js";import"../../../../Breadcrumbs/index.js";import"../../../../VirtualizedTable/index.js";import"../../../../EmptyView/EmptyView.js";import"../../../../EmptyView/EmptyAppView/EmptyAppView.js";import"../../../../Button/components/Button/index.js";import"moment-timezone";import"../../../../Button/components/LiveButton/components/LiveButtonStateIndicator/index.js";import"../../../../Button/components/LiveButton/styles.js";import"../../../../ContextMenuItem/index.js";import"../../../../FolderMenuItem/index.js";import"../../../../EditableItem/EditableItem/index.js";import"../../../../EditableItem/EditableItemWithBadge/index.js";import"../../../../Checkbox/index.js";import"../../../../FolderMenuItemWithLinks/index.js";import"../../../../TextField/index.js";import"../../../../Chip/index.js";import"../../../../Counter/index.js";import"../../../../AnchorsList/AnchorsList.js";import"../../../../Select/index.js";import"../../../../Select/SelectFilterBy.js";import"../../../../CustomSelect/index.js";import"../../../../Tabs/Tabs.js";import"../../../../Tabs/Tab.js";import"../../../../ResizableTable/ResizableTable.js";import"../../../../GradientPicker/GradientPicker.js";import"../../../../GradientManager/GradientList.js";import"@material-ui/icons/AddCircle";import"../../../../GradientManager/GradientPreview/GradientPreview.js";import"../../../../GradientManager/GradientSelect.styles.js";import"../../../../GradientManager/GradientManager.styles.js";import"../../../BHASchematic.js";import"../../../BHATable/index.js";import p from"../../../BHAComponentIcon.js";import"../../../BHAComponentDetail/index.js";import"../../../BHATileIcon.js";import"../../../BHATile/BHATile.js";import"../../../BHAList/BHAList.js";import"../../BHAComponentsTable.js";import"../../../../Casing/CasingTable/index.js";import"../../../../Casing/CasingComponentIcon.js";import"../../../../Casing/CasingTileIcon.js";import"../../../../Casing/CasingTableV2/CasingTableV2.js";import"../../../../Casing/CasingTile/CasingTile.js";import"../../../../DisabledSettingsMessage/DisabledSettingsMessage.js";import"../../../../WellSummary/WellSummaryItemLabel.js";import"../../../../WellSummary/WellSummaryItemTitle.js";import"../../../../WellSummary/WellSummaryItemValue.js";import"../../../../WellSummary/ActivitySummaryChart.js";import"../../../../WellSummary/FracWirelineTimeChart.js";import"../../../../BICOffsetPickerDialog/index.js";import"../../../../OffsetWellButton/OffsetWellButton.js";import"../../../../OffsetWellPickerV2/OffsetWellPickerDialog.js";import"../../../../OffsetWellPickerV3/index.js";import"../../../../OffsetWellChips/Chip.js";import"../../../../OffsetWellChips/ChipsContainer.js";import"../../../../OffsetWellPickerV4/utils/apiCalls.js";import"../../../../OffsetWellPickerV4/effects/useAdvancedWells.js";import"../../../../OffsetWellPickerV4/constants.js";import"react-virtualized";import"../../../../OffsetWellPickerV4/effects/useAssetsData.js";import"../../../../OffsetWellPickerV4/components/AppHeader/AppHeader.js";import"../../../../OffsetWellPickerV4/components/Toolbar/Toolbar.js";import"../../../../OffsetWellPickerV4/components/Filter/Filter.js";import"../../../../OffsetWellPickerV4/components/Map/WellsMap.js";import"../../../../OffsetWellPickerV4/components/OffsetWellsTable/OffsetWellsTable.js";import"../../../../OffsetWellPickerV4/components/OffsetWellsTable/AdvancedSearch/constants.js";import"../../../../OffsetWellPickerV4/utils/index.js";import"../../../../OffsetWellPickerV4/OffsetWellPickerV4.module.css.js";import"../../../../../styles/typography/index.js";import"../../../../../styles/counter/counter.module.scss.js";import"../../../../OffsetWellMap/OffsetWellMap.js";import"@material-ui/core/Snackbar";import"../../../../Notifications/Toast.js";import"../../../../Toaster/Toaster.js";import"../../../../ConfirmationDialog.js";import"../../../../TextLink/index.js";import"../../../../Avatar/index.js";import"../../../../Template/TemplatePopover/index.js";import"../../../../Template/TemplateSharingDialog/index.js";import"../../../../MenuItem/index.js";import"../../../../MiddleTruncate/MiddleTruncate.js";import"../../../../PadModeSelect/PadModeSelect.js";import"../../../../PinnableFilters/PinnableFilters.js";import"../../../../HeaderLayout/HeaderLayout.js";import"../../../../PadOffsetsPicker/PadOffsetsPicker.js";import"../../../../PadOffsetsPicker/OffsetAssetChip.js";import"../../../../PadOffsetsPicker/OffsetAssetsListExpander.js";import"../../../../PadOffsetsPicker/StagesSelector.js";import"../../../../PadOffsetsPickerV2/PadOffsetsPickerV2.js";import"../../../../Table/TableToolbar/TableToolbar.js";import"../../../../Table/TableContainer/TableContainer.js";import"../../../../Table/TableCell/TableCell.js";import"../../../../Table/TablePagination/TablePagination.js";import"../../../../Table/TablePaginationActions/TablePaginationActions.js";import"../../../../Tooltip/ScrollableTooltip.js";import"../../../../PriceInput/PriceInput.js";import"../../../../LabelsCounter/LabelsCounter.js";import"../../../../Stepper/Stepper.js";import"../../../../Stepper/Step/Step.js";import"../../../../Stepper/StepsWrapper.js";import"../../../../Comment/CommentIcon/index.js";import"../../../../FilesLoader/FilesLoader.js";import"../../../../FilesLoader/Icons/FileIcon.js";import"../../../../SearchInput/index.js";import"../../../../FeedItem/FeedItem.js";import"../../../../FeedItem/FeedItemEditProvider/FeedItemEditProvider.js";import"../../../../PostInput/PostInput.js";import"../../../../KeyboardDateTimePicker.js";import"../../../../AddComment/Popover.js";import"../../../../AddComment/Popup.js";import"../../../../StageDesignVActual/ComparisonBar/ComparisonBar.js";import"../../../../StageDesignVActual/ElementsComparison/ElementsComparison.js";import"../../../../StageDesignVActual/ComparisonHeader.js";import"../../../../StageDesignVActual/ComparisonRow.js";import"../../../../EmbeddedApp/DevCenterEmbeddedApp.js";import"../../../../EmbeddedApp/EmbeddedApp.js";import"../../../../Autocomplete/Autocomplete.js";import"../../../../DocumentViewer/DocumentViewer.js";import"../../../../ColorPickerPalette/ColorPickerPalette.js";import"../../../../Search/Search.js";import"../../../../Search/components/Listbox.js";import"../../../../Search/components/Paper.js";import"../../../../Search/components/RecentSearches.js";import"../../../../Search/components/Groups.js";import"../../../../StatusBadge/index.js";import"../../../../Attachment/index.js";import"../../../../EmojiIconButton.js";import"../../../../FileUploadIconButton.js";import"../../../../FilePreview/index.js";import"../../../../FailedFileUploading.js";import"../../../../UserMention/index.js";import"../../../../CommentsInfo/index.js";import"../../../../CommentInput/index.js";import"../../../../Comment/index.js";import"../../../../CommentLoader.js";import"../../../../AssetNameLabel/AssetStatusBadge.js";import"../../../../AssetEditorV2/components/PrimaryAssetSelect.js";import"../../../../AssetEditorV2/components/SecondaryAssetSelect.js";import"../../../../AssetEditorV2/components/SelectItem.js";import"../../../../AssetEditorV2/components/MultipleAssetsToggle.js";import"../../../../AssetEditorV2/components/PrimaryAssetSelectV2.js";import"../../../../EChartsWrapper/EChartsWrapper.js";import"../../../../AssetsMultipleSelector/AssetsMultipleSelector.js";import"@material-ui/icons/Close";import"@material-ui/icons/GetApp";import"../../../../GoogleDocsViewer/index.js";import"../../../../NewDocumentViewer/effects/useFileContent.js";import"../../../../NewDocumentViewer/styles.js";import{useStyles as a}from"../sharedStyles.js";import{CancelButton as m}from"../shared/CancelButton.js";import"../shared/ExpandCollapseButton.js";import"../shared/FormatedNumber.js";import{InputText as l}from"../shared/InputText.js";import"../shared/MoreButton.js";import{SaveButton as d}from"../shared/SaveButton.js";import"../shared/SelectField.js";import"../shared/StaticField.js";import{SharedEditorElements as c}from"../shared/SharedEditorElements.js";import"../shared/ConfirmationPopup.js";import j from"../PressureLoss/index.js";import{CONTAINER_XS as u}from"../constants.js";function C(e){var o=e.component,C=e.error,b=e.onChange,f=e.onCancel,g=e.onSave,A=e.columns,h=a({isMobile:s}),v=s?u/2:u/A,x=function(e){return C&&C[e]};return i(r,{container:!0,spacing:0,className:h.editorContainer,children:[!s&&n(r,{item:!0,className:h.editorComponentSize,children:n(p,{component:o})}),n(r,{item:!0,className:h.eidtorContentContainer,children:i(r,{container:!0,spacing:2,children:[n(c,{component:o,getError:x,onChange:b}),n(l,{type:"name",label:"Name",value:o.name,error:x("name"),xs:v,onChangeField:b}),n(l,{type:"weight",label:"T.Weight",unit:"mass",value:o.weight,error:x("weight"),disabled:!0,xs:v,onChangeField:b}),n(l,{type:"rpg",label:"Revolution Per Gallon",unit:"revolutionPerVolume",value:o.rpg,error:x("rpg"),xs:v,onChangeField:b}),n(l,{type:"stages",label:"# of stages",value:o.stages,error:x("stages"),xs:v,onChangeField:b}),n(l,{type:"number_rotor_lobes",label:"`# of rotor lobes",value:o.number_rotor_lobes,error:x("number_rotor_lobes"),xs:v,onChangeField:b}),n(l,{type:"number_stator_lobes",label:"# of stator lobes",value:o.number_stator_lobes,error:x("number_stator_lobes"),xs:v,onChangeField:b}),n(l,{type:"bend_range",label:"Bend Range",value:o.bend_range,error:x("bend_range"),xs:v,onChangeField:b}),n(l,{type:"max_weight_on_bit",label:"Max WOB",unit:"force",value:o.max_weight_on_bit,error:x("max_weight_on_bit"),xs:v,onChangeField:b}),n(l,{type:"model",label:"Model",value:o.model,error:x("model"),xs:v,onChangeField:b}),n(l,{type:"bit_to_bend",label:"Bit to Bend",unit:"length",value:o.bit_to_bend,error:x("bit_to_bend"),xs:v,onChangeField:b}),n(r,{item:!0,xs:u,children:n("span",{className:h.additionalTitle,children:"Standard Flow Range"})}),n(l,{type:"min_standard_flowrate",label:"Min",unit:"volumeFlowRate",value:o.min_standard_flowrate,error:x("min_standard_flowrate"),xs:v,onChangeField:b}),n(l,{type:"max_standard_flowrate",label:"Max",unit:"volumeFlowRate",value:o.max_standard_flowrate,error:x("max_standard_flowrate"),xs:v,onChangeField:b}),n(l,{type:"max_operating_differential_pressure",label:"Max Operating Diff Pressure",unit:"pressure",value:o.max_operating_differential_pressure,error:x("max_operating_differential_pressure"),xs:v,onChangeField:b}),n(l,{type:"torque_at_max_operating_differential_pressure",label:"Torque at Max Operating Diff Pressure",unit:"torque",value:o.torque_at_max_operating_differential_pressure,error:x("torque_at_max_operating_differential_pressure"),xs:v,onChangeField:b}),n(l,{type:"flow_loss_percentage",label:"'% Leakage Flow Loss",value:o.flow_loss_percentage,error:x("flow_loss_percentage"),xs:v,onChangeField:b}),n(j,{isEditing:!0,title:"Off Bottom Pressure Loss",data:o.off_bottom_pressure_loss,errors:x("off_bottom_pressure_loss"),onChange:function(e){b("off_bottom_pressure_loss",e)}})]})}),!s&&i(r,{item:!0,className:h.eidtorActionGroup,children:[n(m,{handleCancel:f}),n(d,{handleSave:g,disabled:!t(C)})]})]})}C.propTypes={component:o.shape({name:o.string,weight:o.number,off_bottom_pressure_loss:o.arrayOf(o.shape({})),rpg:o.number,stages:o.number,number_rotor_lobes:o.number,number_stator_lobes:o.number,bend_range:o.number,max_weight_on_bit:o.number,model:o.string,bit_to_bend:o.number,min_standard_flowrate:o.number,max_standard_flowrate:o.number,max_operating_differential_pressure:o.number,torque_at_max_operating_differential_pressure:o.number,flow_loss_percentage:o.number}).isRequired,error:o.shape({}),onChange:o.func.isRequired,onCancel:o.func.isRequired,onSave:o.func.isRequired,columns:o.number.isRequired},C.defaultProps={error:null};var b=e(C);export{b as default};
1
+ import{memo as e}from"react";import{isEmpty as t}from"lodash";import o from"prop-types";import{Grid as r}from"@material-ui/core";import{useStyles as s}from"../sharedStyles.js";import{CancelButton as i}from"../shared/CancelButton.js";import"../shared/ExpandCollapseButton.js";import"../shared/FormatedNumber.js";import{InputText as n}from"../shared/InputText.js";import"../shared/MoreButton.js";import{SaveButton as p}from"../shared/SaveButton.js";import"../shared/SelectField.js";import"../shared/StaticField.js";import{SharedEditorElements as a}from"../shared/SharedEditorElements.js";import"../shared/ConfirmationPopup.js";import m from"../PressureLoss/index.js";import{CONTAINER_XS as l}from"../constants.js";import{jsxs as d,jsx as c}from"react/jsx-runtime";import"../../../../DevCenter/DevCenterAppContainer/components/IsInsideDcAppProvider/IsInsideDcAppProvider.js";import"../../../../DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/DcFullscreenElemsCoordinatorProvider.js";import"../../../../DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/IsInsideDcFullscreenElemProvider.js";import"classnames";import"../../../../../icons/WithCustomSize.js";import"../../../../../icons/IconParkProvider.js";import"../../../../../icons/customIcons/icons/AddMessage.js";import"../../../../../icons/customIcons/icons/Attention.js";import"../../../../../icons/customIcons/icons/Collapse.js";import"../../../../../icons/customIcons/icons/Expand.js";import"../../../../../icons/customIcons/icons/FolderClosed.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/Wellhub.js";import"../../../../../icons/customIcons/icons/MultiRuler.js";import{isMobileDetected as j}from"../../../../../utils/mobileDetect.js";import"../../../../IconButton/index.js";import"../../../../../constants/goals.js";import"../../../../../constants/segment.js";import"../../../../../constants/alerts.js";import"../../../../../constants/apps.js";import"../../../../../constants/drillstring.js";import"../../../../../constants/completion.js";import"../../../../../constants/appPackages.js";import"../../../../../constants/notifications.js";import"../../../../../constants/feed.js";import"../../../../../constants/bha.js";import"../../../../../utils/env.js";import"../../../../GradientManager/configuration/constants.js";import"../../../../Modal/CorvaModal.css.js";import"uuid";import"../../../../IconMenu/index.js";import"../../../../StyledMenuItem/index.js";import"../../../../AppIcon/AppIcon.js";import"../../../../DevCenter/AppHeader/AppHeader.js";import"../../../../DevCenter/AppSideBar/AppSideBar.js";import"../../../../DevCenter/AppsDataProvider/AppsDataProvider.js";import"@babel/runtime/helpers/defineProperty";import"@babel/runtime/helpers/slicedToArray";import"@material-ui/icons";import"../../../../DevCenter/AppContext.js";import"../../../../DevCenter/DevCenterRouterContext/DevCenterRouterContext.js";import"../../../../DevCenter/DevCenterRouterContext/UniversalLink/UniversalLink.js";import"@babel/runtime/helpers/objectWithoutProperties";import"react-router";import"@babel/runtime/helpers/asyncToGenerator";import"@babel/runtime/regenerator";import"../../../../../utils/index.js";import"../../../../DevCenter/DevCenterAppContainer/components/AppActions/AppActions.css.js";import"../../../../DevCenter/DevCenterAppContainer/components/AppSettingsDialog/AppSettingsDialog.js";import"../../../../DevCenter/DevCenterAppContainer/components/AppSettingsDialog/components/RemoveAppButton.js";import"../../../../DevCenter/DevCenterAppContainer/components/AppSettingsDialog/components/SettingsAccordion.js";import"../../../../DevCenter/DevCenterAppContainer/components/AnnotationsButton/AnnotationsButton.js";import"../../../../DevCenter/DevCenterAppContainer/components/NonPriorityMenus/NonPriorityMenus.js";import"../../../../DevCenter/DevCenterAppContainer/components/FullscreenButton/FullscreenButton.js";import"../../../../DevCenter/DevCenterAppContainer/components/AppInfoMessage/AppInfoMessage.js";import"../../../../DevCenter/DevCenterAppContainer/components/DevCenterAppView/DevCenterAppView.js";import"../../../../DevCenter/DevCenterAppContainer/components/RestoreAppSizeButton/index.js";import"../../../../DevCenter/DevCenterAppContainer/components/PriorityMenus/PriorityMenus.css.js";import"rollbar";import"@rollbar/react";import"../../../../DevCenter/DevCenterAppContainer/DevCenterAppContainer.css.js";import"../../../../Icons/AnnotationIcon.js";import"../../../../Annotations/components/AnnotationsList/index.js";import"../../../../Annotations/components/LastAnnotation/index.js";import"../../../../Annotations/AnnotationsContext.js";import"querystring";import"uuid/v1";import"../../../../../clients/subscriptions.js";import"../../../../../clients/jsonApi/index.js";import"jsona";import"../../../../StatusBadge/constants.js";import"@babel/runtime/helpers/toConsumableArray";import"lodash/set";import"lodash/get";import"lodash/unset";import"moment";import"../../../../../clients/api/apiCore.js";import"../../../../../clients/constants.js";import"../../../../../clients/sso/auth0.js";import"../../../../../clients/sso/oauth2.js";import"../../../../HelpCenter/HelpCenterIcon.js";import"../../../../DevCenter/NavigationBar/NavigationBar.js";import"../../../../DevCenter/SideBar/SideBar.js";import"../../../../DevCenter/AppSettingsPopover/AppSettingsPopover.js";import"../../../../DevCenter/AppFilterPanelLayout/AppFilterPanelLayout.js";import"../../../../DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedAppPage.js";import"../../../../DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedApp.js";import"../../../../AssetEditor/index.js";import"../../../../AssetEditorV2/index.js";import"../../../../AppVersionsSelect/AppVersionsSelect.js";import"../../../../LoadingIndicator/LoadingIndicator.js";import"../../../../Typography.js";import"../../../../RealTimeValuesSidebar/RealTimeSidebar.js";import"../../../../CollapsableSidebar.js";import"../../../../DateTimePicker/index.js";import"../../../../DatePicker/index.js";import"../../../../ErrorBoundary/ErrorBoundary.js";import"../../../../ErrorBoundary/DevCenterAppErrorView/DevCenterAppErrorView.js";import"../../../../SlateFormattedText/SlateFormattedText.js";import"../../../../SlateFormattedText/RenderElements.js";import"@babel/runtime/helpers/typeof";import"slate";import"../../../../EmptyState/EmptyState.js";import"../../../../ParameterCharts/ParameterCharts.js";import"../../../../ParameterCharts/AddEditTrack.js";import"../../../../ChartActionsList/ChartActionsList.js";import"../../../../CopyToClipboard/CopyToClipboard.js";import"../../../../AssetEditor/AssetEditorAutocomplete.js";import"../../../../AssetEditor/SingleAssetEditor.js";import"../../../../SettingEditors/ColorEditor/index.js";import"../../../../SettingEditors/DropdownEditor/index.js";import"../../../../SettingEditors/RadioEditor/index.js";import"../../../../SwitchControl/index.js";import"../../../../ColorPicker/ColorPicker.js";import"../../../../Chart/components/ChartButton.js";import"../../../../Chart/components/ChartButtons.js";import"../../../../Chart/components/ChartWrapper.js";import"../../../../Chart/components/AxisDropdown.js";import"../../../../Chart/components/ChartSelect.js";import"../../../../Chart/components/buttons/DragToZoomButton.js";import"../../../../Chart/components/buttons/ZoomInButton.js";import"../../../../Chart/components/buttons/ZoomOutButton.js";import"../../../../Chart/components/buttons/PanButton.js";import"../../../../Chart/components/buttons/ResetZoomButton.js";import"../../../../Chart/components/buttons/HideAxesButton.js";import"../../../../Chart/components/buttons/ChartTypeButton.js";import"../../../../ColorPicker/PaletteChromePicker/PaletteChromePicker.js";import"../../../../TruncatedText/index.js";import"../../../../MiddleTruncatedText/MiddleTruncatedText.js";import"../../../../RangeSlider/RangeSlider.js";import"../../../../AdvancedSlider/AdvancedSlider.js";import"../../../../Breadcrumbs/index.js";import"../../../../VirtualizedTable/index.js";import"../../../../EmptyView/EmptyView.js";import"../../../../EmptyView/EmptyAppView/EmptyAppView.js";import"../../../../Button/components/Button/index.js";import"moment-timezone";import"../../../../Button/components/LiveButton/components/LiveButtonStateIndicator/index.js";import"../../../../Button/components/LiveButton/styles.js";import"../../../../ContextMenuItem/index.js";import"../../../../FolderMenuItem/index.js";import"../../../../EditableItem/EditableItem/index.js";import"../../../../EditableItem/EditableItemWithBadge/index.js";import"../../../../Checkbox/index.js";import"../../../../FolderMenuItemWithLinks/index.js";import"../../../../TextField/index.js";import"../../../../Chip/index.js";import"../../../../Counter/index.js";import"../../../../AnchorsList/AnchorsList.js";import"../../../../Select/index.js";import"../../../../Select/SelectFilterBy.js";import"../../../../CustomSelect/index.js";import"../../../../Tabs/Tabs.js";import"../../../../Tabs/Tab.js";import"../../../../ResizableTable/ResizableTable.js";import"../../../../GradientPicker/GradientPicker.js";import"../../../../GradientManager/GradientList.js";import"@material-ui/icons/AddCircle";import"../../../../GradientManager/GradientPreview/GradientPreview.js";import"../../../../GradientManager/GradientSelect.styles.js";import"../../../../GradientManager/GradientManager.styles.js";import"../../../BHASchematic.js";import"../../../BHATable/index.js";import u from"../../../BHAComponentIcon.js";import"../../../BHAComponentDetail/index.js";import"../../../BHATileIcon.js";import"../../../BHATile/BHATile.js";import"../../../BHAList/BHAList.js";import"../../BHAComponentsTable.js";import"../../../../Casing/CasingTable/index.js";import"../../../../Casing/CasingComponentIcon.js";import"../../../../Casing/CasingTileIcon.js";import"../../../../Casing/CasingTableV2/CasingTableV2.js";import"../../../../Casing/CasingTile/CasingTile.js";import"../../../../DisabledSettingsMessage/DisabledSettingsMessage.js";import"../../../../WellSummary/WellSummaryItemLabel.js";import"../../../../WellSummary/WellSummaryItemTitle.js";import"../../../../WellSummary/WellSummaryItemValue.js";import"../../../../WellSummary/ActivitySummaryChart.js";import"../../../../WellSummary/FracWirelineTimeChart.js";import"../../../../BICOffsetPickerDialog/index.js";import"../../../../OffsetWellButton/OffsetWellButton.js";import"../../../../OffsetWellPickerV2/OffsetWellPickerDialog.js";import"../../../../OffsetWellPickerV3/index.js";import"../../../../OffsetWellChips/Chip.js";import"../../../../OffsetWellChips/ChipsContainer.js";import"../../../../OffsetWellPickerV4/utils/apiCalls.js";import"../../../../OffsetWellPickerV4/effects/useAdvancedWells.js";import"../../../../OffsetWellPickerV4/constants.js";import"react-virtualized";import"../../../../OffsetWellPickerV4/effects/useAssetsData.js";import"../../../../OffsetWellPickerV4/components/AppHeader/AppHeader.js";import"../../../../OffsetWellPickerV4/components/Toolbar/Toolbar.js";import"../../../../OffsetWellPickerV4/components/Filter/Filter.js";import"../../../../OffsetWellPickerV4/components/Map/WellsMap.js";import"../../../../OffsetWellPickerV4/components/OffsetWellsTable/OffsetWellsTable.js";import"../../../../OffsetWellPickerV4/components/OffsetWellsTable/AdvancedSearch/constants.js";import"../../../../OffsetWellPickerV4/utils/index.js";import"../../../../OffsetWellPickerV4/OffsetWellPickerV4.module.css.js";import"../../../../../styles/typography/index.js";import"../../../../../styles/counter/counter.module.scss.js";import"../../../../OffsetWellMap/OffsetWellMap.js";import"@material-ui/core/Snackbar";import"../../../../Notifications/Toast.js";import"../../../../Toaster/Toaster.js";import"../../../../ConfirmationDialog.js";import"../../../../TextLink/index.js";import"../../../../Avatar/index.js";import"../../../../Template/TemplatePopover/index.js";import"../../../../Template/TemplateSharingDialog/index.js";import"../../../../MenuItem/index.js";import"../../../../MiddleTruncate/MiddleTruncate.js";import"../../../../PadModeSelect/PadModeSelect.js";import"../../../../PinnableFilters/PinnableFilters.js";import"../../../../HeaderLayout/HeaderLayout.js";import"../../../../PadOffsetsPicker/PadOffsetsPicker.js";import"../../../../PadOffsetsPicker/OffsetAssetChip.js";import"../../../../PadOffsetsPicker/OffsetAssetsListExpander.js";import"../../../../PadOffsetsPicker/StagesSelector.js";import"../../../../PadOffsetsPickerV2/PadOffsetsPickerV2.js";import"../../../../Table/TableToolbar/TableToolbar.js";import"../../../../Table/TableContainer/TableContainer.js";import"../../../../Table/TableCell/TableCell.js";import"../../../../Table/TablePagination/TablePagination.js";import"../../../../Table/TablePaginationActions/TablePaginationActions.js";import"../../../../Tooltip/ScrollableTooltip.js";import"../../../../PriceInput/PriceInput.js";import"../../../../LabelsCounter/LabelsCounter.js";import"../../../../Stepper/Stepper.js";import"../../../../Stepper/Step/Step.js";import"../../../../Stepper/StepsWrapper.js";import"../../../../Comment/CommentIcon/index.js";import"../../../../FilesLoader/FilesLoader.js";import"../../../../FilesLoader/Icons/FileIcon.js";import"../../../../SearchInput/index.js";import"../../../../FeedItem/FeedItem.js";import"../../../../FeedItem/FeedItemEditProvider/FeedItemEditProvider.js";import"../../../../PostInput/PostInput.js";import"../../../../KeyboardDateTimePicker.js";import"../../../../AddComment/Popover.js";import"../../../../AddComment/Popup.js";import"../../../../StageDesignVActual/ComparisonBar/ComparisonBar.js";import"../../../../StageDesignVActual/ElementsComparison/ElementsComparison.js";import"../../../../StageDesignVActual/ComparisonHeader.js";import"../../../../StageDesignVActual/ComparisonRow.js";import"../../../../EmbeddedApp/DevCenterEmbeddedApp.js";import"../../../../EmbeddedApp/EmbeddedApp.js";import"../../../../Autocomplete/Autocomplete.js";import"../../../../DocumentViewer/DocumentViewer.js";import"../../../../ColorPickerPalette/ColorPickerPalette.js";import"../../../../Search/Search.js";import"../../../../Search/components/Listbox.js";import"../../../../Search/components/Paper.js";import"../../../../Search/components/RecentSearches.js";import"../../../../Search/components/Groups.js";import"../../../../StatusBadge/index.js";import"../../../../Attachment/index.js";import"../../../../EmojiIconButton.js";import"../../../../FileUploadIconButton.js";import"../../../../FilePreview/index.js";import"../../../../FailedFileUploading.js";import"../../../../UserMention/index.js";import"../../../../CommentsInfo/index.js";import"../../../../CommentInput/index.js";import"../../../../Comment/index.js";import"../../../../CommentLoader.js";import"../../../../AssetNameLabel/AssetStatusBadge.js";import"../../../../AssetEditorV2/components/PrimaryAssetSelect.js";import"../../../../AssetEditorV2/components/SecondaryAssetSelect.js";import"../../../../AssetEditorV2/components/SelectItem.js";import"../../../../AssetEditorV2/components/MultipleAssetsToggle.js";import"../../../../AssetEditorV2/components/PrimaryAssetSelectV2.js";import"../../../../EChartsWrapper/EChartsWrapper.js";import"../../../../AssetsMultipleSelector/AssetsMultipleSelector.js";import"@material-ui/icons/Close";import"@material-ui/icons/GetApp";import"../../../../GoogleDocsViewer/index.js";import"../../../../NewDocumentViewer/effects/useFileContent.js";import"../../../../NewDocumentViewer/styles.js";function C(e){var o=e.component,C=e.error,b=e.onChange,f=e.onCancel,g=e.onSave,A=e.columns,h=s({isMobile:j}),v=j?l/2:l/A,x=function(e){return C&&C[e]};return d(r,{container:!0,spacing:0,className:h.editorContainer,children:[!j&&c(r,{item:!0,className:h.editorComponentSize,children:c(u,{component:o})}),c(r,{item:!0,className:h.eidtorContentContainer,children:d(r,{container:!0,spacing:2,children:[c(a,{component:o,getError:x,onChange:b}),c(n,{type:"name",label:"Name",value:o.name,error:x("name"),xs:v,onChangeField:b}),c(n,{type:"weight",label:"T.Weight",unit:"mass",value:o.weight,error:x("weight"),disabled:!0,xs:v,onChangeField:b}),c(n,{type:"rpg",label:"Revolution Per Gallon",unit:"revolutionPerVolume",value:o.rpg,error:x("rpg"),xs:v,onChangeField:b}),c(n,{type:"stages",label:"# of stages",value:o.stages,error:x("stages"),xs:v,onChangeField:b}),c(n,{type:"number_rotor_lobes",label:"`# of rotor lobes",value:o.number_rotor_lobes,error:x("number_rotor_lobes"),xs:v,onChangeField:b}),c(n,{type:"number_stator_lobes",label:"# of stator lobes",value:o.number_stator_lobes,error:x("number_stator_lobes"),xs:v,onChangeField:b}),c(n,{type:"bend_range",label:"Bend Range",value:o.bend_range,error:x("bend_range"),xs:v,onChangeField:b}),c(n,{type:"max_weight_on_bit",label:"Max WOB",unit:"force",value:o.max_weight_on_bit,error:x("max_weight_on_bit"),xs:v,onChangeField:b}),c(n,{type:"model",label:"Model",value:o.model,error:x("model"),xs:v,onChangeField:b}),c(n,{type:"bit_to_bend",label:"Bit to Bend",unit:"length",value:o.bit_to_bend,error:x("bit_to_bend"),xs:v,onChangeField:b}),c(r,{item:!0,xs:l,children:c("span",{className:h.additionalTitle,children:"Standard Flow Range"})}),c(n,{type:"min_standard_flowrate",label:"Min",unit:"volumeFlowRate",value:o.min_standard_flowrate,error:x("min_standard_flowrate"),xs:v,onChangeField:b}),c(n,{type:"max_standard_flowrate",label:"Max",unit:"volumeFlowRate",value:o.max_standard_flowrate,error:x("max_standard_flowrate"),xs:v,onChangeField:b}),c(n,{type:"max_operating_differential_pressure",label:"Max Operating Diff Pressure",unit:"pressure",value:o.max_operating_differential_pressure,error:x("max_operating_differential_pressure"),xs:v,onChangeField:b}),c(n,{type:"torque_at_max_operating_differential_pressure",label:"Torque at Max Operating Diff Pressure",unit:"torque",value:o.torque_at_max_operating_differential_pressure,error:x("torque_at_max_operating_differential_pressure"),xs:v,onChangeField:b}),c(n,{type:"flow_loss_percentage",label:"'% Leakage Flow Loss",value:o.flow_loss_percentage,error:x("flow_loss_percentage"),xs:v,onChangeField:b}),c(m,{isEditing:!0,title:"Off Bottom Pressure Loss",data:o.off_bottom_pressure_loss,errors:x("off_bottom_pressure_loss"),onChange:function(e){b("off_bottom_pressure_loss",e)}})]})}),!j&&d(r,{item:!0,className:h.eidtorActionGroup,children:[c(i,{handleCancel:f}),c(p,{handleSave:g,disabled:!t(C)})]})]})}C.propTypes={component:o.shape({name:o.string,weight:o.number,off_bottom_pressure_loss:o.arrayOf(o.shape({})),rpg:o.number,stages:o.number,number_rotor_lobes:o.number,number_stator_lobes:o.number,bend_range:o.number,max_weight_on_bit:o.number,model:o.string,bit_to_bend:o.number,min_standard_flowrate:o.number,max_standard_flowrate:o.number,max_operating_differential_pressure:o.number,torque_at_max_operating_differential_pressure:o.number,flow_loss_percentage:o.number}).isRequired,error:o.shape({}),onChange:o.func.isRequired,onCancel:o.func.isRequired,onSave:o.func.isRequired,columns:o.number.isRequired},C.defaultProps={error:null};var b=e(C);export{b as default};
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Drillstring/BHAComponentsTable/components/PressureLoss/index.js"],"names":[],"mappings":";;AAWA;;;;;;gBA2GC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Drillstring/BHAComponentsTable/components/PressureLoss/index.js"],"names":[],"mappings":";;AAYA;;;;;;gBA2GC"}
@@ -1 +1 @@
1
- import e from"@babel/runtime/helpers/defineProperty";import r from"@babel/runtime/helpers/toConsumableArray";import{memo as t,Fragment as o}from"react";import s from"classnames";import i from"prop-types";import{IconButton as a,Grid as n}from"@material-ui/core";import l from"@material-ui/icons/Add";import u from"@material-ui/icons/Delete";import{isMobileDetected as c}from"../../../../../utils/mobileDetect.js";import"../shared/CancelButton.js";import"../shared/ExpandCollapseButton.js";import"../shared/FormatedNumber.js";import{InputText as m}from"../shared/InputText.js";import"../shared/MoreButton.js";import"../shared/SaveButton.js";import"../shared/SelectField.js";import{StaticField as p}from"../shared/StaticField.js";import"../shared/SharedEditorElements.js";import"../shared/ConfirmationPopup.js";import{useStyles as d}from"../sharedStyles.js";import{jsxs as f,jsx as b}from"react/jsx-runtime";function h(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);r&&(o=o.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,o)}return t}function j(r){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?h(Object(o),!0).forEach((function(t){e(r,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(o)):h(Object(o)).forEach((function(e){Object.defineProperty(r,e,Object.getOwnPropertyDescriptor(o,e))}))}return r}function g(t){var i,h=t.data,g=t.title,y=t.errors,w=t.isEditing,O=t.onChange,v=d({isMobile:c,isEditing:w}),P=y||[],_=function(e){return function(){O([].concat(r(h.slice(0,e)),r(h.slice(e+1))))}},C=function(r){return function(t,o){var s=h.map((function(s,i){return i===r?j(j({},s),{},e({},t,o)):s}));O(s)}};return 0!==h.length||w?f("div",{className:v.subGroup,children:[f("div",{className:s(v.subTitle,e({},v.subTitleEditing,w)),children:[g,w&&b(a,{"data-not-migrated-muiiconbutton":!0,className:v.addButton,onClick:function(){O([].concat(r(h),[{flow_rate:null,pressure_loss:null}]))},children:b(l,{className:v.addIcon,color:"primary"})})]}),b(n,{container:!0,spacing:2,className:s(v.detailedView,(i={},e(i,v.detailedViewMobile,c),e(i,v.eidtorNozzleView,w),i)),children:h.map((function(r,t){return f(o,{children:[w?b(m,{type:"flow_rate",label:"Flow Rate",unit:"volumeFlowRate",value:r.flow_rate,error:P[t]&&P[t].flow_rate,xs:c?5:4,onChangeField:C(t)}):b(p,{label:"Flow Rate",unit:"volumeFlowRate",value:r.flow_rate,xs:6}),w?b(m,{type:"pressure_loss",label:"Pressure Loss",unit:"pressure",value:r.pressure_loss,error:P[t]&&P[t].pressure_loss,xs:c?5:4,onChangeField:C(t)}):b(p,{label:"Pressure Loss",unit:"pressure",value:r.pressure_loss,xs:6}),w&&b(n,{item:!0,xs:c?2:4,className:e({},v.cellInnerMobile,c),children:b(a,{"data-not-migrated-muiiconbutton":!0,className:v.addButton,onClick:_(t),children:b(u,{className:v.addIcon})})})]},t)}))})]}):null}g.propTypes={isEditing:i.bool.isRequired,title:i.string,data:i.arrayOf(i.shape({flow_rate:i.number,pressure_loss:i.number})),errors:i.arrayOf(i.shape({flow_rate:i.string,pressure_loss:i.string})),onChange:i.func},g.defaultProps={title:"Pressure Loss",data:[],errors:[],onChange:null};var y=t(g);export{y as default};
1
+ import e from"@babel/runtime/helpers/defineProperty";import r from"@babel/runtime/helpers/toConsumableArray";import{memo as t,Fragment as o}from"react";import s from"classnames";import i from"prop-types";import{IconButton as a,Grid as n}from"@material-ui/core";import l from"@material-ui/icons/Add";import u from"@material-ui/icons/Delete";import"../shared/CancelButton.js";import"../shared/ExpandCollapseButton.js";import"../shared/FormatedNumber.js";import{InputText as c}from"../shared/InputText.js";import"../shared/MoreButton.js";import"../shared/SaveButton.js";import"../shared/SelectField.js";import{StaticField as m}from"../shared/StaticField.js";import"../shared/SharedEditorElements.js";import"../shared/ConfirmationPopup.js";import{useStyles as p}from"../sharedStyles.js";import{isMobileDetected as d}from"../../../../../utils/mobileDetect.js";import{jsxs as f,jsx as b}from"react/jsx-runtime";function h(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);r&&(o=o.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,o)}return t}function j(r){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?h(Object(o),!0).forEach((function(t){e(r,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(o)):h(Object(o)).forEach((function(e){Object.defineProperty(r,e,Object.getOwnPropertyDescriptor(o,e))}))}return r}function g(t){var i,h=t.data,g=t.title,y=t.errors,w=t.isEditing,O=t.onChange,v=p({isMobile:d,isEditing:w}),P=y||[],_=function(e){return function(){O([].concat(r(h.slice(0,e)),r(h.slice(e+1))))}},C=function(r){return function(t,o){var s=h.map((function(s,i){return i===r?j(j({},s),{},e({},t,o)):s}));O(s)}};return 0!==h.length||w?f("div",{className:v.subGroup,children:[f("div",{className:s(v.subTitle,e({},v.subTitleEditing,w)),children:[g,w&&b(a,{"data-not-migrated-muiiconbutton":!0,className:v.addButton,onClick:function(){O([].concat(r(h),[{flow_rate:null,pressure_loss:null}]))},children:b(l,{className:v.addIcon,color:"primary"})})]}),b(n,{container:!0,spacing:2,className:s(v.detailedView,(i={},e(i,v.detailedViewMobile,d),e(i,v.eidtorNozzleView,w),i)),children:h.map((function(r,t){return f(o,{children:[w?b(c,{type:"flow_rate",label:"Flow Rate",unit:"volumeFlowRate",value:r.flow_rate,error:P[t]&&P[t].flow_rate,xs:d?5:4,onChangeField:C(t)}):b(m,{label:"Flow Rate",unit:"volumeFlowRate",value:r.flow_rate,xs:6}),w?b(c,{type:"pressure_loss",label:"Pressure Loss",unit:"pressure",value:r.pressure_loss,error:P[t]&&P[t].pressure_loss,xs:d?5:4,onChangeField:C(t)}):b(m,{label:"Pressure Loss",unit:"pressure",value:r.pressure_loss,xs:6}),w&&b(n,{item:!0,xs:d?2:4,className:e({},v.cellInnerMobile,d),children:b(a,{"data-not-migrated-muiiconbutton":!0,className:v.addButton,onClick:_(t),children:b(u,{className:v.addIcon})})})]},t)}))})]}):null}g.propTypes={isEditing:i.bool.isRequired,title:i.string,data:i.arrayOf(i.shape({flow_rate:i.number,pressure_loss:i.number})),errors:i.arrayOf(i.shape({flow_rate:i.string,pressure_loss:i.string})),onChange:i.func},g.defaultProps={title:"Pressure Loss",data:[],errors:[],onChange:null};var y=t(g);export{y as default};
@@ -1 +1 @@
1
- {"version":3,"file":"Browser.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Drillstring/BHAComponentsTable/components/Rss/Browser.js"],"names":[],"mappings":";;AAWA;;;gBAiCC"}
1
+ {"version":3,"file":"Browser.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Drillstring/BHAComponentsTable/components/Rss/Browser.js"],"names":[],"mappings":";;AAYA;;;gBAiCC"}
@@ -1 +1 @@
1
- import e from"@babel/runtime/helpers/defineProperty";import{memo as r}from"react";import t from"classnames";import o from"prop-types";import{Grid as s}from"@material-ui/core";import{isMobileDetected as a}from"../../../../../utils/mobileDetect.js";import"../shared/CancelButton.js";import"../shared/ExpandCollapseButton.js";import"../shared/FormatedNumber.js";import"../shared/InputText.js";import"../shared/MoreButton.js";import"../shared/SaveButton.js";import"../shared/SelectField.js";import{StaticField as i}from"../shared/StaticField.js";import"../shared/SharedEditorElements.js";import"../shared/ConfirmationPopup.js";import{useStyles as m}from"../sharedStyles.js";import n from"../PressureLoss/index.js";import{CONTAINER_XS as l}from"../constants.js";import{jsxs as p,Fragment as u,jsx as d}from"react/jsx-runtime";function c(r){var o=r.component,c=r.columns,f=m(),h=l/c;return p(u,{children:[p(s,{container:!0,spacing:2,className:t(f.detailedView,e({},f.detailedViewMobile,a)),children:[d(i,{label:"Name",value:o.name,format:null,xs:h}),d(i,{label:"T.Weight",unit:"mass",value:o.weight,xs:h}),d(i,{label:"Connection Type",value:o.connection_type,format:null,xs:h}),d(i,{label:"Material",value:o.material,format:null,xs:h}),d(i,{label:"% Actuator Flow Loss",value:o.flow_loss_percentage,format:"0.0",xs:h})]}),d(n,{isEditing:!1,data:o.pressure_loss||[]})]})}c.propTypes={component:o.shape({family:o.string,outer_diameter:o.number,inner_diameter:o.number,linear_weight:o.number,length:o.number,name:o.string,weight:o.number,connection_type:o.string,material:o.string,pressure_loss:o.arrayOf(o.shape({})),flow_loss_percentage:o.number}).isRequired,columns:o.number.isRequired};var f=r(c);export{f as default};
1
+ import e from"@babel/runtime/helpers/defineProperty";import{memo as r}from"react";import t from"classnames";import o from"prop-types";import{Grid as s}from"@material-ui/core";import"../shared/CancelButton.js";import"../shared/ExpandCollapseButton.js";import"../shared/FormatedNumber.js";import"../shared/InputText.js";import"../shared/MoreButton.js";import"../shared/SaveButton.js";import"../shared/SelectField.js";import{StaticField as a}from"../shared/StaticField.js";import"../shared/SharedEditorElements.js";import"../shared/ConfirmationPopup.js";import{useStyles as i}from"../sharedStyles.js";import m from"../PressureLoss/index.js";import{CONTAINER_XS as n}from"../constants.js";import{isMobileDetected as l}from"../../../../../utils/mobileDetect.js";import{jsxs as p,Fragment as u,jsx as d}from"react/jsx-runtime";function c(r){var o=r.component,c=r.columns,f=i(),h=n/c;return p(u,{children:[p(s,{container:!0,spacing:2,className:t(f.detailedView,e({},f.detailedViewMobile,l)),children:[d(a,{label:"Name",value:o.name,format:null,xs:h}),d(a,{label:"T.Weight",unit:"mass",value:o.weight,xs:h}),d(a,{label:"Connection Type",value:o.connection_type,format:null,xs:h}),d(a,{label:"Material",value:o.material,format:null,xs:h}),d(a,{label:"% Actuator Flow Loss",value:o.flow_loss_percentage,format:"0.0",xs:h})]}),d(m,{isEditing:!1,data:o.pressure_loss||[]})]})}c.propTypes={component:o.shape({family:o.string,outer_diameter:o.number,inner_diameter:o.number,linear_weight:o.number,length:o.number,name:o.string,weight:o.number,connection_type:o.string,material:o.string,pressure_loss:o.arrayOf(o.shape({})),flow_loss_percentage:o.number}).isRequired,columns:o.number.isRequired};var f=r(c);export{f as default};
@@ -1 +1 @@
1
- {"version":3,"file":"Editor.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Drillstring/BHAComponentsTable/components/Rss/Editor.js"],"names":[],"mappings":";;AAaA;;;;;;;gBAiFC"}
1
+ {"version":3,"file":"Editor.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Drillstring/BHAComponentsTable/components/Rss/Editor.js"],"names":[],"mappings":";;AAcA;;;;;;;gBAiFC"}