@corva/ui 3.55.0-9 → 3.55.0-rc.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (642) hide show
  1. package/cjs-bundle/components/AddComment/Popover.js +1 -1
  2. package/cjs-bundle/components/AddComment/Popover.js.map +1 -1
  3. package/cjs-bundle/components/AddComment/components/Content.js +1 -1
  4. package/cjs-bundle/components/AddComment/components/Content.js.map +1 -1
  5. package/cjs-bundle/components/AdvancedSlider/Handle.js +1 -1
  6. package/cjs-bundle/components/AdvancedSlider/Handle.js.map +1 -1
  7. package/cjs-bundle/components/Attachment/index.js +1 -1
  8. package/cjs-bundle/components/Attachment/index.js.map +1 -1
  9. package/cjs-bundle/components/BICOffsetPickerDialog/index.js +1 -1
  10. package/cjs-bundle/components/BICOffsetPickerDialog/index.js.map +1 -1
  11. package/cjs-bundle/components/Breadcrumbs/index.js +1 -1
  12. package/cjs-bundle/components/Button/components/LiveButton/index.js +1 -1
  13. package/cjs-bundle/components/Button/index.js +1 -1
  14. package/cjs-bundle/components/Casing/CasingTableV2/components/CasingJoints/Editor.js +1 -1
  15. package/cjs-bundle/components/Casing/CasingTableV2/components/CasingJoints/Editor.js.map +1 -1
  16. package/cjs-bundle/components/Casing/CasingTableV2/components/Component.js +1 -1
  17. package/cjs-bundle/components/Casing/CasingTableV2/components/Component.js.map +1 -1
  18. package/cjs-bundle/components/Casing/CasingTableV2/components/DrillPipe/Editor.js +1 -1
  19. package/cjs-bundle/components/Casing/CasingTableV2/components/DrillPipe/Editor.js.map +1 -1
  20. package/cjs-bundle/components/Chart/components/AxisDropdown.js +1 -1
  21. package/cjs-bundle/components/Chart/components/AxisDropdown.js.map +1 -1
  22. package/cjs-bundle/components/Chart/components/ChartSelect.js +1 -1
  23. package/cjs-bundle/components/Chart/components/ChartSelect.js.map +1 -1
  24. package/cjs-bundle/components/Chart/components/buttons/ChartTypeButton.js +1 -1
  25. package/cjs-bundle/components/Chart/components/buttons/ChartTypeButton.js.map +1 -1
  26. package/cjs-bundle/components/Chart/components/buttons/DragToZoomButton.js +1 -1
  27. package/cjs-bundle/components/Chart/components/buttons/DragToZoomButton.js.map +1 -1
  28. package/cjs-bundle/components/Chart/components/buttons/HideAxesButton.js +1 -1
  29. package/cjs-bundle/components/Chart/components/buttons/HideAxesButton.js.map +1 -1
  30. package/cjs-bundle/components/Chart/components/buttons/PanButton.js +1 -1
  31. package/cjs-bundle/components/Chart/components/buttons/PanButton.js.map +1 -1
  32. package/cjs-bundle/components/Chart/components/buttons/ResetZoomButton.js +1 -1
  33. package/cjs-bundle/components/Chart/components/buttons/ResetZoomButton.js.map +1 -1
  34. package/cjs-bundle/components/Chart/components/buttons/ZoomInButton.js +1 -1
  35. package/cjs-bundle/components/Chart/components/buttons/ZoomInButton.js.map +1 -1
  36. package/cjs-bundle/components/Chart/components/buttons/ZoomOutButton.js +1 -1
  37. package/cjs-bundle/components/Chart/components/buttons/ZoomOutButton.js.map +1 -1
  38. package/cjs-bundle/components/Chip/index.js +1 -1
  39. package/cjs-bundle/components/CollapsableSidebar.js +1 -1
  40. package/cjs-bundle/components/CollapsableSidebar.js.map +1 -1
  41. package/cjs-bundle/components/ColorPicker/ColorPicker.js +1 -1
  42. package/cjs-bundle/components/ColorPicker/PaletteChromePicker/PaletteChromePicker.js +1 -1
  43. package/cjs-bundle/components/CopyToClipboard/CopyToClipboard.js +1 -1
  44. package/cjs-bundle/components/Counter/index.js +1 -1
  45. package/cjs-bundle/components/DatePicker/index.js +1 -1
  46. package/cjs-bundle/components/DateTimePicker/index.js +1 -1
  47. package/cjs-bundle/components/DevCenter/AppFilterPanelLayout/AppFilterPanelLayout.js +1 -1
  48. package/cjs-bundle/components/DevCenter/AppSettingsPopover/AppSettingsPopover.js +1 -1
  49. package/cjs-bundle/components/DevCenter/AppSideBar/AppSideBar.js +1 -1
  50. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/DevCenterAppContainer.js +1 -1
  51. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/DevCenterAppContainer.js.map +1 -1
  52. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/AppSettingsDialog.js +1 -1
  53. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/AppSettingsDialog.js.map +1 -1
  54. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/components/RemoveAppButton.js +1 -1
  55. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/components/RemoveAppButton.js.map +1 -1
  56. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchButton.js +1 -1
  57. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/NonPriorityMenus/NonPriorityMenus.js +1 -1
  58. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/PriorityMenus/PriorityMenus.js +1 -1
  59. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/PriorityMenus/PriorityMenus.js.map +1 -1
  60. package/cjs-bundle/components/DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedAppPage.js +1 -1
  61. package/cjs-bundle/components/DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedAppPage.js.map +1 -1
  62. package/cjs-bundle/components/DocumentViewer/DocumentViewer.js +1 -1
  63. package/cjs-bundle/components/DocumentViewer/DocumentViewer.js.map +1 -1
  64. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Agitator/Editor.js +1 -1
  65. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Agitator/Editor.js.map +1 -1
  66. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Bit/Editor.js +1 -1
  67. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Bit/Editor.js.map +1 -1
  68. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Component.js +1 -1
  69. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Component.js.map +1 -1
  70. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/DrillCollar/Editor.js +1 -1
  71. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/DrillCollar/Editor.js.map +1 -1
  72. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/DrillPipe/Editor.js +1 -1
  73. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/DrillPipe/Editor.js.map +1 -1
  74. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Jar/Editor.js +1 -1
  75. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Jar/Editor.js.map +1 -1
  76. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Lwd/Editor.js +1 -1
  77. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Lwd/Editor.js.map +1 -1
  78. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Mwd/Editor.js +1 -1
  79. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Mwd/Editor.js.map +1 -1
  80. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Pdm/Editor.js +1 -1
  81. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Pdm/Editor.js.map +1 -1
  82. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Rss/Editor.js +1 -1
  83. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Rss/Editor.js.map +1 -1
  84. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Stabilizer/Editor.js +1 -1
  85. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Stabilizer/Editor.js.map +1 -1
  86. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Sub/Editor.js +1 -1
  87. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Sub/Editor.js.map +1 -1
  88. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Ur/Editor.js +1 -1
  89. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Ur/Editor.js.map +1 -1
  90. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/shared/ConfirmationPopup.js +1 -1
  91. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/shared/ConfirmationPopup.js.map +1 -1
  92. package/cjs-bundle/components/EChartsWrapper/components/Toolbox/Toolbox.js +1 -1
  93. package/cjs-bundle/components/ErrorBoundary/DevCenterAppErrorView/DevCenterAppErrorView.js +1 -1
  94. package/cjs-bundle/components/ErrorBoundary/DevCenterAppErrorView/DevCenterAppErrorView.js.map +1 -1
  95. package/cjs-bundle/components/FeedItem/FeedItem.js +1 -1
  96. package/cjs-bundle/components/FeedItem/FeedItem.js.map +1 -1
  97. package/cjs-bundle/components/FeedItem/components/FeedComments.js +1 -1
  98. package/cjs-bundle/components/FeedItem/components/FeedComments.js.map +1 -1
  99. package/cjs-bundle/components/FilesDropzone/FilesDropzone.js +1 -1
  100. package/cjs-bundle/components/FilesLoader/FilesLoader.js +1 -1
  101. package/cjs-bundle/components/FilesLoaderV2/FilesLoaderV2.js +1 -1
  102. package/cjs-bundle/components/Formula/CloseSuggestion.js +1 -1
  103. package/cjs-bundle/components/Formula/CloseSuggestion.js.map +1 -1
  104. package/cjs-bundle/components/Formula/Formula.js +1 -1
  105. package/cjs-bundle/components/GradientManager/GradientManager.js +1 -1
  106. package/cjs-bundle/components/GradientManager/GradientSelect.js +1 -1
  107. package/cjs-bundle/components/GradientPicker/GradientPicker.js +1 -1
  108. package/cjs-bundle/components/HelpCenter/HelpCenterIcon.js +1 -1
  109. package/cjs-bundle/components/HelpCenter/HelpCenterIcon.js.map +1 -1
  110. package/cjs-bundle/components/Hint/Hint.js +1 -1
  111. package/cjs-bundle/components/ImageViewer/index.js +1 -1
  112. package/cjs-bundle/components/ImageViewer/index.js.map +1 -1
  113. package/cjs-bundle/components/Modal/CorvaModal.js +1 -1
  114. package/cjs-bundle/components/Notifications/Toast.js +1 -1
  115. package/cjs-bundle/components/OffsetWellPickerV2/components/Filter/ToggleMapButton.js +1 -1
  116. package/cjs-bundle/components/OffsetWellPickerV2/components/Filter/ToggleMapButton.js.map +1 -1
  117. package/cjs-bundle/components/OffsetWellPickerV2/components/Table/MetricsAddMenu.js +1 -1
  118. package/cjs-bundle/components/OffsetWellPickerV2/components/Table/MetricsAddMenu.js.map +1 -1
  119. package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/MetricsAddMenu.js +1 -1
  120. package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/MetricsAddMenu.js.map +1 -1
  121. package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/index.js +1 -1
  122. package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/index.js.map +1 -1
  123. package/cjs-bundle/components/OffsetWellPickerV3/components/OffsetWellSelectionView/index.js +1 -1
  124. package/cjs-bundle/components/OffsetWellPickerV3/components/OffsetWellSelectionView/index.js.map +1 -1
  125. package/cjs-bundle/components/OffsetWellPickerV3/components/TabSelection/ToggleMapButton.js +1 -1
  126. package/cjs-bundle/components/OffsetWellPickerV3/components/TabSelection/ToggleMapButton.js.map +1 -1
  127. package/cjs-bundle/components/OffsetWellPickerV3/components/TabSelection/index.js +1 -1
  128. package/cjs-bundle/components/OffsetWellPickerV3/components/TabSelection/index.js.map +1 -1
  129. package/cjs-bundle/components/OffsetWellPickerV3/components/WellHubView/index.js +1 -1
  130. package/cjs-bundle/components/OffsetWellPickerV3/components/WellHubView/index.js.map +1 -1
  131. package/cjs-bundle/components/OffsetWellPickerV3/components/shared/OffsetWellTableHead.js +1 -1
  132. package/cjs-bundle/components/OffsetWellPickerV3/components/shared/OffsetWellTableHead.js.map +1 -1
  133. package/cjs-bundle/components/OffsetWellPickerV5/components/AppHeader/components/HeaderActions/HeaderActions.js +1 -1
  134. package/cjs-bundle/components/OffsetWellPickerV5/components/AppHeader/components/LoadAllWellsToggle/LoadAllWellsToggle.js +1 -1
  135. package/cjs-bundle/components/OffsetWellPickerV5/components/CustomInfoIcon/CustomInfoIcon.js +1 -1
  136. package/cjs-bundle/components/OffsetWellPickerV5/components/Filter/Filter.js +1 -1
  137. package/cjs-bundle/components/OffsetWellPickerV5/components/Filter/components/CustomDateFields/CustomDateFields.js +1 -1
  138. package/cjs-bundle/components/OffsetWellPickerV5/components/Filter/components/PeriodFilterSelect/PeriodFilterSelect.js +1 -1
  139. package/cjs-bundle/components/OffsetWellPickerV5/components/Filter/components/SingleFilterSelect/SingleFilterSelect.js +1 -1
  140. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/ClusterTooltip/ClusterTooltip.js +1 -1
  141. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/LayerSwitcher/LayerSwitcher.js +1 -1
  142. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapControls/MapControls.js +1 -1
  143. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/SelectionToast/SelectionToast.js +1 -1
  144. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/WellTooltip/WellTooltip.js +1 -1
  145. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellPickerContent/OffsetWellPickerContent.js +1 -1
  146. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/AdvancedSearch.js +1 -1
  147. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/components/AssetResultSection/AssetResultSection.js +1 -1
  148. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/components/AutoCompleteAssetSearch/AutoCompleteAssetSearch.js +1 -1
  149. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/MetricsSettingMenu/MetricsSettingMenu.js +1 -1
  150. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/WellNameHeaderCell/WellNameHeaderCell.js +1 -1
  151. package/cjs-bundle/components/OffsetWellPickerV5/components/PickerModalActions/PickerModalActions.js +1 -1
  152. package/cjs-bundle/components/PadModeSelect/FracModeLabel.js +1 -1
  153. package/cjs-bundle/components/PadModeSelect/PadModeSelect.js +1 -1
  154. package/cjs-bundle/components/PadOffsetsPicker/StagesSelector.js +1 -1
  155. package/cjs-bundle/components/PadOffsetsPicker/StagesSelector.js.map +1 -1
  156. package/cjs-bundle/components/PadOffsetsPickerV2/PadOffsetsPickerV2.js +1 -1
  157. package/cjs-bundle/components/ParameterCharts/components/TraceHeader.js +1 -1
  158. package/cjs-bundle/components/ParameterCharts/components/TraceHeader.js.map +1 -1
  159. package/cjs-bundle/components/PinnableFilters/components/FiltersToggler.js +1 -1
  160. package/cjs-bundle/components/PinnableFilters/components/FiltersToggler.js.map +1 -1
  161. package/cjs-bundle/components/Popover/Popover.js +1 -1
  162. package/cjs-bundle/components/Popper/Popper.js +1 -1
  163. package/cjs-bundle/components/RealTimeValuesSidebar/RealTimeValuesBox/RealTimeBoxEditDialog.js +1 -1
  164. package/cjs-bundle/components/RealTimeValuesSidebar/SidebarFooter.js +1 -1
  165. package/cjs-bundle/components/Search/Search.js +1 -1
  166. package/cjs-bundle/components/Select/SelectFilterBy.js +1 -1
  167. package/cjs-bundle/components/SettingEditors/ColorEditor/index.js +1 -1
  168. package/cjs-bundle/components/Stepper/Step/Step.js +1 -1
  169. package/cjs-bundle/components/Table/TableCell/TableCell.js +1 -1
  170. package/cjs-bundle/components/Table/TablePaginationActions/TablePaginationActions.js +1 -1
  171. package/cjs-bundle/components/Table/TableSortLabel/TableSortLabel.js +1 -1
  172. package/cjs-bundle/components/Toaster/Toaster.js +1 -1
  173. package/cjs-bundle/componentsV2/Accordion/Accordion.js +1 -1
  174. package/cjs-bundle/componentsV2/AppDqPopover/DqAlertTooltip/DqAlertTooltip.js +1 -1
  175. package/cjs-bundle/componentsV2/AppDqPopover/DqAsset/DqAsset.js +1 -1
  176. package/cjs-bundle/componentsV2/AppFooter/DqPopover/DqStatusIcon/DqStatusIcon.js +1 -1
  177. package/cjs-bundle/componentsV2/AppFooter/Warning.js +1 -1
  178. package/cjs-bundle/componentsV2/AppHeader/AppAssets/utils.js +1 -1
  179. package/cjs-bundle/componentsV2/AppHeader/V3/Actions/Actions.js +1 -1
  180. package/cjs-bundle/componentsV2/AppHeader/V3/AppTitle/AppTitle.js +1 -1
  181. package/cjs-bundle/componentsV2/AppHeader/V3/AssetSelector/AssetSelectorChip/AssetSelectorChip.js +1 -1
  182. package/cjs-bundle/componentsV2/AppHeader/V3/AssetSelector/AssetSelectorSelect/AssetSelectorContent.js +1 -1
  183. package/cjs-bundle/componentsV2/AppHeader/V3/AssetSelector/constants.js +1 -1
  184. package/cjs-bundle/componentsV2/AppHeader/V3/DqStatusIcon/DqStatusIcon.js +1 -1
  185. package/cjs-bundle/componentsV2/AppHeader/V3/SettingsButton/SettingsButton.js +1 -1
  186. package/cjs-bundle/componentsV2/AppHeader/V3/VersionSelect/VersionSelect.js +1 -1
  187. package/cjs-bundle/componentsV2/AppSettings/AppSettings.js +1 -1
  188. package/cjs-bundle/componentsV2/Autocomplete/Autocomplete.js +1 -1
  189. package/cjs-bundle/componentsV2/Breadcrumbs/Breadcrumbs.js +1 -1
  190. package/cjs-bundle/componentsV2/ButtonLive/ButtonLive.js +1 -1
  191. package/cjs-bundle/componentsV2/Chip/Chip.js +1 -1
  192. package/cjs-bundle/componentsV2/ColorPicker/ColorPicker.js +1 -1
  193. package/cjs-bundle/componentsV2/ColorPicker/Swatches/Swatches.js +1 -1
  194. package/cjs-bundle/componentsV2/CompletionsOffsetWellPicker/AssetSearchInput/AssetSearchInput.js +1 -1
  195. package/cjs-bundle/componentsV2/CompletionsOffsetWellPicker/CompletionsOffsetWellPicker.js +1 -1
  196. package/cjs-bundle/componentsV2/CompletionsOffsetWellPicker/Map/Map.js +1 -1
  197. package/cjs-bundle/componentsV2/CompletionsOffsetWellPicker/ModalTitle/ModalTitle.js +1 -1
  198. package/cjs-bundle/componentsV2/CompletionsOffsetWellPicker/PadsTable/PadsTable.js +1 -1
  199. package/cjs-bundle/componentsV2/CompletionsOffsetWellPicker/PadsTable/helpers/columns.js +1 -1
  200. package/cjs-bundle/componentsV2/CopyToClipboard/CopyToClipboard.js +1 -1
  201. package/cjs-bundle/componentsV2/Counter/Counter.js +1 -1
  202. package/cjs-bundle/componentsV2/DatePicker/CalendarControls/CalendarControls.js +1 -1
  203. package/cjs-bundle/componentsV2/DatePicker/Input/Input.js +1 -1
  204. package/cjs-bundle/componentsV2/DragHandle/DragHandle.js +1 -1
  205. package/cjs-bundle/componentsV2/FilesDropzone/FilesDropzone.js +1 -1
  206. package/cjs-bundle/componentsV2/FilesLoader/FilesLoader.js +1 -1
  207. package/cjs-bundle/componentsV2/Hint/Hint.js +1 -1
  208. package/cjs-bundle/componentsV2/ModalWindow/ModalWindow.js +1 -1
  209. package/cjs-bundle/componentsV2/OffsetWellsButton/OffsetWellsButton.js +1 -1
  210. package/cjs-bundle/componentsV2/OffsetWellsButton/useOffsetWellsIcon.js +1 -1
  211. package/cjs-bundle/componentsV2/PadModeSelect/FracModeLabel/FracModeLabel.js +1 -1
  212. package/cjs-bundle/componentsV2/PadModeSelect/PadModeSelect.js +1 -1
  213. package/cjs-bundle/componentsV2/Stepper/Step/Step.js +1 -1
  214. package/cjs-bundle/componentsV2/TemplatesControl/FolderMenu/FolderMenu.js +1 -1
  215. package/cjs-bundle/componentsV2/TemplatesControl/MoveToFolderMenu/MoveToFolderMenu.js +1 -1
  216. package/cjs-bundle/componentsV2/TemplatesControl/Popover/Popover.js +1 -1
  217. package/cjs-bundle/componentsV2/TemplatesControl/PopoverSearch/PopoverSearch.js +1 -1
  218. package/cjs-bundle/componentsV2/TemplatesControl/ShareModal/ShareModal.js +1 -1
  219. package/cjs-bundle/componentsV2/TemplatesControl/TemplateMenu/IconMenu/IconMenu.js +1 -1
  220. package/cjs-bundle/componentsV2/TemplatesControl/TemplatesTreeMenuHeader/TemplatesTreeMenuHeader.js +1 -1
  221. package/cjs-bundle/componentsV2/TemplatesControl/TemplatesTreeNodeItem/TemplatesTreeNodeItem.js +1 -1
  222. package/cjs-bundle/componentsV2/TemplatesControl/TemplatesTreeTemplate/TemplatesTreeTemplate.js +1 -1
  223. package/cjs-bundle/componentsV2/TemplatesControl/Toggle/Toggle.js +1 -1
  224. package/cjs-bundle/componentsV2/TemplatesControl/UnsavedChangesBadge/UnsavedChangesBadge.js +1 -1
  225. package/cjs-bundle/componentsV2/TemplatesControl/templateMenuItems/CopyTemplate.js +1 -1
  226. package/cjs-bundle/componentsV2/TemplatesControl/templateMenuItems/ExportTemplate.js +1 -1
  227. package/cjs-bundle/componentsV2/TemplatesControl/templateMenuItems/MoveTemplateOutOfFolder.js +1 -1
  228. package/cjs-bundle/componentsV2/TemplatesControl/templateMenuItems/MoveTemplateToFolder.js +1 -1
  229. package/cjs-bundle/componentsV2/TemplatesControl/templateMenuItems/RemoveTemplate.js +1 -1
  230. package/cjs-bundle/componentsV2/TemplatesControl/templateMenuItems/RevertTemplate.js +1 -1
  231. package/cjs-bundle/componentsV2/TemplatesControl/templateMenuItems/ShareTemplate.js +1 -1
  232. package/cjs-bundle/componentsV2/TemplatesControl/templateMenuItems/UnfollowTemplate.js +1 -1
  233. package/cjs-bundle/componentsV2/TextInput/TextInput.js +1 -1
  234. package/cjs-bundle/componentsV2/TextInputNext/TextInputNext.js +1 -1
  235. package/cjs-bundle/componentsV2/TextInputNext/components/InfoIcon.js +1 -1
  236. package/cjs-bundle/componentsV2/WellArchivedMessage/WellArchivedMessage.js +1 -1
  237. package/cjs-bundle/config/theme/index.js +1 -1
  238. package/cjs-bundle/config/theme/index.js.map +1 -1
  239. package/cjs-bundle/icons/customIcons/icons/ArchiveOne.js +2 -0
  240. package/cjs-bundle/icons/customIcons/icons/ArchiveOne.js.map +1 -0
  241. package/cjs-bundle/icons/customIcons/icons/AtSignCrossed.js +2 -0
  242. package/cjs-bundle/icons/customIcons/icons/AtSignCrossed.js.map +1 -0
  243. package/cjs-bundle/icons/customIcons/icons/CalibrationOps.js +2 -0
  244. package/cjs-bundle/icons/customIcons/icons/CalibrationOps.js.map +1 -0
  245. package/cjs-bundle/icons/customIcons/icons/ClipboardAi.js +2 -0
  246. package/cjs-bundle/icons/customIcons/icons/ClipboardAi.js.map +1 -0
  247. package/cjs-bundle/icons/customIcons/icons/ClipboardBuilder.js +2 -0
  248. package/cjs-bundle/icons/customIcons/icons/ClipboardBuilder.js.map +1 -0
  249. package/cjs-bundle/icons/customIcons/icons/ClipboardMetrics.js +2 -0
  250. package/cjs-bundle/icons/customIcons/icons/ClipboardMetrics.js.map +1 -0
  251. package/cjs-bundle/icons/customIcons/icons/ClipboardSearch.js +2 -0
  252. package/cjs-bundle/icons/customIcons/icons/ClipboardSearch.js.map +1 -0
  253. package/cjs-bundle/icons/customIcons/icons/Companies.js +2 -0
  254. package/cjs-bundle/icons/customIcons/icons/Companies.js.map +1 -0
  255. package/cjs-bundle/icons/customIcons/icons/Company.js +2 -0
  256. package/cjs-bundle/icons/customIcons/icons/Company.js.map +1 -0
  257. package/cjs-bundle/icons/customIcons/icons/Connect.js +2 -0
  258. package/cjs-bundle/icons/customIcons/icons/Connect.js.map +1 -0
  259. package/cjs-bundle/icons/customIcons/icons/CriticalOps.js +2 -0
  260. package/cjs-bundle/icons/customIcons/icons/CriticalOps.js.map +1 -0
  261. package/cjs-bundle/icons/customIcons/icons/DataTypeOps.js +2 -0
  262. package/cjs-bundle/icons/customIcons/icons/DataTypeOps.js.map +1 -0
  263. package/cjs-bundle/icons/customIcons/icons/Drops.js +2 -0
  264. package/cjs-bundle/icons/customIcons/icons/Drops.js.map +1 -0
  265. package/cjs-bundle/icons/customIcons/icons/ErrorOps.js +2 -0
  266. package/cjs-bundle/icons/customIcons/icons/ErrorOps.js.map +1 -0
  267. package/cjs-bundle/icons/customIcons/icons/FalsePositiveOps.js +2 -0
  268. package/cjs-bundle/icons/customIcons/icons/FalsePositiveOps.js.map +1 -0
  269. package/cjs-bundle/icons/customIcons/icons/Feed.js +2 -0
  270. package/cjs-bundle/icons/customIcons/icons/Feed.js.map +1 -0
  271. package/cjs-bundle/icons/customIcons/icons/Key.js +2 -0
  272. package/cjs-bundle/icons/customIcons/icons/Key.js.map +1 -0
  273. package/cjs-bundle/icons/customIcons/icons/Mapping.js +2 -0
  274. package/cjs-bundle/icons/customIcons/icons/Mapping.js.map +1 -0
  275. package/cjs-bundle/icons/customIcons/icons/MappingManual.js +2 -0
  276. package/cjs-bundle/icons/customIcons/icons/MappingManual.js.map +1 -0
  277. package/cjs-bundle/icons/customIcons/icons/Metrics.js +2 -0
  278. package/cjs-bundle/icons/customIcons/icons/Metrics.js.map +1 -0
  279. package/cjs-bundle/icons/customIcons/icons/NPT.js +2 -0
  280. package/cjs-bundle/icons/customIcons/icons/NPT.js.map +1 -0
  281. package/cjs-bundle/icons/customIcons/icons/ParseBotFusion.js +2 -0
  282. package/cjs-bundle/icons/customIcons/icons/ParseBotFusion.js.map +1 -0
  283. package/cjs-bundle/icons/customIcons/icons/Prompt.js +2 -0
  284. package/cjs-bundle/icons/customIcons/icons/Prompt.js.map +1 -0
  285. package/cjs-bundle/icons/customIcons/icons/PuzzleOne.js +2 -0
  286. package/cjs-bundle/icons/customIcons/icons/PuzzleOne.js.map +1 -0
  287. package/cjs-bundle/icons/customIcons/icons/Template.js +2 -0
  288. package/cjs-bundle/icons/customIcons/icons/Template.js.map +1 -0
  289. package/cjs-bundle/icons/customIcons/icons/UnitConversion.js +2 -0
  290. package/cjs-bundle/icons/customIcons/icons/UnitConversion.js.map +1 -0
  291. package/cjs-bundle/icons/index.js +1 -1
  292. package/cjs-bundle/testing/AppTestWrapper/AppTestWrapper.js +1 -1
  293. package/components/AddComment/Popover.js +1 -1
  294. package/components/AddComment/Popover.js.map +1 -1
  295. package/components/AddComment/components/Content.js +1 -1
  296. package/components/AddComment/components/Content.js.map +1 -1
  297. package/components/AdvancedSlider/Handle.js +1 -1
  298. package/components/AdvancedSlider/Handle.js.map +1 -1
  299. package/components/Attachment/index.js +1 -1
  300. package/components/Attachment/index.js.map +1 -1
  301. package/components/BICOffsetPickerDialog/index.js +1 -1
  302. package/components/BICOffsetPickerDialog/index.js.map +1 -1
  303. package/components/Breadcrumbs/index.js +1 -1
  304. package/components/Button/components/LiveButton/index.js +1 -1
  305. package/components/Button/index.js +1 -1
  306. package/components/Casing/CasingTableV2/components/CasingJoints/Editor.js +1 -1
  307. package/components/Casing/CasingTableV2/components/CasingJoints/Editor.js.map +1 -1
  308. package/components/Casing/CasingTableV2/components/Component.js +1 -1
  309. package/components/Casing/CasingTableV2/components/Component.js.map +1 -1
  310. package/components/Casing/CasingTableV2/components/DrillPipe/Editor.js +1 -1
  311. package/components/Casing/CasingTableV2/components/DrillPipe/Editor.js.map +1 -1
  312. package/components/Chart/components/AxisDropdown.js +1 -1
  313. package/components/Chart/components/AxisDropdown.js.map +1 -1
  314. package/components/Chart/components/ChartSelect.js +1 -1
  315. package/components/Chart/components/ChartSelect.js.map +1 -1
  316. package/components/Chart/components/buttons/ChartTypeButton.js +1 -1
  317. package/components/Chart/components/buttons/ChartTypeButton.js.map +1 -1
  318. package/components/Chart/components/buttons/DragToZoomButton.js +1 -1
  319. package/components/Chart/components/buttons/DragToZoomButton.js.map +1 -1
  320. package/components/Chart/components/buttons/HideAxesButton.js +1 -1
  321. package/components/Chart/components/buttons/HideAxesButton.js.map +1 -1
  322. package/components/Chart/components/buttons/PanButton.js +1 -1
  323. package/components/Chart/components/buttons/PanButton.js.map +1 -1
  324. package/components/Chart/components/buttons/ResetZoomButton.js +1 -1
  325. package/components/Chart/components/buttons/ResetZoomButton.js.map +1 -1
  326. package/components/Chart/components/buttons/ZoomInButton.js +1 -1
  327. package/components/Chart/components/buttons/ZoomInButton.js.map +1 -1
  328. package/components/Chart/components/buttons/ZoomOutButton.js +1 -1
  329. package/components/Chart/components/buttons/ZoomOutButton.js.map +1 -1
  330. package/components/Chip/index.js +1 -1
  331. package/components/CollapsableSidebar.js +1 -1
  332. package/components/CollapsableSidebar.js.map +1 -1
  333. package/components/ColorPicker/ColorPicker.js +1 -1
  334. package/components/ColorPicker/PaletteChromePicker/PaletteChromePicker.js +1 -1
  335. package/components/CopyToClipboard/CopyToClipboard.js +1 -1
  336. package/components/Counter/index.js +1 -1
  337. package/components/DatePicker/index.js +1 -1
  338. package/components/DateTimePicker/index.js +1 -1
  339. package/components/DevCenter/AppFilterPanelLayout/AppFilterPanelLayout.js +1 -1
  340. package/components/DevCenter/AppSettingsPopover/AppSettingsPopover.js +1 -1
  341. package/components/DevCenter/AppSideBar/AppSideBar.js +1 -1
  342. package/components/DevCenter/DevCenterAppContainer/DevCenterAppContainer.js +1 -1
  343. package/components/DevCenter/DevCenterAppContainer/DevCenterAppContainer.js.map +1 -1
  344. package/components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/AppSettingsDialog.js +1 -1
  345. package/components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/AppSettingsDialog.js.map +1 -1
  346. package/components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/components/RemoveAppButton.js +1 -1
  347. package/components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/components/RemoveAppButton.js.map +1 -1
  348. package/components/DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchButton.js +1 -1
  349. package/components/DevCenter/DevCenterAppContainer/components/NonPriorityMenus/NonPriorityMenus.js +1 -1
  350. package/components/DevCenter/DevCenterAppContainer/components/PriorityMenus/PriorityMenus.js +1 -1
  351. package/components/DevCenter/DevCenterAppContainer/components/PriorityMenus/PriorityMenus.js.map +1 -1
  352. package/components/DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedAppPage.js +1 -1
  353. package/components/DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedAppPage.js.map +1 -1
  354. package/components/DocumentViewer/DocumentViewer.js +1 -1
  355. package/components/DocumentViewer/DocumentViewer.js.map +1 -1
  356. package/components/Drillstring/BHAComponentsTable/components/Agitator/Editor.js +1 -1
  357. package/components/Drillstring/BHAComponentsTable/components/Agitator/Editor.js.map +1 -1
  358. package/components/Drillstring/BHAComponentsTable/components/Bit/Editor.js +1 -1
  359. package/components/Drillstring/BHAComponentsTable/components/Bit/Editor.js.map +1 -1
  360. package/components/Drillstring/BHAComponentsTable/components/Component.js +1 -1
  361. package/components/Drillstring/BHAComponentsTable/components/Component.js.map +1 -1
  362. package/components/Drillstring/BHAComponentsTable/components/DrillCollar/Editor.js +1 -1
  363. package/components/Drillstring/BHAComponentsTable/components/DrillCollar/Editor.js.map +1 -1
  364. package/components/Drillstring/BHAComponentsTable/components/DrillPipe/Editor.js +1 -1
  365. package/components/Drillstring/BHAComponentsTable/components/DrillPipe/Editor.js.map +1 -1
  366. package/components/Drillstring/BHAComponentsTable/components/Jar/Editor.js +1 -1
  367. package/components/Drillstring/BHAComponentsTable/components/Jar/Editor.js.map +1 -1
  368. package/components/Drillstring/BHAComponentsTable/components/Lwd/Editor.js +1 -1
  369. package/components/Drillstring/BHAComponentsTable/components/Lwd/Editor.js.map +1 -1
  370. package/components/Drillstring/BHAComponentsTable/components/Mwd/Editor.js +1 -1
  371. package/components/Drillstring/BHAComponentsTable/components/Mwd/Editor.js.map +1 -1
  372. package/components/Drillstring/BHAComponentsTable/components/Pdm/Editor.js +1 -1
  373. package/components/Drillstring/BHAComponentsTable/components/Pdm/Editor.js.map +1 -1
  374. package/components/Drillstring/BHAComponentsTable/components/Rss/Editor.js +1 -1
  375. package/components/Drillstring/BHAComponentsTable/components/Rss/Editor.js.map +1 -1
  376. package/components/Drillstring/BHAComponentsTable/components/Stabilizer/Editor.js +1 -1
  377. package/components/Drillstring/BHAComponentsTable/components/Stabilizer/Editor.js.map +1 -1
  378. package/components/Drillstring/BHAComponentsTable/components/Sub/Editor.js +1 -1
  379. package/components/Drillstring/BHAComponentsTable/components/Sub/Editor.js.map +1 -1
  380. package/components/Drillstring/BHAComponentsTable/components/Ur/Editor.js +1 -1
  381. package/components/Drillstring/BHAComponentsTable/components/Ur/Editor.js.map +1 -1
  382. package/components/Drillstring/BHAComponentsTable/components/shared/ConfirmationPopup.js +1 -1
  383. package/components/Drillstring/BHAComponentsTable/components/shared/ConfirmationPopup.js.map +1 -1
  384. package/components/EChartsWrapper/components/Toolbox/Toolbox.js +1 -1
  385. package/components/ErrorBoundary/DevCenterAppErrorView/DevCenterAppErrorView.js +1 -1
  386. package/components/ErrorBoundary/DevCenterAppErrorView/DevCenterAppErrorView.js.map +1 -1
  387. package/components/FeedItem/FeedItem.js +1 -1
  388. package/components/FeedItem/FeedItem.js.map +1 -1
  389. package/components/FeedItem/components/FeedComments.js +1 -1
  390. package/components/FeedItem/components/FeedComments.js.map +1 -1
  391. package/components/FilesDropzone/FilesDropzone.js +1 -1
  392. package/components/FilesLoader/FilesLoader.js +1 -1
  393. package/components/FilesLoaderV2/FilesLoaderV2.js +1 -1
  394. package/components/Formula/CloseSuggestion.js +1 -1
  395. package/components/Formula/CloseSuggestion.js.map +1 -1
  396. package/components/Formula/Formula.js +1 -1
  397. package/components/GradientManager/GradientManager.js +1 -1
  398. package/components/GradientManager/GradientSelect.js +1 -1
  399. package/components/GradientPicker/GradientPicker.js +1 -1
  400. package/components/HelpCenter/HelpCenterIcon.js +1 -1
  401. package/components/HelpCenter/HelpCenterIcon.js.map +1 -1
  402. package/components/Hint/Hint.js +1 -1
  403. package/components/ImageViewer/index.js +1 -1
  404. package/components/ImageViewer/index.js.map +1 -1
  405. package/components/Modal/CorvaModal.js +1 -1
  406. package/components/Notifications/Toast.js +1 -1
  407. package/components/OffsetWellPickerV2/components/Filter/ToggleMapButton.js +1 -1
  408. package/components/OffsetWellPickerV2/components/Filter/ToggleMapButton.js.map +1 -1
  409. package/components/OffsetWellPickerV2/components/Table/MetricsAddMenu.js +1 -1
  410. package/components/OffsetWellPickerV2/components/Table/MetricsAddMenu.js.map +1 -1
  411. package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/MetricsAddMenu.js +1 -1
  412. package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/MetricsAddMenu.js.map +1 -1
  413. package/components/OffsetWellPickerV3/components/CustomSelectionView/index.js +1 -1
  414. package/components/OffsetWellPickerV3/components/CustomSelectionView/index.js.map +1 -1
  415. package/components/OffsetWellPickerV3/components/OffsetWellSelectionView/index.js +1 -1
  416. package/components/OffsetWellPickerV3/components/OffsetWellSelectionView/index.js.map +1 -1
  417. package/components/OffsetWellPickerV3/components/TabSelection/ToggleMapButton.js +1 -1
  418. package/components/OffsetWellPickerV3/components/TabSelection/ToggleMapButton.js.map +1 -1
  419. package/components/OffsetWellPickerV3/components/TabSelection/index.js +1 -1
  420. package/components/OffsetWellPickerV3/components/TabSelection/index.js.map +1 -1
  421. package/components/OffsetWellPickerV3/components/WellHubView/index.js +1 -1
  422. package/components/OffsetWellPickerV3/components/WellHubView/index.js.map +1 -1
  423. package/components/OffsetWellPickerV3/components/shared/OffsetWellTableHead.js +1 -1
  424. package/components/OffsetWellPickerV3/components/shared/OffsetWellTableHead.js.map +1 -1
  425. package/components/OffsetWellPickerV5/components/AppHeader/components/HeaderActions/HeaderActions.js +1 -1
  426. package/components/OffsetWellPickerV5/components/AppHeader/components/LoadAllWellsToggle/LoadAllWellsToggle.js +1 -1
  427. package/components/OffsetWellPickerV5/components/CustomInfoIcon/CustomInfoIcon.js +1 -1
  428. package/components/OffsetWellPickerV5/components/Filter/Filter.js +1 -1
  429. package/components/OffsetWellPickerV5/components/Filter/components/CustomDateFields/CustomDateFields.js +1 -1
  430. package/components/OffsetWellPickerV5/components/Filter/components/PeriodFilterSelect/PeriodFilterSelect.js +1 -1
  431. package/components/OffsetWellPickerV5/components/Filter/components/SingleFilterSelect/SingleFilterSelect.js +1 -1
  432. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/ClusterTooltip/ClusterTooltip.js +1 -1
  433. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/LayerSwitcher/LayerSwitcher.js +1 -1
  434. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapControls/MapControls.js +1 -1
  435. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/SelectionToast/SelectionToast.js +1 -1
  436. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/WellTooltip/WellTooltip.js +1 -1
  437. package/components/OffsetWellPickerV5/components/OffsetWellPickerContent/OffsetWellPickerContent.js +1 -1
  438. package/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/AdvancedSearch.js +1 -1
  439. package/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/components/AssetResultSection/AssetResultSection.js +1 -1
  440. package/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/components/AutoCompleteAssetSearch/AutoCompleteAssetSearch.js +1 -1
  441. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/MetricsSettingMenu/MetricsSettingMenu.js +1 -1
  442. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/WellNameHeaderCell/WellNameHeaderCell.js +1 -1
  443. package/components/OffsetWellPickerV5/components/PickerModalActions/PickerModalActions.js +1 -1
  444. package/components/PadModeSelect/FracModeLabel.js +1 -1
  445. package/components/PadModeSelect/PadModeSelect.js +1 -1
  446. package/components/PadOffsetsPicker/StagesSelector.js +1 -1
  447. package/components/PadOffsetsPicker/StagesSelector.js.map +1 -1
  448. package/components/PadOffsetsPickerV2/PadOffsetsPickerV2.js +1 -1
  449. package/components/ParameterCharts/components/TraceHeader.js +1 -1
  450. package/components/ParameterCharts/components/TraceHeader.js.map +1 -1
  451. package/components/PinnableFilters/components/FiltersToggler.js +1 -1
  452. package/components/PinnableFilters/components/FiltersToggler.js.map +1 -1
  453. package/components/Popover/Popover.js +1 -1
  454. package/components/Popper/Popper.js +1 -1
  455. package/components/RealTimeValuesSidebar/RealTimeValuesBox/RealTimeBoxEditDialog.js +1 -1
  456. package/components/RealTimeValuesSidebar/SidebarFooter.js +1 -1
  457. package/components/Search/Search.js +1 -1
  458. package/components/Select/SelectFilterBy.js +1 -1
  459. package/components/SettingEditors/ColorEditor/index.js +1 -1
  460. package/components/Stepper/Step/Step.js +1 -1
  461. package/components/Table/TableCell/TableCell.js +1 -1
  462. package/components/Table/TablePaginationActions/TablePaginationActions.js +1 -1
  463. package/components/Table/TableSortLabel/TableSortLabel.js +1 -1
  464. package/components/Toaster/Toaster.js +1 -1
  465. package/componentsV2/Accordion/Accordion.js +1 -1
  466. package/componentsV2/AppDqPopover/DqAlertTooltip/DqAlertTooltip.js +1 -1
  467. package/componentsV2/AppDqPopover/DqAsset/DqAsset.js +1 -1
  468. package/componentsV2/AppFooter/DqPopover/DqStatusIcon/DqStatusIcon.js +1 -1
  469. package/componentsV2/AppFooter/Warning.js +1 -1
  470. package/componentsV2/AppHeader/AppAssets/utils.js +1 -1
  471. package/componentsV2/AppHeader/V3/Actions/Actions.js +1 -1
  472. package/componentsV2/AppHeader/V3/AppTitle/AppTitle.js +1 -1
  473. package/componentsV2/AppHeader/V3/AssetSelector/AssetSelectorChip/AssetSelectorChip.js +1 -1
  474. package/componentsV2/AppHeader/V3/AssetSelector/AssetSelectorSelect/AssetSelectorContent.js +1 -1
  475. package/componentsV2/AppHeader/V3/AssetSelector/constants.js +1 -1
  476. package/componentsV2/AppHeader/V3/DqStatusIcon/DqStatusIcon.js +1 -1
  477. package/componentsV2/AppHeader/V3/SettingsButton/SettingsButton.js +1 -1
  478. package/componentsV2/AppHeader/V3/VersionSelect/VersionSelect.js +1 -1
  479. package/componentsV2/AppSettings/AppSettings.js +1 -1
  480. package/componentsV2/Autocomplete/Autocomplete.js +1 -1
  481. package/componentsV2/Breadcrumbs/Breadcrumbs.js +1 -1
  482. package/componentsV2/ButtonLive/ButtonLive.js +1 -1
  483. package/componentsV2/Chip/Chip.js +1 -1
  484. package/componentsV2/ColorPicker/ColorPicker.js +1 -1
  485. package/componentsV2/ColorPicker/Swatches/Swatches.js +1 -1
  486. package/componentsV2/CompletionsOffsetWellPicker/AssetSearchInput/AssetSearchInput.js +1 -1
  487. package/componentsV2/CompletionsOffsetWellPicker/CompletionsOffsetWellPicker.js +1 -1
  488. package/componentsV2/CompletionsOffsetWellPicker/Map/Map.js +1 -1
  489. package/componentsV2/CompletionsOffsetWellPicker/ModalTitle/ModalTitle.js +1 -1
  490. package/componentsV2/CompletionsOffsetWellPicker/PadsTable/PadsTable.js +1 -1
  491. package/componentsV2/CompletionsOffsetWellPicker/PadsTable/helpers/columns.js +1 -1
  492. package/componentsV2/CopyToClipboard/CopyToClipboard.js +1 -1
  493. package/componentsV2/Counter/Counter.js +1 -1
  494. package/componentsV2/DatePicker/CalendarControls/CalendarControls.js +1 -1
  495. package/componentsV2/DatePicker/Input/Input.js +1 -1
  496. package/componentsV2/DragHandle/DragHandle.js +1 -1
  497. package/componentsV2/FilesDropzone/FilesDropzone.js +1 -1
  498. package/componentsV2/FilesLoader/FilesLoader.js +1 -1
  499. package/componentsV2/Hint/Hint.js +1 -1
  500. package/componentsV2/ModalWindow/ModalWindow.js +1 -1
  501. package/componentsV2/OffsetWellsButton/OffsetWellsButton.js +1 -1
  502. package/componentsV2/OffsetWellsButton/useOffsetWellsIcon.js +1 -1
  503. package/componentsV2/PadModeSelect/FracModeLabel/FracModeLabel.js +1 -1
  504. package/componentsV2/PadModeSelect/PadModeSelect.js +1 -1
  505. package/componentsV2/Stepper/Step/Step.js +1 -1
  506. package/componentsV2/TemplatesControl/FolderMenu/FolderMenu.js +1 -1
  507. package/componentsV2/TemplatesControl/MoveToFolderMenu/MoveToFolderMenu.js +1 -1
  508. package/componentsV2/TemplatesControl/Popover/Popover.js +1 -1
  509. package/componentsV2/TemplatesControl/PopoverSearch/PopoverSearch.js +1 -1
  510. package/componentsV2/TemplatesControl/ShareModal/ShareModal.js +1 -1
  511. package/componentsV2/TemplatesControl/TemplateMenu/IconMenu/IconMenu.js +1 -1
  512. package/componentsV2/TemplatesControl/TemplatesTreeMenuHeader/TemplatesTreeMenuHeader.js +1 -1
  513. package/componentsV2/TemplatesControl/TemplatesTreeNodeItem/TemplatesTreeNodeItem.js +1 -1
  514. package/componentsV2/TemplatesControl/TemplatesTreeTemplate/TemplatesTreeTemplate.js +1 -1
  515. package/componentsV2/TemplatesControl/Toggle/Toggle.js +1 -1
  516. package/componentsV2/TemplatesControl/UnsavedChangesBadge/UnsavedChangesBadge.js +1 -1
  517. package/componentsV2/TemplatesControl/templateMenuItems/CopyTemplate.js +1 -1
  518. package/componentsV2/TemplatesControl/templateMenuItems/ExportTemplate.js +1 -1
  519. package/componentsV2/TemplatesControl/templateMenuItems/MoveTemplateOutOfFolder.js +1 -1
  520. package/componentsV2/TemplatesControl/templateMenuItems/MoveTemplateToFolder.js +1 -1
  521. package/componentsV2/TemplatesControl/templateMenuItems/RemoveTemplate.js +1 -1
  522. package/componentsV2/TemplatesControl/templateMenuItems/RevertTemplate.js +1 -1
  523. package/componentsV2/TemplatesControl/templateMenuItems/ShareTemplate.js +1 -1
  524. package/componentsV2/TemplatesControl/templateMenuItems/UnfollowTemplate.js +1 -1
  525. package/componentsV2/TextInput/TextInput.js +1 -1
  526. package/componentsV2/TextInputNext/TextInputNext.js +1 -1
  527. package/componentsV2/TextInputNext/components/InfoIcon.js +1 -1
  528. package/componentsV2/WellArchivedMessage/WellArchivedMessage.js +1 -1
  529. package/config/theme/index.js +1 -1
  530. package/config/theme/index.js.map +1 -1
  531. package/icons/IconPark.stories.d.ts.map +1 -1
  532. package/icons/customIcons/icons/ArchiveOne.d.ts +2 -0
  533. package/icons/customIcons/icons/ArchiveOne.d.ts.map +1 -0
  534. package/icons/customIcons/icons/ArchiveOne.js +2 -0
  535. package/icons/customIcons/icons/ArchiveOne.js.map +1 -0
  536. package/icons/customIcons/icons/AtSignCrossed.d.ts +2 -0
  537. package/icons/customIcons/icons/AtSignCrossed.d.ts.map +1 -0
  538. package/icons/customIcons/icons/AtSignCrossed.js +2 -0
  539. package/icons/customIcons/icons/AtSignCrossed.js.map +1 -0
  540. package/icons/customIcons/icons/CalibrationOps.d.ts +2 -0
  541. package/icons/customIcons/icons/CalibrationOps.d.ts.map +1 -0
  542. package/icons/customIcons/icons/CalibrationOps.js +2 -0
  543. package/icons/customIcons/icons/CalibrationOps.js.map +1 -0
  544. package/icons/customIcons/icons/ClipboardAi.d.ts +2 -0
  545. package/icons/customIcons/icons/ClipboardAi.d.ts.map +1 -0
  546. package/icons/customIcons/icons/ClipboardAi.js +2 -0
  547. package/icons/customIcons/icons/ClipboardAi.js.map +1 -0
  548. package/icons/customIcons/icons/ClipboardBuilder.d.ts +2 -0
  549. package/icons/customIcons/icons/ClipboardBuilder.d.ts.map +1 -0
  550. package/icons/customIcons/icons/ClipboardBuilder.js +2 -0
  551. package/icons/customIcons/icons/ClipboardBuilder.js.map +1 -0
  552. package/icons/customIcons/icons/ClipboardMetrics.d.ts +2 -0
  553. package/icons/customIcons/icons/ClipboardMetrics.d.ts.map +1 -0
  554. package/icons/customIcons/icons/ClipboardMetrics.js +2 -0
  555. package/icons/customIcons/icons/ClipboardMetrics.js.map +1 -0
  556. package/icons/customIcons/icons/ClipboardSearch.d.ts +2 -0
  557. package/icons/customIcons/icons/ClipboardSearch.d.ts.map +1 -0
  558. package/icons/customIcons/icons/ClipboardSearch.js +2 -0
  559. package/icons/customIcons/icons/ClipboardSearch.js.map +1 -0
  560. package/icons/customIcons/icons/Companies.d.ts +2 -0
  561. package/icons/customIcons/icons/Companies.d.ts.map +1 -0
  562. package/icons/customIcons/icons/Companies.js +2 -0
  563. package/icons/customIcons/icons/Companies.js.map +1 -0
  564. package/icons/customIcons/icons/Company.d.ts +2 -0
  565. package/icons/customIcons/icons/Company.d.ts.map +1 -0
  566. package/icons/customIcons/icons/Company.js +2 -0
  567. package/icons/customIcons/icons/Company.js.map +1 -0
  568. package/icons/customIcons/icons/Connect.d.ts +2 -0
  569. package/icons/customIcons/icons/Connect.d.ts.map +1 -0
  570. package/icons/customIcons/icons/Connect.js +2 -0
  571. package/icons/customIcons/icons/Connect.js.map +1 -0
  572. package/icons/customIcons/icons/CriticalOps.d.ts +2 -0
  573. package/icons/customIcons/icons/CriticalOps.d.ts.map +1 -0
  574. package/icons/customIcons/icons/CriticalOps.js +2 -0
  575. package/icons/customIcons/icons/CriticalOps.js.map +1 -0
  576. package/icons/customIcons/icons/DataTypeOps.d.ts +2 -0
  577. package/icons/customIcons/icons/DataTypeOps.d.ts.map +1 -0
  578. package/icons/customIcons/icons/DataTypeOps.js +2 -0
  579. package/icons/customIcons/icons/DataTypeOps.js.map +1 -0
  580. package/icons/customIcons/icons/Drops.d.ts +2 -0
  581. package/icons/customIcons/icons/Drops.d.ts.map +1 -0
  582. package/icons/customIcons/icons/Drops.js +2 -0
  583. package/icons/customIcons/icons/Drops.js.map +1 -0
  584. package/icons/customIcons/icons/ErrorOps.d.ts +2 -0
  585. package/icons/customIcons/icons/ErrorOps.d.ts.map +1 -0
  586. package/icons/customIcons/icons/ErrorOps.js +2 -0
  587. package/icons/customIcons/icons/ErrorOps.js.map +1 -0
  588. package/icons/customIcons/icons/FalsePositiveOps.d.ts +2 -0
  589. package/icons/customIcons/icons/FalsePositiveOps.d.ts.map +1 -0
  590. package/icons/customIcons/icons/FalsePositiveOps.js +2 -0
  591. package/icons/customIcons/icons/FalsePositiveOps.js.map +1 -0
  592. package/icons/customIcons/icons/Feed.d.ts +2 -0
  593. package/icons/customIcons/icons/Feed.d.ts.map +1 -0
  594. package/icons/customIcons/icons/Feed.js +2 -0
  595. package/icons/customIcons/icons/Feed.js.map +1 -0
  596. package/icons/customIcons/icons/Key.d.ts +2 -0
  597. package/icons/customIcons/icons/Key.d.ts.map +1 -0
  598. package/icons/customIcons/icons/Key.js +2 -0
  599. package/icons/customIcons/icons/Key.js.map +1 -0
  600. package/icons/customIcons/icons/Mapping.d.ts +2 -0
  601. package/icons/customIcons/icons/Mapping.d.ts.map +1 -0
  602. package/icons/customIcons/icons/Mapping.js +2 -0
  603. package/icons/customIcons/icons/Mapping.js.map +1 -0
  604. package/icons/customIcons/icons/MappingManual.d.ts +2 -0
  605. package/icons/customIcons/icons/MappingManual.d.ts.map +1 -0
  606. package/icons/customIcons/icons/MappingManual.js +2 -0
  607. package/icons/customIcons/icons/MappingManual.js.map +1 -0
  608. package/icons/customIcons/icons/Metrics.d.ts +2 -0
  609. package/icons/customIcons/icons/Metrics.d.ts.map +1 -0
  610. package/icons/customIcons/icons/Metrics.js +2 -0
  611. package/icons/customIcons/icons/Metrics.js.map +1 -0
  612. package/icons/customIcons/icons/NPT.d.ts +2 -0
  613. package/icons/customIcons/icons/NPT.d.ts.map +1 -0
  614. package/icons/customIcons/icons/NPT.js +2 -0
  615. package/icons/customIcons/icons/NPT.js.map +1 -0
  616. package/icons/customIcons/icons/ParseBotFusion.d.ts +2 -0
  617. package/icons/customIcons/icons/ParseBotFusion.d.ts.map +1 -0
  618. package/icons/customIcons/icons/ParseBotFusion.js +2 -0
  619. package/icons/customIcons/icons/ParseBotFusion.js.map +1 -0
  620. package/icons/customIcons/icons/Prompt.d.ts +2 -0
  621. package/icons/customIcons/icons/Prompt.d.ts.map +1 -0
  622. package/icons/customIcons/icons/Prompt.js +2 -0
  623. package/icons/customIcons/icons/Prompt.js.map +1 -0
  624. package/icons/customIcons/icons/PuzzleOne.d.ts +2 -0
  625. package/icons/customIcons/icons/PuzzleOne.d.ts.map +1 -0
  626. package/icons/customIcons/icons/PuzzleOne.js +2 -0
  627. package/icons/customIcons/icons/PuzzleOne.js.map +1 -0
  628. package/icons/customIcons/icons/Template.d.ts +2 -0
  629. package/icons/customIcons/icons/Template.d.ts.map +1 -0
  630. package/icons/customIcons/icons/Template.js +2 -0
  631. package/icons/customIcons/icons/Template.js.map +1 -0
  632. package/icons/customIcons/icons/UnitConversion.d.ts +2 -0
  633. package/icons/customIcons/icons/UnitConversion.d.ts.map +1 -0
  634. package/icons/customIcons/icons/UnitConversion.js +2 -0
  635. package/icons/customIcons/icons/UnitConversion.js.map +1 -0
  636. package/icons/customIcons/icons/index.d.ts +26 -0
  637. package/icons/customIcons/icons/index.d.ts.map +1 -1
  638. package/icons/index.js +1 -1
  639. package/mcp-server/server.mjs +600 -2
  640. package/package.json +1 -1
  641. package/testing/AppTestWrapper/AppTestWrapper.js +1 -1
  642. package/tsconfig.tsbuildinfo +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"Component.js","sources":["../../../../../src/components/Casing/CasingTableV2/components/Component.js"],"sourcesContent":["import { memo, useEffect, useState } from 'react';\nimport classNames from 'classnames';\nimport { omit } from 'lodash';\nimport PropTypes from 'prop-types';\nimport { Grid, Menu, MenuItem } from '@material-ui/core';\n\nimport { Browser as DrillPipeBrowser, Editor as DrillPipeEditor } from './DrillPipe';\nimport { Browser as ComponentBrowser, Editor as ComponentEditor } from './CasingJoints';\nimport EditComponentDialog from './EditComponentDialog';\n\nimport { validateComponent } from '~/utils/casing/validation';\nimport { COMPONENT_FAMILIES } from '~/constants/casing';\nimport { CasingComponentIcon as ComponentIcon } from '~/components';\nimport {\n FormatedNumber,\n ExpandCollapseButton,\n MoreButton,\n StaticField,\n ConfirmationPopup,\n} from '~/components/Drillstring/BHAComponentsTable/components/shared';\nimport { calculateComponent } from '~/components/Drillstring/BHAComponentsTable/components/utils/calculation';\nimport { useStyles } from '~/components/Drillstring/BHAComponentsTable/components/sharedStyles';\n\nfunction getComponentName(family) {\n return COMPONENT_FAMILIES.find(item => item.type === family)?.name || '—';\n}\n\nfunction Component({\n component,\n viewColumnsPerRow,\n editColumnsPerRow,\n isDraft,\n onCancel,\n onDelete,\n onSave,\n onChangeEditing,\n isMobile,\n isDragComponent,\n}) {\n const [actionAnchorEl, setActionAnchorEl] = useState(null);\n const [tempComponent, setTempComponent] = useState(component);\n const [isOpenSaveConfirm, setIsOpenSaveConfirm] = useState(false);\n const [isOpenDeleteDialog, setIsOpenDeleteDialog] = useState(false);\n const [isOpenEditorDialog, setIsOpenEditorDialog] = useState(false);\n const [error, setError] = useState(null);\n\n const classes = useStyles({ isMobile, isEditing: tempComponent.is_editing, isDragComponent });\n\n useEffect(() => {\n if (onChangeEditing) onChangeEditing(tempComponent.is_editing);\n }, [tempComponent.is_editing]);\n\n const handleExpandCollapse = () => {\n setTempComponent(prev => {\n return prev.is_expanded ? { ...prev, is_expanded: false } : { ...prev, is_expanded: true };\n });\n };\n\n const handleOpenActionMenu = e => {\n setActionAnchorEl(e.currentTarget);\n };\n\n const handleCloseActionMenu = () => {\n setActionAnchorEl(null);\n };\n\n const handleEdit = () => {\n setActionAnchorEl(null);\n setTempComponent(prev => ({ ...prev, is_editing: true }));\n };\n\n const handleConfirmDelete = () => {\n setActionAnchorEl(null);\n setIsOpenDeleteDialog(true);\n };\n\n const handleDelete = () => {\n onDelete(component);\n };\n\n const handleCancel = () => {\n setError(null);\n if (isDraft) {\n onCancel();\n return;\n }\n\n setTempComponent(component);\n };\n\n const handleChange = (key, value) => {\n const newComponent = calculateComponent(tempComponent, key, value);\n const result = validateComponent(newComponent);\n setTempComponent(newComponent);\n if (!result.isValid) {\n setError(result.errors);\n } else {\n setError(null);\n }\n };\n\n const handleUseSuggestion = suggestion => {\n setTempComponent(prev => {\n return {\n ...prev,\n ...suggestion,\n };\n });\n };\n\n const handleConfirmSave = () => {\n const result = validateComponent(tempComponent);\n if (!result.isValid) {\n setError(result.errors);\n return;\n }\n\n setError(null);\n setIsOpenSaveConfirm(true);\n };\n\n const handleSave = () => {\n setIsOpenSaveConfirm(false);\n setIsOpenEditorDialog(false);\n\n const { is_editing, ...saving } = tempComponent;\n\n setTempComponent(saving);\n\n onSave(omit(saving, ['is_expanded']), isDraft);\n };\n\n const contentCellName = classNames(classes.cell, classes.ratioWidth, {\n [classes.focusedFontsize]: tempComponent.is_editing || tempComponent.is_expanded,\n });\n\n if (tempComponent.is_editing && !isOpenEditorDialog) {\n const { family } = tempComponent;\n\n const componentProps = {\n component: tempComponent,\n isDraft,\n error,\n onChange: handleChange,\n onCancel: handleCancel,\n onSave: isMobile ? handleSave : handleConfirmSave,\n onUseSuggestion: handleUseSuggestion,\n columns: editColumnsPerRow,\n };\n\n if (isMobile) {\n setIsOpenEditorDialog(true);\n } else {\n return (\n <div className={classes.component}>\n {(family === 'dp' || family === 'hwdp') && <DrillPipeEditor {...componentProps} />}\n {family !== 'dp' && family !== 'hwdp' && <ComponentEditor {...componentProps} />}\n\n {isOpenSaveConfirm && (\n <ConfirmationPopup\n title=\"Save Changes?\"\n text=\"You will not be able to recover it.\"\n okText=\"Save\"\n handleClose={() => setIsOpenSaveConfirm(false)}\n handleOk={handleSave}\n />\n )}\n </div>\n );\n }\n }\n\n return (\n <div\n className={classNames(classes.component, {\n [classes.componentMobile]: isMobile,\n [classes.componentExpandedMobile]: isMobile && tempComponent.is_expanded,\n [classes.componentActive]: Boolean(actionAnchorEl),\n })}\n >\n <div\n className={classNames(classes.row, {\n [classes.rowExpanded]: isMobile && tempComponent.is_expanded,\n })}\n >\n <div className={classNames(classes.cell, { [classes.componentMobileCell]: isMobile })}>\n <ComponentIcon component={tempComponent} />\n </div>\n <div className={contentCellName}>{getComponentName(tempComponent.family)}</div>\n {!isMobile && (\n <>\n <div className={contentCellName}>\n <FormatedNumber\n value={\n tempComponent.family === 'bit' ? tempComponent.size : tempComponent.outer_diameter\n }\n />\n </div>\n <div className={contentCellName}>\n <FormatedNumber value={tempComponent.inner_diameter} />\n </div>\n <div className={contentCellName}>\n <FormatedNumber value={tempComponent.linear_weight} />\n </div>\n <div className={contentCellName}>\n <FormatedNumber value={tempComponent.length} format=\"0.0\" />\n </div>\n </>\n )}\n <div className={classNames(classes.cell, classes.actionCell)}>\n <ExpandCollapseButton\n isExpanded={tempComponent.is_expanded}\n classes={classes}\n handleExpandCollapse={handleExpandCollapse}\n />\n <MoreButton classes={classes} handleOpenActionMenu={handleOpenActionMenu} />\n </div>\n </div>\n\n {tempComponent.is_expanded && (\n <>\n {isMobile && (\n <Grid container spacing={2} style={{ padding: '8px 4px 16px' }}>\n <StaticField\n label={tempComponent.family === 'bit' ? 'Bit Size' : 'OD'}\n unit=\"shortLength\"\n value={\n tempComponent.family === 'bit' ? tempComponent.size : tempComponent.outer_diameter\n }\n />\n {tempComponent.family !== 'bit' && (\n <StaticField label=\"ID\" unit=\"shortLength\" value={component.inner_diameter} />\n )}\n {tempComponent.family !== 'bit' && (\n <StaticField\n label=\"Linear Weight\"\n unit=\"massPerLength\"\n value={component.linear_weight}\n format=\"0.0\"\n />\n )}\n <StaticField label=\"Length\" unit=\"length\" value={component.length} format=\"0.0\" />\n </Grid>\n )}\n\n {(tempComponent.family === 'dp' || tempComponent.family === 'hwdp') && (\n <DrillPipeBrowser component={tempComponent} columns={viewColumnsPerRow} />\n )}\n {tempComponent.family !== 'dp' && tempComponent.family !== 'hwdp' && (\n <ComponentBrowser component={tempComponent} columns={viewColumnsPerRow} />\n )}\n </>\n )}\n\n <Menu\n anchorEl={actionAnchorEl}\n keepMounted\n open={Boolean(actionAnchorEl)}\n getContentAnchorEl={null}\n anchorOrigin={{ vertical: 'bottom', horizontal: 'right' }}\n transformOrigin={{ vertical: 'top', horizontal: 'right' }}\n onClose={handleCloseActionMenu}\n >\n <MenuItem onClick={handleEdit} className={classes.menuItem}>\n Edit\n </MenuItem>\n {tempComponent.family !== 'bit' && (\n <MenuItem onClick={handleConfirmDelete} className={classes.menuItem}>\n Delete\n </MenuItem>\n )}\n </Menu>\n\n {isOpenDeleteDialog && (\n <ConfirmationPopup\n title=\"Delete Component?\"\n text=\"You will not be able to recover it.\"\n okText=\"Delete\"\n handleClose={() => setIsOpenDeleteDialog(false)}\n handleOk={handleDelete}\n />\n )}\n\n {isOpenEditorDialog && (\n <EditComponentDialog\n component={tempComponent}\n isDraft={isDraft}\n error={error}\n onChange={handleChange}\n onCancel={handleCancel}\n onSave={handleConfirmSave}\n onUseSuggestion={handleUseSuggestion}\n onClose={() => {\n handleCancel();\n setIsOpenEditorDialog(false);\n }}\n />\n )}\n\n {isMobile && isOpenSaveConfirm && (\n <ConfirmationPopup\n title=\"Save Changes?\"\n text=\"You will not be able to recover it.\"\n okText=\"Save\"\n handleClose={() => setIsOpenSaveConfirm(false)}\n handleOk={handleSave}\n />\n )}\n </div>\n );\n}\n\nComponent.propTypes = {\n component: PropTypes.shape({\n family: PropTypes.string,\n size: PropTypes.number,\n outer_diameter: PropTypes.number,\n inner_diameter: PropTypes.number,\n linear_weight: PropTypes.number,\n length: PropTypes.number,\n }).isRequired,\n isMobile: PropTypes.bool.isRequired,\n isDraft: PropTypes.bool,\n onCancel: PropTypes.func,\n onDelete: PropTypes.func,\n onSave: PropTypes.func.isRequired,\n onChangeEditing: PropTypes.func,\n viewColumnsPerRow: PropTypes.number.isRequired,\n editColumnsPerRow: PropTypes.number.isRequired,\n isDragComponent: PropTypes.bool.isRequired,\n};\n\nComponent.defaultProps = {\n isDraft: false,\n onCancel: null,\n onDelete: null,\n onChangeEditing: undefined,\n};\n\nexport default memo(Component);\n"],"names":["getComponentName","family","_COMPONENT_FAMILIES$f","COMPONENT_FAMILIES","find","item","type","name","Component","_ref","_classNames2","component","viewColumnsPerRow","editColumnsPerRow","isDraft","onCancel","onDelete","onSave","onChangeEditing","isMobile","isDragComponent","useState","_useState2","_slicedToArray","_useState","actionAnchorEl","setActionAnchorEl","_useState4","_useState3","tempComponent","setTempComponent","_useState6","_useState5","isOpenSaveConfirm","setIsOpenSaveConfirm","_useState8","_useState7","isOpenDeleteDialog","setIsOpenDeleteDialog","_useState10","_useState9","isOpenEditorDialog","setIsOpenEditorDialog","_useState12","_useState11","error","setError","classes","useStyles","isEditing","is_editing","useEffect","handleCancel","handleChange","key","value","newComponent","calculateComponent","result","validateComponent","isValid","errors","handleUseSuggestion","suggestion","prev","handleConfirmSave","handleSave","saving","_excluded","omit","contentCellName","classNames","cell","ratioWidth","focusedFontsize","is_expanded","componentProps","onChange","onUseSuggestion","columns","_jsxs","className","children","_jsx","DrillPipeEditor","ComponentEditor","ConfirmationPopup","title","text","okText","handleClose","handleOk","componentMobile","componentExpandedMobile","componentActive","Boolean","row","rowExpanded","componentMobileCell","ComponentIcon","_Fragment","FormatedNumber","size","outer_diameter","inner_diameter","linear_weight","length","format","actionCell","ExpandCollapseButton","isExpanded","handleExpandCollapse","_objectSpread","MoreButton","handleOpenActionMenu","e","currentTarget","Grid","container","spacing","style","padding","StaticField","label","unit","DrillPipeBrowser","ComponentBrowser","Menu","anchorEl","keepMounted","open","getContentAnchorEl","anchorOrigin","vertical","horizontal","transformOrigin","onClose","MenuItem","onClick","menuItem","EditComponentDialog","propTypes","PropTypes","shape","string","number","isRequired","bool","func","defaultProps","undefined","memo"],"mappings":"ot1BAuBA,SAASA,EAAiBC,GAAQ,IAAAC,EAChC,OAAO,UAAAC,EAAmBC,MAAK,SAAAC,GAAI,OAAIA,EAAKC,OAASL,CAAM,WAApD,IAAAC,OAAA,EAAAA,EAAuDK,OAAQ,GACxE,CAEA,SAASC,EAWNC,GAAA,IAAAC,EAVDC,IAAAA,UACAC,IAAAA,kBACAC,IAAAA,kBACAC,IAAAA,QACAC,IAAAA,SACAC,IAAAA,SACAC,IAAAA,OACAC,IAAAA,gBACAC,IAAAA,SACAC,IAAAA,gBAE4CC,EAAAA,EAAS,MAAKC,EAAAC,EAAAC,EAAA,GAAnDC,EAAcH,EAAA,GAAEI,EAAiBJ,EAAA,GACED,EAAAA,EAASV,GAAUgB,EAAAJ,EAAAK,EAAA,GAAtDC,EAAaF,EAAA,GAAEG,EAAgBH,EAAA,GACYN,EAAAA,GAAS,GAAMU,EAAAR,EAAAS,EAAA,GAA1DC,EAAiBF,EAAA,GAAEG,EAAoBH,EAAA,GACMV,GAAAA,GAAS,GAAMc,GAAAZ,EAAAa,GAAA,GAA5DC,GAAkBF,GAAA,GAAEG,GAAqBH,GAAA,GACId,GAAAA,GAAS,GAAMkB,GAAAhB,EAAAiB,GAAA,GAA5DC,GAAkBF,GAAA,GAAEG,GAAqBH,GAAA,GACtBlB,GAAAA,EAAS,MAAKsB,GAAApB,EAAAqB,GAAA,GAAjCC,GAAKF,GAAA,GAAEG,GAAQH,GAAA,GAEhBI,GAAUC,EAAU,CAAE7B,SAAAA,EAAU8B,UAAWpB,EAAcqB,WAAY9B,gBAAAA,IAE3E+B,GAAU,WACJjC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pBpI,SAAU8H,EAAUM,KACpBnI,OAAQ6H,EAAUM,KAAKF,WACvBhI,gBAAiB4H,EAAUM,KAC3BxI,kBAAmBkI,EAAUG,OAAOC,WACpCrI,kBAAmBiI,EAAUG,OAAOC,WACpC9H,gBAAiB0H,EAAUK,KAAKD,YAGlC1I,EAAU6I,aAAe,CACvBvI,SAAS,EACTC,SAAU,KACVC,SAAU,KACVE,qBAAiBoI,GAGnB,IAAeC,EAAAA,EAAK/I"}
1
+ {"version":3,"file":"Component.js","sources":["../../../../../src/components/Casing/CasingTableV2/components/Component.js"],"sourcesContent":["import { memo, useEffect, useState } from 'react';\nimport classNames from 'classnames';\nimport { omit } from 'lodash';\nimport PropTypes from 'prop-types';\nimport { Grid, Menu, MenuItem } from '@material-ui/core';\n\nimport { Browser as DrillPipeBrowser, Editor as DrillPipeEditor } from './DrillPipe';\nimport { Browser as ComponentBrowser, Editor as ComponentEditor } from './CasingJoints';\nimport EditComponentDialog from './EditComponentDialog';\n\nimport { validateComponent } from '~/utils/casing/validation';\nimport { COMPONENT_FAMILIES } from '~/constants/casing';\nimport { CasingComponentIcon as ComponentIcon } from '~/components';\nimport {\n FormatedNumber,\n ExpandCollapseButton,\n MoreButton,\n StaticField,\n ConfirmationPopup,\n} from '~/components/Drillstring/BHAComponentsTable/components/shared';\nimport { calculateComponent } from '~/components/Drillstring/BHAComponentsTable/components/utils/calculation';\nimport { useStyles } from '~/components/Drillstring/BHAComponentsTable/components/sharedStyles';\n\nfunction getComponentName(family) {\n return COMPONENT_FAMILIES.find(item => item.type === family)?.name || '—';\n}\n\nfunction Component({\n component,\n viewColumnsPerRow,\n editColumnsPerRow,\n isDraft,\n onCancel,\n onDelete,\n onSave,\n onChangeEditing,\n isMobile,\n isDragComponent,\n}) {\n const [actionAnchorEl, setActionAnchorEl] = useState(null);\n const [tempComponent, setTempComponent] = useState(component);\n const [isOpenSaveConfirm, setIsOpenSaveConfirm] = useState(false);\n const [isOpenDeleteDialog, setIsOpenDeleteDialog] = useState(false);\n const [isOpenEditorDialog, setIsOpenEditorDialog] = useState(false);\n const [error, setError] = useState(null);\n\n const classes = useStyles({ isMobile, isEditing: tempComponent.is_editing, isDragComponent });\n\n useEffect(() => {\n if (onChangeEditing) onChangeEditing(tempComponent.is_editing);\n }, [tempComponent.is_editing]);\n\n const handleExpandCollapse = () => {\n setTempComponent(prev => {\n return prev.is_expanded ? { ...prev, is_expanded: false } : { ...prev, is_expanded: true };\n });\n };\n\n const handleOpenActionMenu = e => {\n setActionAnchorEl(e.currentTarget);\n };\n\n const handleCloseActionMenu = () => {\n setActionAnchorEl(null);\n };\n\n const handleEdit = () => {\n setActionAnchorEl(null);\n setTempComponent(prev => ({ ...prev, is_editing: true }));\n };\n\n const handleConfirmDelete = () => {\n setActionAnchorEl(null);\n setIsOpenDeleteDialog(true);\n };\n\n const handleDelete = () => {\n onDelete(component);\n };\n\n const handleCancel = () => {\n setError(null);\n if (isDraft) {\n onCancel();\n return;\n }\n\n setTempComponent(component);\n };\n\n const handleChange = (key, value) => {\n const newComponent = calculateComponent(tempComponent, key, value);\n const result = validateComponent(newComponent);\n setTempComponent(newComponent);\n if (!result.isValid) {\n setError(result.errors);\n } else {\n setError(null);\n }\n };\n\n const handleUseSuggestion = suggestion => {\n setTempComponent(prev => {\n return {\n ...prev,\n ...suggestion,\n };\n });\n };\n\n const handleConfirmSave = () => {\n const result = validateComponent(tempComponent);\n if (!result.isValid) {\n setError(result.errors);\n return;\n }\n\n setError(null);\n setIsOpenSaveConfirm(true);\n };\n\n const handleSave = () => {\n setIsOpenSaveConfirm(false);\n setIsOpenEditorDialog(false);\n\n const { is_editing, ...saving } = tempComponent;\n\n setTempComponent(saving);\n\n onSave(omit(saving, ['is_expanded']), isDraft);\n };\n\n const contentCellName = classNames(classes.cell, classes.ratioWidth, {\n [classes.focusedFontsize]: tempComponent.is_editing || tempComponent.is_expanded,\n });\n\n if (tempComponent.is_editing && !isOpenEditorDialog) {\n const { family } = tempComponent;\n\n const componentProps = {\n component: tempComponent,\n isDraft,\n error,\n onChange: handleChange,\n onCancel: handleCancel,\n onSave: isMobile ? handleSave : handleConfirmSave,\n onUseSuggestion: handleUseSuggestion,\n columns: editColumnsPerRow,\n };\n\n if (isMobile) {\n setIsOpenEditorDialog(true);\n } else {\n return (\n <div className={classes.component}>\n {(family === 'dp' || family === 'hwdp') && <DrillPipeEditor {...componentProps} />}\n {family !== 'dp' && family !== 'hwdp' && <ComponentEditor {...componentProps} />}\n\n {isOpenSaveConfirm && (\n <ConfirmationPopup\n title=\"Save Changes?\"\n text=\"You will not be able to recover it.\"\n okText=\"Save\"\n handleClose={() => setIsOpenSaveConfirm(false)}\n handleOk={handleSave}\n />\n )}\n </div>\n );\n }\n }\n\n return (\n <div\n className={classNames(classes.component, {\n [classes.componentMobile]: isMobile,\n [classes.componentExpandedMobile]: isMobile && tempComponent.is_expanded,\n [classes.componentActive]: Boolean(actionAnchorEl),\n })}\n >\n <div\n className={classNames(classes.row, {\n [classes.rowExpanded]: isMobile && tempComponent.is_expanded,\n })}\n >\n <div className={classNames(classes.cell, { [classes.componentMobileCell]: isMobile })}>\n <ComponentIcon component={tempComponent} />\n </div>\n <div className={contentCellName}>{getComponentName(tempComponent.family)}</div>\n {!isMobile && (\n <>\n <div className={contentCellName}>\n <FormatedNumber\n value={\n tempComponent.family === 'bit' ? tempComponent.size : tempComponent.outer_diameter\n }\n />\n </div>\n <div className={contentCellName}>\n <FormatedNumber value={tempComponent.inner_diameter} />\n </div>\n <div className={contentCellName}>\n <FormatedNumber value={tempComponent.linear_weight} />\n </div>\n <div className={contentCellName}>\n <FormatedNumber value={tempComponent.length} format=\"0.0\" />\n </div>\n </>\n )}\n <div className={classNames(classes.cell, classes.actionCell)}>\n <ExpandCollapseButton\n isExpanded={tempComponent.is_expanded}\n classes={classes}\n handleExpandCollapse={handleExpandCollapse}\n />\n <MoreButton classes={classes} handleOpenActionMenu={handleOpenActionMenu} />\n </div>\n </div>\n\n {tempComponent.is_expanded && (\n <>\n {isMobile && (\n <Grid container spacing={2} style={{ padding: '8px 4px 16px' }}>\n <StaticField\n label={tempComponent.family === 'bit' ? 'Bit Size' : 'OD'}\n unit=\"shortLength\"\n value={\n tempComponent.family === 'bit' ? tempComponent.size : tempComponent.outer_diameter\n }\n />\n {tempComponent.family !== 'bit' && (\n <StaticField label=\"ID\" unit=\"shortLength\" value={component.inner_diameter} />\n )}\n {tempComponent.family !== 'bit' && (\n <StaticField\n label=\"Linear Weight\"\n unit=\"massPerLength\"\n value={component.linear_weight}\n format=\"0.0\"\n />\n )}\n <StaticField label=\"Length\" unit=\"length\" value={component.length} format=\"0.0\" />\n </Grid>\n )}\n\n {(tempComponent.family === 'dp' || tempComponent.family === 'hwdp') && (\n <DrillPipeBrowser component={tempComponent} columns={viewColumnsPerRow} />\n )}\n {tempComponent.family !== 'dp' && tempComponent.family !== 'hwdp' && (\n <ComponentBrowser component={tempComponent} columns={viewColumnsPerRow} />\n )}\n </>\n )}\n\n <Menu\n anchorEl={actionAnchorEl}\n keepMounted\n open={Boolean(actionAnchorEl)}\n getContentAnchorEl={null}\n anchorOrigin={{ vertical: 'bottom', horizontal: 'right' }}\n transformOrigin={{ vertical: 'top', horizontal: 'right' }}\n onClose={handleCloseActionMenu}\n >\n <MenuItem onClick={handleEdit} className={classes.menuItem}>\n Edit\n </MenuItem>\n {tempComponent.family !== 'bit' && (\n <MenuItem onClick={handleConfirmDelete} className={classes.menuItem}>\n Delete\n </MenuItem>\n )}\n </Menu>\n\n {isOpenDeleteDialog && (\n <ConfirmationPopup\n title=\"Delete Component?\"\n text=\"You will not be able to recover it.\"\n okText=\"Delete\"\n handleClose={() => setIsOpenDeleteDialog(false)}\n handleOk={handleDelete}\n />\n )}\n\n {isOpenEditorDialog && (\n <EditComponentDialog\n component={tempComponent}\n isDraft={isDraft}\n error={error}\n onChange={handleChange}\n onCancel={handleCancel}\n onSave={handleConfirmSave}\n onUseSuggestion={handleUseSuggestion}\n onClose={() => {\n handleCancel();\n setIsOpenEditorDialog(false);\n }}\n />\n )}\n\n {isMobile && isOpenSaveConfirm && (\n <ConfirmationPopup\n title=\"Save Changes?\"\n text=\"You will not be able to recover it.\"\n okText=\"Save\"\n handleClose={() => setIsOpenSaveConfirm(false)}\n handleOk={handleSave}\n />\n )}\n </div>\n );\n}\n\nComponent.propTypes = {\n component: PropTypes.shape({\n family: PropTypes.string,\n size: PropTypes.number,\n outer_diameter: PropTypes.number,\n inner_diameter: PropTypes.number,\n linear_weight: PropTypes.number,\n length: PropTypes.number,\n }).isRequired,\n isMobile: PropTypes.bool.isRequired,\n isDraft: PropTypes.bool,\n onCancel: PropTypes.func,\n onDelete: PropTypes.func,\n onSave: PropTypes.func.isRequired,\n onChangeEditing: PropTypes.func,\n viewColumnsPerRow: PropTypes.number.isRequired,\n editColumnsPerRow: PropTypes.number.isRequired,\n isDragComponent: PropTypes.bool.isRequired,\n};\n\nComponent.defaultProps = {\n isDraft: false,\n onCancel: null,\n onDelete: null,\n onChangeEditing: undefined,\n};\n\nexport default memo(Component);\n"],"names":["getComponentName","family","_COMPONENT_FAMILIES$f","COMPONENT_FAMILIES","find","item","type","name","Component","_ref","_classNames2","component","viewColumnsPerRow","editColumnsPerRow","isDraft","onCancel","onDelete","onSave","onChangeEditing","isMobile","isDragComponent","useState","_useState2","_slicedToArray","_useState","actionAnchorEl","setActionAnchorEl","_useState4","_useState3","tempComponent","setTempComponent","_useState6","_useState5","isOpenSaveConfirm","setIsOpenSaveConfirm","_useState8","_useState7","isOpenDeleteDialog","setIsOpenDeleteDialog","_useState10","_useState9","isOpenEditorDialog","setIsOpenEditorDialog","_useState12","_useState11","error","setError","classes","useStyles","isEditing","is_editing","useEffect","handleCancel","handleChange","key","value","newComponent","calculateComponent","result","validateComponent","isValid","errors","handleUseSuggestion","suggestion","prev","handleConfirmSave","handleSave","saving","_excluded","omit","contentCellName","classNames","cell","ratioWidth","focusedFontsize","is_expanded","componentProps","onChange","onUseSuggestion","columns","_jsxs","className","children","_jsx","DrillPipeEditor","ComponentEditor","ConfirmationPopup","title","text","okText","handleClose","handleOk","componentMobile","componentExpandedMobile","componentActive","Boolean","row","rowExpanded","componentMobileCell","ComponentIcon","_Fragment","FormatedNumber","size","outer_diameter","inner_diameter","linear_weight","length","format","actionCell","ExpandCollapseButton","isExpanded","handleExpandCollapse","_objectSpread","MoreButton","handleOpenActionMenu","e","currentTarget","Grid","container","spacing","style","padding","StaticField","label","unit","DrillPipeBrowser","ComponentBrowser","Menu","anchorEl","keepMounted","open","getContentAnchorEl","anchorOrigin","vertical","horizontal","transformOrigin","onClose","MenuItem","onClick","menuItem","EditComponentDialog","propTypes","PropTypes","shape","string","number","isRequired","bool","func","defaultProps","undefined","memo"],"mappings":"qr4BAuBA,SAASA,EAAiBC,GAAQ,IAAAC,EAChC,OAAO,UAAAC,EAAmBC,MAAK,SAAAC,GAAI,OAAIA,EAAKC,OAASL,CAAM,WAApD,IAAAC,OAAA,EAAAA,EAAuDK,OAAQ,GACxE,CAEA,SAASC,EAWNC,GAAA,IAAAC,EAVDC,IAAAA,UACAC,IAAAA,kBACAC,IAAAA,kBACAC,IAAAA,QACAC,IAAAA,SACAC,IAAAA,SACAC,IAAAA,OACAC,IAAAA,gBACAC,IAAAA,SACAC,IAAAA,gBAE4CC,EAAAA,EAAS,MAAKC,EAAAC,EAAAC,EAAA,GAAnDC,EAAcH,EAAA,GAAEI,EAAiBJ,EAAA,GACED,EAAAA,EAASV,GAAUgB,EAAAJ,EAAAK,EAAA,GAAtDC,EAAaF,EAAA,GAAEG,EAAgBH,EAAA,GACYN,EAAAA,GAAS,GAAMU,EAAAR,EAAAS,EAAA,GAA1DC,EAAiBF,EAAA,GAAEG,EAAoBH,EAAA,GACMV,GAAAA,GAAS,GAAMc,GAAAZ,EAAAa,GAAA,GAA5DC,GAAkBF,GAAA,GAAEG,GAAqBH,GAAA,GACId,GAAAA,GAAS,GAAMkB,GAAAhB,EAAAiB,GAAA,GAA5DC,GAAkBF,GAAA,GAAEG,G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B1C,KAAMwC,EAAUG,OAChB1C,eAAgBuC,EAAUG,OAC1BzC,eAAgBsC,EAAUG,OAC1BxC,cAAeqC,EAAUG,OACzBvC,OAAQoC,EAAUG,SACjBC,WACH/H,SAAU2H,EAAUK,KAAKD,WACzBpI,QAASgI,EAAUK,KACnBpI,SAAU+H,EAAUM,KACpBpI,SAAU8H,EAAUM,KACpBnI,OAAQ6H,EAAUM,KAAKF,WACvBhI,gBAAiB4H,EAAUM,KAC3BxI,kBAAmBkI,EAAUG,OAAOC,WACpCrI,kBAAmBiI,EAAUG,OAAOC,WACpC9H,gBAAiB0H,EAAUK,KAAKD,YAGlC1I,EAAU6I,aAAe,CACvBvI,SAAS,EACTC,SAAU,KACVC,SAAU,KACVE,qBAAiBoI,GAGnB,IAAeC,EAAAA,EAAK/I"}
@@ -1,2 +1,2 @@
1
- import{memo as o,useMemo as t}from"react";import{isEmpty as e}from"lodash";import s from"prop-types";import{Grid as n}from"@material-ui/core";import{OD_ID_DEP_COLUMNS as i,CONTAINER_XS as r}from"../constants.js";import{isMobileDetected as p}from"../../../../../utils/mobileDetect.js";import"@babel/runtime/helpers/defineProperty";import{jsxs as m,jsx as c}from"react/jsx-runtime";import"../../../../DevCenter/DevCenterAppContainer/components/IsInsideIsolatedDcAppProvider/IsInsideIsolatedDcAppProvider.js";import"../../../../DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/DcFullscreenElemsCoordinatorProvider.js";import"../../../../DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/IsInsideDcFullscreenElemProvider.js";import"@babel/runtime/helpers/objectWithoutProperties";import"classnames";import"@icon-park/react/es/all";import"../../../../../icons/IconParkProvider.js";import"../../../../../icons/customIcons/icons/AddMessage.js";import"../../../../../icons/customIcons/icons/Attention.js";import"../../../../../icons/customIcons/icons/Collapse.js";import"../../../../../icons/customIcons/icons/Dashboard.js";import"../../../../../icons/customIcons/icons/Expand.js";import"../../../../../icons/customIcons/icons/FolderClosed.js";import"../../../../../icons/customIcons/icons/FolderClosedFilled.js";import"../../../../../icons/customIcons/icons/FolderOpened.js";import"../../../../../icons/customIcons/icons/GreaterOrEqual.js";import"../../../../../icons/customIcons/icons/LessOrEqual.js";import"../../../../../icons/customIcons/icons/Search.js";import"../../../../../icons/customIcons/icons/SearchOne.js";import"../../../../../icons/customIcons/icons/Wellhub.js";import"../../../../../icons/customIcons/icons/MultiRuler.js";import"../../../../../icons/customIcons/icons/Checkbox.js";import"../../../../../icons/customIcons/icons/CheckboxChecked.js";import"../../../../../icons/customIcons/icons/CheckboxIndeterminate.js";import"../../../../../icons/customIcons/icons/Radio.js";import"../../../../../icons/customIcons/icons/RadioChecked.js";import"../../../../../icons/customIcons/icons/SimulFrac.js";import"../../../../../icons/customIcons/icons/ZipperFrac.js";import"../../../../../icons/customIcons/icons/CautionFilled.js";import"../../../../../icons/customIcons/icons/MoreApp.js";import"../../../../../icons/customIcons/icons/Pad.js";import"../../../../../icons/customIcons/icons/DrilloutUnit.js";import"../../../../../icons/customIcons/icons/FracFleet.js";import"../../../../../icons/customIcons/icons/Global.js";import"../../../../../icons/customIcons/icons/Program.js";import"../../../../../icons/customIcons/icons/Rig.js";import"../../../../../icons/customIcons/icons/Well.js";import"../../../../../icons/customIcons/icons/Gap.js";import"../../../../../icons/customIcons/icons/Pin.js";import"../../../../../icons/customIcons/icons/CloseOneFilled.js";import"../../../../../icons/customIcons/icons/AttentionFilled.js";import"../../../../../icons/customIcons/icons/CheckOneFilled.js";import"../../../../../icons/customIcons/icons/Archive.js";import"../../../../../icons/customIcons/icons/ArchiveCancel.js";import"../../../../../icons/customIcons/icons/Unarchive.js";import"../../../../../icons/customIcons/icons/Archived.js";import"../../../../../icons/customIcons/icons/InterventionUnit.js";import"../../../../../icons/customIcons/icons/CloudDelete.js";import"../../../../../icons/customIcons/icons/Lasso.js";import"../../../../../icons/customIcons/icons/Radius.js";import"../../../../IconButton/index.js";import"../../../../../constants/goals.js";import"../../../../../constants/segment.js";import"../../../../../constants/alerts.js";import"../../../../../constants/apps.js";import{OD_ID_DEP_LIST as a,COMPONENT_GRADES as l,COMPONENT_CLASSES as j,COMPONENT_MATERIALS as d}from"../../../../../constants/casing.js";import"../../../../../constants/drillstring.js";import"../../../../../constants/completion.js";import"../../../../../constants/appPackages.js";import"../../../../../constants/notifications.js";import"../../../../../constants/feed.js";import"../../../../../constants/bha.js";import"../../../../../constants/corvaCompanyId.js";import"../../../../GradientManager/configuration/constants.js";import"../../../../Modal/CorvaModal.css.js";import"@babel/runtime/helpers/slicedToArray";import"uuid";import"../../../../IconMenu/index.js";import"../../../../StyledMenuItem/index.js";import"../../../../AppIcon/AppIcon.js";import"../../../../DevCenter/AppHeader/AppHeader.js";import"../../../../DevCenter/AppSideBar/AppSideBar.js";import"../../../../DevCenter/AppsDataProvider/AppsDataProvider.js";import"@material-ui/icons";import"../../../../DevCenter/AppContext.js";import"../../../../DevCenter/DevCenterRouterContext/DevCenterRouterContext.js";import"../../../../DevCenter/DevCenterRouterContext/UniversalLink/UniversalLink.js";import"react-router-dom";import"query-string";import"@babel/runtime/helpers/asyncToGenerator";import"@babel/runtime/regenerator";import"../../../../../utils/index.js";import"../../../../DevCenter/DevCenterAppContainer/components/AppActions/AppActions.css.js";import"../../../../DevCenter/DevCenterAppContainer/components/AppSettingsDialog/AppSettingsDialog.js";import"../../../../DevCenter/DevCenterAppContainer/components/AppSettingsDialog/components/RemoveAppButton.js";import"../../../../DevCenter/DevCenterAppContainer/components/AppSettingsDialog/components/SettingsAccordion.js";import"../../../../DevCenter/DevCenterAppContainer/components/AnnotationsButton/AnnotationsButton.js";import"../../../../../componentsV2/Text/Text.js";import"../../../../../componentsV2/Grid/Grid.js";import"../../../../../componentsV2/Grid/Cell.js";import"../../../../../componentsV2/Header/Header.scss.js";import"../../../../../componentsV2/Button/Button.js";import"../../../../../componentsV2/ButtonIcon/ButtonIcon.js";import"../../../../../componentsV2/Tooltip/Tooltip.scss.js";import"../../../../../componentsV2/Popover/Popover.js";import"../../../../../componentsV2/Radio/Radio.js";import"../../../../../componentsV2/RadioAndCheckboxGroup/RadioAndCheckboxGroup.scss.js";import"../../../../../componentsV2/Checkbox/Checkbox.js";import"@babel/runtime/helpers/toConsumableArray";import"../../../../../componentsV2/TextInput/TextInput.js";import"../../../../../componentsV2/TextInputNext/TextInputNext.js";import"../../../../../componentsV2/Label/Label.js";import"../../../../../componentsV2/TextEndTruncated/TextEndTruncated.scss.js";import"../../../../../componentsV2/TextMiddleTruncated/TextMiddleTruncated.constants.js";import"../../../../../componentsV2/TextMiddleTruncated/TextMiddleTruncated.scss.js";import"../../../../../componentsV2/TextLink/TextLink.js";import"../../../../../componentsV2/Chip/Chip.js";import"../../../../../componentsV2/ChipAlert/ChipAlert.js";import"../../../../../componentsV2/ChipIndicator/ChipIndicator.js";import"../../../../../componentsV2/Avatar/Avatar.js";import"../../../../../componentsV2/AvatarGroup/AvatarGroup.js";import"@material-ui/lab";import"../../../../../componentsV2/ToggleButtons/ToggleButtons.scss.js";import"../../../../../componentsV2/Paper/Paper.js";import"../../../../../componentsV2/ModalWindow/ModalWindow.js";import"../../../../../componentsV2/Modal/Modal.scss.js";import"../../../../../componentsV2/Menu/Menu.js";import"../../../../../componentsV2/utils.js";import"../../../../../componentsV2/Hint/Hint.scss.js";import"../../../../../componentsV2/Counter/Counter.js";import"../../../../../componentsV2/BadgeBase/BadgeBase.scss.js";import"../../../../../componentsV2/TemplatesControl/TemplatesControl.js";import"zustand";import"../../../../../componentsV2/TemplatesControl/utils.js";import"../../../../../componentsV2/TemplatesControl/icons/folder/index.js";import"../../../../../componentsV2/TemplatesControl/Store/utils.js";import"../../../../../componentsV2/TemplatesControl/types.js";import"../../../../../clients/jsonApi/index.js";import"../../../../../permissions/PermissionsContext.js";import"../../../../../permissions/constants/index.js";import"../../../../../permissions/withPermissionsHOC.js";import"../../../../../permissions/ProvidePermissions.js";import"../../../../../componentsV2/BadgeDot/BadgeDot.scss.js";import"../../../../../componentsV2/LoaderLinear/LoaderLinear.scss.js";import"../../../../../componentsV2/LoaderLogo/LoaderLogo.constants.js";import"../../../../../componentsV2/LoaderLogo/LoaderLogo.scss.js";import"../../../../../componentsV2/Switch/Switch.js";import"../../../../../componentsV2/Tabs/Tabs.js";import"../../../../../componentsV2/EmptyState/EmptyState.scss.js";import"../../../../../componentsV2/FileIcon/FileIcon.js";import"../../../../../componentsV2/Tag/Tag.js";import"react-dropzone";import"../../../../../componentsV2/FilesDropzone/FilesDropzone.scss.js";import"../../../../../componentsV2/FilesLoader/FilesLoader.scss.js";import"../../../../../componentsV2/FilesProcessor/FilesProcessor.scss.js";import"../../../../../componentsV2/Skeleton/Skeleton.scss.js";import"../../../../../utils/main.js";import"../../../../../componentsV2/CopyToClipboard/CopyToClipboard.scss.js";import"../../../../../componentsV2/Stepper/Step/Step.scss.js";import"../../../../../componentsV2/Stepper/Stepper.scss.js";import"../../../../../componentsV2/ButtonLive/ButtonLive.js";import"../../../../../componentsV2/ButtonText/ButtonText.js";import"../../../../../componentsV2/IndicatorLive/IndicatorLive.js";import"../../../../../componentsV2/Accordion/Accordion.scss.js";import"../../../../../componentsV2/Breadcrumbs/Breadcrumbs.scss.js";import"../../../../../componentsV2/BadgeComment/BadgeComment.js";import"../../../../../componentsV2/AppContainer/AppContainer.js";import"../../../../../componentsV2/AppContainer/AppContainer.constants.js";import"../../../../../componentsV2/AppFooter/AppFooter.js";import"immutable";import"../../../../../componentsV2/AppCommonsProvider/AppCommonsContext.js";import"../../../../../componentsV2/AppHeader/AppHeader.constants.js";import"../../../../../componentsV2/AppHeader/AppBadge/AppBadge.scss.js";import"../../../../../componentsV2/AppHeader/AppAssets/utils.js";import"../../../../../componentsV2/AppHeader/AppAssets/AppAssets.scss.js";import"../../../../PadModeSelect/PadModeSelect.js";import"../../../../../componentsV2/AppHeader/PadMode/PadMode.scss.js";import"../../../../../constants/streamSourceType.js";import"../../../../../componentsV2/PadModeSelect/PadModeSelect.js";import"../../../../../componentsV2/PadModeSelect/PadModeSelect.constants.js";import"../../../../../componentsV2/AppCommonsProvider/AppCommonsProvider.js";import"../../../../../componentsV2/AppHeader/V3/VersionSelect/VersionSelect.js";import"../../../../../componentsV2/UniversalLink/UniversalLink.scss.js";import"../../../../../componentsV2/AppHeader/V3/AssetChips/AssetChips.scss.js";import"moment";import"../../../../../componentsV2/AppHeader/V3/DqStatusIcon/DqStatusIcon.js";import"../../../../../componentsV2/AppHeader/V3/DqStatusIcon/DqStatusIcon.constants.js";import"../../../../../componentsV2/AppFooter/DqPopover/DqStatusIcon/DqStatusIcon.js";import"../../../../../componentsV2/AppDqPopover/DqAlertTooltip/DqAlertTooltip.scss.js";import"../../../../../componentsV2/AppDqPopover/DqAlert/DqAlert.scss.js";import"../../../../../componentsV2/AppDqPopover/DqAsset/DqAsset.scss.js";import"../../../../../componentsV2/AppDqPopover/AppDqPopover.scss.js";import"../../../../../utils/getSingleAsset.js";import"../../../../../componentsV2/AppHeader/V3/AssetSelector/AssetSelectorChip/AssetSelectorChip.js";import"../../../../../componentsV2/AppHeader/V3/AssetSelector/constants.js";import"../../../../../componentsV2/AppHeader/V3/AssetSelector/AssetSelectorSelect/AssetSelectorSelect.scss.js";import"../../../../../componentsV2/AppHeader/V3/AssetSelector/AssetSelectorSelect/loadAssets.js";import"../../../../../componentsV2/AppHeader/V3/AssetSelector/AssetSelector.scss.js";import"../../../../../clients/subscriptions/constants.js";import"querystring";import"uuid/v1";import"../../../../../clients/subscriptions.v1.js";import"../../../../../clients/subscriptions/subscriptions-client.factory.js";import"jsona";import"../../../../../utils/env.js";import"../../../../StatusBadge/constants.js";import"lodash/set";import"lodash/get";import"lodash/unset";import"../../../../../clients/api/apiCore.js";import"../../../../../clients/constants.js";import"../../../../../clients/sso/auth0.js";import"../../../../../clients/sso/oauth2.js";import"lodash/isEmpty";import"lodash/sortBy";import"../../../../DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchContext.js";import"../../../../../componentsV2/AppSettings/AppSettingsPinningContext.js";import"../../../../../componentsV2/AppHeader/V3/AppTitle/AppTitle.constants.js";import"../../../../../componentsV2/AppHeader/V3/AppTitle/AppTitle.scss.js";import"../../../../../componentsV2/AppHeader/V3/constants.scss.js";import"@babel/runtime/helpers/typeof";import"../../../../../componentsV2/AppHeader/V3/SettingsButton/SettingsButton.js";import"../../../../../componentsV2/AppHeader/V3/SettingsButton/SettingsButton.constants.js";import"../../../../../componentsV2/AppSettings/AppSettings.js";import"../../../../../componentsV2/AppSettings/AppSettings.constants.js";import"../../../../../componentsV2/AppSizeProvider/AppSizeProvider.js";import"../../../../../componentsV2/AppHeader/V3/Actions/Actions.constants.js";import"../../../../../componentsV2/AppHeader/V3/Actions/Actions.scss.js";import"../../../../../componentsV2/AppHeader/V3/AppHeaderV3.scss.js";import"../../../../../componentsV2/AppHeader/AppHeader.scss.js";import"../../../../../componentsV2/OffsetWellsButton/OffsetWellsButton.js";import"../../../../../componentsV2/Autocomplete/Autocomplete.js";import"../../../../../componentsV2/Select/Select.js";import"../../../../../componentsV2/AppSettingsDivider/AppSettingsDivider.scss.js";import"../../../../../componentsV2/WellArchivedMessage/WellArchivedMessage.js";import"../../../../../componentsV2/DatePicker/DatePicker.js";import"../../../../../componentsV2/DragHandle/DragHandle.js";import"../../../../../componentsV2/CompletionsOffsetWellPicker/CompletionsOffsetWellPicker.js";import"../../../../../componentsV2/Slider/constants.js";import"../../../../../componentsV2/Slider/components/SliderThumb.js";import"../../../../../componentsV2/Slider/Slider.scss.js";import"react-color";import"../../../../../componentsV2/ColorPicker/Swatches/Swatches.scss.js";import"../../../../../componentsV2/ColorPicker/OpacityDragtracker/OpacityDragTracker.scss.js";import"../../../../../componentsV2/ColorPicker/ColorPicker.scss.js";import"../../../../DevCenter/DevCenterAppContainer/components/FullscreenButton/FullscreenButton.js";import"../../../../DevCenter/DevCenterAppContainer/components/AppInfoMessage/AppInfoMessage.js";import"../../../../DevCenter/DevCenterAppContainer/components/DevCenterAppView/DevCenterAppView.js";import"../../../../DevCenter/DevCenterAppContainer/components/RestoreAppSizeButton/index.js";import"rollbar";import"@rollbar/react";import"../../../../DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchButton.scss.js";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"../../../../Toaster/Toaster.js";import"../../../../HelpCenter/HelpCenterIcon.js";import"../../../../DevCenter/NavigationBar/NavigationBar.js";import"../../../../DevCenter/SideBar/SideBar.js";import"../../../../DevCenter/AppSettingsPopover/AppSettingsPopover.js";import"../../../../DevCenter/AppFilterPanelLayout/AppFilterPanelLayout.js";import"../../../../DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedAppPage.js";import"../../../../DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedApp.js";import"../../../../AssetEditor/index.js";import"../../../../AssetEditorV2/index.js";import"../../../../AppVersionsSelect/AppVersionsSelect.js";import"../../../../LoadingIndicator/LoadingIndicator.js";import"../../../../Typography.js";import"../../../../RealTimeValuesSidebar/RealTimeSidebar.js";import"../../../../CollapsableSidebar.js";import"../../../../DateTimePicker/index.js";import"../../../../DatePicker/index.js";import"../../../../ErrorBoundary/ErrorBoundary.js";import"../../../../ErrorBoundary/DevCenterAppErrorView/DevCenterAppErrorView.js";import"../../../../SlateFormattedText/SlateFormattedText.js";import"../../../../SlateFormattedText/RenderElements.js";import"slate";import"../../../../EmptyState/EmptyState.js";import"../../../../ParameterCharts/ParameterCharts.js";import"../../../../ParameterCharts/AddEditTrack.js";import"../../../../ChartActionsList/ChartActionsList.js";import"../../../../CopyToClipboard/CopyToClipboard.js";import"../../../../AssetEditor/AssetEditorAutocomplete.js";import"../../../../AssetEditor/SingleAssetEditor.js";import"../../../../SettingEditors/ColorEditor/style.css.js";import"../../../../SettingEditors/DropdownEditor/index.js";import"../../../../SwitchControl/index.js";import"../../../../ColorPicker/ColorPicker.js";import"../../../../Chart/components/ChartButton.js";import"../../../../Chart/components/ChartButtons.js";import"../../../../Chart/components/ChartWrapper.js";import"../../../../Chart/components/AxisDropdown.js";import"../../../../Chart/components/ChartSelect.js";import"../../../../Chart/components/buttons/DragToZoomButton.js";import"../../../../Chart/components/buttons/ZoomInButton.js";import"../../../../Chart/components/buttons/ZoomOutButton.js";import"../../../../Chart/components/buttons/PanButton.js";import"../../../../Chart/components/buttons/ResetZoomButton.js";import"../../../../Chart/components/buttons/HideAxesButton.js";import"../../../../Chart/components/buttons/ChartTypeButton.js";import"../../../../ColorPicker/PaletteChromePicker/PaletteChromePicker.js";import"../../../../TruncatedText/index.js";import"../../../../MiddleTruncatedText/MiddleTruncatedText.js";import"../../../../RangeSlider/constants.js";import"../../../../RangeSlider/Input.css.js";import"../../../../RangeSlider/RangeSlider.css.js";import"../../../../AdvancedSlider/AdvancedSlider.js";import"../../../../Breadcrumbs/index.js";import"../../../../VirtualizedTable/index.js";import"../../../../EmptyView/EmptyView.js";import"../../../../EmptyView/EmptyAppView/EmptyAppView.js";import"../../../../Button/components/Button/index.js";import"moment-timezone";import"../../../../Button/components/LiveButton/components/LiveButtonStateIndicator/index.js";import"../../../../Button/components/LiveButton/styles.js";import"../../../../ContextMenuItem/index.js";import"../../../../FolderMenuItem/index.js";import"../../../../EditableItem/EditableItem/index.js";import"../../../../EditableItem/EditableItemWithBadge/index.js";import"../../../../Checkbox/index.js";import"../../../../FolderMenuItemWithLinks/index.js";import"../../../../TextField/index.js";import"../../../../Chip/index.js";import"../../../../Counter/index.js";import"../../../../AnchorsList/AnchorsList.js";import"../../../../Select/index.js";import"../../../../Select/SelectFilterBy.js";import"../../../../CustomSelect/index.js";import"../../../../Tabs/Tabs.js";import"../../../../Tabs/Tab.js";import"../../../../ResizableTable/ResizableTable.js";import"../../../../GradientPicker/GradientPicker.js";import"@babel/runtime/helpers/classCallCheck";import"@babel/runtime/helpers/createClass";import"@material-ui/icons/AddCircle";import"../../../../GradientManager/GradientPreview/GradientPreview.js";import"../../../../GradientManager/GradientSelect.styles.js";import"../../../../GradientManager/GradientManager.styles.js";import"../../../../Drillstring/BHASchematic.js";import"../../../../Drillstring/BHATable/index.js";import"../../../../Drillstring/BHAComponentIcon.js";import"../../../../Drillstring/BHAComponentDetail/index.js";import"../../../../Drillstring/BHATileIcon.js";import"../../../../Drillstring/BHATile/BHATile.js";import"../../../../Drillstring/BHAList/BHAList.js";import"../../../../Drillstring/BHAComponentsTable/BHAComponentsTable.js";import"../../../CasingTable/index.js";import u from"../../../CasingComponentIcon.js";import"../../../CasingTileIcon.js";import"../../CasingTableV2.js";import"../../../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"../../../../OffsetWellPickerV5/components/OffsetWellPickerV5WithStore/OffsetWellPickerV5WithStore.js";import"../../../../OffsetWellMap/OffsetWellMap.js";import"@material-ui/core/Snackbar";import"../../../../Notifications/Toast.js";import"../../../../Notifications/Notifications.scss.js";import"../../../../ConfirmationDialog.js";import"../../../../TextLink/index.js";import"../../../../Avatar/index.js";import"../../../../Template/TemplatePopover/index.js";import"../../../../Template/TemplateSharingDialog/index.js";import"../../../../MenuItem/index.js";import"../../../../MiddleTruncate/MiddleTruncate.js";import"../../../../PinnableFilters/PinnableFilters.js";import"../../../../HeaderLayout/HeaderLayout.js";import"../../../../PadOffsetsPicker/PadOffsetsPicker.js";import"../../../../PadOffsetsPicker/OffsetAssetChip.js";import"../../../../PadOffsetsPicker/OffsetAssetsListExpander.js";import"../../../../PadOffsetsPicker/StagesSelector.js";import"../../../../PadOffsetsPickerV2/PadOffsetsPickerV2.js";import"../../../../Table/TableToolbar/TableToolbar.js";import"../../../../Table/TableContainer/TableContainer.js";import"../../../../Table/TableCell/TableCell.js";import"../../../../Table/TablePagination/TablePagination.js";import"../../../../Table/TablePaginationActions/TablePaginationActions.js";import"../../../../Tooltip/ScrollableTooltip.js";import"../../../../PriceInput/PriceInput.js";import"../../../../LabelsCounter/LabelsCounter.js";import"../../../../Stepper/Stepper.js";import"../../../../Stepper/Step/Step.js";import"../../../../Stepper/StepsWrapper.js";import"../../../../Comment/CommentIcon/index.js";import"../../../../FilesLoader/FilesLoader.js";import"../../../../../componentsV2/FileIcon/icons/ArchiveFileIcon.js";import"../../../../../componentsV2/FileIcon/icons/CSVFileIcon.js";import"../../../../../componentsV2/FileIcon/icons/DocFileIcon.js";import"../../../../../componentsV2/FileIcon/icons/EDMFileIcon.js";import"../../../../../componentsV2/FileIcon/icons/ExcelFileIcon.js";import"../../../../../componentsV2/FileIcon/icons/ImageFileIcon.js";import"../../../../../componentsV2/FileIcon/icons/JsonFileIcon.js";import"../../../../../componentsV2/FileIcon/icons/LasFileIcon.js";import"../../../../../componentsV2/FileIcon/icons/OtherFileIcon.js";import"../../../../../componentsV2/FileIcon/icons/PdfFileIcon.js";import"../../../../../componentsV2/FileIcon/icons/PowerPointFileIcon.js";import"../../../../../componentsV2/FileIcon/icons/TxtFileIcon.js";import"../../../../../componentsV2/FileIcon/icons/UnknownFileIcon.js";import"../../../../../componentsV2/FileIcon/icons/VideoFileIcon.js";import"../../../../../componentsV2/FileIcon/icons/XmlFileIcon.js";import"../../../../SearchInput/index.js";import"../../../../FeedItem/FeedItem.js";import"../../../../FeedItem/FeedItemEditProvider/FeedItemEditProvider.js";import"../../../../PostInput/PostInput.js";import"../../../../KeyboardDateTimePicker.js";import"../../../../AddComment/Popover.js";import"../../../../AddComment/Popup.js";import"../../../../StageDesignVActual/ComparisonBar/ComparisonBar.js";import"../../../../StageDesignVActual/ElementsComparison/ElementsComparison.js";import"../../../../StageDesignVActual/ComparisonHeader.js";import"../../../../StageDesignVActual/ComparisonRow.js";import"../../../../EmbeddedApp/DevCenterEmbeddedApp.js";import"../../../../EmbeddedApp/EmbeddedApp.js";import"../../../../Autocomplete/Autocomplete.js";import"../../../../DocumentViewer/DocumentViewer.js";import"../../../../ColorPickerPalette/ColorPickerPalette.js";import"../../../../Search/Search.js";import"../../../../Search/components/Listbox.js";import"../../../../Search/components/Paper.js";import"../../../../Search/components/RecentSearches.js";import"../../../../Search/components/Groups.js";import"../../../../Search/components/SelectAllListItem.js";import"../../../../StatusBadge/index.js";import"../../../../Attachment/index.js";import"../../../../EmojiIconButton.js";import"../../../../FileUploadIconButton.js";import"../../../../FilePreview/index.js";import"../../../../FailedFileUploading.js";import"../../../../UserMention/index.js";import"../../../../CommentsInfo/index.js";import"../../../../CommentInput/index.js";import"../../../../Comment/index.js";import"../../../../CommentLoader.js";import"../../../../AssetNameLabel/AssetStatusBadge.js";import"../../../../AssetEditorV2/components/PrimaryAssetSelect.js";import"../../../../AssetEditorV2/components/SecondaryAssetSelect.js";import"../../../../AssetEditorV2/components/SelectItem.js";import"../../../../AssetEditorV2/components/MultipleAssetsToggle.js";import"../../../../AssetEditorV2/components/PrimaryAssetSelectV2.js";import"../../../../EChartsWrapper/EChartsWrapper.js";import"../../../../AssetsMultipleSelector/AssetsMultipleSelector.js";import"@material-ui/icons/Close";import"@material-ui/icons/GetApp";import"../../../../GoogleDocsViewer/index.js";import"../../../../NewDocumentViewer/effects/useFileContent.js";import"../../../../NewDocumentViewer/styles.js";import"../../../../FilesLoaderV2/styles.js";import"../../../../FilesDropzone/styles.js";import"../../../../FilesProcessor/styles.js";import"../../../../Hint/styles.js";import"@babel/runtime/helpers/taggedTemplateLiteral";import"fparser";import"../../../../Formula/useFormulaStyles.js";import"../../../../Formula/RootXIcon.js";import"../../../../Formula/FormulaTextEditor.js";import"../../../../Formula/CloseSuggestion.js";import"../../../../Formula/SuggestionsMenu.js";import{CancelButton as C}from"../../../../Drillstring/BHAComponentsTable/components/shared/CancelButton.js";import"../../../../Drillstring/BHAComponentsTable/components/shared/ExpandCollapseButton.js";import"../../../../Drillstring/BHAComponentsTable/components/shared/FormatedNumber.js";import{InputText as A}from"../../../../Drillstring/BHAComponentsTable/components/shared/InputText.js";import"../../../../Drillstring/BHAComponentsTable/components/shared/MoreButton.js";import{SaveButton as g}from"../../../../Drillstring/BHAComponentsTable/components/shared/SaveButton.js";import{SelectField as V}from"../../../../Drillstring/BHAComponentsTable/components/shared/SelectField.js";import"../../../../Drillstring/BHAComponentsTable/components/shared/StaticField.js";import{SharedEditorElements as S}from"../../../../Drillstring/BHAComponentsTable/components/shared/SharedEditorElements.js";import"../../../../Drillstring/BHAComponentsTable/components/shared/ConfirmationPopup.js";import h from"../../../../Drillstring/BHAComponentsTable/components/Suggestions/Suggestions.js";import{useStyles as I}from"../../../../Drillstring/BHAComponentsTable/components/sharedStyles.js";function b(o){var s=o.component,b=o.error,D=o.onChange,v=o.onCancel,T=o.onSave,P=o.onUseSuggestion,x=o.columns,F=I({isMobile:p}),f=p?r/2:r/x,B=function(o){return b&&b[o]},y=t((function(){var o=a;return s.outer_diameter?o.filter((function(o){return o.outer_diameter===parseFloat(s.outer_diameter)})):[]}),[s.outer_diameter]);return m(n,{container:!0,spacing:0,className:F.editorContainer,children:[!p&&c(n,{item:!0,className:F.editorComponentSize,children:c(u,{component:s})}),c(n,{item:!0,className:F.eidtorContentContainer,children:m(n,{container:!0,spacing:2,children:[c(S,{component:s,getError:B,onChange:D,isCasing:!0}),y.length>0&&c(h,{data:y,allData:a,columns:i,displayKeys:["outer_diameter","inner_diameter"],descriptionKeys:["outer_diameter","inner_diameter","linear_weight","number_of_joints","component_length"],onSelect:P,isCasing:!0}),c(A,{type:"name",label:"Name",value:s.name,error:B("name"),xs:f,onChangeField:D}),c(A,{type:"number_of_joints",label:"# of Joints",value:s.number_of_joints,error:B("number_of_joints"),xs:f,onChangeField:D}),c(A,{type:"component_length",label:"Component Length",unit:"length",value:s.component_length,error:B("component_length"),xs:f,onChangeField:D}),c(A,{type:"weight",label:"T.Weight",unit:"mass",value:s.weight,error:B("weight"),disabled:!0,xs:f,onChangeField:D}),c(V,{type:"grade",options:l,label:"Grade",value:s.grade,error:B("grade"),xs:f,onChangeField:D}),c(A,{type:"outer_diameter_tooljoint",label:"TJ OD",unit:"shortLength",value:s.outer_diameter_tooljoint,error:B("outer_diameter_tooljoint"),xs:f,onChangeField:D}),c(A,{type:"inner_diameter_tooljoint",label:"TJ ID",unit:"shortLength",value:s.inner_diameter_tooljoint,error:B("inner_diameter_tooljoint"),xs:f,onChangeField:D}),c(A,{type:"length_tooljoint",label:"TJ Length Per Joint",unit:"length",value:s.length_tooljoint,error:B("length_tooljoint"),xs:f,onChangeField:D}),c(A,{type:"connection_type",label:"Connection Type",value:s.connection_type,error:B("connection_type"),xs:f,onChangeField:D}),c(V,{type:"class",options:j,label:"Class",value:s.class,error:B("class"),xs:f,onChangeField:D}),c(V,{type:"material",options:d,label:"Material",value:s.material,error:B("material"),xs:f,onChangeField:D})]})}),!p&&m(n,{item:!0,className:F.eidtorActionGroup,children:[c(C,{handleCancel:v}),c(g,{handleSave:T,disabled:!e(b)})]})]})}b.propTypes={component:s.shape({outer_diameter:s.number,component_length:s.number,name:s.string,number_of_joints:s.number,weight:s.number,connection_type:s.string,grade:s.string,class:s.string,material:s.string,outer_diameter_tooljoint:s.number,inner_diameter_tooljoint:s.number,length_tooljoint:s.number}).isRequired,error:s.shape({}),onChange:s.func.isRequired,onCancel:s.func.isRequired,onSave:s.func.isRequired,onUseSuggestion:s.func.isRequired,columns:s.number.isRequired},b.defaultProps={error:null};var D=o(b);export{D as default};
1
+ import{memo as o,useMemo as t}from"react";import{isEmpty as e}from"lodash";import s from"prop-types";import{Grid as n}from"@material-ui/core";import{OD_ID_DEP_COLUMNS as i,CONTAINER_XS as r}from"../constants.js";import{isMobileDetected as p}from"../../../../../utils/mobileDetect.js";import"@babel/runtime/helpers/defineProperty";import{jsxs as m,jsx as c}from"react/jsx-runtime";import"../../../../DevCenter/DevCenterAppContainer/components/IsInsideIsolatedDcAppProvider/IsInsideIsolatedDcAppProvider.js";import"../../../../DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/DcFullscreenElemsCoordinatorProvider.js";import"../../../../DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/IsInsideDcFullscreenElemProvider.js";import"@babel/runtime/helpers/objectWithoutProperties";import"classnames";import"@icon-park/react/es/all";import"../../../../../icons/IconParkProvider.js";import"../../../../../icons/customIcons/icons/AddMessage.js";import"../../../../../icons/customIcons/icons/Attention.js";import"../../../../../icons/customIcons/icons/Collapse.js";import"../../../../../icons/customIcons/icons/Dashboard.js";import"../../../../../icons/customIcons/icons/Expand.js";import"../../../../../icons/customIcons/icons/FolderClosed.js";import"../../../../../icons/customIcons/icons/FolderClosedFilled.js";import"../../../../../icons/customIcons/icons/FolderOpened.js";import"../../../../../icons/customIcons/icons/GreaterOrEqual.js";import"../../../../../icons/customIcons/icons/LessOrEqual.js";import"../../../../../icons/customIcons/icons/Search.js";import"../../../../../icons/customIcons/icons/SearchOne.js";import"../../../../../icons/customIcons/icons/Wellhub.js";import"../../../../../icons/customIcons/icons/MultiRuler.js";import"../../../../../icons/customIcons/icons/Checkbox.js";import"../../../../../icons/customIcons/icons/CheckboxChecked.js";import"../../../../../icons/customIcons/icons/CheckboxIndeterminate.js";import"../../../../../icons/customIcons/icons/Radio.js";import"../../../../../icons/customIcons/icons/RadioChecked.js";import"../../../../../icons/customIcons/icons/SimulFrac.js";import"../../../../../icons/customIcons/icons/ZipperFrac.js";import"../../../../../icons/customIcons/icons/CautionFilled.js";import"../../../../../icons/customIcons/icons/MoreApp.js";import"../../../../../icons/customIcons/icons/Pad.js";import"../../../../../icons/customIcons/icons/DrilloutUnit.js";import"../../../../../icons/customIcons/icons/FracFleet.js";import"../../../../../icons/customIcons/icons/Global.js";import"../../../../../icons/customIcons/icons/Program.js";import"../../../../../icons/customIcons/icons/Rig.js";import"../../../../../icons/customIcons/icons/Well.js";import"../../../../../icons/customIcons/icons/Gap.js";import"../../../../../icons/customIcons/icons/Pin.js";import"../../../../../icons/customIcons/icons/CloseOneFilled.js";import"../../../../../icons/customIcons/icons/AttentionFilled.js";import"../../../../../icons/customIcons/icons/CheckOneFilled.js";import"../../../../../icons/customIcons/icons/Archive.js";import"../../../../../icons/customIcons/icons/ArchiveCancel.js";import"../../../../../icons/customIcons/icons/Unarchive.js";import"../../../../../icons/customIcons/icons/Archived.js";import"../../../../../icons/customIcons/icons/InterventionUnit.js";import"../../../../../icons/customIcons/icons/CloudDelete.js";import"../../../../../icons/customIcons/icons/Lasso.js";import"../../../../../icons/customIcons/icons/Radius.js";import"../../../../../icons/customIcons/icons/ErrorOps.js";import"../../../../../icons/customIcons/icons/DataTypeOps.js";import"../../../../../icons/customIcons/icons/FalsePositiveOps.js";import"../../../../../icons/customIcons/icons/CalibrationOps.js";import"../../../../../icons/customIcons/icons/CriticalOps.js";import"../../../../../icons/customIcons/icons/Company.js";import"../../../../../icons/customIcons/icons/ArchiveOne.js";import"../../../../../icons/customIcons/icons/ParseBotFusion.js";import"../../../../../icons/customIcons/icons/Connect.js";import"../../../../../icons/customIcons/icons/PuzzleOne.js";import"../../../../../icons/customIcons/icons/Feed.js";import"../../../../../icons/customIcons/icons/Prompt.js";import"../../../../../icons/customIcons/icons/Companies.js";import"../../../../../icons/customIcons/icons/ClipboardAi.js";import"../../../../../icons/customIcons/icons/Key.js";import"../../../../../icons/customIcons/icons/AtSignCrossed.js";import"../../../../../icons/customIcons/icons/MappingManual.js";import"../../../../../icons/customIcons/icons/Mapping.js";import"../../../../../icons/customIcons/icons/Metrics.js";import"../../../../../icons/customIcons/icons/Drops.js";import"../../../../../icons/customIcons/icons/ClipboardSearch.js";import"../../../../../icons/customIcons/icons/Template.js";import"../../../../../icons/customIcons/icons/ClipboardMetrics.js";import"../../../../../icons/customIcons/icons/ClipboardBuilder.js";import"../../../../../icons/customIcons/icons/UnitConversion.js";import"../../../../../icons/customIcons/icons/NPT.js";import"../../../../IconButton/index.js";import"../../../../../constants/goals.js";import"../../../../../constants/segment.js";import"../../../../../constants/alerts.js";import"../../../../../constants/apps.js";import{OD_ID_DEP_LIST as a,COMPONENT_GRADES as l,COMPONENT_CLASSES as j,COMPONENT_MATERIALS as d}from"../../../../../constants/casing.js";import"../../../../../constants/drillstring.js";import"../../../../../constants/completion.js";import"../../../../../constants/appPackages.js";import"../../../../../constants/notifications.js";import"../../../../../constants/feed.js";import"../../../../../constants/bha.js";import"../../../../../constants/corvaCompanyId.js";import"../../../../GradientManager/configuration/constants.js";import"../../../../Modal/CorvaModal.css.js";import"@babel/runtime/helpers/slicedToArray";import"uuid";import"../../../../IconMenu/index.js";import"../../../../StyledMenuItem/index.js";import"../../../../AppIcon/AppIcon.js";import"../../../../DevCenter/AppHeader/AppHeader.js";import"../../../../DevCenter/AppSideBar/AppSideBar.js";import"../../../../DevCenter/AppsDataProvider/AppsDataProvider.js";import"@material-ui/icons";import"../../../../DevCenter/AppContext.js";import"../../../../DevCenter/DevCenterRouterContext/DevCenterRouterContext.js";import"../../../../DevCenter/DevCenterRouterContext/UniversalLink/UniversalLink.js";import"react-router-dom";import"query-string";import"@babel/runtime/helpers/asyncToGenerator";import"@babel/runtime/regenerator";import"../../../../../utils/index.js";import"../../../../DevCenter/DevCenterAppContainer/components/AppActions/AppActions.css.js";import"../../../../DevCenter/DevCenterAppContainer/components/AppSettingsDialog/AppSettingsDialog.js";import"../../../../DevCenter/DevCenterAppContainer/components/AppSettingsDialog/components/RemoveAppButton.js";import"../../../../DevCenter/DevCenterAppContainer/components/AppSettingsDialog/components/SettingsAccordion.js";import"../../../../DevCenter/DevCenterAppContainer/components/AnnotationsButton/AnnotationsButton.js";import"../../../../../componentsV2/Text/Text.js";import"../../../../../componentsV2/Grid/Grid.js";import"../../../../../componentsV2/Grid/Cell.js";import"../../../../../componentsV2/Header/Header.scss.js";import"../../../../../componentsV2/Button/Button.js";import"../../../../../componentsV2/ButtonIcon/ButtonIcon.js";import"../../../../../componentsV2/Tooltip/Tooltip.scss.js";import"../../../../../componentsV2/Popover/Popover.js";import"../../../../../componentsV2/Radio/Radio.js";import"../../../../../componentsV2/RadioAndCheckboxGroup/RadioAndCheckboxGroup.scss.js";import"../../../../../componentsV2/Checkbox/Checkbox.js";import"@babel/runtime/helpers/toConsumableArray";import"../../../../../componentsV2/TextInput/TextInput.js";import"../../../../../componentsV2/TextInputNext/TextInputNext.js";import"../../../../../componentsV2/Label/Label.js";import"../../../../../componentsV2/TextEndTruncated/TextEndTruncated.scss.js";import"../../../../../componentsV2/TextMiddleTruncated/TextMiddleTruncated.constants.js";import"../../../../../componentsV2/TextMiddleTruncated/TextMiddleTruncated.scss.js";import"../../../../../componentsV2/TextLink/TextLink.js";import"../../../../../componentsV2/Chip/Chip.js";import"../../../../../componentsV2/ChipAlert/ChipAlert.js";import"../../../../../componentsV2/ChipIndicator/ChipIndicator.js";import"../../../../../componentsV2/Avatar/Avatar.js";import"../../../../../componentsV2/AvatarGroup/AvatarGroup.js";import"@material-ui/lab";import"../../../../../componentsV2/ToggleButtons/ToggleButtons.scss.js";import"../../../../../componentsV2/Paper/Paper.js";import"../../../../../componentsV2/ModalWindow/ModalWindow.js";import"../../../../../componentsV2/Modal/Modal.scss.js";import"../../../../../componentsV2/Menu/Menu.js";import"../../../../../componentsV2/utils.js";import"../../../../../componentsV2/Hint/Hint.scss.js";import"../../../../../componentsV2/Counter/Counter.js";import"../../../../../componentsV2/BadgeBase/BadgeBase.scss.js";import"../../../../../componentsV2/TemplatesControl/TemplatesControl.js";import"zustand";import"../../../../../componentsV2/TemplatesControl/utils.js";import"../../../../../componentsV2/TemplatesControl/icons/folder/index.js";import"../../../../../componentsV2/TemplatesControl/Store/utils.js";import"../../../../../componentsV2/TemplatesControl/types.js";import"../../../../../clients/jsonApi/index.js";import"../../../../../permissions/PermissionsContext.js";import"../../../../../permissions/constants/index.js";import"../../../../../permissions/withPermissionsHOC.js";import"../../../../../permissions/ProvidePermissions.js";import"../../../../../componentsV2/BadgeDot/BadgeDot.scss.js";import"../../../../../componentsV2/LoaderLinear/LoaderLinear.scss.js";import"../../../../../componentsV2/LoaderLogo/LoaderLogo.constants.js";import"../../../../../componentsV2/LoaderLogo/LoaderLogo.scss.js";import"../../../../../componentsV2/Switch/Switch.js";import"../../../../../componentsV2/Tabs/Tabs.js";import"../../../../../componentsV2/EmptyState/EmptyState.scss.js";import"../../../../../componentsV2/FileIcon/FileIcon.js";import"../../../../../componentsV2/Tag/Tag.js";import"react-dropzone";import"../../../../../componentsV2/FilesDropzone/FilesDropzone.scss.js";import"../../../../../componentsV2/FilesLoader/FilesLoader.scss.js";import"../../../../../componentsV2/FilesProcessor/FilesProcessor.scss.js";import"../../../../../componentsV2/Skeleton/Skeleton.scss.js";import"../../../../../utils/main.js";import"../../../../../componentsV2/CopyToClipboard/CopyToClipboard.scss.js";import"../../../../../componentsV2/Stepper/Step/Step.scss.js";import"../../../../../componentsV2/Stepper/Stepper.scss.js";import"../../../../../componentsV2/ButtonLive/ButtonLive.js";import"../../../../../componentsV2/ButtonText/ButtonText.js";import"../../../../../componentsV2/IndicatorLive/IndicatorLive.js";import"../../../../../componentsV2/Accordion/Accordion.scss.js";import"../../../../../componentsV2/Breadcrumbs/Breadcrumbs.scss.js";import"../../../../../componentsV2/BadgeComment/BadgeComment.js";import"../../../../../componentsV2/AppContainer/AppContainer.js";import"../../../../../componentsV2/AppContainer/AppContainer.constants.js";import"../../../../../componentsV2/AppFooter/AppFooter.js";import"immutable";import"../../../../../componentsV2/AppCommonsProvider/AppCommonsContext.js";import"../../../../../componentsV2/AppHeader/AppHeader.constants.js";import"../../../../../componentsV2/AppHeader/AppBadge/AppBadge.scss.js";import"../../../../../componentsV2/AppHeader/AppAssets/utils.js";import"../../../../../componentsV2/AppHeader/AppAssets/AppAssets.scss.js";import"../../../../PadModeSelect/PadModeSelect.js";import"../../../../../componentsV2/AppHeader/PadMode/PadMode.scss.js";import"../../../../../constants/streamSourceType.js";import"../../../../../componentsV2/PadModeSelect/PadModeSelect.js";import"../../../../../componentsV2/PadModeSelect/PadModeSelect.constants.js";import"../../../../../componentsV2/AppCommonsProvider/AppCommonsProvider.js";import"../../../../../componentsV2/AppHeader/V3/VersionSelect/VersionSelect.js";import"../../../../../componentsV2/UniversalLink/UniversalLink.scss.js";import"../../../../../componentsV2/AppHeader/V3/AssetChips/AssetChips.scss.js";import"moment";import"../../../../../componentsV2/AppHeader/V3/DqStatusIcon/DqStatusIcon.js";import"../../../../../componentsV2/AppHeader/V3/DqStatusIcon/DqStatusIcon.constants.js";import"../../../../../componentsV2/AppFooter/DqPopover/DqStatusIcon/DqStatusIcon.js";import"../../../../../componentsV2/AppDqPopover/DqAlertTooltip/DqAlertTooltip.scss.js";import"../../../../../componentsV2/AppDqPopover/DqAlert/DqAlert.scss.js";import"../../../../../componentsV2/AppDqPopover/DqAsset/DqAsset.scss.js";import"../../../../../componentsV2/AppDqPopover/AppDqPopover.scss.js";import"../../../../../utils/getSingleAsset.js";import"../../../../../componentsV2/AppHeader/V3/AssetSelector/AssetSelectorChip/AssetSelectorChip.js";import"../../../../../componentsV2/AppHeader/V3/AssetSelector/constants.js";import"../../../../../componentsV2/AppHeader/V3/AssetSelector/AssetSelectorSelect/AssetSelectorSelect.scss.js";import"../../../../../componentsV2/AppHeader/V3/AssetSelector/AssetSelectorSelect/loadAssets.js";import"../../../../../componentsV2/AppHeader/V3/AssetSelector/AssetSelector.scss.js";import"../../../../../clients/subscriptions/constants.js";import"querystring";import"uuid/v1";import"../../../../../clients/subscriptions.v1.js";import"../../../../../clients/subscriptions/subscriptions-client.factory.js";import"jsona";import"../../../../../utils/env.js";import"../../../../StatusBadge/constants.js";import"lodash/set";import"lodash/get";import"lodash/unset";import"../../../../../clients/api/apiCore.js";import"../../../../../clients/constants.js";import"../../../../../clients/sso/auth0.js";import"../../../../../clients/sso/oauth2.js";import"lodash/isEmpty";import"lodash/sortBy";import"../../../../DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchContext.js";import"../../../../../componentsV2/AppSettings/AppSettingsPinningContext.js";import"../../../../../componentsV2/AppHeader/V3/AppTitle/AppTitle.constants.js";import"../../../../../componentsV2/AppHeader/V3/AppTitle/AppTitle.scss.js";import"../../../../../componentsV2/AppHeader/V3/constants.scss.js";import"@babel/runtime/helpers/typeof";import"../../../../../componentsV2/AppHeader/V3/SettingsButton/SettingsButton.js";import"../../../../../componentsV2/AppHeader/V3/SettingsButton/SettingsButton.constants.js";import"../../../../../componentsV2/AppSettings/AppSettings.js";import"../../../../../componentsV2/AppSettings/AppSettings.constants.js";import"../../../../../componentsV2/AppSizeProvider/AppSizeProvider.js";import"../../../../../componentsV2/AppHeader/V3/Actions/Actions.constants.js";import"../../../../../componentsV2/AppHeader/V3/Actions/Actions.scss.js";import"../../../../../componentsV2/AppHeader/V3/AppHeaderV3.scss.js";import"../../../../../componentsV2/AppHeader/AppHeader.scss.js";import"../../../../../componentsV2/OffsetWellsButton/OffsetWellsButton.js";import"../../../../../componentsV2/Autocomplete/Autocomplete.js";import"../../../../../componentsV2/Select/Select.js";import"../../../../../componentsV2/AppSettingsDivider/AppSettingsDivider.scss.js";import"../../../../../componentsV2/WellArchivedMessage/WellArchivedMessage.js";import"../../../../../componentsV2/DatePicker/DatePicker.js";import"../../../../../componentsV2/DragHandle/DragHandle.js";import"../../../../../componentsV2/CompletionsOffsetWellPicker/CompletionsOffsetWellPicker.js";import"../../../../../componentsV2/Slider/constants.js";import"../../../../../componentsV2/Slider/components/SliderThumb.js";import"../../../../../componentsV2/Slider/Slider.scss.js";import"react-color";import"../../../../../componentsV2/ColorPicker/Swatches/Swatches.scss.js";import"../../../../../componentsV2/ColorPicker/OpacityDragtracker/OpacityDragTracker.scss.js";import"../../../../../componentsV2/ColorPicker/ColorPicker.scss.js";import"../../../../DevCenter/DevCenterAppContainer/components/FullscreenButton/FullscreenButton.js";import"../../../../DevCenter/DevCenterAppContainer/components/AppInfoMessage/AppInfoMessage.js";import"../../../../DevCenter/DevCenterAppContainer/components/DevCenterAppView/DevCenterAppView.js";import"../../../../DevCenter/DevCenterAppContainer/components/RestoreAppSizeButton/index.js";import"rollbar";import"@rollbar/react";import"../../../../DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchButton.scss.js";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"../../../../Toaster/Toaster.js";import"../../../../HelpCenter/HelpCenterIcon.js";import"../../../../DevCenter/NavigationBar/NavigationBar.js";import"../../../../DevCenter/SideBar/SideBar.js";import"../../../../DevCenter/AppSettingsPopover/AppSettingsPopover.js";import"../../../../DevCenter/AppFilterPanelLayout/AppFilterPanelLayout.js";import"../../../../DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedAppPage.js";import"../../../../DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedApp.js";import"../../../../AssetEditor/index.js";import"../../../../AssetEditorV2/index.js";import"../../../../AppVersionsSelect/AppVersionsSelect.js";import"../../../../LoadingIndicator/LoadingIndicator.js";import"../../../../Typography.js";import"../../../../RealTimeValuesSidebar/RealTimeSidebar.js";import"../../../../CollapsableSidebar.js";import"../../../../DateTimePicker/index.js";import"../../../../DatePicker/index.js";import"../../../../ErrorBoundary/ErrorBoundary.js";import"../../../../ErrorBoundary/DevCenterAppErrorView/DevCenterAppErrorView.js";import"../../../../SlateFormattedText/SlateFormattedText.js";import"../../../../SlateFormattedText/RenderElements.js";import"slate";import"../../../../EmptyState/EmptyState.js";import"../../../../ParameterCharts/ParameterCharts.js";import"../../../../ParameterCharts/AddEditTrack.js";import"../../../../ChartActionsList/ChartActionsList.js";import"../../../../CopyToClipboard/CopyToClipboard.js";import"../../../../AssetEditor/AssetEditorAutocomplete.js";import"../../../../AssetEditor/SingleAssetEditor.js";import"../../../../SettingEditors/ColorEditor/style.css.js";import"../../../../SettingEditors/DropdownEditor/index.js";import"../../../../SwitchControl/index.js";import"../../../../ColorPicker/ColorPicker.js";import"../../../../Chart/components/ChartButton.js";import"../../../../Chart/components/ChartButtons.js";import"../../../../Chart/components/ChartWrapper.js";import"../../../../Chart/components/AxisDropdown.js";import"../../../../Chart/components/ChartSelect.js";import"../../../../Chart/components/buttons/DragToZoomButton.js";import"../../../../Chart/components/buttons/ZoomInButton.js";import"../../../../Chart/components/buttons/ZoomOutButton.js";import"../../../../Chart/components/buttons/PanButton.js";import"../../../../Chart/components/buttons/ResetZoomButton.js";import"../../../../Chart/components/buttons/HideAxesButton.js";import"../../../../Chart/components/buttons/ChartTypeButton.js";import"../../../../ColorPicker/PaletteChromePicker/PaletteChromePicker.js";import"../../../../TruncatedText/index.js";import"../../../../MiddleTruncatedText/MiddleTruncatedText.js";import"../../../../RangeSlider/constants.js";import"../../../../RangeSlider/Input.css.js";import"../../../../RangeSlider/RangeSlider.css.js";import"../../../../AdvancedSlider/AdvancedSlider.js";import"../../../../Breadcrumbs/index.js";import"../../../../VirtualizedTable/index.js";import"../../../../EmptyView/EmptyView.js";import"../../../../EmptyView/EmptyAppView/EmptyAppView.js";import"../../../../Button/components/Button/index.js";import"moment-timezone";import"../../../../Button/components/LiveButton/components/LiveButtonStateIndicator/index.js";import"../../../../Button/components/LiveButton/styles.js";import"../../../../ContextMenuItem/index.js";import"../../../../FolderMenuItem/index.js";import"../../../../EditableItem/EditableItem/index.js";import"../../../../EditableItem/EditableItemWithBadge/index.js";import"../../../../Checkbox/index.js";import"../../../../FolderMenuItemWithLinks/index.js";import"../../../../TextField/index.js";import"../../../../Chip/index.js";import"../../../../Counter/index.js";import"../../../../AnchorsList/AnchorsList.js";import"../../../../Select/index.js";import"../../../../Select/SelectFilterBy.js";import"../../../../CustomSelect/index.js";import"../../../../Tabs/Tabs.js";import"../../../../Tabs/Tab.js";import"../../../../ResizableTable/ResizableTable.js";import"../../../../GradientPicker/GradientPicker.js";import"@babel/runtime/helpers/classCallCheck";import"@babel/runtime/helpers/createClass";import"@material-ui/icons/AddCircle";import"../../../../GradientManager/GradientPreview/GradientPreview.js";import"../../../../GradientManager/GradientSelect.styles.js";import"../../../../GradientManager/GradientManager.styles.js";import"../../../../Drillstring/BHASchematic.js";import"../../../../Drillstring/BHATable/index.js";import"../../../../Drillstring/BHAComponentIcon.js";import"../../../../Drillstring/BHAComponentDetail/index.js";import"../../../../Drillstring/BHATileIcon.js";import"../../../../Drillstring/BHATile/BHATile.js";import"../../../../Drillstring/BHAList/BHAList.js";import"../../../../Drillstring/BHAComponentsTable/BHAComponentsTable.js";import"../../../CasingTable/index.js";import u from"../../../CasingComponentIcon.js";import"../../../CasingTileIcon.js";import"../../CasingTableV2.js";import"../../../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"../../../../OffsetWellPickerV5/components/OffsetWellPickerV5WithStore/OffsetWellPickerV5WithStore.js";import"../../../../OffsetWellMap/OffsetWellMap.js";import"@material-ui/core/Snackbar";import"../../../../Notifications/Toast.js";import"../../../../Notifications/Notifications.scss.js";import"../../../../ConfirmationDialog.js";import"../../../../TextLink/index.js";import"../../../../Avatar/index.js";import"../../../../Template/TemplatePopover/index.js";import"../../../../Template/TemplateSharingDialog/index.js";import"../../../../MenuItem/index.js";import"../../../../MiddleTruncate/MiddleTruncate.js";import"../../../../PinnableFilters/PinnableFilters.js";import"../../../../HeaderLayout/HeaderLayout.js";import"../../../../PadOffsetsPicker/PadOffsetsPicker.js";import"../../../../PadOffsetsPicker/OffsetAssetChip.js";import"../../../../PadOffsetsPicker/OffsetAssetsListExpander.js";import"../../../../PadOffsetsPicker/StagesSelector.js";import"../../../../PadOffsetsPickerV2/PadOffsetsPickerV2.js";import"../../../../Table/TableToolbar/TableToolbar.js";import"../../../../Table/TableContainer/TableContainer.js";import"../../../../Table/TableCell/TableCell.js";import"../../../../Table/TablePagination/TablePagination.js";import"../../../../Table/TablePaginationActions/TablePaginationActions.js";import"../../../../Tooltip/ScrollableTooltip.js";import"../../../../PriceInput/PriceInput.js";import"../../../../LabelsCounter/LabelsCounter.js";import"../../../../Stepper/Stepper.js";import"../../../../Stepper/Step/Step.js";import"../../../../Stepper/StepsWrapper.js";import"../../../../Comment/CommentIcon/index.js";import"../../../../FilesLoader/FilesLoader.js";import"../../../../../componentsV2/FileIcon/icons/ArchiveFileIcon.js";import"../../../../../componentsV2/FileIcon/icons/CSVFileIcon.js";import"../../../../../componentsV2/FileIcon/icons/DocFileIcon.js";import"../../../../../componentsV2/FileIcon/icons/EDMFileIcon.js";import"../../../../../componentsV2/FileIcon/icons/ExcelFileIcon.js";import"../../../../../componentsV2/FileIcon/icons/ImageFileIcon.js";import"../../../../../componentsV2/FileIcon/icons/JsonFileIcon.js";import"../../../../../componentsV2/FileIcon/icons/LasFileIcon.js";import"../../../../../componentsV2/FileIcon/icons/OtherFileIcon.js";import"../../../../../componentsV2/FileIcon/icons/PdfFileIcon.js";import"../../../../../componentsV2/FileIcon/icons/PowerPointFileIcon.js";import"../../../../../componentsV2/FileIcon/icons/TxtFileIcon.js";import"../../../../../componentsV2/FileIcon/icons/UnknownFileIcon.js";import"../../../../../componentsV2/FileIcon/icons/VideoFileIcon.js";import"../../../../../componentsV2/FileIcon/icons/XmlFileIcon.js";import"../../../../SearchInput/index.js";import"../../../../FeedItem/FeedItem.js";import"../../../../FeedItem/FeedItemEditProvider/FeedItemEditProvider.js";import"../../../../PostInput/PostInput.js";import"../../../../KeyboardDateTimePicker.js";import"../../../../AddComment/Popover.js";import"../../../../AddComment/Popup.js";import"../../../../StageDesignVActual/ComparisonBar/ComparisonBar.js";import"../../../../StageDesignVActual/ElementsComparison/ElementsComparison.js";import"../../../../StageDesignVActual/ComparisonHeader.js";import"../../../../StageDesignVActual/ComparisonRow.js";import"../../../../EmbeddedApp/DevCenterEmbeddedApp.js";import"../../../../EmbeddedApp/EmbeddedApp.js";import"../../../../Autocomplete/Autocomplete.js";import"../../../../DocumentViewer/DocumentViewer.js";import"../../../../ColorPickerPalette/ColorPickerPalette.js";import"../../../../Search/Search.js";import"../../../../Search/components/Listbox.js";import"../../../../Search/components/Paper.js";import"../../../../Search/components/RecentSearches.js";import"../../../../Search/components/Groups.js";import"../../../../Search/components/SelectAllListItem.js";import"../../../../StatusBadge/index.js";import"../../../../Attachment/index.js";import"../../../../EmojiIconButton.js";import"../../../../FileUploadIconButton.js";import"../../../../FilePreview/index.js";import"../../../../FailedFileUploading.js";import"../../../../UserMention/index.js";import"../../../../CommentsInfo/index.js";import"../../../../CommentInput/index.js";import"../../../../Comment/index.js";import"../../../../CommentLoader.js";import"../../../../AssetNameLabel/AssetStatusBadge.js";import"../../../../AssetEditorV2/components/PrimaryAssetSelect.js";import"../../../../AssetEditorV2/components/SecondaryAssetSelect.js";import"../../../../AssetEditorV2/components/SelectItem.js";import"../../../../AssetEditorV2/components/MultipleAssetsToggle.js";import"../../../../AssetEditorV2/components/PrimaryAssetSelectV2.js";import"../../../../EChartsWrapper/EChartsWrapper.js";import"../../../../AssetsMultipleSelector/AssetsMultipleSelector.js";import"@material-ui/icons/Close";import"@material-ui/icons/GetApp";import"../../../../GoogleDocsViewer/index.js";import"../../../../NewDocumentViewer/effects/useFileContent.js";import"../../../../NewDocumentViewer/styles.js";import"../../../../FilesLoaderV2/styles.js";import"../../../../FilesDropzone/styles.js";import"../../../../FilesProcessor/styles.js";import"../../../../Hint/styles.js";import"@babel/runtime/helpers/taggedTemplateLiteral";import"fparser";import"../../../../Formula/useFormulaStyles.js";import"../../../../Formula/RootXIcon.js";import"../../../../Formula/FormulaTextEditor.js";import"../../../../Formula/CloseSuggestion.js";import"../../../../Formula/SuggestionsMenu.js";import{CancelButton as C}from"../../../../Drillstring/BHAComponentsTable/components/shared/CancelButton.js";import"../../../../Drillstring/BHAComponentsTable/components/shared/ExpandCollapseButton.js";import"../../../../Drillstring/BHAComponentsTable/components/shared/FormatedNumber.js";import{InputText as A}from"../../../../Drillstring/BHAComponentsTable/components/shared/InputText.js";import"../../../../Drillstring/BHAComponentsTable/components/shared/MoreButton.js";import{SaveButton as g}from"../../../../Drillstring/BHAComponentsTable/components/shared/SaveButton.js";import{SelectField as V}from"../../../../Drillstring/BHAComponentsTable/components/shared/SelectField.js";import"../../../../Drillstring/BHAComponentsTable/components/shared/StaticField.js";import{SharedEditorElements as I}from"../../../../Drillstring/BHAComponentsTable/components/shared/SharedEditorElements.js";import"../../../../Drillstring/BHAComponentsTable/components/shared/ConfirmationPopup.js";import S from"../../../../Drillstring/BHAComponentsTable/components/Suggestions/Suggestions.js";import{useStyles as h}from"../../../../Drillstring/BHAComponentsTable/components/sharedStyles.js";function b(o){var s=o.component,b=o.error,D=o.onChange,v=o.onCancel,T=o.onSave,P=o.onUseSuggestion,x=o.columns,F=h({isMobile:p}),f=p?r/2:r/x,B=function(o){return b&&b[o]},y=t((function(){var o=a;return s.outer_diameter?o.filter((function(o){return o.outer_diameter===parseFloat(s.outer_diameter)})):[]}),[s.outer_diameter]);return m(n,{container:!0,spacing:0,className:F.editorContainer,children:[!p&&c(n,{item:!0,className:F.editorComponentSize,children:c(u,{component:s})}),c(n,{item:!0,className:F.eidtorContentContainer,children:m(n,{container:!0,spacing:2,children:[c(I,{component:s,getError:B,onChange:D,isCasing:!0}),y.length>0&&c(S,{data:y,allData:a,columns:i,displayKeys:["outer_diameter","inner_diameter"],descriptionKeys:["outer_diameter","inner_diameter","linear_weight","number_of_joints","component_length"],onSelect:P,isCasing:!0}),c(A,{type:"name",label:"Name",value:s.name,error:B("name"),xs:f,onChangeField:D}),c(A,{type:"number_of_joints",label:"# of Joints",value:s.number_of_joints,error:B("number_of_joints"),xs:f,onChangeField:D}),c(A,{type:"component_length",label:"Component Length",unit:"length",value:s.component_length,error:B("component_length"),xs:f,onChangeField:D}),c(A,{type:"weight",label:"T.Weight",unit:"mass",value:s.weight,error:B("weight"),disabled:!0,xs:f,onChangeField:D}),c(V,{type:"grade",options:l,label:"Grade",value:s.grade,error:B("grade"),xs:f,onChangeField:D}),c(A,{type:"outer_diameter_tooljoint",label:"TJ OD",unit:"shortLength",value:s.outer_diameter_tooljoint,error:B("outer_diameter_tooljoint"),xs:f,onChangeField:D}),c(A,{type:"inner_diameter_tooljoint",label:"TJ ID",unit:"shortLength",value:s.inner_diameter_tooljoint,error:B("inner_diameter_tooljoint"),xs:f,onChangeField:D}),c(A,{type:"length_tooljoint",label:"TJ Length Per Joint",unit:"length",value:s.length_tooljoint,error:B("length_tooljoint"),xs:f,onChangeField:D}),c(A,{type:"connection_type",label:"Connection Type",value:s.connection_type,error:B("connection_type"),xs:f,onChangeField:D}),c(V,{type:"class",options:j,label:"Class",value:s.class,error:B("class"),xs:f,onChangeField:D}),c(V,{type:"material",options:d,label:"Material",value:s.material,error:B("material"),xs:f,onChangeField:D})]})}),!p&&m(n,{item:!0,className:F.eidtorActionGroup,children:[c(C,{handleCancel:v}),c(g,{handleSave:T,disabled:!e(b)})]})]})}b.propTypes={component:s.shape({outer_diameter:s.number,component_length:s.number,name:s.string,number_of_joints:s.number,weight:s.number,connection_type:s.string,grade:s.string,class:s.string,material:s.string,outer_diameter_tooljoint:s.number,inner_diameter_tooljoint:s.number,length_tooljoint:s.number}).isRequired,error:s.shape({}),onChange:s.func.isRequired,onCancel:s.func.isRequired,onSave:s.func.isRequired,onUseSuggestion:s.func.isRequired,columns:s.number.isRequired},b.defaultProps={error:null};var D=o(b);export{D as default};
2
2
  //# sourceMappingURL=Editor.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Editor.js","sources":["../../../../../../src/components/Casing/CasingTableV2/components/DrillPipe/Editor.js"],"sourcesContent":["import { memo, useMemo } from 'react';\nimport { isEmpty } from 'lodash';\nimport PropTypes from 'prop-types';\nimport { Grid } from '@material-ui/core';\n\nimport { CONTAINER_XS, OD_ID_DEP_COLUMNS } from '../constants';\n\nimport { isMobileDetected } from '~/utils/mobileDetect';\nimport { CasingComponentIcon as ComponentIcon } from '~/components';\nimport {\n COMPONENT_GRADES,\n COMPONENT_CLASSES,\n COMPONENT_MATERIALS,\n OD_ID_DEP_LIST,\n} from '~/constants/casing';\nimport {\n InputText,\n SelectField,\n CancelButton,\n SaveButton,\n SharedEditorElements,\n} from '~/components/Drillstring/BHAComponentsTable/components/shared';\nimport { Suggestions } from '~/components/Drillstring/BHAComponentsTable/components/Suggestions';\nimport { useStyles } from '~/components/Drillstring/BHAComponentsTable/components/sharedStyles';\n\nfunction DrillPipe({ component, error, onChange, onCancel, onSave, onUseSuggestion, columns }) {\n const classes = useStyles({ isMobile: isMobileDetected });\n const xs = isMobileDetected ? CONTAINER_XS / 2 : CONTAINER_XS / columns;\n\n const getError = key => error && error[key];\n\n const filteredSuggestions = useMemo(() => {\n const suggestionsToUse = OD_ID_DEP_LIST;\n return !component.outer_diameter\n ? []\n : suggestionsToUse.filter(\n item => item.outer_diameter === parseFloat(component.outer_diameter)\n );\n }, [component.outer_diameter]);\n\n return (\n <Grid container spacing={0} className={classes.editorContainer}>\n {!isMobileDetected && (\n <Grid item className={classes.editorComponentSize}>\n <ComponentIcon component={component} />\n </Grid>\n )}\n <Grid item className={classes.eidtorContentContainer}>\n <Grid container spacing={2}>\n <SharedEditorElements\n component={component}\n getError={getError}\n onChange={onChange}\n isCasing\n />\n\n {filteredSuggestions.length > 0 && (\n <Suggestions\n data={filteredSuggestions}\n allData={OD_ID_DEP_LIST}\n columns={OD_ID_DEP_COLUMNS}\n displayKeys={['outer_diameter', 'inner_diameter']}\n descriptionKeys={[\n 'outer_diameter',\n 'inner_diameter',\n 'linear_weight',\n 'number_of_joints',\n 'component_length',\n ]}\n onSelect={onUseSuggestion}\n isCasing\n />\n )}\n\n <InputText\n type=\"name\"\n label=\"Name\"\n value={component.name}\n error={getError('name')}\n xs={xs}\n onChangeField={onChange}\n />\n <InputText\n type=\"number_of_joints\"\n label=\"# of Joints\"\n value={component.number_of_joints}\n error={getError('number_of_joints')}\n xs={xs}\n onChangeField={onChange}\n />\n <InputText\n type=\"component_length\"\n label=\"Component Length\"\n unit=\"length\"\n value={component.component_length}\n error={getError('component_length')}\n xs={xs}\n onChangeField={onChange}\n />\n <InputText\n type=\"weight\"\n label=\"T.Weight\"\n unit=\"mass\"\n value={component.weight}\n error={getError('weight')}\n disabled\n xs={xs}\n onChangeField={onChange}\n />\n <SelectField\n type=\"grade\"\n options={COMPONENT_GRADES}\n label=\"Grade\"\n value={component.grade}\n error={getError('grade')}\n xs={xs}\n onChangeField={onChange}\n />\n <InputText\n type=\"outer_diameter_tooljoint\"\n label=\"TJ OD\"\n unit=\"shortLength\"\n value={component.outer_diameter_tooljoint}\n error={getError('outer_diameter_tooljoint')}\n xs={xs}\n onChangeField={onChange}\n />\n <InputText\n type=\"inner_diameter_tooljoint\"\n label=\"TJ ID\"\n unit=\"shortLength\"\n value={component.inner_diameter_tooljoint}\n error={getError('inner_diameter_tooljoint')}\n xs={xs}\n onChangeField={onChange}\n />\n <InputText\n type=\"length_tooljoint\"\n label=\"TJ Length Per Joint\"\n unit=\"length\"\n value={component.length_tooljoint}\n error={getError('length_tooljoint')}\n xs={xs}\n onChangeField={onChange}\n />\n <InputText\n type=\"connection_type\"\n label=\"Connection Type\"\n value={component.connection_type}\n error={getError('connection_type')}\n xs={xs}\n onChangeField={onChange}\n />\n <SelectField\n type=\"class\"\n options={COMPONENT_CLASSES}\n label=\"Class\"\n value={component.class}\n error={getError('class')}\n xs={xs}\n onChangeField={onChange}\n />\n <SelectField\n type=\"material\"\n options={COMPONENT_MATERIALS}\n label=\"Material\"\n value={component.material}\n error={getError('material')}\n xs={xs}\n onChangeField={onChange}\n />\n </Grid>\n </Grid>\n {!isMobileDetected && (\n <Grid item className={classes.eidtorActionGroup}>\n <CancelButton handleCancel={onCancel} />\n <SaveButton handleSave={onSave} disabled={!isEmpty(error)} />\n </Grid>\n )}\n </Grid>\n );\n}\n\nDrillPipe.propTypes = {\n component: PropTypes.shape({\n outer_diameter: PropTypes.number,\n component_length: PropTypes.number,\n name: PropTypes.string,\n number_of_joints: PropTypes.number,\n weight: PropTypes.number,\n connection_type: PropTypes.string,\n grade: PropTypes.string,\n class: PropTypes.string,\n material: PropTypes.string,\n outer_diameter_tooljoint: PropTypes.number,\n inner_diameter_tooljoint: PropTypes.number,\n length_tooljoint: PropTypes.number,\n }).isRequired,\n error: PropTypes.shape({}),\n onChange: PropTypes.func.isRequired,\n onCancel: PropTypes.func.isRequired,\n onSave: PropTypes.func.isRequired,\n onUseSuggestion: PropTypes.func.isRequired,\n columns: PropTypes.number.isRequired,\n};\n\nDrillPipe.defaultProps = {\n error: null,\n};\n\nexport default memo(DrillPipe);\n"],"names":["DrillPipe","_ref","component","error","onChange","onCancel","onSave","onUseSuggestion","columns","classes","useStyles","isMobile","isMobileDetected","xs","CONTAINER_XS","getError","key","filteredSuggestions","useMemo","suggestionsToUse","OD_ID_DEP_LIST","outer_diameter","filter","item","parseFloat","_jsxs","Grid","container","spacing","className","editorContainer","children","_jsx","editorComponentSize","ComponentIcon","eidtorContentContainer","SharedEditorElements","isCasing","length","Suggestions","data","allData","OD_ID_DEP_COLUMNS","displayKeys","descriptionKeys","onSelect","InputText","type","label","value","name","onChangeField","number_of_joints","unit","component_length","weight","disabled","SelectField","options","COMPONENT_GRADES","grade","outer_diameter_tooljoint","inner_diameter_tooljoint","length_tooljoint","connection_type","COMPONENT_CLASSES","class","COMPONENT_MATERIALS","material","eidtorActionGroup","CancelButton","handleCancel","SaveButton","handleSave","isEmpty","propTypes","PropTypes","shape","number","string","isRequired","func","defaultProps","memo"],"mappings":"is2BAyBA,SAASA,EAAsFC,GAAA,IAA1EC,IAAAA,UAAWC,IAAAA,MAAOC,IAAAA,SAAUC,IAAAA,SAAUC,IAAAA,OAAQC,IAAAA,gBAAiBC,IAAAA,QAC5EC,EAAUC,EAAU,CAAEC,SAAUC,IAChCC,EAAKD,EAAmBE,EAAe,EAAIA,EAAeN,EAE1DO,EAAW,SAAAC,GAAG,OAAIb,GAASA,EAAMa,EAAI,EAErCC,EAAsBC,GAAQ,WAClC,IAAMC,EAAmBC,EACzB,OAAQlB,EAAUmB,eAEdF,EAAiBG,QACf,SAAAC,GAAI,OAAIA,EAAKF,iBAAmBG,WAAWtB,EAAUmB,mBAFvD,EAIN,GAAG,CAACnB,EAAUmB,iBAEd,OACEI,EAACC,EAAI,CAACC,WAAS,EAACC,QAAS,EAAGC,UAAWpB,EAAQqB,gBAAgBC,SAAA,EAC3DnB,GACAoB,EAACN,EAAI,CAACH,MAAI,EAACM,UAAWpB,EAAQwB,oBAAoBF,SAChDC,EAACE,EAAa,CAAChC,UAAWA,MAG9B8B,EAACN,EAAI,CAACH,MAAI,EAACM,UAAWpB,EAAQ0B,uBAAuBJ,SACnDN,EAACC,EAAI,CAACC,WAAS,EAACC,QAAS,EAAEG,SAAA,CACzBC,EAACI,EAAoB,CACnBlC,UAAWA,EACXa,SAAUA,EACVX,SAAUA,EACViC,UAAQ,IAGTpB,EAAoBqB,OAAS,GAC5BN,EAACO,EAAW,CACVC,KAAMvB,EACNwB,QAASrB,EACTZ,QAASkC,EACTC,YAAa,CAAC,iBAAkB,kBAChCC,gBAAiB,CACf,iBACA,iBACA,g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,cAAe/C,IAEjB4B,EAACyB,EAAW,CACVV,KAAK,QACLW,QAASO,EACTjB,MAAM,QACNC,MAAO/C,EAAUgE,MACjB/D,MAAOY,EAAS,SAChBF,GAAIA,EACJsC,cAAe/C,IAEjB4B,EAACyB,EAAW,CACVV,KAAK,WACLW,QAASS,EACTnB,MAAM,WACNC,MAAO/C,EAAUkE,SACjBjE,MAAOY,EAAS,YAChBF,GAAIA,EACJsC,cAAe/C,UAInBQ,GACAa,EAACC,EAAI,CAACH,MAAI,EAACM,UAAWpB,EAAQ4D,kBAAkBtC,SAAA,CAC9CC,EAACsC,EAAY,CAACC,aAAclE,IAC5B2B,EAACwC,EAAU,CAACC,WAAYnE,EAAQkD,UAAWkB,EAAQvE,UAK7D,CAEAH,EAAU2E,UAAY,CACpBzE,UAAW0E,EAAUC,MAAM,CACzBxD,eAAgBuD,EAAUE,OAC1BxB,iBAAkBsB,EAAUE,OAC5B5B,KAAM0B,EAAUG,OAChB3B,iBAAkBwB,EAAUE,OAC5BvB,OAAQqB,EAAUE,OAClBd,gBAAiBY,EAAUG,OAC3BnB,MAAOgB,EAAUG,OACjBb,MAAOU,EAAUG,OACjBX,SAAUQ,EAAUG,OACpBlB,yBAA0Be,EAAUE,OACpChB,yBAA0Bc,EAAUE,OACpCf,iBAAkBa,EAAUE,SAC3BE,WACH7E,MAAOyE,EAAUC,MAAM,IACvBzE,SAAUwE,EAAUK,KAAKD,WACzB3E,SAAUuE,EAAUK,KAAKD,WACzB1E,OAAQsE,EAAUK,KAAKD,WACvBzE,gBAAiBqE,EAAUK,KAAKD,WAChCxE,QAASoE,EAAUE,OAAOE,YAG5BhF,EAAUkF,aAAe,CACvB/E,MAAO,MAGT,IAAegF,EAAAA,EAAKnF"}
1
+ {"version":3,"file":"Editor.js","sources":["../../../../../../src/components/Casing/CasingTableV2/components/DrillPipe/Editor.js"],"sourcesContent":["import { memo, useMemo } from 'react';\nimport { isEmpty } from 'lodash';\nimport PropTypes from 'prop-types';\nimport { Grid } from '@material-ui/core';\n\nimport { CONTAINER_XS, OD_ID_DEP_COLUMNS } from '../constants';\n\nimport { isMobileDetected } from '~/utils/mobileDetect';\nimport { CasingComponentIcon as ComponentIcon } from '~/components';\nimport {\n COMPONENT_GRADES,\n COMPONENT_CLASSES,\n COMPONENT_MATERIALS,\n OD_ID_DEP_LIST,\n} from '~/constants/casing';\nimport {\n InputText,\n SelectField,\n CancelButton,\n SaveButton,\n SharedEditorElements,\n} from '~/components/Drillstring/BHAComponentsTable/components/shared';\nimport { Suggestions } from '~/components/Drillstring/BHAComponentsTable/components/Suggestions';\nimport { useStyles } from '~/components/Drillstring/BHAComponentsTable/components/sharedStyles';\n\nfunction DrillPipe({ component, error, onChange, onCancel, onSave, onUseSuggestion, columns }) {\n const classes = useStyles({ isMobile: isMobileDetected });\n const xs = isMobileDetected ? CONTAINER_XS / 2 : CONTAINER_XS / columns;\n\n const getError = key => error && error[key];\n\n const filteredSuggestions = useMemo(() => {\n const suggestionsToUse = OD_ID_DEP_LIST;\n return !component.outer_diameter\n ? []\n : suggestionsToUse.filter(\n item => item.outer_diameter === parseFloat(component.outer_diameter)\n );\n }, [component.outer_diameter]);\n\n return (\n <Grid container spacing={0} className={classes.editorContainer}>\n {!isMobileDetected && (\n <Grid item className={classes.editorComponentSize}>\n <ComponentIcon component={component} />\n </Grid>\n )}\n <Grid item className={classes.eidtorContentContainer}>\n <Grid container spacing={2}>\n <SharedEditorElements\n component={component}\n getError={getError}\n onChange={onChange}\n isCasing\n />\n\n {filteredSuggestions.length > 0 && (\n <Suggestions\n data={filteredSuggestions}\n allData={OD_ID_DEP_LIST}\n columns={OD_ID_DEP_COLUMNS}\n displayKeys={['outer_diameter', 'inner_diameter']}\n descriptionKeys={[\n 'outer_diameter',\n 'inner_diameter',\n 'linear_weight',\n 'number_of_joints',\n 'component_length',\n ]}\n onSelect={onUseSuggestion}\n isCasing\n />\n )}\n\n <InputText\n type=\"name\"\n label=\"Name\"\n value={component.name}\n error={getError('name')}\n xs={xs}\n onChangeField={onChange}\n />\n <InputText\n type=\"number_of_joints\"\n label=\"# of Joints\"\n value={component.number_of_joints}\n error={getError('number_of_joints')}\n xs={xs}\n onChangeField={onChange}\n />\n <InputText\n type=\"component_length\"\n label=\"Component Length\"\n unit=\"length\"\n value={component.component_length}\n error={getError('component_length')}\n xs={xs}\n onChangeField={onChange}\n />\n <InputText\n type=\"weight\"\n label=\"T.Weight\"\n unit=\"mass\"\n value={component.weight}\n error={getError('weight')}\n disabled\n xs={xs}\n onChangeField={onChange}\n />\n <SelectField\n type=\"grade\"\n options={COMPONENT_GRADES}\n label=\"Grade\"\n value={component.grade}\n error={getError('grade')}\n xs={xs}\n onChangeField={onChange}\n />\n <InputText\n type=\"outer_diameter_tooljoint\"\n label=\"TJ OD\"\n unit=\"shortLength\"\n value={component.outer_diameter_tooljoint}\n error={getError('outer_diameter_tooljoint')}\n xs={xs}\n onChangeField={onChange}\n />\n <InputText\n type=\"inner_diameter_tooljoint\"\n label=\"TJ ID\"\n unit=\"shortLength\"\n value={component.inner_diameter_tooljoint}\n error={getError('inner_diameter_tooljoint')}\n xs={xs}\n onChangeField={onChange}\n />\n <InputText\n type=\"length_tooljoint\"\n label=\"TJ Length Per Joint\"\n unit=\"length\"\n value={component.length_tooljoint}\n error={getError('length_tooljoint')}\n xs={xs}\n onChangeField={onChange}\n />\n <InputText\n type=\"connection_type\"\n label=\"Connection Type\"\n value={component.connection_type}\n error={getError('connection_type')}\n xs={xs}\n onChangeField={onChange}\n />\n <SelectField\n type=\"class\"\n options={COMPONENT_CLASSES}\n label=\"Class\"\n value={component.class}\n error={getError('class')}\n xs={xs}\n onChangeField={onChange}\n />\n <SelectField\n type=\"material\"\n options={COMPONENT_MATERIALS}\n label=\"Material\"\n value={component.material}\n error={getError('material')}\n xs={xs}\n onChangeField={onChange}\n />\n </Grid>\n </Grid>\n {!isMobileDetected && (\n <Grid item className={classes.eidtorActionGroup}>\n <CancelButton handleCancel={onCancel} />\n <SaveButton handleSave={onSave} disabled={!isEmpty(error)} />\n </Grid>\n )}\n </Grid>\n );\n}\n\nDrillPipe.propTypes = {\n component: PropTypes.shape({\n outer_diameter: PropTypes.number,\n component_length: PropTypes.number,\n name: PropTypes.string,\n number_of_joints: PropTypes.number,\n weight: PropTypes.number,\n connection_type: PropTypes.string,\n grade: PropTypes.string,\n class: PropTypes.string,\n material: PropTypes.string,\n outer_diameter_tooljoint: PropTypes.number,\n inner_diameter_tooljoint: PropTypes.number,\n length_tooljoint: PropTypes.number,\n }).isRequired,\n error: PropTypes.shape({}),\n onChange: PropTypes.func.isRequired,\n onCancel: PropTypes.func.isRequired,\n onSave: PropTypes.func.isRequired,\n onUseSuggestion: PropTypes.func.isRequired,\n columns: PropTypes.number.isRequired,\n};\n\nDrillPipe.defaultProps = {\n error: null,\n};\n\nexport default memo(DrillPipe);\n"],"names":["DrillPipe","_ref","component","error","onChange","onCancel","onSave","onUseSuggestion","columns","classes","useStyles","isMobile","isMobileDetected","xs","CONTAINER_XS","getError","key","filteredSuggestions","useMemo","suggestionsToUse","OD_ID_DEP_LIST","outer_diameter","filter","item","parseFloat","_jsxs","Grid","container","spacing","className","editorContainer","children","_jsx","editorComponentSize","ComponentIcon","eidtorContentContainer","SharedEditorElements","isCasing","length","Suggestions","data","allData","OD_ID_DEP_COLUMNS","displayKeys","descriptionKeys","onSelect","InputText","type","label","value","name","onChangeField","number_of_joints","unit","component_length","weight","disabled","SelectField","options","COMPONENT_GRADES","grade","outer_diameter_tooljoint","inner_diameter_tooljoint","length_tooljoint","connection_type","COMPONENT_CLASSES","class","COMPONENT_MATERIALS","material","eidtorActionGroup","CancelButton","handleCancel","SaveButton","handleSave","isEmpty","propTypes","PropTypes","shape","number","string","isRequired","func","defaultProps","memo"],"mappings":"gv5BAyBA,SAASA,EAAsFC,GAAA,IAA1EC,IAAAA,UAAWC,IAAAA,MAAOC,IAAAA,SAAUC,IAAAA,SAAUC,IAAAA,OAAQC,IAAAA,gBAAiBC,IAAAA,QA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AY,CAACC,aAAclE,IAC5B2B,EAACwC,EAAU,CAACC,WAAYnE,EAAQkD,UAAWkB,EAAQvE,UAK7D,CAEAH,EAAU2E,UAAY,CACpBzE,UAAW0E,EAAUC,MAAM,CACzBxD,eAAgBuD,EAAUE,OAC1BxB,iBAAkBsB,EAAUE,OAC5B5B,KAAM0B,EAAUG,OAChB3B,iBAAkBwB,EAAUE,OAC5BvB,OAAQqB,EAAUE,OAClBd,gBAAiBY,EAAUG,OAC3BnB,MAAOgB,EAAUG,OACjBb,MAAOU,EAAUG,OACjBX,SAAUQ,EAAUG,OACpBlB,yBAA0Be,EAAUE,OACpChB,yBAA0Bc,EAAUE,OACpCf,iBAAkBa,EAAUE,SAC3BE,WACH7E,MAAOyE,EAAUC,MAAM,IACvBzE,SAAUwE,EAAUK,KAAKD,WACzB3E,SAAUuE,EAAUK,KAAKD,WACzB1E,OAAQsE,EAAUK,KAAKD,WACvBzE,gBAAiBqE,EAAUK,KAAKD,WAChCxE,QAASoE,EAAUE,OAAOE,YAG5BhF,EAAUkF,aAAe,CACvB/E,MAAO,MAGT,IAAegF,EAAAA,EAAKnF"}
@@ -1,2 +1,2 @@
1
- import o from"@babel/runtime/helpers/defineProperty";import s from"@babel/runtime/helpers/objectWithoutProperties";import c from"classnames";import{makeStyles as n,Select as i,MenuItem as t}from"@material-ui/core";import{DownOneIcon as r}from"../../../icons/iconParkIcons.js";import"../../../icons/customIcons/icons/AddMessage.js";import"../../../icons/customIcons/icons/Attention.js";import"../../../icons/customIcons/icons/Collapse.js";import"../../../icons/customIcons/icons/Dashboard.js";import"../../../icons/customIcons/icons/Expand.js";import"../../../icons/customIcons/icons/FolderClosed.js";import"../../../icons/customIcons/icons/FolderClosedFilled.js";import"../../../icons/customIcons/icons/FolderOpened.js";import"../../../icons/customIcons/icons/GreaterOrEqual.js";import"../../../icons/customIcons/icons/LessOrEqual.js";import"../../../icons/customIcons/icons/Search.js";import"../../../icons/customIcons/icons/SearchOne.js";import"../../../icons/customIcons/icons/Wellhub.js";import"../../../icons/customIcons/icons/MultiRuler.js";import"../../../icons/customIcons/icons/Checkbox.js";import"../../../icons/customIcons/icons/CheckboxChecked.js";import"../../../icons/customIcons/icons/CheckboxIndeterminate.js";import"../../../icons/customIcons/icons/Radio.js";import"../../../icons/customIcons/icons/RadioChecked.js";import"../../../icons/customIcons/icons/SimulFrac.js";import"../../../icons/customIcons/icons/ZipperFrac.js";import"../../../icons/customIcons/icons/CautionFilled.js";import"../../../icons/customIcons/icons/MoreApp.js";import"../../../icons/customIcons/icons/Pad.js";import"../../../icons/customIcons/icons/DrilloutUnit.js";import"../../../icons/customIcons/icons/FracFleet.js";import"../../../icons/customIcons/icons/Global.js";import"../../../icons/customIcons/icons/Program.js";import"../../../icons/customIcons/icons/Rig.js";import"../../../icons/customIcons/icons/Well.js";import"../../../icons/customIcons/icons/Gap.js";import"../../../icons/customIcons/icons/Pin.js";import"../../../icons/customIcons/icons/CloseOneFilled.js";import"../../../icons/customIcons/icons/AttentionFilled.js";import"../../../icons/customIcons/icons/CheckOneFilled.js";import"../../../icons/customIcons/icons/Archive.js";import"../../../icons/customIcons/icons/ArchiveCancel.js";import"../../../icons/customIcons/icons/Unarchive.js";import"../../../icons/customIcons/icons/Archived.js";import"../../../icons/customIcons/icons/InterventionUnit.js";import"../../../icons/customIcons/icons/CloudDelete.js";import"../../../icons/customIcons/icons/Lasso.js";import"../../../icons/customIcons/icons/Radius.js";import{jsx as e,jsxs as m,Fragment as a}from"react/jsx-runtime";var p=["className","classes","value","onChange","unit","options"];function u(o,s){var c=Object.keys(o);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(o);s&&(n=n.filter((function(s){return Object.getOwnPropertyDescriptor(o,s).enumerable}))),c.push.apply(c,n)}return c}function l(s){for(var c=1;c<arguments.length;c++){var n=null!=arguments[c]?arguments[c]:{};c%2?u(Object(n),!0).forEach((function(c){o(s,c,n[c])})):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(o){Object.defineProperty(s,o,Object.getOwnPropertyDescriptor(n,o))}))}return s}var j=n((function(o){var s=o.palette;return{selectContainer:{color:s.primary.contrastText,background:"transparen !important","& .MuiSelect-icon ":{top:"unset",right:4},"& .MuiSelect-icon > svg > path":{fill:s.primary.text6,stroke:s.primary.text6},"& .MuiSelect-iconOpen > svg > path":{fill:s.primary.main,stroke:s.primary.main},"&:hover":{"& .MuiSelect-icon > svg > path":{fill:s.primary.contrastText,stroke:s.primary.contrastText}},"&:active":{"& .MuiSelect-icon > svg > path":{fill:s.primary.main,stroke:s.primary.main}}},selectRoot:{fontSize:16,paddingTop:0,paddingBottom:0,"&:focus":{backgroundColor:"transparent"}},unit:{fontSize:12,lineHeight:0,color:s.primary.text7,marginLeft:4}}})),I=function(o){var n=o.className,u=o.classes,I=o.value,d=o.onChange,h=o.unit,f=o.options,b=s(o,p),v=j();return e(i,l(l({className:c(v.selectContainer,n),value:I,classes:l({root:v.selectRoot},u),onChange:d,disableUnderline:!0,IconComponent:function(o){return e(r,l({theme:"filled",fill:"#BDBDBD",size:16},o))},renderValue:function(o){return m(a,{children:[o,h&&m("span",{className:v.unit,children:["(",h,")"]})]})}},b),{},{children:null==f?void 0:f.map((function(o){var s=o.label,c=o.value;return e(t,{value:c,children:s},c)}))}))};export{I as default};
1
+ import o from"@babel/runtime/helpers/defineProperty";import s from"@babel/runtime/helpers/objectWithoutProperties";import c from"classnames";import{makeStyles as i,Select as n,MenuItem as t}from"@material-ui/core";import{DownOneIcon as r}from"../../../icons/iconParkIcons.js";import"../../../icons/customIcons/icons/AddMessage.js";import"../../../icons/customIcons/icons/Attention.js";import"../../../icons/customIcons/icons/Collapse.js";import"../../../icons/customIcons/icons/Dashboard.js";import"../../../icons/customIcons/icons/Expand.js";import"../../../icons/customIcons/icons/FolderClosed.js";import"../../../icons/customIcons/icons/FolderClosedFilled.js";import"../../../icons/customIcons/icons/FolderOpened.js";import"../../../icons/customIcons/icons/GreaterOrEqual.js";import"../../../icons/customIcons/icons/LessOrEqual.js";import"../../../icons/customIcons/icons/Search.js";import"../../../icons/customIcons/icons/SearchOne.js";import"../../../icons/customIcons/icons/Wellhub.js";import"../../../icons/customIcons/icons/MultiRuler.js";import"../../../icons/customIcons/icons/Checkbox.js";import"../../../icons/customIcons/icons/CheckboxChecked.js";import"../../../icons/customIcons/icons/CheckboxIndeterminate.js";import"../../../icons/customIcons/icons/Radio.js";import"../../../icons/customIcons/icons/RadioChecked.js";import"../../../icons/customIcons/icons/SimulFrac.js";import"../../../icons/customIcons/icons/ZipperFrac.js";import"../../../icons/customIcons/icons/CautionFilled.js";import"../../../icons/customIcons/icons/MoreApp.js";import"../../../icons/customIcons/icons/Pad.js";import"../../../icons/customIcons/icons/DrilloutUnit.js";import"../../../icons/customIcons/icons/FracFleet.js";import"../../../icons/customIcons/icons/Global.js";import"../../../icons/customIcons/icons/Program.js";import"../../../icons/customIcons/icons/Rig.js";import"../../../icons/customIcons/icons/Well.js";import"../../../icons/customIcons/icons/Gap.js";import"../../../icons/customIcons/icons/Pin.js";import"../../../icons/customIcons/icons/CloseOneFilled.js";import"../../../icons/customIcons/icons/AttentionFilled.js";import"../../../icons/customIcons/icons/CheckOneFilled.js";import"../../../icons/customIcons/icons/Archive.js";import"../../../icons/customIcons/icons/ArchiveCancel.js";import"../../../icons/customIcons/icons/Unarchive.js";import"../../../icons/customIcons/icons/Archived.js";import"../../../icons/customIcons/icons/InterventionUnit.js";import"../../../icons/customIcons/icons/CloudDelete.js";import"../../../icons/customIcons/icons/Lasso.js";import"../../../icons/customIcons/icons/Radius.js";import"../../../icons/customIcons/icons/ErrorOps.js";import"../../../icons/customIcons/icons/DataTypeOps.js";import"../../../icons/customIcons/icons/FalsePositiveOps.js";import"../../../icons/customIcons/icons/CalibrationOps.js";import"../../../icons/customIcons/icons/CriticalOps.js";import"../../../icons/customIcons/icons/Company.js";import"../../../icons/customIcons/icons/ArchiveOne.js";import"../../../icons/customIcons/icons/ParseBotFusion.js";import"../../../icons/customIcons/icons/Connect.js";import"../../../icons/customIcons/icons/PuzzleOne.js";import"../../../icons/customIcons/icons/Feed.js";import"../../../icons/customIcons/icons/Prompt.js";import"../../../icons/customIcons/icons/Companies.js";import"../../../icons/customIcons/icons/ClipboardAi.js";import"../../../icons/customIcons/icons/Key.js";import"../../../icons/customIcons/icons/AtSignCrossed.js";import"../../../icons/customIcons/icons/MappingManual.js";import"../../../icons/customIcons/icons/Mapping.js";import"../../../icons/customIcons/icons/Metrics.js";import"../../../icons/customIcons/icons/Drops.js";import"../../../icons/customIcons/icons/ClipboardSearch.js";import"../../../icons/customIcons/icons/Template.js";import"../../../icons/customIcons/icons/ClipboardMetrics.js";import"../../../icons/customIcons/icons/ClipboardBuilder.js";import"../../../icons/customIcons/icons/UnitConversion.js";import"../../../icons/customIcons/icons/NPT.js";import{jsx as e,jsxs as m,Fragment as p}from"react/jsx-runtime";var u=["className","classes","value","onChange","unit","options"];function a(o,s){var c=Object.keys(o);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(o);s&&(i=i.filter((function(s){return Object.getOwnPropertyDescriptor(o,s).enumerable}))),c.push.apply(c,i)}return c}function l(s){for(var c=1;c<arguments.length;c++){var i=null!=arguments[c]?arguments[c]:{};c%2?a(Object(i),!0).forEach((function(c){o(s,c,i[c])})):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(i)):a(Object(i)).forEach((function(o){Object.defineProperty(s,o,Object.getOwnPropertyDescriptor(i,o))}))}return s}var j=i((function(o){var s=o.palette;return{selectContainer:{color:s.primary.contrastText,background:"transparen !important","& .MuiSelect-icon ":{top:"unset",right:4},"& .MuiSelect-icon > svg > path":{fill:s.primary.text6,stroke:s.primary.text6},"& .MuiSelect-iconOpen > svg > path":{fill:s.primary.main,stroke:s.primary.main},"&:hover":{"& .MuiSelect-icon > svg > path":{fill:s.primary.contrastText,stroke:s.primary.contrastText}},"&:active":{"& .MuiSelect-icon > svg > path":{fill:s.primary.main,stroke:s.primary.main}}},selectRoot:{fontSize:16,paddingTop:0,paddingBottom:0,"&:focus":{backgroundColor:"transparent"}},unit:{fontSize:12,lineHeight:0,color:s.primary.text7,marginLeft:4}}})),I=function(o){var i=o.className,a=o.classes,I=o.value,d=o.onChange,h=o.unit,f=o.options,b=s(o,u),C=j();return e(n,l(l({className:c(C.selectContainer,i),value:I,classes:l({root:C.selectRoot},a),onChange:d,disableUnderline:!0,IconComponent:function(o){return e(r,l({theme:"filled",fill:"#BDBDBD",size:16},o))},renderValue:function(o){return m(p,{children:[o,h&&m("span",{className:C.unit,children:["(",h,")"]})]})}},b),{},{children:null==f?void 0:f.map((function(o){var s=o.label,c=o.value;return e(t,{value:c,children:s},c)}))}))};export{I as default};
2
2
  //# sourceMappingURL=AxisDropdown.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"AxisDropdown.js","sources":["../../../../src/components/Chart/components/AxisDropdown.js"],"sourcesContent":["import classNames from 'classnames';\nimport { makeStyles, MenuItem, Select as MuiSelect } from '@material-ui/core';\n\nimport { DownOneIcon } from '~/icons';\n\nconst useStyles = makeStyles(({ palette }) => ({\n selectContainer: {\n color: palette.primary.contrastText,\n background: 'transparen !important',\n '& .MuiSelect-icon ': {\n top: 'unset',\n right: 4,\n },\n '& .MuiSelect-icon > svg > path': {\n fill: palette.primary.text6,\n stroke: palette.primary.text6,\n },\n '& .MuiSelect-iconOpen > svg > path': {\n fill: palette.primary.main,\n stroke: palette.primary.main,\n },\n '&:hover': {\n '& .MuiSelect-icon > svg > path': {\n fill: palette.primary.contrastText,\n stroke: palette.primary.contrastText,\n },\n },\n '&:active': {\n '& .MuiSelect-icon > svg > path': {\n fill: palette.primary.main,\n stroke: palette.primary.main,\n },\n },\n },\n selectRoot: {\n fontSize: 16,\n paddingTop: 0,\n paddingBottom: 0,\n '&:focus': {\n backgroundColor: 'transparent',\n },\n },\n unit: {\n fontSize: 12,\n lineHeight: 0,\n color: palette.primary.text7,\n marginLeft: 4,\n },\n}));\n\nconst AxisDropdown = ({ className, classes, value, onChange, unit, options, ...otherProps }) => {\n const styles = useStyles();\n\n return (\n <MuiSelect\n className={classNames(styles.selectContainer, className)}\n value={value}\n classes={{ root: styles.selectRoot, ...classes }}\n onChange={onChange}\n disableUnderline\n IconComponent={props => <DownOneIcon theme=\"filled\" fill=\"#BDBDBD\" size={16} {...props} />}\n renderValue={value => {\n return (\n <>\n {value}\n {unit && <span className={styles.unit}>({unit})</span>}\n </>\n );\n }}\n {...otherProps}\n >\n {options?.map(({ label, value }) => (\n <MenuItem key={value} value={value}>\n {label}\n </MenuItem>\n ))}\n </MuiSelect>\n );\n};\n\nexport default AxisDropdown;\n"],"names":["useStyles","makeStyles","_ref","palette","selectContainer","color","primary","contrastText","background","top","right","fill","text6","stroke","main","selectRoot","fontSize","paddingTop","paddingBottom","backgroundColor","unit","lineHeight","text7","marginLeft","AxisDropdown","_ref2","className","classes","value","onChange","options","otherProps","_objectWithoutProperties","_excluded","styles","_jsx","MuiSelect","_objectSpread","classNames","root","disableUnderline","IconComponent","props","DownOneIcon","theme","size","renderValue","_jsxs","_Fragment","children","map","_ref3","label","MenuItem"],"mappings":"6vGAKA,IAAMA,EAAYC,GAAW,SAAAC,GAAA,IAAGC,IAAAA,QAAO,MAAQ,CAC7CC,gBAAiB,CACfC,MAAOF,EAAQG,QAAQC,aACvBC,WAAY,wBACZ,qBAAsB,CACpBC,IAAK,QACLC,MAAO,GAET,kCAAmC,CACjCC,KAAMR,EAAQG,QAAQM,MACtBC,OAAQV,EAAQG,QAAQM,OAE1B,qCAAsC,CACpCD,KAAMR,EAAQG,QAAQQ,KACtBD,OAAQV,EAAQG,QAAQQ,MAE1B,UAAW,CACT,iCAAkC,CAChCH,KAAMR,EAAQG,QAAQC,aACtBM,OAAQV,EAAQG,QAAQC,eAG5B,WAAY,CACV,kCAAmC,CACjCI,KAAMR,EAAQG,QAAQQ,KACtBD,OAAQV,EAAQG,QAAQQ,QAI9BC,WAAY,CACVC,SAAU,GACVC,WAAY,EACZC,cAAe,EACf,UAAW,CACTC,gBAAiB,gBAGrBC,KAAM,CACJJ,SAAU,GACVK,WAAY,EACZhB,MAAOF,EAAQG,QAAQgB,MACvBC,WAAY,GAEf,IAEKC,EAAe,SAA2EC,GAAA,IAAxEC,IAAAA,UAAWC,IAAAA,QAASC,IAAAA,MAAOC,IAAAA,SAAUT,IAAAA,KAAMU,IAAAA,QAAYC,EAAUC,EAAAP,EAAAQ,GACjFC,EAASlC,IAEf,OACEmC,EAACC,EAASC,EAAAA,EAAA,CACRX,UAAWY,EAAWJ,EAAO9B,gBAAiBsB,GAC9CE,MAAOA,EACPD,QAAOU,EAAA,CAAIE,KAAML,EAAOnB,YAAeY,GACvCE,SAAUA,EACVW,kBAAgB,EAChBC,cAAe,SAAAC,GAAK,OAAIP,EAACQ,EAAWN,EAAA,CAACO,MAAM,SAASjC,KAAK,UAAUkC,KAAM,IAAQH,GAAU,EAC3FI,YAAa,SAAAlB,GACX,OACEmB,EAAAC,EAAA,CAAAC,SACGrB,CAAAA,EACAR,GAAQ2B,EAAA,OAAA,CAAMrB,UAAWQ,EAAOd,KAAK6B,SAAA,CAAA,IAAG7B,EAAI,SAGnD,GACIW,GAAU,GAAA,CAAAkB,SAEbnB,eAAAA,EAASoB,KAAI,SAAAC,GAAA,IAAGC,IAAAA,MAAOxB,IAAAA,MAAK,OAC3BO,EAACkB,EAAQ,CAAazB,MAAOA,EAAMqB,SAChCG,GADYxB,QAMvB"}
1
+ {"version":3,"file":"AxisDropdown.js","sources":["../../../../src/components/Chart/components/AxisDropdown.js"],"sourcesContent":["import classNames from 'classnames';\nimport { makeStyles, MenuItem, Select as MuiSelect } from '@material-ui/core';\n\nimport { DownOneIcon } from '~/icons';\n\nconst useStyles = makeStyles(({ palette }) => ({\n selectContainer: {\n color: palette.primary.contrastText,\n background: 'transparen !important',\n '& .MuiSelect-icon ': {\n top: 'unset',\n right: 4,\n },\n '& .MuiSelect-icon > svg > path': {\n fill: palette.primary.text6,\n stroke: palette.primary.text6,\n },\n '& .MuiSelect-iconOpen > svg > path': {\n fill: palette.primary.main,\n stroke: palette.primary.main,\n },\n '&:hover': {\n '& .MuiSelect-icon > svg > path': {\n fill: palette.primary.contrastText,\n stroke: palette.primary.contrastText,\n },\n },\n '&:active': {\n '& .MuiSelect-icon > svg > path': {\n fill: palette.primary.main,\n stroke: palette.primary.main,\n },\n },\n },\n selectRoot: {\n fontSize: 16,\n paddingTop: 0,\n paddingBottom: 0,\n '&:focus': {\n backgroundColor: 'transparent',\n },\n },\n unit: {\n fontSize: 12,\n lineHeight: 0,\n color: palette.primary.text7,\n marginLeft: 4,\n },\n}));\n\nconst AxisDropdown = ({ className, classes, value, onChange, unit, options, ...otherProps }) => {\n const styles = useStyles();\n\n return (\n <MuiSelect\n className={classNames(styles.selectContainer, className)}\n value={value}\n classes={{ root: styles.selectRoot, ...classes }}\n onChange={onChange}\n disableUnderline\n IconComponent={props => <DownOneIcon theme=\"filled\" fill=\"#BDBDBD\" size={16} {...props} />}\n renderValue={value => {\n return (\n <>\n {value}\n {unit && <span className={styles.unit}>({unit})</span>}\n </>\n );\n }}\n {...otherProps}\n >\n {options?.map(({ label, value }) => (\n <MenuItem key={value} value={value}>\n {label}\n </MenuItem>\n ))}\n </MuiSelect>\n );\n};\n\nexport default AxisDropdown;\n"],"names":["useStyles","makeStyles","_ref","palette","selectContainer","color","primary","contrastText","background","top","right","fill","text6","stroke","main","selectRoot","fontSize","paddingTop","paddingBottom","backgroundColor","unit","lineHeight","text7","marginLeft","AxisDropdown","_ref2","className","classes","value","onChange","options","otherProps","_objectWithoutProperties","_excluded","styles","_jsx","MuiSelect","_objectSpread","classNames","root","disableUnderline","IconComponent","props","DownOneIcon","theme","size","renderValue","_jsxs","_Fragment","children","map","_ref3","label","MenuItem"],"mappings":"gpJAKA,IAAMA,EAAYC,GAAW,SAAAC,GAAA,IAAGC,IAAAA,QAAO,MAAQ,CAC7CC,gBAAiB,CACfC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AAGC,IAAAA,MAAOxB,IAAAA,MAAK,OAC3BO,EAACkB,EAAQ,CAAazB,MAAOA,EAAMqB,SAChCG,GADYxB,QAMvB"}
@@ -1,2 +1,2 @@
1
- import o from"@babel/runtime/helpers/defineProperty";import s from"@babel/runtime/helpers/objectWithoutProperties";import c from"classnames";import{makeStyles as n,Select as i,MenuItem as t}from"@material-ui/core";import{DownOneIcon as r}from"../../../icons/iconParkIcons.js";import"../../../icons/customIcons/icons/AddMessage.js";import"../../../icons/customIcons/icons/Attention.js";import"../../../icons/customIcons/icons/Collapse.js";import"../../../icons/customIcons/icons/Dashboard.js";import"../../../icons/customIcons/icons/Expand.js";import"../../../icons/customIcons/icons/FolderClosed.js";import"../../../icons/customIcons/icons/FolderClosedFilled.js";import"../../../icons/customIcons/icons/FolderOpened.js";import"../../../icons/customIcons/icons/GreaterOrEqual.js";import"../../../icons/customIcons/icons/LessOrEqual.js";import"../../../icons/customIcons/icons/Search.js";import"../../../icons/customIcons/icons/SearchOne.js";import"../../../icons/customIcons/icons/Wellhub.js";import"../../../icons/customIcons/icons/MultiRuler.js";import"../../../icons/customIcons/icons/Checkbox.js";import"../../../icons/customIcons/icons/CheckboxChecked.js";import"../../../icons/customIcons/icons/CheckboxIndeterminate.js";import"../../../icons/customIcons/icons/Radio.js";import"../../../icons/customIcons/icons/RadioChecked.js";import"../../../icons/customIcons/icons/SimulFrac.js";import"../../../icons/customIcons/icons/ZipperFrac.js";import"../../../icons/customIcons/icons/CautionFilled.js";import"../../../icons/customIcons/icons/MoreApp.js";import"../../../icons/customIcons/icons/Pad.js";import"../../../icons/customIcons/icons/DrilloutUnit.js";import"../../../icons/customIcons/icons/FracFleet.js";import"../../../icons/customIcons/icons/Global.js";import"../../../icons/customIcons/icons/Program.js";import"../../../icons/customIcons/icons/Rig.js";import"../../../icons/customIcons/icons/Well.js";import"../../../icons/customIcons/icons/Gap.js";import"../../../icons/customIcons/icons/Pin.js";import"../../../icons/customIcons/icons/CloseOneFilled.js";import"../../../icons/customIcons/icons/AttentionFilled.js";import"../../../icons/customIcons/icons/CheckOneFilled.js";import"../../../icons/customIcons/icons/Archive.js";import"../../../icons/customIcons/icons/ArchiveCancel.js";import"../../../icons/customIcons/icons/Unarchive.js";import"../../../icons/customIcons/icons/Archived.js";import"../../../icons/customIcons/icons/InterventionUnit.js";import"../../../icons/customIcons/icons/CloudDelete.js";import"../../../icons/customIcons/icons/Lasso.js";import"../../../icons/customIcons/icons/Radius.js";import{jsx as e}from"react/jsx-runtime";var m=["className","classes","value","onChange","options"];function a(o,s){var c=Object.keys(o);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(o);s&&(n=n.filter((function(s){return Object.getOwnPropertyDescriptor(o,s).enumerable}))),c.push.apply(c,n)}return c}function p(s){for(var c=1;c<arguments.length;c++){var n=null!=arguments[c]?arguments[c]:{};c%2?a(Object(n),!0).forEach((function(c){o(s,c,n[c])})):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(o){Object.defineProperty(s,o,Object.getOwnPropertyDescriptor(n,o))}))}return s}var l=n((function(o){var s=o.palette;return{selectContainer:{color:s.primary.contrastText,width:180,background:"rgba(255, 255, 255, 0.08)",borderRadius:8,height:32,marginRight:4,backdropFilter:"blur(2px)","& .MuiSelect-icon ":{top:"unset",right:4},"& .MuiSelect-icon > svg > path":{fill:s.primary.text6,stroke:s.primary.text6},"& .MuiSelect-iconOpen > svg > path":{fill:s.primary.main,stroke:s.primary.main},"&:hover":{background:"rgba(255, 255, 255, 0.16)","& .MuiSelect-icon > svg > path":{fill:s.primary.contrastText,stroke:s.primary.contrastText}},"&:active":{background:"rgba(255, 255, 255, 0.16)"}},selectRoot:{fontSize:14,paddingLeft:12,backgroundColor:"transparent","&:active":{backgroundColor:"transparent"},"&:focus":{backgroundColor:"transparent"}},menuPaper:{marginTop:4}}})),u=function(o){var n=o.className,a=o.classes,u=o.value,j=o.onChange,I=o.options,d=s(o,m),b=l();return e(i,p(p({className:c(b.selectContainer,n),value:u,classes:p({root:b.selectRoot},a),onChange:j,disableUnderline:!0,IconComponent:function(o){return e(r,p({theme:"filled",fill:"#BDBDBD",size:16},o))},MenuProps:{classes:{paper:b.menuPaper},anchorOrigin:{vertical:"bottom",horizontal:"left"},transformOrigin:{vertical:"top",horizontal:"left"}}},d),{},{children:null==I?void 0:I.map((function(o){var s=o.label,c=o.value;return e(t,{value:c,children:s},c)}))}))};export{u as default};
1
+ import o from"@babel/runtime/helpers/defineProperty";import s from"@babel/runtime/helpers/objectWithoutProperties";import c from"classnames";import{makeStyles as n,Select as i,MenuItem as t}from"@material-ui/core";import{DownOneIcon as r}from"../../../icons/iconParkIcons.js";import"../../../icons/customIcons/icons/AddMessage.js";import"../../../icons/customIcons/icons/Attention.js";import"../../../icons/customIcons/icons/Collapse.js";import"../../../icons/customIcons/icons/Dashboard.js";import"../../../icons/customIcons/icons/Expand.js";import"../../../icons/customIcons/icons/FolderClosed.js";import"../../../icons/customIcons/icons/FolderClosedFilled.js";import"../../../icons/customIcons/icons/FolderOpened.js";import"../../../icons/customIcons/icons/GreaterOrEqual.js";import"../../../icons/customIcons/icons/LessOrEqual.js";import"../../../icons/customIcons/icons/Search.js";import"../../../icons/customIcons/icons/SearchOne.js";import"../../../icons/customIcons/icons/Wellhub.js";import"../../../icons/customIcons/icons/MultiRuler.js";import"../../../icons/customIcons/icons/Checkbox.js";import"../../../icons/customIcons/icons/CheckboxChecked.js";import"../../../icons/customIcons/icons/CheckboxIndeterminate.js";import"../../../icons/customIcons/icons/Radio.js";import"../../../icons/customIcons/icons/RadioChecked.js";import"../../../icons/customIcons/icons/SimulFrac.js";import"../../../icons/customIcons/icons/ZipperFrac.js";import"../../../icons/customIcons/icons/CautionFilled.js";import"../../../icons/customIcons/icons/MoreApp.js";import"../../../icons/customIcons/icons/Pad.js";import"../../../icons/customIcons/icons/DrilloutUnit.js";import"../../../icons/customIcons/icons/FracFleet.js";import"../../../icons/customIcons/icons/Global.js";import"../../../icons/customIcons/icons/Program.js";import"../../../icons/customIcons/icons/Rig.js";import"../../../icons/customIcons/icons/Well.js";import"../../../icons/customIcons/icons/Gap.js";import"../../../icons/customIcons/icons/Pin.js";import"../../../icons/customIcons/icons/CloseOneFilled.js";import"../../../icons/customIcons/icons/AttentionFilled.js";import"../../../icons/customIcons/icons/CheckOneFilled.js";import"../../../icons/customIcons/icons/Archive.js";import"../../../icons/customIcons/icons/ArchiveCancel.js";import"../../../icons/customIcons/icons/Unarchive.js";import"../../../icons/customIcons/icons/Archived.js";import"../../../icons/customIcons/icons/InterventionUnit.js";import"../../../icons/customIcons/icons/CloudDelete.js";import"../../../icons/customIcons/icons/Lasso.js";import"../../../icons/customIcons/icons/Radius.js";import"../../../icons/customIcons/icons/ErrorOps.js";import"../../../icons/customIcons/icons/DataTypeOps.js";import"../../../icons/customIcons/icons/FalsePositiveOps.js";import"../../../icons/customIcons/icons/CalibrationOps.js";import"../../../icons/customIcons/icons/CriticalOps.js";import"../../../icons/customIcons/icons/Company.js";import"../../../icons/customIcons/icons/ArchiveOne.js";import"../../../icons/customIcons/icons/ParseBotFusion.js";import"../../../icons/customIcons/icons/Connect.js";import"../../../icons/customIcons/icons/PuzzleOne.js";import"../../../icons/customIcons/icons/Feed.js";import"../../../icons/customIcons/icons/Prompt.js";import"../../../icons/customIcons/icons/Companies.js";import"../../../icons/customIcons/icons/ClipboardAi.js";import"../../../icons/customIcons/icons/Key.js";import"../../../icons/customIcons/icons/AtSignCrossed.js";import"../../../icons/customIcons/icons/MappingManual.js";import"../../../icons/customIcons/icons/Mapping.js";import"../../../icons/customIcons/icons/Metrics.js";import"../../../icons/customIcons/icons/Drops.js";import"../../../icons/customIcons/icons/ClipboardSearch.js";import"../../../icons/customIcons/icons/Template.js";import"../../../icons/customIcons/icons/ClipboardMetrics.js";import"../../../icons/customIcons/icons/ClipboardBuilder.js";import"../../../icons/customIcons/icons/UnitConversion.js";import"../../../icons/customIcons/icons/NPT.js";import{jsx as e}from"react/jsx-runtime";var m=["className","classes","value","onChange","options"];function p(o,s){var c=Object.keys(o);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(o);s&&(n=n.filter((function(s){return Object.getOwnPropertyDescriptor(o,s).enumerable}))),c.push.apply(c,n)}return c}function a(s){for(var c=1;c<arguments.length;c++){var n=null!=arguments[c]?arguments[c]:{};c%2?p(Object(n),!0).forEach((function(c){o(s,c,n[c])})):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(o){Object.defineProperty(s,o,Object.getOwnPropertyDescriptor(n,o))}))}return s}var u=n((function(o){var s=o.palette;return{selectContainer:{color:s.primary.contrastText,width:180,background:"rgba(255, 255, 255, 0.08)",borderRadius:8,height:32,marginRight:4,backdropFilter:"blur(2px)","& .MuiSelect-icon ":{top:"unset",right:4},"& .MuiSelect-icon > svg > path":{fill:s.primary.text6,stroke:s.primary.text6},"& .MuiSelect-iconOpen > svg > path":{fill:s.primary.main,stroke:s.primary.main},"&:hover":{background:"rgba(255, 255, 255, 0.16)","& .MuiSelect-icon > svg > path":{fill:s.primary.contrastText,stroke:s.primary.contrastText}},"&:active":{background:"rgba(255, 255, 255, 0.16)"}},selectRoot:{fontSize:14,paddingLeft:12,backgroundColor:"transparent","&:active":{backgroundColor:"transparent"},"&:focus":{backgroundColor:"transparent"}},menuPaper:{marginTop:4}}})),l=function(o){var n=o.className,p=o.classes,l=o.value,j=o.onChange,I=o.options,d=s(o,m),b=u();return e(i,a(a({className:c(b.selectContainer,n),value:l,classes:a({root:b.selectRoot},p),onChange:j,disableUnderline:!0,IconComponent:function(o){return e(r,a({theme:"filled",fill:"#BDBDBD",size:16},o))},MenuProps:{classes:{paper:b.menuPaper},anchorOrigin:{vertical:"bottom",horizontal:"left"},transformOrigin:{vertical:"top",horizontal:"left"}}},d),{},{children:null==I?void 0:I.map((function(o){var s=o.label,c=o.value;return e(t,{value:c,children:s},c)}))}))};export{l as default};
2
2
  //# sourceMappingURL=ChartSelect.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ChartSelect.js","sources":["../../../../src/components/Chart/components/ChartSelect.js"],"sourcesContent":["import classNames from 'classnames';\nimport { Select as MuiSelect, MenuItem, makeStyles } from '@material-ui/core';\n\nimport { DownOneIcon } from '~/icons';\n\nconst useStyles = makeStyles(({ palette }) => ({\n selectContainer: {\n color: palette.primary.contrastText,\n width: 180,\n background: 'rgba(255, 255, 255, 0.08)',\n borderRadius: 8,\n height: 32,\n marginRight: 4,\n backdropFilter: 'blur(2px)',\n '& .MuiSelect-icon ': {\n top: 'unset',\n right: 4,\n },\n '& .MuiSelect-icon > svg > path': {\n fill: palette.primary.text6,\n stroke: palette.primary.text6,\n },\n '& .MuiSelect-iconOpen > svg > path': {\n fill: palette.primary.main,\n stroke: palette.primary.main,\n },\n '&:hover': {\n background: 'rgba(255, 255, 255, 0.16)',\n '& .MuiSelect-icon > svg > path': {\n fill: palette.primary.contrastText,\n stroke: palette.primary.contrastText,\n },\n },\n '&:active': {\n background: 'rgba(255, 255, 255, 0.16)',\n },\n },\n selectRoot: {\n fontSize: 14,\n paddingLeft: 12,\n backgroundColor: 'transparent',\n '&:active': {\n backgroundColor: 'transparent',\n },\n '&:focus': {\n backgroundColor: 'transparent',\n },\n },\n menuPaper: {\n marginTop: 4,\n },\n}));\n\nconst ChartSelect = ({ className, classes, value, onChange, options, ...otherProps }) => {\n const styles = useStyles();\n\n return (\n <MuiSelect\n className={classNames(styles.selectContainer, className)}\n value={value}\n classes={{ root: styles.selectRoot, ...classes }}\n onChange={onChange}\n disableUnderline\n IconComponent={props => <DownOneIcon theme=\"filled\" fill=\"#BDBDBD\" size={16} {...props} />}\n MenuProps={{\n classes: {\n paper: styles.menuPaper,\n },\n anchorOrigin: {\n vertical: 'bottom',\n horizontal: 'left',\n },\n transformOrigin: {\n vertical: 'top',\n horizontal: 'left',\n },\n }}\n {...otherProps}\n >\n {options?.map(({ label, value }) => (\n <MenuItem key={value} value={value}>\n {label}\n </MenuItem>\n ))}\n </MuiSelect>\n );\n};\n\nexport default ChartSelect;\n"],"names":["useStyles","makeStyles","_ref","palette","selectContainer","color","primary","contrastText","width","background","borderRadius","height","marginRight","backdropFilter","top","right","fill","text6","stroke","main","selectRoot","fontSize","paddingLeft","backgroundColor","menuPaper","marginTop","ChartSelect","_ref2","className","classes","value","onChange","options","otherProps","_objectWithoutProperties","_excluded","styles","_jsx","MuiSelect","_objectSpread","classNames","root","disableUnderline","IconComponent","props","DownOneIcon","theme","size","MenuProps","paper","anchorOrigin","vertical","horizontal","transformOrigin","children","map","_ref3","label","MenuItem"],"mappings":"8tGAKA,IAAMA,EAAYC,GAAW,SAAAC,GAAA,IAAGC,IAAAA,QAAO,MAAQ,CAC7CC,gBAAiB,CACfC,MAAOF,EAAQG,QAAQC,aACvBC,MAAO,IACPC,WAAY,4BACZC,aAAc,EACdC,OAAQ,GACRC,YAAa,EACbC,eAAgB,YAChB,qBAAsB,CACpBC,IAAK,QACLC,MAAO,GAET,kCAAmC,CACjCC,KAAMb,EAAQG,QAAQW,MACtBC,OAAQf,EAAQG,QAAQW,OAE1B,qCAAsC,CACpCD,KAAMb,EAAQG,QAAQa,KACtBD,OAAQf,EAAQG,QAAQa,MAE1B,UAAW,CACTV,WAAY,4BACZ,iCAAkC,CAChCO,KAAMb,EAAQG,QAAQC,aACtBW,OAAQf,EAAQG,QAAQC,eAG5B,WAAY,CACVE,WAAY,8BAGhBW,WAAY,CACVC,SAAU,GACVC,YAAa,GACbC,gBAAiB,cACjB,WAAY,CACVA,gBAAiB,eAEnB,UAAW,CACTA,gBAAiB,gBAGrBC,UAAW,CACTC,UAAW,GAEd,IAEKC,EAAc,SAAqEC,GAAA,IAAlEC,IAAAA,UAAWC,IAAAA,QAASC,IAAAA,MAAOC,IAAAA,SAAUC,IAAAA,QAAYC,EAAUC,EAAAP,EAAAQ,GAC1EC,EAASpC,IAEf,OACEqC,EAACC,EAASC,EAAAA,EAAA,CACRX,UAAWY,EAAWJ,EAAOhC,gBAAiBwB,GAC9CE,MAAOA,EACPD,QAAOU,EAAA,CAAIE,KAAML,EAAOhB,YAAeS,GACvCE,SAAUA,EACVW,kBAAgB,EAChBC,cAAe,SAAAC,GAAK,OAAIP,EAACQ,EAAWN,EAAA,CAACO,MAAM,SAAS9B,KAAK,UAAU+B,KAAM,IAAQH,GAAU,EAC3FI,UAAW,CACTnB,QAAS,CACPoB,MAAOb,EAAOZ,WAEhB0B,aAAc,CACZC,SAAU,SACVC,WAAY,QAEdC,gBAAiB,CACfF,SAAU,MACVC,WAAY,UAGZnB,GAAU,GAAA,CAAAqB,SAEbtB,eAAAA,EAASuB,KAAI,SAAAC,GAAA,IAAGC,IAAAA,MAAO3B,IAAAA,MAAK,OAC3BO,EAACqB,EAAQ,CAAa5B,MAAOA,EAAMwB,SAChCG,GADY3B,QAMvB"}
1
+ {"version":3,"file":"ChartSelect.js","sources":["../../../../src/components/Chart/components/ChartSelect.js"],"sourcesContent":["import classNames from 'classnames';\nimport { Select as MuiSelect, MenuItem, makeStyles } from '@material-ui/core';\n\nimport { DownOneIcon } from '~/icons';\n\nconst useStyles = makeStyles(({ palette }) => ({\n selectContainer: {\n color: palette.primary.contrastText,\n width: 180,\n background: 'rgba(255, 255, 255, 0.08)',\n borderRadius: 8,\n height: 32,\n marginRight: 4,\n backdropFilter: 'blur(2px)',\n '& .MuiSelect-icon ': {\n top: 'unset',\n right: 4,\n },\n '& .MuiSelect-icon > svg > path': {\n fill: palette.primary.text6,\n stroke: palette.primary.text6,\n },\n '& .MuiSelect-iconOpen > svg > path': {\n fill: palette.primary.main,\n stroke: palette.primary.main,\n },\n '&:hover': {\n background: 'rgba(255, 255, 255, 0.16)',\n '& .MuiSelect-icon > svg > path': {\n fill: palette.primary.contrastText,\n stroke: palette.primary.contrastText,\n },\n },\n '&:active': {\n background: 'rgba(255, 255, 255, 0.16)',\n },\n },\n selectRoot: {\n fontSize: 14,\n paddingLeft: 12,\n backgroundColor: 'transparent',\n '&:active': {\n backgroundColor: 'transparent',\n },\n '&:focus': {\n backgroundColor: 'transparent',\n },\n },\n menuPaper: {\n marginTop: 4,\n },\n}));\n\nconst ChartSelect = ({ className, classes, value, onChange, options, ...otherProps }) => {\n const styles = useStyles();\n\n return (\n <MuiSelect\n className={classNames(styles.selectContainer, className)}\n value={value}\n classes={{ root: styles.selectRoot, ...classes }}\n onChange={onChange}\n disableUnderline\n IconComponent={props => <DownOneIcon theme=\"filled\" fill=\"#BDBDBD\" size={16} {...props} />}\n MenuProps={{\n classes: {\n paper: styles.menuPaper,\n },\n anchorOrigin: {\n vertical: 'bottom',\n horizontal: 'left',\n },\n transformOrigin: {\n vertical: 'top',\n horizontal: 'left',\n },\n }}\n {...otherProps}\n >\n {options?.map(({ label, value }) => (\n <MenuItem key={value} value={value}>\n {label}\n </MenuItem>\n ))}\n </MuiSelect>\n );\n};\n\nexport default ChartSelect;\n"],"names":["useStyles","makeStyles","_ref","palette","selectContainer","color","primary","contrastText","width","background","borderRadius","height","marginRight","backdropFilter","top","right","fill","text6","stroke","main","selectRoot","fontSize","paddingLeft","backgroundColor","menuPaper","marginTop","ChartSelect","_ref2","className","classes","value","onChange","options","otherProps","_objectWithoutProperties","_excluded","styles","_jsx","MuiSelect","_objectSpread","classNames","root","disableUnderline","IconComponent","props","DownOneIcon","theme","size","MenuProps","paper","anchorOrigin","vertical","horizontal","transformOrigin","children","map","_ref3","label","MenuItem"],"mappings":"inJAKA,IAAMA,EAAYC,GAAW,SAAAC,GAAA,IAAGC,IAAAA,QAAO,MAAQ,CAC7CC,gBAAiB,CACfC,MAAOF,EAAQG,QAAQC,aACvBC,MAAO,IACPC,WAAY,4BACZC,aAAc,EACdC,OAAQ,GACRC,YAAa,EACbC,eAAgB,YAChB,qBAAsB,CACpBC,IAAK,QACLC,MAAO,GAET,kCAAmC,CACjCC,KAAMb,EAAQG,QAAQW,MACtBC,OAAQf,EAAQG,QAAQW,OAE1B,qCAAsC,CACpCD,KAAMb,EAAQG,QAAQa,KACtBD,OAAQf,EAAQG,QAAQa,MAE1B,UAAW,CACTV,WAAY,4BACZ,iCAAkC,CAChCO,KAAMb,EAAQG,QAAQC,aACtBW,OAAQf,EAAQG,QAAQC,eAG5B,WAAY,CACVE,WAAY,8BAGhBW,WAAY,CACVC,SAAU,GACVC,YAAa,GACbC,gBAAiB,cACjB,WAAY,CACVA,gBAAiB,eAEnB,UAAW,CACTA,gBAAiB,gBAGrBC,UAAW,CACTC,UAAW,GAEd,IAEKC,EAAc,SAAqEC,GAAA,IAAlEC,IAAAA,UAAWC,IAAAA,QAASC,IAAAA,MAAOC,IAAAA,SAAUC,IAAAA,QAAYC,EAAUC,EAAAP,EAAAQ,GAC1EC,EAASpC,IAEf,OACEqC,EAACC,EAASC,EAAAA,EAAA,CACRX,UAAWY,EAAWJ,EAAOhC,gBAAiBwB,GAC9CE,MAAOA,EACPD,QAAOU,EAAA,CAAIE,KAAML,EAAOhB,YAAeS,GACvCE,SAAUA,EACVW,kBAAgB,EAChBC,cAAe,SAAAC,GAAK,OAAIP,EAACQ,EAAWN,EAAA,CAACO,MAAM,SAAS9B,KAAK,UAAU+B,KAAM,IAAQH,GAAU,EAC3FI,UAAW,CACTnB,QAAS,CACPoB,MAAOb,EAAOZ,WAEhB0B,aAAc,CACZC,SAAU,SACVC,WAAY,QAEdC,gBAAiB,CACfF,SAAU,MACVC,WAAY,UAGZnB,GAAU,GAAA,CAAAqB,SAEbtB,eAAAA,EAASuB,KAAI,SAAAC,GAAA,IAAGC,IAAAA,MAAO3B,IAAAA,MAAK,OAC3BO,EAACqB,EAAQ,CAAa5B,MAAOA,EAAMwB,SAChCG,GADY3B,QAMvB"}
@@ -1,2 +1,2 @@
1
- import{useContext as o}from"react";import s from"classnames";import{makeStyles as i}from"@material-ui/core";import c from"../ChartButton.js";import n from"../../ChartWrapperContext.js";import{LineChartIcon as t,ChartHistogramIcon as r}from"../../../../icons/iconParkIcons.js";import"../../../../icons/customIcons/icons/AddMessage.js";import"../../../../icons/customIcons/icons/Attention.js";import"../../../../icons/customIcons/icons/Collapse.js";import"../../../../icons/customIcons/icons/Dashboard.js";import"../../../../icons/customIcons/icons/Expand.js";import"../../../../icons/customIcons/icons/FolderClosed.js";import"../../../../icons/customIcons/icons/FolderClosedFilled.js";import"../../../../icons/customIcons/icons/FolderOpened.js";import"../../../../icons/customIcons/icons/GreaterOrEqual.js";import"../../../../icons/customIcons/icons/LessOrEqual.js";import"../../../../icons/customIcons/icons/Search.js";import"../../../../icons/customIcons/icons/SearchOne.js";import"../../../../icons/customIcons/icons/Wellhub.js";import"../../../../icons/customIcons/icons/MultiRuler.js";import"../../../../icons/customIcons/icons/Checkbox.js";import"../../../../icons/customIcons/icons/CheckboxChecked.js";import"../../../../icons/customIcons/icons/CheckboxIndeterminate.js";import"../../../../icons/customIcons/icons/Radio.js";import"../../../../icons/customIcons/icons/RadioChecked.js";import"../../../../icons/customIcons/icons/SimulFrac.js";import"../../../../icons/customIcons/icons/ZipperFrac.js";import"../../../../icons/customIcons/icons/CautionFilled.js";import"../../../../icons/customIcons/icons/MoreApp.js";import"../../../../icons/customIcons/icons/Pad.js";import"../../../../icons/customIcons/icons/DrilloutUnit.js";import"../../../../icons/customIcons/icons/FracFleet.js";import"../../../../icons/customIcons/icons/Global.js";import"../../../../icons/customIcons/icons/Program.js";import"../../../../icons/customIcons/icons/Rig.js";import"../../../../icons/customIcons/icons/Well.js";import"../../../../icons/customIcons/icons/Gap.js";import"../../../../icons/customIcons/icons/Pin.js";import"../../../../icons/customIcons/icons/CloseOneFilled.js";import"../../../../icons/customIcons/icons/AttentionFilled.js";import"../../../../icons/customIcons/icons/CheckOneFilled.js";import"../../../../icons/customIcons/icons/Archive.js";import"../../../../icons/customIcons/icons/ArchiveCancel.js";import"../../../../icons/customIcons/icons/Unarchive.js";import"../../../../icons/customIcons/icons/Archived.js";import"../../../../icons/customIcons/icons/InterventionUnit.js";import"../../../../icons/customIcons/icons/CloudDelete.js";import"../../../../icons/customIcons/icons/Lasso.js";import"../../../../icons/customIcons/icons/Radius.js";import{jsxs as m,jsx as e}from"react/jsx-runtime";var p=i((function(){return{container:{display:"flex",marginRight:4},lineChartButton:{borderTopRightRadius:"0px !important",borderBottomRightRadius:"0px !important",marginBottom:0,"& .MuiTouchRipple-child":{borderTopRightRadius:0,borderBottomRightRadius:0}},barChartButton:{borderTopLeftRadius:"0px !important",borderBottomLeftRadius:"0px !important",marginBottom:0,"& .MuiTouchRipple-child":{borderTopLeftRadius:0,borderBottomLeftRadius:0}}}})),u="spline",a="bar",l=function(i){var l=i.className,d=void 0===l?null:l,j=i.onClick,I=void 0===j?function(){}:j,h=o(n),C=h.chartType,f=h.handleChartTypeChange,R=p();return m("div",{className:s(R.container,d),children:[e(c,{className:R.lineChartButton,tooltipProps:{title:"Line Chart",placement:"bottom"},isActive:C===u,onClick:function(){f(u),I(u)},children:e(t,{size:16})}),e(c,{className:R.barChartButton,tooltipProps:{title:"Bar Chart",placement:"bottom"},isActive:C===a,onClick:function(){f(a),I(a)},children:e(r,{size:16})})]})};l.defaultProps={onClick:function(){},isHidden:!1};export{l as default};
1
+ import{useContext as o}from"react";import s from"classnames";import{makeStyles as c}from"@material-ui/core";import i from"../ChartButton.js";import n from"../../ChartWrapperContext.js";import{LineChartIcon as t,ChartHistogramIcon as r}from"../../../../icons/iconParkIcons.js";import"../../../../icons/customIcons/icons/AddMessage.js";import"../../../../icons/customIcons/icons/Attention.js";import"../../../../icons/customIcons/icons/Collapse.js";import"../../../../icons/customIcons/icons/Dashboard.js";import"../../../../icons/customIcons/icons/Expand.js";import"../../../../icons/customIcons/icons/FolderClosed.js";import"../../../../icons/customIcons/icons/FolderClosedFilled.js";import"../../../../icons/customIcons/icons/FolderOpened.js";import"../../../../icons/customIcons/icons/GreaterOrEqual.js";import"../../../../icons/customIcons/icons/LessOrEqual.js";import"../../../../icons/customIcons/icons/Search.js";import"../../../../icons/customIcons/icons/SearchOne.js";import"../../../../icons/customIcons/icons/Wellhub.js";import"../../../../icons/customIcons/icons/MultiRuler.js";import"../../../../icons/customIcons/icons/Checkbox.js";import"../../../../icons/customIcons/icons/CheckboxChecked.js";import"../../../../icons/customIcons/icons/CheckboxIndeterminate.js";import"../../../../icons/customIcons/icons/Radio.js";import"../../../../icons/customIcons/icons/RadioChecked.js";import"../../../../icons/customIcons/icons/SimulFrac.js";import"../../../../icons/customIcons/icons/ZipperFrac.js";import"../../../../icons/customIcons/icons/CautionFilled.js";import"../../../../icons/customIcons/icons/MoreApp.js";import"../../../../icons/customIcons/icons/Pad.js";import"../../../../icons/customIcons/icons/DrilloutUnit.js";import"../../../../icons/customIcons/icons/FracFleet.js";import"../../../../icons/customIcons/icons/Global.js";import"../../../../icons/customIcons/icons/Program.js";import"../../../../icons/customIcons/icons/Rig.js";import"../../../../icons/customIcons/icons/Well.js";import"../../../../icons/customIcons/icons/Gap.js";import"../../../../icons/customIcons/icons/Pin.js";import"../../../../icons/customIcons/icons/CloseOneFilled.js";import"../../../../icons/customIcons/icons/AttentionFilled.js";import"../../../../icons/customIcons/icons/CheckOneFilled.js";import"../../../../icons/customIcons/icons/Archive.js";import"../../../../icons/customIcons/icons/ArchiveCancel.js";import"../../../../icons/customIcons/icons/Unarchive.js";import"../../../../icons/customIcons/icons/Archived.js";import"../../../../icons/customIcons/icons/InterventionUnit.js";import"../../../../icons/customIcons/icons/CloudDelete.js";import"../../../../icons/customIcons/icons/Lasso.js";import"../../../../icons/customIcons/icons/Radius.js";import"../../../../icons/customIcons/icons/ErrorOps.js";import"../../../../icons/customIcons/icons/DataTypeOps.js";import"../../../../icons/customIcons/icons/FalsePositiveOps.js";import"../../../../icons/customIcons/icons/CalibrationOps.js";import"../../../../icons/customIcons/icons/CriticalOps.js";import"../../../../icons/customIcons/icons/Company.js";import"../../../../icons/customIcons/icons/ArchiveOne.js";import"../../../../icons/customIcons/icons/ParseBotFusion.js";import"../../../../icons/customIcons/icons/Connect.js";import"../../../../icons/customIcons/icons/PuzzleOne.js";import"../../../../icons/customIcons/icons/Feed.js";import"../../../../icons/customIcons/icons/Prompt.js";import"../../../../icons/customIcons/icons/Companies.js";import"../../../../icons/customIcons/icons/ClipboardAi.js";import"../../../../icons/customIcons/icons/Key.js";import"../../../../icons/customIcons/icons/AtSignCrossed.js";import"../../../../icons/customIcons/icons/MappingManual.js";import"../../../../icons/customIcons/icons/Mapping.js";import"../../../../icons/customIcons/icons/Metrics.js";import"../../../../icons/customIcons/icons/Drops.js";import"../../../../icons/customIcons/icons/ClipboardSearch.js";import"../../../../icons/customIcons/icons/Template.js";import"../../../../icons/customIcons/icons/ClipboardMetrics.js";import"../../../../icons/customIcons/icons/ClipboardBuilder.js";import"../../../../icons/customIcons/icons/UnitConversion.js";import"../../../../icons/customIcons/icons/NPT.js";import{jsxs as m,jsx as p}from"react/jsx-runtime";var e=c((function(){return{container:{display:"flex",marginRight:4},lineChartButton:{borderTopRightRadius:"0px !important",borderBottomRightRadius:"0px !important",marginBottom:0,"& .MuiTouchRipple-child":{borderTopRightRadius:0,borderBottomRightRadius:0}},barChartButton:{borderTopLeftRadius:"0px !important",borderBottomLeftRadius:"0px !important",marginBottom:0,"& .MuiTouchRipple-child":{borderTopLeftRadius:0,borderBottomLeftRadius:0}}}})),u="spline",a="bar",l=function(c){var l=c.className,j=void 0===l?null:l,I=c.onClick,d=void 0===I?function(){}:I,h=o(n),C=h.chartType,b=h.handleChartTypeChange,f=e();return m("div",{className:s(f.container,j),children:[p(i,{className:f.lineChartButton,tooltipProps:{title:"Line Chart",placement:"bottom"},isActive:C===u,onClick:function(){b(u),d(u)},children:p(t,{size:16})}),p(i,{className:f.barChartButton,tooltipProps:{title:"Bar Chart",placement:"bottom"},isActive:C===a,onClick:function(){b(a),d(a)},children:p(r,{size:16})})]})};l.defaultProps={onClick:function(){},isHidden:!1};export{l as default};
2
2
  //# sourceMappingURL=ChartTypeButton.js.map