@corva/ui 0.58.0-1 → 0.58.0-11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (266) hide show
  1. package/cjs-bundle/components/AddComment/Popover.js +1 -1
  2. package/cjs-bundle/components/AddComment/components/Content.js +1 -1
  3. package/cjs-bundle/components/AnchorsList/AnchorsList.js +1 -1
  4. package/cjs-bundle/components/Annotations/components/AnnotationsList/components/AddAnnotationForm/index.js +1 -1
  5. package/cjs-bundle/components/BICOffsetPickerDialog/index.js +1 -1
  6. package/cjs-bundle/components/Button/index.js +1 -1
  7. package/cjs-bundle/components/Casing/CasingTableV2/components/CasingJoints/Editor.js +1 -1
  8. package/cjs-bundle/components/Casing/CasingTableV2/components/Component.js +1 -1
  9. package/cjs-bundle/components/Casing/CasingTableV2/components/DrillPipe/Editor.js +1 -1
  10. package/cjs-bundle/components/CollapsableSidebar.js +1 -1
  11. package/cjs-bundle/components/CommentInput/index.js +1 -1
  12. package/cjs-bundle/components/DevCenter/AppFilterPanelLayout/AppFilterPanelLayout.js +1 -1
  13. package/cjs-bundle/components/DevCenter/AppSettingsPopover/AppSettingsPopover.js +1 -1
  14. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/DevCenterAppContainer.js +1 -1
  15. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/AppInfoMessage/AppInfoMessage.js +1 -1
  16. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/AppSettingsDialog.js +1 -1
  17. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/RemoveAppButton.js +1 -1
  18. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/NonPriorityMenus/NonPriorityMenus.js +1 -1
  19. package/cjs-bundle/components/DevCenter/IsolatedDevCenterAppContainer/DevCenterAppZoidComponent.js +1 -1
  20. package/cjs-bundle/components/DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedApp.js +1 -1
  21. package/cjs-bundle/components/DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedAppPage.js +1 -1
  22. package/cjs-bundle/components/DocumentViewer/DocumentViewer.js +1 -1
  23. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Agitator/Editor.js +1 -1
  24. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Bit/Editor.js +1 -1
  25. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Component.js +1 -1
  26. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/DrillCollar/Editor.js +1 -1
  27. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/DrillPipe/Editor.js +1 -1
  28. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Jar/Editor.js +1 -1
  29. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Lwd/Editor.js +1 -1
  30. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Mwd/Editor.js +1 -1
  31. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Pdm/Editor.js +1 -1
  32. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Rss/Editor.js +1 -1
  33. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Stabilizer/Editor.js +1 -1
  34. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Sub/Editor.js +1 -1
  35. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Ur/Editor.js +1 -1
  36. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/shared/ConfirmationPopup.js +1 -1
  37. package/cjs-bundle/components/FeedItem/components/Content.js +1 -1
  38. package/cjs-bundle/components/FeedItem/feedItemTypes/HookloadCommentFeedItem.js +1 -1
  39. package/cjs-bundle/components/FeedItem/feedItemTypes/PCCommentFeedItem.js +1 -1
  40. package/cjs-bundle/components/Modal/CorvaModal.css.js +1 -1
  41. package/cjs-bundle/components/Notifications/Toast.js +1 -1
  42. package/cjs-bundle/components/Notifications/Toast.styles.js +1 -1
  43. package/cjs-bundle/components/OffsetWellPickerV2/components/Filter/SidetrackSwitch.js +1 -1
  44. package/cjs-bundle/components/OffsetWellPickerV2/components/Filter/ToggleMapButton.js +1 -1
  45. package/cjs-bundle/components/OffsetWellPickerV2/components/Table/MetricsAddMenu.js +1 -1
  46. package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/components/Filter/SidetrackSwitch.js +1 -1
  47. package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/MetricsAddMenu.js +1 -1
  48. package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/index.js +1 -1
  49. package/cjs-bundle/components/OffsetWellPickerV3/components/OffsetWellSelectionView/index.js +1 -1
  50. package/cjs-bundle/components/OffsetWellPickerV3/components/TabSelection/ToggleMapButton.js +1 -1
  51. package/cjs-bundle/components/OffsetWellPickerV3/components/TabSelection/index.js +1 -1
  52. package/cjs-bundle/components/OffsetWellPickerV3/components/WellHubView/index.js +1 -1
  53. package/cjs-bundle/components/OffsetWellPickerV3/components/shared/OffsetWellTableHead.js +1 -1
  54. package/cjs-bundle/components/OffsetWellPickerV4/OffsetWellPickerV4.js +1 -1
  55. package/cjs-bundle/components/OffsetWellPickerV4/components/Filter/Filter.js +1 -1
  56. package/cjs-bundle/components/OffsetWellPickerV4/components/OffsetWellsTable/MetricsSettingMenu.js +1 -1
  57. package/cjs-bundle/components/OffsetWellPickerV4/components/OffsetWellsTable/OffsetWellsTable.js +1 -1
  58. package/cjs-bundle/components/OffsetWellPickerV4/components/Toolbar/Toolbar.js +1 -1
  59. package/cjs-bundle/components/RealTimeValuesSidebar/RealTimeSidebar.js +1 -0
  60. package/cjs-bundle/components/RealTimeValuesSidebar/RealTimeSidebarContext.js +1 -0
  61. package/cjs-bundle/components/RealTimeValuesSidebar/RealTimeSidebarStyles.js +1 -0
  62. package/cjs-bundle/components/RealTimeValuesSidebar/RealTimeValuesBox/RealTimeBox.js +1 -0
  63. package/cjs-bundle/components/RealTimeValuesSidebar/RealTimeValuesBox/RealTimeBoxEditDialog.js +1 -0
  64. package/cjs-bundle/components/RealTimeValuesSidebar/RealTimeValuesBox/RealTimeBoxList.js +1 -0
  65. package/cjs-bundle/components/RealTimeValuesSidebar/RealTimeValuesBox/RealTimeBoxStyles.js +1 -0
  66. package/cjs-bundle/components/RealTimeValuesSidebar/SidebarFooter.js +1 -0
  67. package/cjs-bundle/components/RealTimeValuesSidebar/SidebarTitle.js +1 -0
  68. package/cjs-bundle/components/RealTimeValuesSidebar/enums.js +1 -0
  69. package/cjs-bundle/components/StatusBadge/components/ReportIssueModal.js +1 -1
  70. package/cjs-bundle/components/StatusBadge/constants.js +1 -1
  71. package/cjs-bundle/components/StatusBadge/index.js +1 -1
  72. package/cjs-bundle/components/StatusBadge/utils.js +1 -1
  73. package/cjs-bundle/components/TextLink/index.js +1 -1
  74. package/cjs-bundle/components/Toaster/ToastContainer.js +1 -1
  75. package/cjs-bundle/components/Toaster/Toaster.js +1 -1
  76. package/cjs-bundle/components/UserMention/index.js +1 -1
  77. package/cjs-bundle/components/UserMention/style.css.js +1 -1
  78. package/cjs-bundle/components/index.js +1 -1
  79. package/cjs-bundle/constants/feed.js +1 -1
  80. package/cjs-bundle/constants/rigActivity.js +1 -1
  81. package/cjs-bundle/effects/useMatchAppContainerSize.js +1 -1
  82. package/components/AddComment/Popover.js +1 -1
  83. package/components/AddComment/components/Content.d.ts.map +1 -1
  84. package/components/AddComment/components/Content.js +1 -1
  85. package/components/AnchorsList/AnchorsList.d.ts.map +1 -1
  86. package/components/AnchorsList/AnchorsList.js +1 -1
  87. package/components/AnchorsList/__tests__/AnchorsList.test.d.ts +2 -0
  88. package/components/AnchorsList/__tests__/AnchorsList.test.d.ts.map +1 -0
  89. package/components/Annotations/components/AnnotationsList/components/AddAnnotationForm/index.js +1 -1
  90. package/components/BICOffsetPickerDialog/index.js +1 -1
  91. package/components/Button/index.d.ts +1 -5
  92. package/components/Button/index.d.ts.map +1 -1
  93. package/components/Button/index.js +1 -1
  94. package/components/Casing/CasingTableV2/components/CasingJoints/Editor.js +1 -1
  95. package/components/Casing/CasingTableV2/components/Component.js +1 -1
  96. package/components/Casing/CasingTableV2/components/DrillPipe/Editor.js +1 -1
  97. package/components/CollapsableSidebar.js +1 -1
  98. package/components/CommentInput/index.js +1 -1
  99. package/components/DevCenter/AppFilterPanelLayout/AppFilterPanelLayout.d.ts +17 -8
  100. package/components/DevCenter/AppFilterPanelLayout/AppFilterPanelLayout.d.ts.map +1 -1
  101. package/components/DevCenter/AppFilterPanelLayout/AppFilterPanelLayout.js +1 -1
  102. package/components/DevCenter/AppFilterPanelLayout/__tests__/AppFilterPanelLayout.test.d.ts +2 -0
  103. package/components/DevCenter/AppFilterPanelLayout/__tests__/AppFilterPanelLayout.test.d.ts.map +1 -0
  104. package/components/DevCenter/AppSettingsPopover/AppSettingsPopover.d.ts +16 -45
  105. package/components/DevCenter/AppSettingsPopover/AppSettingsPopover.d.ts.map +1 -1
  106. package/components/DevCenter/AppSettingsPopover/AppSettingsPopover.js +1 -1
  107. package/components/DevCenter/AppSettingsPopover/index.d.ts +1 -1
  108. package/components/DevCenter/AppSettingsPopover/index.d.ts.map +1 -1
  109. package/components/DevCenter/AppSideBar/AppSideBar.d.ts +1 -1
  110. package/components/DevCenter/AppSideBar/AppSideBar.d.ts.map +1 -1
  111. package/components/DevCenter/DevCenterAppContainer/DevCenterAppContainer.js +1 -1
  112. package/components/DevCenter/DevCenterAppContainer/components/AppInfoMessage/AppInfoMessage.js +1 -1
  113. package/components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/AppSettingsDialog.js +1 -1
  114. package/components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/RemoveAppButton.js +1 -1
  115. package/components/DevCenter/DevCenterAppContainer/components/NonPriorityMenus/NonPriorityMenus.js +1 -1
  116. package/components/DevCenter/IsolatedDevCenterAppContainer/DevCenterAppZoidComponent.js +1 -1
  117. package/components/DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedApp.js +1 -1
  118. package/components/DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedAppPage.js +1 -1
  119. package/components/DocumentViewer/DocumentViewer.js +1 -1
  120. package/components/Drillstring/BHAComponentsTable/components/Agitator/Editor.js +1 -1
  121. package/components/Drillstring/BHAComponentsTable/components/Bit/Editor.js +1 -1
  122. package/components/Drillstring/BHAComponentsTable/components/Component.js +1 -1
  123. package/components/Drillstring/BHAComponentsTable/components/DrillCollar/Editor.js +1 -1
  124. package/components/Drillstring/BHAComponentsTable/components/DrillPipe/Editor.js +1 -1
  125. package/components/Drillstring/BHAComponentsTable/components/Jar/Editor.js +1 -1
  126. package/components/Drillstring/BHAComponentsTable/components/Lwd/Editor.js +1 -1
  127. package/components/Drillstring/BHAComponentsTable/components/Mwd/Editor.js +1 -1
  128. package/components/Drillstring/BHAComponentsTable/components/Pdm/Editor.js +1 -1
  129. package/components/Drillstring/BHAComponentsTable/components/Rss/Editor.js +1 -1
  130. package/components/Drillstring/BHAComponentsTable/components/Stabilizer/Editor.js +1 -1
  131. package/components/Drillstring/BHAComponentsTable/components/Sub/Editor.js +1 -1
  132. package/components/Drillstring/BHAComponentsTable/components/Ur/Editor.js +1 -1
  133. package/components/Drillstring/BHAComponentsTable/components/shared/ConfirmationPopup.js +1 -1
  134. package/components/Drillstring/BHAComponentsTable/components/sharedStyles.d.ts +1 -1
  135. package/components/EmbeddedApp/__tests__/EmbeddedApp.test.d.ts +2 -0
  136. package/components/EmbeddedApp/__tests__/EmbeddedApp.test.d.ts.map +1 -0
  137. package/components/FeedItem/components/Content.d.ts.map +1 -1
  138. package/components/FeedItem/components/Content.js +1 -1
  139. package/components/FeedItem/feedItemTypes/HookloadCommentFeedItem.d.ts +4 -1
  140. package/components/FeedItem/feedItemTypes/HookloadCommentFeedItem.d.ts.map +1 -1
  141. package/components/FeedItem/feedItemTypes/HookloadCommentFeedItem.js +1 -1
  142. package/components/FeedItem/feedItemTypes/PCCommentFeedItem.d.ts +2 -14
  143. package/components/FeedItem/feedItemTypes/PCCommentFeedItem.d.ts.map +1 -1
  144. package/components/FeedItem/feedItemTypes/PCCommentFeedItem.js +1 -1
  145. package/components/Modal/CorvaModal.css.js +1 -1
  146. package/components/Modal/__tests__/CorvaModal.snapshot.test.d.ts +2 -0
  147. package/components/Modal/__tests__/CorvaModal.snapshot.test.d.ts.map +1 -0
  148. package/components/Modal/__tests__/CorvaModal.test.d.ts +2 -0
  149. package/components/Modal/__tests__/CorvaModal.test.d.ts.map +1 -0
  150. package/components/Notifications/Toast.js +1 -1
  151. package/components/Notifications/Toast.styles.d.ts.map +1 -1
  152. package/components/Notifications/Toast.styles.js +1 -1
  153. package/components/OffsetWellButton/__tests__/OffsetWellButton.test.d.ts +2 -0
  154. package/components/OffsetWellButton/__tests__/OffsetWellButton.test.d.ts.map +1 -0
  155. package/components/OffsetWellPickerV2/components/Filter/SidetrackSwitch.js +1 -1
  156. package/components/OffsetWellPickerV2/components/Filter/ToggleMapButton.js +1 -1
  157. package/components/OffsetWellPickerV2/components/Table/MetricsAddMenu.js +1 -1
  158. package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Filter/SidetrackSwitch.js +1 -1
  159. package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/MetricsAddMenu.js +1 -1
  160. package/components/OffsetWellPickerV3/components/CustomSelectionView/index.js +1 -1
  161. package/components/OffsetWellPickerV3/components/OffsetWellSelectionView/index.js +1 -1
  162. package/components/OffsetWellPickerV3/components/TabSelection/ToggleMapButton.js +1 -1
  163. package/components/OffsetWellPickerV3/components/TabSelection/index.js +1 -1
  164. package/components/OffsetWellPickerV3/components/WellHubView/index.js +1 -1
  165. package/components/OffsetWellPickerV3/components/shared/OffsetWellTableHead.js +1 -1
  166. package/components/OffsetWellPickerV4/OffsetWellPickerV4.js +1 -1
  167. package/components/OffsetWellPickerV4/components/Filter/Filter.js +1 -1
  168. package/components/OffsetWellPickerV4/components/OffsetWellsTable/MetricsSettingMenu.js +1 -1
  169. package/components/OffsetWellPickerV4/components/OffsetWellsTable/OffsetWellsTable.js +1 -1
  170. package/components/OffsetWellPickerV4/components/Toolbar/Toolbar.js +1 -1
  171. package/components/RealTimeValuesSidebar/RealTimeSidebar.d.ts +4 -0
  172. package/components/RealTimeValuesSidebar/RealTimeSidebar.d.ts.map +1 -0
  173. package/components/RealTimeValuesSidebar/RealTimeSidebar.js +1 -0
  174. package/components/RealTimeValuesSidebar/RealTimeSidebarContext.d.ts +4 -0
  175. package/components/RealTimeValuesSidebar/RealTimeSidebarContext.d.ts.map +1 -0
  176. package/components/RealTimeValuesSidebar/RealTimeSidebarContext.js +1 -0
  177. package/components/RealTimeValuesSidebar/RealTimeSidebarStyles.d.ts +2 -0
  178. package/components/RealTimeValuesSidebar/RealTimeSidebarStyles.d.ts.map +1 -0
  179. package/components/RealTimeValuesSidebar/RealTimeSidebarStyles.js +1 -0
  180. package/components/RealTimeValuesSidebar/RealTimeValuesBox/RealTimeBox.d.ts +6 -0
  181. package/components/RealTimeValuesSidebar/RealTimeValuesBox/RealTimeBox.d.ts.map +1 -0
  182. package/components/RealTimeValuesSidebar/RealTimeValuesBox/RealTimeBox.js +1 -0
  183. package/components/RealTimeValuesSidebar/RealTimeValuesBox/RealTimeBoxEditDialog.d.ts +6 -0
  184. package/components/RealTimeValuesSidebar/RealTimeValuesBox/RealTimeBoxEditDialog.d.ts.map +1 -0
  185. package/components/RealTimeValuesSidebar/RealTimeValuesBox/RealTimeBoxEditDialog.js +1 -0
  186. package/components/RealTimeValuesSidebar/RealTimeValuesBox/RealTimeBoxList.d.ts +6 -0
  187. package/components/RealTimeValuesSidebar/RealTimeValuesBox/RealTimeBoxList.d.ts.map +1 -0
  188. package/components/RealTimeValuesSidebar/RealTimeValuesBox/RealTimeBoxList.js +1 -0
  189. package/components/RealTimeValuesSidebar/RealTimeValuesBox/RealTimeBoxStyles.d.ts +2 -0
  190. package/components/RealTimeValuesSidebar/RealTimeValuesBox/RealTimeBoxStyles.d.ts.map +1 -0
  191. package/components/RealTimeValuesSidebar/RealTimeValuesBox/RealTimeBoxStyles.js +1 -0
  192. package/components/RealTimeValuesSidebar/RealTimeValuesBox/index.d.ts +2 -0
  193. package/components/RealTimeValuesSidebar/RealTimeValuesBox/index.d.ts.map +1 -0
  194. package/components/RealTimeValuesSidebar/SidebarFooter.d.ts +6 -0
  195. package/components/RealTimeValuesSidebar/SidebarFooter.d.ts.map +1 -0
  196. package/components/RealTimeValuesSidebar/SidebarFooter.js +1 -0
  197. package/components/RealTimeValuesSidebar/SidebarTitle.d.ts +5 -0
  198. package/components/RealTimeValuesSidebar/SidebarTitle.d.ts.map +1 -0
  199. package/components/RealTimeValuesSidebar/SidebarTitle.js +1 -0
  200. package/components/RealTimeValuesSidebar/__tests__/RealTimeBox.test.d.ts +2 -0
  201. package/components/RealTimeValuesSidebar/__tests__/RealTimeBox.test.d.ts.map +1 -0
  202. package/components/RealTimeValuesSidebar/__tests__/RealTimeBoxEditDialog.test.d.ts +2 -0
  203. package/components/RealTimeValuesSidebar/__tests__/RealTimeBoxEditDialog.test.d.ts.map +1 -0
  204. package/components/RealTimeValuesSidebar/__tests__/RealTimeSidebar.test.d.ts +2 -0
  205. package/components/RealTimeValuesSidebar/__tests__/RealTimeSidebar.test.d.ts.map +1 -0
  206. package/components/RealTimeValuesSidebar/__tests__/RealTimeSidebarFooter.test.d.ts +2 -0
  207. package/components/RealTimeValuesSidebar/__tests__/RealTimeSidebarFooter.test.d.ts.map +1 -0
  208. package/components/RealTimeValuesSidebar/enums.d.ts +5 -0
  209. package/components/RealTimeValuesSidebar/enums.d.ts.map +1 -0
  210. package/components/RealTimeValuesSidebar/enums.js +1 -0
  211. package/components/RealTimeValuesSidebar/index.d.ts +2 -0
  212. package/components/RealTimeValuesSidebar/index.d.ts.map +1 -0
  213. package/components/RealTimeValuesSidebar/types.d.ts +59 -0
  214. package/components/RealTimeValuesSidebar/types.d.ts.map +1 -0
  215. package/components/StatusBadge/__tests__/StatusBadge.test.d.ts.map +1 -1
  216. package/components/StatusBadge/__tests__/useWellnessAlerts.test.d.ts +2 -0
  217. package/components/StatusBadge/__tests__/useWellnessAlerts.test.d.ts.map +1 -0
  218. package/components/StatusBadge/__tests__/utils.test.d.ts +2 -0
  219. package/components/StatusBadge/__tests__/utils.test.d.ts.map +1 -0
  220. package/components/StatusBadge/api.d.ts +4 -0
  221. package/components/StatusBadge/api.d.ts.map +1 -0
  222. package/components/StatusBadge/components/ReportIssueModal.d.ts +7 -2
  223. package/components/StatusBadge/components/ReportIssueModal.d.ts.map +1 -1
  224. package/components/StatusBadge/components/ReportIssueModal.js +1 -1
  225. package/components/StatusBadge/constants.d.ts +12 -0
  226. package/components/StatusBadge/constants.d.ts.map +1 -1
  227. package/components/StatusBadge/constants.js +1 -1
  228. package/components/StatusBadge/index.d.ts +1 -1
  229. package/components/StatusBadge/index.d.ts.map +1 -1
  230. package/components/StatusBadge/index.js +1 -1
  231. package/components/StatusBadge/types.d.ts +48 -0
  232. package/components/StatusBadge/types.d.ts.map +1 -0
  233. package/components/StatusBadge/useWellnessAlerts.d.ts +10 -0
  234. package/components/StatusBadge/useWellnessAlerts.d.ts.map +1 -0
  235. package/components/StatusBadge/utils.d.ts +8 -3
  236. package/components/StatusBadge/utils.d.ts.map +1 -1
  237. package/components/StatusBadge/utils.js +1 -1
  238. package/components/TextLink/index.js +1 -1
  239. package/components/Toaster/ToastContainer.d.ts +3 -2
  240. package/components/Toaster/ToastContainer.d.ts.map +1 -1
  241. package/components/Toaster/ToastContainer.js +1 -1
  242. package/components/Toaster/Toaster.d.ts +7 -6
  243. package/components/Toaster/Toaster.d.ts.map +1 -1
  244. package/components/Toaster/Toaster.js +1 -1
  245. package/components/Toaster/__tests__/ToastContainer.test.d.ts +2 -0
  246. package/components/Toaster/__tests__/ToastContainer.test.d.ts.map +1 -0
  247. package/components/Toaster/__tests__/Toaster.test.d.ts +2 -0
  248. package/components/Toaster/__tests__/Toaster.test.d.ts.map +1 -0
  249. package/components/Toaster/index.d.ts +2 -2
  250. package/components/Toaster/index.d.ts.map +1 -1
  251. package/components/Toaster/types.d.ts +6 -0
  252. package/components/Toaster/types.d.ts.map +1 -0
  253. package/components/UserMention/index.js +1 -1
  254. package/components/UserMention/style.css.js +1 -1
  255. package/components/index.d.ts +2 -1
  256. package/components/index.js +1 -1
  257. package/constants/feed.d.ts.map +1 -1
  258. package/constants/feed.js +1 -1
  259. package/constants/rigActivity.d.ts +1 -0
  260. package/constants/rigActivity.d.ts.map +1 -1
  261. package/constants/rigActivity.js +1 -1
  262. package/effects/useMatchAppContainerSize.d.ts.map +1 -1
  263. package/effects/useMatchAppContainerSize.js +1 -1
  264. package/package.json +3 -2
  265. package/components/Modal/__tests__/index.snapshot.test.d.ts +0 -2
  266. package/components/Modal/__tests__/index.snapshot.test.d.ts.map +0 -1
@@ -1 +1 @@
1
- import{memo as e}from"react";import{isEmpty as t}from"lodash";import o from"prop-types";import{Grid as r}from"@material-ui/core";import{isMobileDetected as i}from"../../../../../utils/mobileDetect.js";import{jsxs as n,jsx as s}from"react/jsx-runtime";import"../../../../DevCenter/DevCenterAppContainer/components/AppActions/AppActions.css.js";import"../../../../DevCenter/DevCenterAppContainer/components/AppSettingsDialog/AppSettingsDialog.js";import"../../../../DevCenter/DevCenterAppContainer/components/AnnotationsButton/AnnotationsButton.js";import"../../../../DevCenter/DevCenterAppContainer/components/NonPriorityMenus/NonPriorityMenus.js";import"../../../../DevCenter/DevCenterAppContainer/components/FullscreenButton/FullscreenButton.js";import"../../../../DevCenter/DevCenterAppContainer/components/AppInfoMessage/AppInfoMessage.js";import"../../../../DevCenter/DevCenterAppContainer/components/DevCenterAppView/DevCenterAppView.js";import"../../../../DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/DcFullscreenElemsCoordinatorProvider.js";import"../../../../DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/IsInsideDcFullscreenElemProvider.js";import"../../../../DevCenter/DevCenterAppContainer/components/IsInsideDcAppProvider/IsInsideDcAppProvider.js";import"../../../../Modal/CorvaModal.js";import"uuid";import"../../../../IconMenu/index.js";import"../../../../StyledMenuItem/index.js";import"../../../../DevCenter/AppHeader/AppHeader.js";import"../../../../DevCenter/AppSideBar/AppSideBar.js";import"../../../../DevCenter/AppsDataProvider/AppsDataProvider.js";import"@babel/runtime/helpers/defineProperty";import"@babel/runtime/helpers/slicedToArray";import"classnames";import"../../../../Icons/AnnotationIcon.js";import"../../../../Annotations/components/AnnotationsList/index.js";import"../../../../Annotations/components/LastAnnotation/index.js";import"../../../../Annotations/AnnotationsContext.js";import"@babel/runtime/helpers/asyncToGenerator";import"@babel/runtime/regenerator";import"querystring";import"uuid/v1";import"../../../../../clients/jsonApi/index.js";import"../../../../../clients/subscriptions.js";import"../../../../../constants/goals.js";import"../../../../../constants/segment.js";import"../../../../../constants/alerts.js";import"../../../../../constants/apps.js";import{COMPONENT_MATERIALS as p}from"../../../../../constants/drillstring.js";import"../../../../../constants/completion.js";import"../../../../../constants/notifications.js";import"../../../../../constants/feed.js";import"../../../../../constants/bha.js";import"../../../../GradientManager/configuration/constants.js";import"../../../../../utils/index.js";import"../../../../HelpCenter/HelpCenterIcon.js";import"../../../../DevCenter/AppContext.js";import"../../../../DevCenter/DevCenterAppContainer/DevCenterAppContainer.css.js";import"../../../../DevCenter/DevCenterAppContainer/components/RestoreAppSizeButton/index.js";import"../../../../DevCenter/DevCenterAppContainer/components/PriorityMenus/PriorityMenus.css.js";import"../../../../DevCenter/DevCenterRouterContext/DevCenterRouterContext.js";import"../../../../DevCenter/DevCenterRouterContext/UniversalLink/UniversalLink.js";import"@babel/runtime/helpers/objectWithoutProperties";import"react-router";import"../../../../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"../../../../AppVersionsSelect/AppVersionsSelect.js";import"../../../../LoadingIndicator/LoadingIndicator.js";import"../../../../Typography.js";import"../../../../CollapsableSidebar.js";import"../../../../DateTimePicker/index.js";import"../../../../DatePicker/index.js";import"../../../../ErrorBoundary/ErrorBoundary.js";import"../../../../ErrorBoundary/DevCenterAppErrorView/DevCenterAppErrorView.js";import"../../../../SlateFormattedText/SlateFormattedText.js";import"../../../../SlateFormattedText/RenderElements.js";import"@babel/runtime/helpers/typeof";import"slate";import"../../../../ParameterCharts/ParameterCharts.js";import"../../../../ParameterCharts/AddEditTrack.js";import"../../../../ChartActionsList/ChartActionsList.js";import"../../../../CopyToClipboard/CopyToClipboard.js";import"../../../../AssetEditor/AssetEditorAutocomplete.js";import"../../../../AssetEditor/SingleAssetEditor.js";import"../../../../SettingEditors/ColorEditor/index.js";import"../../../../SettingEditors/DropdownEditor/index.js";import"../../../../SettingEditors/RadioEditor/index.js";import"../../../../SwitchControl/index.js";import"../../../../ColorPicker/ColorPicker.js";import"../../../../Chart/components/ChartButton.js";import"../../../../Chart/components/ChartButtons.js";import"../../../../Chart/components/ChartWrapper.js";import"../../../../Chart/components/AxisDropdown.js";import"../../../../Chart/components/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"../../../../ColorPicker/PaletteChromePicker/PaletteChromePicker.js";import"../../../../TruncatedText/index.js";import"../../../../RangeSlider/RangeSlider.js";import"../../../../AdvancedSlider/AdvancedSlider.js";import"../../../../Breadcrumbs/index.js";import"../../../../VirtualizedTable/index.js";import"../../../../EmptyView/EmptyView.js";import"../../../../EmptyView/EmptyAppView/EmptyAppView.js";import"../../../../Button/index.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"../../../../IconButton/index.js";import"../../../../TextField/index.js";import"../../../../Chip/index.js";import"../../../../Counter/index.js";import"../../../../AnchorsList/AnchorsList.js";import"../../../../Select/index.js";import"../../../../CustomSelect/index.js";import"../../../../Tabs/Tabs.js";import"../../../../Tabs/Tab.js";import"../../../../ResizableTable/ResizableTable.js";import"@material-ui/icons/Check";import"@material-ui/icons/Close";import"@material-ui/icons/Edit";import"@material-ui/icons/Delete";import"../../../../GradientManager/GradientList.js";import"@material-ui/icons/AddCircle";import"../../../../GradientManager/GradientPreview/GradientPreview.js";import"../../../../GradientManager/GradientSelect.styles.js";import"../../../../GradientPicker/GradientPicker.js";import"../../../../GradientManager/GradientManager.styles.js";import"../../../BHASchematic.js";import"../../../BHATable/index.js";import a from"../../../BHAComponentIcon.js";import"../../../BHAComponentDetail/index.js";import"../../../BHATileIcon.js";import"../../../BHATile/BHATile.js";import"../../../BHAList/BHAList.js";import"../../BHAComponentsTable.js";import"../../../../Casing/CasingTable/index.js";import"../../../../Casing/CasingComponentIcon.js";import"../../../../Casing/CasingTileIcon.js";import"../../../../Casing/CasingTableV2/CasingTableV2.js";import"../../../../Casing/CasingTile/CasingTile.js";import"../../../../DisabledSettingsMessage/DisabledSettingsMessage.js";import"../../../../WellSummary/WellSummaryItemLabel.js";import"../../../../WellSummary/WellSummaryItemTitle.js";import"../../../../WellSummary/WellSummaryItemValue.js";import"../../../../WellSummary/ActivitySummaryChart.js";import"../../../../WellSummary/FracWirelineTimeChart.js";import"../../../../BICOffsetPickerDialog/index.js";import"../../../../OffsetWellButton/OffsetWellButton.js";import"../../../../OffsetWellPickerV2/OffsetWellPickerDialog.js";import"../../../../OffsetWellPickerV3/index.js";import"../../../../OffsetWellChips/Chip.js";import"../../../../OffsetWellChips/ChipsContainer.js";import"../../../../OffsetWellPickerV4/OffsetWellPickerV4.js";import"../../../../OffsetWellMap/OffsetWellMap.js";import"@material-ui/core/Snackbar";import"../../../../Notifications/Toast.js";import"../../../../Toaster/Toaster.js";import"../../../../ConfirmationDialog.js";import"../../../../TextLink/index.js";import"../../../../Avatar/index.js";import"../../../../Template/TemplatePopover/index.js";import"../../../../Template/TemplateSharingDialog/index.js";import"../../../../MenuItem/index.js";import"../../../../PadModeSelect/PadModeSelect.js";import"../../../../PinnableFilters/PinnableFilters.js";import"../../../../HeaderLayout/HeaderLayout.js";import"../../../../PadOffsetsPicker/PadOffsetsPicker.js";import"../../../../PadOffsetsPicker/OffsetAssetChip.js";import"../../../../PadOffsetsPicker/OffsetAssetsListExpander.js";import"../../../../PadOffsetsPicker/StagesSelector.js";import"../../../../Table/TableToolbar/TableToolbar.js";import"../../../../Table/TableContainer/TableContainer.js";import"../../../../Table/TableCell/TableCell.js";import"../../../../Tooltip/ScrollableTooltip.js";import"../../../../PriceInput/PriceInput.js";import"../../../../LabelsCounter/LabelsCounter.js";import"../../../../Stepper/Step.js";import"../../../../Stepper/StepsWrapper.js";import"../../../../Stepper/Stepper.js";import"../../../../Comment/CommentIcon/index.js";import"../../../../FilesLoader/FilesLoader.js";import"../../../../FilesLoader/Icons/FileIcon.js";import"../../../../SearchInput/index.js";import"../../../../FeedItem/FeedItem.js";import"../../../../FeedItem/FeedItemEditProvider/FeedItemEditProvider.js";import"../../../../PostInput/PostInput.js";import"../../../../KeyboardDateTimePicker.js";import"../../../../AddComment/Popover.js";import"../../../../AddComment/Popup.js";import"../../../../StageDesignVActual/ComparisonBar/ComparisonBar.js";import"../../../../StageDesignVActual/ElementsComparison/ElementsComparison.js";import"../../../../StageDesignVActual/ComparisonHeader.js";import"../../../../StageDesignVActual/ComparisonRow.js";import"../../../../EmbeddedApp/DevCenterEmbeddedApp.js";import"../../../../EmbeddedApp/EmbeddedApp.js";import"../../../../Autocomplete/Autocomplete.js";import"../../../../DocumentViewer/DocumentViewer.js";import"../../../../ColorPickerPalette/ColorPickerPalette.js";import"../../../../Search/Search.js";import"../../../../Search/components/Listbox.js";import"../../../../Search/components/Paper.js";import"../../../../Search/components/RecentSearches.js";import"../../../../Search/components/InputAdornmentLeft.js";import"../../../../Search/components/Groups.js";import"../../../../StatusBadge/index.js";import"../../../../Attachment/index.js";import"../../../../EmojiIconButton.js";import"../../../../FileUploadIconButton.js";import"../../../../FilePreview/index.js";import"../../../../FailedFileUploading.js";import"../../../../UserMention/index.js";import"../../../../CommentsInfo/index.js";import"../../../../CommentInput/index.js";import"../../../../Comment/index.js";import"../../../../CommentLoader.js";import"../../../../AssetNameLabel/AssetStatusBadge.js";import{useStyles as m}from"../sharedStyles.js";import{CancelButton as l}from"../shared/CancelButton.js";import"../shared/ExpandCollapseButton.js";import"../shared/FormatedNumber.js";import{InputText as d}from"../shared/InputText.js";import"../shared/MoreButton.js";import{SaveButton as j}from"../shared/SaveButton.js";import{SelectField as c}from"../shared/SelectField.js";import"../shared/StaticField.js";import{SharedEditorElements as C}from"../shared/SharedEditorElements.js";import"../shared/ConfirmationPopup.js";import{CONTAINER_XS as u}from"../constants.js";function g(e){var o=e.component,g=e.error,h=e.onChange,A=e.onCancel,b=e.onSave,v=e.columns,D=m({isMobile:i}),x=i?u/2:u/v,f=function(e){return g&&g[e]};return n(r,{container:!0,spacing:0,className:D.editorContainer,children:[!i&&s(r,{item:!0,className:D.editorComponentSize,children:s(a,{component:o})}),s(r,{item:!0,className:D.eidtorContentContainer,children:n(r,{container:!0,spacing:2,children:[s(C,{component:o,getError:f,onChange:h}),s(d,{type:"name",label:"Name",value:o.name,error:f("name"),xs:x,onChangeField:h}),s(d,{type:"weight",label:"T.Weight",unit:"mass",value:o.weight,error:f("weight"),disabled:!0,xs:x,onChangeField:h}),s(d,{type:"gauge_od",label:"Gauge OD",unit:"shortLength",value:o.gauge_od,error:f("gauge_od"),xs:x,onChangeField:h}),s(d,{type:"gauge_length",label:"Gauge Length",unit:"shortLength",value:o.gauge_length,error:f("gauge_length"),xs:x,onChangeField:h}),s(d,{type:"no_of_blades",label:"# of Blades",value:o.no_of_blades,error:f("no_of_blades"),xs:x,onChangeField:h}),s(d,{type:"blade_width",label:"Blade Width",unit:"shortLength",value:o.blade_width,error:f("blade_width"),xs:x,onChangeField:h}),s(d,{type:"connection_type",label:"Connection Type",value:o.connection_type,error:f("connection_type"),xs:x,onChangeField:h}),s(c,{type:"material",options:p,label:"Material",value:o.material,error:f("material"),xs:x,onChangeField:h})]})}),!i&&n(r,{item:!0,className:D.eidtorActionGroup,children:[s(l,{handleCancel:A}),s(j,{handleSave:b,disabled:!t(g)})]})]})}g.propTypes={component:o.shape({name:o.string,weight:o.number,connection_type:o.string,material:o.string,gauge_od:o.number,gauge_length:o.number,blade_width:o.number,no_of_blades:o.number}).isRequired,error:o.shape({}),onChange:o.func.isRequired,onCancel:o.func.isRequired,onSave:o.func.isRequired,columns:o.number.isRequired},g.defaultProps={error:null};var h=e(g);export{h as default};
1
+ import{memo as e}from"react";import{isEmpty as t}from"lodash";import o from"prop-types";import{Grid as r}from"@material-ui/core";import{isMobileDetected as i}from"../../../../../utils/mobileDetect.js";import{jsxs as n,jsx as s}from"react/jsx-runtime";import"../../../../DevCenter/DevCenterAppContainer/components/AppActions/AppActions.css.js";import"../../../../DevCenter/DevCenterAppContainer/components/AppSettingsDialog/AppSettingsDialog.js";import"../../../../DevCenter/DevCenterAppContainer/components/AnnotationsButton/AnnotationsButton.js";import"../../../../DevCenter/DevCenterAppContainer/components/NonPriorityMenus/NonPriorityMenus.js";import"../../../../DevCenter/DevCenterAppContainer/components/FullscreenButton/FullscreenButton.js";import"../../../../DevCenter/DevCenterAppContainer/components/AppInfoMessage/AppInfoMessage.js";import"../../../../DevCenter/DevCenterAppContainer/components/DevCenterAppView/DevCenterAppView.js";import"../../../../DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/DcFullscreenElemsCoordinatorProvider.js";import"../../../../DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/IsInsideDcFullscreenElemProvider.js";import"../../../../DevCenter/DevCenterAppContainer/components/IsInsideDcAppProvider/IsInsideDcAppProvider.js";import"../../../../Modal/CorvaModal.js";import"uuid";import"../../../../IconMenu/index.js";import"../../../../StyledMenuItem/index.js";import"../../../../DevCenter/AppHeader/AppHeader.js";import"../../../../DevCenter/AppSideBar/AppSideBar.js";import"../../../../DevCenter/AppsDataProvider/AppsDataProvider.js";import"@babel/runtime/helpers/defineProperty";import"@babel/runtime/helpers/slicedToArray";import"classnames";import"../../../../Icons/AnnotationIcon.js";import"../../../../Annotations/components/AnnotationsList/index.js";import"../../../../Annotations/components/LastAnnotation/index.js";import"../../../../Annotations/AnnotationsContext.js";import"@babel/runtime/helpers/asyncToGenerator";import"@babel/runtime/regenerator";import"querystring";import"uuid/v1";import"../../../../../clients/jsonApi/index.js";import"../../../../../clients/subscriptions.js";import"../../../../../constants/goals.js";import"../../../../../constants/segment.js";import"../../../../../constants/alerts.js";import"../../../../../constants/apps.js";import{COMPONENT_MATERIALS as p}from"../../../../../constants/drillstring.js";import"../../../../../constants/completion.js";import"../../../../../constants/notifications.js";import"../../../../../constants/feed.js";import"../../../../../constants/bha.js";import"../../../../GradientManager/configuration/constants.js";import"../../../../../utils/index.js";import"../../../../HelpCenter/HelpCenterIcon.js";import"../../../../DevCenter/AppContext.js";import"../../../../DevCenter/DevCenterAppContainer/DevCenterAppContainer.css.js";import"../../../../DevCenter/DevCenterAppContainer/components/RestoreAppSizeButton/index.js";import"../../../../DevCenter/DevCenterAppContainer/components/PriorityMenus/PriorityMenus.css.js";import"../../../../DevCenter/DevCenterRouterContext/DevCenterRouterContext.js";import"../../../../DevCenter/DevCenterRouterContext/UniversalLink/UniversalLink.js";import"@babel/runtime/helpers/objectWithoutProperties";import"react-router";import"../../../../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"../../../../AppVersionsSelect/AppVersionsSelect.js";import"../../../../LoadingIndicator/LoadingIndicator.js";import"../../../../Typography.js";import"../../../../RealTimeValuesSidebar/RealTimeSidebar.js";import"../../../../CollapsableSidebar.js";import"../../../../DateTimePicker/index.js";import"../../../../DatePicker/index.js";import"../../../../ErrorBoundary/ErrorBoundary.js";import"../../../../ErrorBoundary/DevCenterAppErrorView/DevCenterAppErrorView.js";import"../../../../SlateFormattedText/SlateFormattedText.js";import"../../../../SlateFormattedText/RenderElements.js";import"@babel/runtime/helpers/typeof";import"slate";import"../../../../ParameterCharts/ParameterCharts.js";import"../../../../ParameterCharts/AddEditTrack.js";import"../../../../ChartActionsList/ChartActionsList.js";import"../../../../CopyToClipboard/CopyToClipboard.js";import"../../../../AssetEditor/AssetEditorAutocomplete.js";import"../../../../AssetEditor/SingleAssetEditor.js";import"../../../../SettingEditors/ColorEditor/index.js";import"../../../../SettingEditors/DropdownEditor/index.js";import"../../../../SettingEditors/RadioEditor/index.js";import"../../../../SwitchControl/index.js";import"../../../../ColorPicker/ColorPicker.js";import"../../../../Chart/components/ChartButton.js";import"../../../../Chart/components/ChartButtons.js";import"../../../../Chart/components/ChartWrapper.js";import"../../../../Chart/components/AxisDropdown.js";import"../../../../Chart/components/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"../../../../ColorPicker/PaletteChromePicker/PaletteChromePicker.js";import"../../../../TruncatedText/index.js";import"../../../../RangeSlider/RangeSlider.js";import"../../../../AdvancedSlider/AdvancedSlider.js";import"../../../../Breadcrumbs/index.js";import"../../../../VirtualizedTable/index.js";import"../../../../EmptyView/EmptyView.js";import"../../../../EmptyView/EmptyAppView/EmptyAppView.js";import"../../../../Button/index.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"../../../../IconButton/index.js";import"../../../../TextField/index.js";import"../../../../Chip/index.js";import"../../../../Counter/index.js";import"../../../../AnchorsList/AnchorsList.js";import"../../../../Select/index.js";import"../../../../CustomSelect/index.js";import"../../../../Tabs/Tabs.js";import"../../../../Tabs/Tab.js";import"../../../../ResizableTable/ResizableTable.js";import"@material-ui/icons/Check";import"@material-ui/icons/Close";import"@material-ui/icons/Edit";import"@material-ui/icons/Delete";import"../../../../GradientManager/GradientList.js";import"@material-ui/icons/AddCircle";import"../../../../GradientManager/GradientPreview/GradientPreview.js";import"../../../../GradientManager/GradientSelect.styles.js";import"../../../../GradientPicker/GradientPicker.js";import"../../../../GradientManager/GradientManager.styles.js";import"../../../BHASchematic.js";import"../../../BHATable/index.js";import a from"../../../BHAComponentIcon.js";import"../../../BHAComponentDetail/index.js";import"../../../BHATileIcon.js";import"../../../BHATile/BHATile.js";import"../../../BHAList/BHAList.js";import"../../BHAComponentsTable.js";import"../../../../Casing/CasingTable/index.js";import"../../../../Casing/CasingComponentIcon.js";import"../../../../Casing/CasingTileIcon.js";import"../../../../Casing/CasingTableV2/CasingTableV2.js";import"../../../../Casing/CasingTile/CasingTile.js";import"../../../../DisabledSettingsMessage/DisabledSettingsMessage.js";import"../../../../WellSummary/WellSummaryItemLabel.js";import"../../../../WellSummary/WellSummaryItemTitle.js";import"../../../../WellSummary/WellSummaryItemValue.js";import"../../../../WellSummary/ActivitySummaryChart.js";import"../../../../WellSummary/FracWirelineTimeChart.js";import"../../../../BICOffsetPickerDialog/index.js";import"../../../../OffsetWellButton/OffsetWellButton.js";import"../../../../OffsetWellPickerV2/OffsetWellPickerDialog.js";import"../../../../OffsetWellPickerV3/index.js";import"../../../../OffsetWellChips/Chip.js";import"../../../../OffsetWellChips/ChipsContainer.js";import"../../../../OffsetWellPickerV4/OffsetWellPickerV4.js";import"../../../../OffsetWellMap/OffsetWellMap.js";import"@material-ui/core/Snackbar";import"../../../../Notifications/Toast.js";import"../../../../Toaster/Toaster.js";import"../../../../ConfirmationDialog.js";import"../../../../TextLink/index.js";import"../../../../Avatar/index.js";import"../../../../Template/TemplatePopover/index.js";import"../../../../Template/TemplateSharingDialog/index.js";import"../../../../MenuItem/index.js";import"../../../../PadModeSelect/PadModeSelect.js";import"../../../../PinnableFilters/PinnableFilters.js";import"../../../../HeaderLayout/HeaderLayout.js";import"../../../../PadOffsetsPicker/PadOffsetsPicker.js";import"../../../../PadOffsetsPicker/OffsetAssetChip.js";import"../../../../PadOffsetsPicker/OffsetAssetsListExpander.js";import"../../../../PadOffsetsPicker/StagesSelector.js";import"../../../../Table/TableToolbar/TableToolbar.js";import"../../../../Table/TableContainer/TableContainer.js";import"../../../../Table/TableCell/TableCell.js";import"../../../../Tooltip/ScrollableTooltip.js";import"../../../../PriceInput/PriceInput.js";import"../../../../LabelsCounter/LabelsCounter.js";import"../../../../Stepper/Step.js";import"../../../../Stepper/StepsWrapper.js";import"../../../../Stepper/Stepper.js";import"../../../../Comment/CommentIcon/index.js";import"../../../../FilesLoader/FilesLoader.js";import"../../../../FilesLoader/Icons/FileIcon.js";import"../../../../SearchInput/index.js";import"../../../../FeedItem/FeedItem.js";import"../../../../FeedItem/FeedItemEditProvider/FeedItemEditProvider.js";import"../../../../PostInput/PostInput.js";import"../../../../KeyboardDateTimePicker.js";import"../../../../AddComment/Popover.js";import"../../../../AddComment/Popup.js";import"../../../../StageDesignVActual/ComparisonBar/ComparisonBar.js";import"../../../../StageDesignVActual/ElementsComparison/ElementsComparison.js";import"../../../../StageDesignVActual/ComparisonHeader.js";import"../../../../StageDesignVActual/ComparisonRow.js";import"../../../../EmbeddedApp/DevCenterEmbeddedApp.js";import"../../../../EmbeddedApp/EmbeddedApp.js";import"../../../../Autocomplete/Autocomplete.js";import"../../../../DocumentViewer/DocumentViewer.js";import"../../../../ColorPickerPalette/ColorPickerPalette.js";import"../../../../Search/Search.js";import"../../../../Search/components/Listbox.js";import"../../../../Search/components/Paper.js";import"../../../../Search/components/RecentSearches.js";import"../../../../Search/components/InputAdornmentLeft.js";import"../../../../Search/components/Groups.js";import"../../../../StatusBadge/index.js";import"../../../../Attachment/index.js";import"../../../../EmojiIconButton.js";import"../../../../FileUploadIconButton.js";import"../../../../FilePreview/index.js";import"../../../../FailedFileUploading.js";import"../../../../UserMention/index.js";import"../../../../CommentsInfo/index.js";import"../../../../CommentInput/index.js";import"../../../../Comment/index.js";import"../../../../CommentLoader.js";import"../../../../AssetNameLabel/AssetStatusBadge.js";import{useStyles as m}from"../sharedStyles.js";import{CancelButton as l}from"../shared/CancelButton.js";import"../shared/ExpandCollapseButton.js";import"../shared/FormatedNumber.js";import{InputText as d}from"../shared/InputText.js";import"../shared/MoreButton.js";import{SaveButton as j}from"../shared/SaveButton.js";import{SelectField as c}from"../shared/SelectField.js";import"../shared/StaticField.js";import{SharedEditorElements as C}from"../shared/SharedEditorElements.js";import"../shared/ConfirmationPopup.js";import{CONTAINER_XS as u}from"../constants.js";function g(e){var o=e.component,g=e.error,h=e.onChange,A=e.onCancel,b=e.onSave,v=e.columns,D=m({isMobile:i}),S=i?u/2:u/v,x=function(e){return g&&g[e]};return n(r,{container:!0,spacing:0,className:D.editorContainer,children:[!i&&s(r,{item:!0,className:D.editorComponentSize,children:s(a,{component:o})}),s(r,{item:!0,className:D.eidtorContentContainer,children:n(r,{container:!0,spacing:2,children:[s(C,{component:o,getError:x,onChange:h}),s(d,{type:"name",label:"Name",value:o.name,error:x("name"),xs:S,onChangeField:h}),s(d,{type:"weight",label:"T.Weight",unit:"mass",value:o.weight,error:x("weight"),disabled:!0,xs:S,onChangeField:h}),s(d,{type:"gauge_od",label:"Gauge OD",unit:"shortLength",value:o.gauge_od,error:x("gauge_od"),xs:S,onChangeField:h}),s(d,{type:"gauge_length",label:"Gauge Length",unit:"shortLength",value:o.gauge_length,error:x("gauge_length"),xs:S,onChangeField:h}),s(d,{type:"no_of_blades",label:"# of Blades",value:o.no_of_blades,error:x("no_of_blades"),xs:S,onChangeField:h}),s(d,{type:"blade_width",label:"Blade Width",unit:"shortLength",value:o.blade_width,error:x("blade_width"),xs:S,onChangeField:h}),s(d,{type:"connection_type",label:"Connection Type",value:o.connection_type,error:x("connection_type"),xs:S,onChangeField:h}),s(c,{type:"material",options:p,label:"Material",value:o.material,error:x("material"),xs:S,onChangeField:h})]})}),!i&&n(r,{item:!0,className:D.eidtorActionGroup,children:[s(l,{handleCancel:A}),s(j,{handleSave:b,disabled:!t(g)})]})]})}g.propTypes={component:o.shape({name:o.string,weight:o.number,connection_type:o.string,material:o.string,gauge_od:o.number,gauge_length:o.number,blade_width:o.number,no_of_blades:o.number}).isRequired,error:o.shape({}),onChange:o.func.isRequired,onCancel:o.func.isRequired,onSave:o.func.isRequired,columns:o.number.isRequired},g.defaultProps={error:null};var h=e(g);export{h as default};
@@ -1 +1 @@
1
- import{memo as e}from"react";import{isEmpty as t}from"lodash";import r from"prop-types";import{Grid as o}from"@material-ui/core";import{isMobileDetected as i}from"../../../../../utils/mobileDetect.js";import{jsxs as n,jsx as s}from"react/jsx-runtime";import"../../../../DevCenter/DevCenterAppContainer/components/AppActions/AppActions.css.js";import"../../../../DevCenter/DevCenterAppContainer/components/AppSettingsDialog/AppSettingsDialog.js";import"../../../../DevCenter/DevCenterAppContainer/components/AnnotationsButton/AnnotationsButton.js";import"../../../../DevCenter/DevCenterAppContainer/components/NonPriorityMenus/NonPriorityMenus.js";import"../../../../DevCenter/DevCenterAppContainer/components/FullscreenButton/FullscreenButton.js";import"../../../../DevCenter/DevCenterAppContainer/components/AppInfoMessage/AppInfoMessage.js";import"../../../../DevCenter/DevCenterAppContainer/components/DevCenterAppView/DevCenterAppView.js";import"../../../../DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/DcFullscreenElemsCoordinatorProvider.js";import"../../../../DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/IsInsideDcFullscreenElemProvider.js";import"../../../../DevCenter/DevCenterAppContainer/components/IsInsideDcAppProvider/IsInsideDcAppProvider.js";import"../../../../Modal/CorvaModal.js";import"uuid";import"../../../../IconMenu/index.js";import"../../../../StyledMenuItem/index.js";import"../../../../DevCenter/AppHeader/AppHeader.js";import"../../../../DevCenter/AppSideBar/AppSideBar.js";import"../../../../DevCenter/AppsDataProvider/AppsDataProvider.js";import"@babel/runtime/helpers/defineProperty";import"@babel/runtime/helpers/slicedToArray";import"classnames";import"../../../../Icons/AnnotationIcon.js";import"../../../../Annotations/components/AnnotationsList/index.js";import"../../../../Annotations/components/LastAnnotation/index.js";import"../../../../Annotations/AnnotationsContext.js";import"@babel/runtime/helpers/asyncToGenerator";import"@babel/runtime/regenerator";import"querystring";import"uuid/v1";import"../../../../../clients/jsonApi/index.js";import"../../../../../clients/subscriptions.js";import"../../../../../constants/goals.js";import"../../../../../constants/segment.js";import"../../../../../constants/alerts.js";import"../../../../../constants/apps.js";import{COMPONENT_MATERIALS as p}from"../../../../../constants/drillstring.js";import"../../../../../constants/completion.js";import"../../../../../constants/notifications.js";import"../../../../../constants/feed.js";import"../../../../../constants/bha.js";import"../../../../GradientManager/configuration/constants.js";import"../../../../../utils/index.js";import"../../../../HelpCenter/HelpCenterIcon.js";import"../../../../DevCenter/AppContext.js";import"../../../../DevCenter/DevCenterAppContainer/DevCenterAppContainer.css.js";import"../../../../DevCenter/DevCenterAppContainer/components/RestoreAppSizeButton/index.js";import"../../../../DevCenter/DevCenterAppContainer/components/PriorityMenus/PriorityMenus.css.js";import"../../../../DevCenter/DevCenterRouterContext/DevCenterRouterContext.js";import"../../../../DevCenter/DevCenterRouterContext/UniversalLink/UniversalLink.js";import"@babel/runtime/helpers/objectWithoutProperties";import"react-router";import"../../../../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"../../../../AppVersionsSelect/AppVersionsSelect.js";import"../../../../LoadingIndicator/LoadingIndicator.js";import"../../../../Typography.js";import"../../../../CollapsableSidebar.js";import"../../../../DateTimePicker/index.js";import"../../../../DatePicker/index.js";import"../../../../ErrorBoundary/ErrorBoundary.js";import"../../../../ErrorBoundary/DevCenterAppErrorView/DevCenterAppErrorView.js";import"../../../../SlateFormattedText/SlateFormattedText.js";import"../../../../SlateFormattedText/RenderElements.js";import"@babel/runtime/helpers/typeof";import"slate";import"../../../../ParameterCharts/ParameterCharts.js";import"../../../../ParameterCharts/AddEditTrack.js";import"../../../../ChartActionsList/ChartActionsList.js";import"../../../../CopyToClipboard/CopyToClipboard.js";import"../../../../AssetEditor/AssetEditorAutocomplete.js";import"../../../../AssetEditor/SingleAssetEditor.js";import"../../../../SettingEditors/ColorEditor/index.js";import"../../../../SettingEditors/DropdownEditor/index.js";import"../../../../SettingEditors/RadioEditor/index.js";import"../../../../SwitchControl/index.js";import"../../../../ColorPicker/ColorPicker.js";import"../../../../Chart/components/ChartButton.js";import"../../../../Chart/components/ChartButtons.js";import"../../../../Chart/components/ChartWrapper.js";import"../../../../Chart/components/AxisDropdown.js";import"../../../../Chart/components/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"../../../../ColorPicker/PaletteChromePicker/PaletteChromePicker.js";import"../../../../TruncatedText/index.js";import"../../../../RangeSlider/RangeSlider.js";import"../../../../AdvancedSlider/AdvancedSlider.js";import"../../../../Breadcrumbs/index.js";import"../../../../VirtualizedTable/index.js";import"../../../../EmptyView/EmptyView.js";import"../../../../EmptyView/EmptyAppView/EmptyAppView.js";import"../../../../Button/index.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"../../../../IconButton/index.js";import"../../../../TextField/index.js";import"../../../../Chip/index.js";import"../../../../Counter/index.js";import"../../../../AnchorsList/AnchorsList.js";import"../../../../Select/index.js";import"../../../../CustomSelect/index.js";import"../../../../Tabs/Tabs.js";import"../../../../Tabs/Tab.js";import"../../../../ResizableTable/ResizableTable.js";import"@material-ui/icons/Check";import"@material-ui/icons/Close";import"@material-ui/icons/Edit";import"@material-ui/icons/Delete";import"../../../../GradientManager/GradientList.js";import"@material-ui/icons/AddCircle";import"../../../../GradientManager/GradientPreview/GradientPreview.js";import"../../../../GradientManager/GradientSelect.styles.js";import"../../../../GradientPicker/GradientPicker.js";import"../../../../GradientManager/GradientManager.styles.js";import"../../../BHASchematic.js";import"../../../BHATable/index.js";import m from"../../../BHAComponentIcon.js";import"../../../BHAComponentDetail/index.js";import"../../../BHATileIcon.js";import"../../../BHATile/BHATile.js";import"../../../BHAList/BHAList.js";import"../../BHAComponentsTable.js";import"../../../../Casing/CasingTable/index.js";import"../../../../Casing/CasingComponentIcon.js";import"../../../../Casing/CasingTileIcon.js";import"../../../../Casing/CasingTableV2/CasingTableV2.js";import"../../../../Casing/CasingTile/CasingTile.js";import"../../../../DisabledSettingsMessage/DisabledSettingsMessage.js";import"../../../../WellSummary/WellSummaryItemLabel.js";import"../../../../WellSummary/WellSummaryItemTitle.js";import"../../../../WellSummary/WellSummaryItemValue.js";import"../../../../WellSummary/ActivitySummaryChart.js";import"../../../../WellSummary/FracWirelineTimeChart.js";import"../../../../BICOffsetPickerDialog/index.js";import"../../../../OffsetWellButton/OffsetWellButton.js";import"../../../../OffsetWellPickerV2/OffsetWellPickerDialog.js";import"../../../../OffsetWellPickerV3/index.js";import"../../../../OffsetWellChips/Chip.js";import"../../../../OffsetWellChips/ChipsContainer.js";import"../../../../OffsetWellPickerV4/OffsetWellPickerV4.js";import"../../../../OffsetWellMap/OffsetWellMap.js";import"@material-ui/core/Snackbar";import"../../../../Notifications/Toast.js";import"../../../../Toaster/Toaster.js";import"../../../../ConfirmationDialog.js";import"../../../../TextLink/index.js";import"../../../../Avatar/index.js";import"../../../../Template/TemplatePopover/index.js";import"../../../../Template/TemplateSharingDialog/index.js";import"../../../../MenuItem/index.js";import"../../../../PadModeSelect/PadModeSelect.js";import"../../../../PinnableFilters/PinnableFilters.js";import"../../../../HeaderLayout/HeaderLayout.js";import"../../../../PadOffsetsPicker/PadOffsetsPicker.js";import"../../../../PadOffsetsPicker/OffsetAssetChip.js";import"../../../../PadOffsetsPicker/OffsetAssetsListExpander.js";import"../../../../PadOffsetsPicker/StagesSelector.js";import"../../../../Table/TableToolbar/TableToolbar.js";import"../../../../Table/TableContainer/TableContainer.js";import"../../../../Table/TableCell/TableCell.js";import"../../../../Tooltip/ScrollableTooltip.js";import"../../../../PriceInput/PriceInput.js";import"../../../../LabelsCounter/LabelsCounter.js";import"../../../../Stepper/Step.js";import"../../../../Stepper/StepsWrapper.js";import"../../../../Stepper/Stepper.js";import"../../../../Comment/CommentIcon/index.js";import"../../../../FilesLoader/FilesLoader.js";import"../../../../FilesLoader/Icons/FileIcon.js";import"../../../../SearchInput/index.js";import"../../../../FeedItem/FeedItem.js";import"../../../../FeedItem/FeedItemEditProvider/FeedItemEditProvider.js";import"../../../../PostInput/PostInput.js";import"../../../../KeyboardDateTimePicker.js";import"../../../../AddComment/Popover.js";import"../../../../AddComment/Popup.js";import"../../../../StageDesignVActual/ComparisonBar/ComparisonBar.js";import"../../../../StageDesignVActual/ElementsComparison/ElementsComparison.js";import"../../../../StageDesignVActual/ComparisonHeader.js";import"../../../../StageDesignVActual/ComparisonRow.js";import"../../../../EmbeddedApp/DevCenterEmbeddedApp.js";import"../../../../EmbeddedApp/EmbeddedApp.js";import"../../../../Autocomplete/Autocomplete.js";import"../../../../DocumentViewer/DocumentViewer.js";import"../../../../ColorPickerPalette/ColorPickerPalette.js";import"../../../../Search/Search.js";import"../../../../Search/components/Listbox.js";import"../../../../Search/components/Paper.js";import"../../../../Search/components/RecentSearches.js";import"../../../../Search/components/InputAdornmentLeft.js";import"../../../../Search/components/Groups.js";import"../../../../StatusBadge/index.js";import"../../../../Attachment/index.js";import"../../../../EmojiIconButton.js";import"../../../../FileUploadIconButton.js";import"../../../../FilePreview/index.js";import"../../../../FailedFileUploading.js";import"../../../../UserMention/index.js";import"../../../../CommentsInfo/index.js";import"../../../../CommentInput/index.js";import"../../../../Comment/index.js";import"../../../../CommentLoader.js";import"../../../../AssetNameLabel/AssetStatusBadge.js";import{useStyles as a}from"../sharedStyles.js";import{CancelButton as l}from"../shared/CancelButton.js";import"../shared/ExpandCollapseButton.js";import"../shared/FormatedNumber.js";import{InputText as d}from"../shared/InputText.js";import"../shared/MoreButton.js";import{SaveButton as j}from"../shared/SaveButton.js";import{SelectField as c}from"../shared/SelectField.js";import"../shared/StaticField.js";import{SharedEditorElements as C}from"../shared/SharedEditorElements.js";import"../shared/ConfirmationPopup.js";import{CONTAINER_XS as u}from"../constants.js";function A(e){var r=e.component,A=e.error,h=e.onChange,v=e.onCancel,g=e.onSave,b=e.columns,D=a({isMobile:i}),S=i?u/2:u/b,x=function(e){return A&&A[e]};return n(o,{container:!0,spacing:0,className:D.editorContainer,children:[!i&&s(o,{item:!0,className:D.editorComponentSize,children:s(m,{component:r})}),s(o,{item:!0,className:D.eidtorContentContainer,children:n(o,{container:!0,spacing:2,children:[s(C,{component:r,getError:x,onChange:h}),s(d,{type:"name",label:"Name",value:r.name,error:x("name"),xs:S,onChangeField:h}),s(d,{type:"weight",label:"T.Weight",unit:"mass",value:r.weight,error:x("weight"),disabled:!0,xs:S,onChangeField:h}),s(d,{type:"connection_type",label:"Connection Type",value:r.connection_type,error:x("connection_type"),xs:S,onChangeField:h}),s(c,{type:"material",options:p,label:"Material",value:r.material,error:x("material"),xs:S,onChangeField:h})]})}),!i&&n(o,{item:!0,className:D.eidtorActionGroup,children:[s(l,{handleCancel:v}),s(j,{handleSave:g,disabled:!t(A)})]})]})}A.propTypes={component:r.shape({name:r.string,weight:r.number,connection_type:r.string,material:r.string}).isRequired,error:r.shape({}),onChange:r.func.isRequired,onCancel:r.func.isRequired,onSave:r.func.isRequired,columns:r.number.isRequired},A.defaultProps={error:null};var h=e(A);export{h as default};
1
+ import{memo as e}from"react";import{isEmpty as t}from"lodash";import r from"prop-types";import{Grid as o}from"@material-ui/core";import{isMobileDetected as i}from"../../../../../utils/mobileDetect.js";import{jsxs as n,jsx as s}from"react/jsx-runtime";import"../../../../DevCenter/DevCenterAppContainer/components/AppActions/AppActions.css.js";import"../../../../DevCenter/DevCenterAppContainer/components/AppSettingsDialog/AppSettingsDialog.js";import"../../../../DevCenter/DevCenterAppContainer/components/AnnotationsButton/AnnotationsButton.js";import"../../../../DevCenter/DevCenterAppContainer/components/NonPriorityMenus/NonPriorityMenus.js";import"../../../../DevCenter/DevCenterAppContainer/components/FullscreenButton/FullscreenButton.js";import"../../../../DevCenter/DevCenterAppContainer/components/AppInfoMessage/AppInfoMessage.js";import"../../../../DevCenter/DevCenterAppContainer/components/DevCenterAppView/DevCenterAppView.js";import"../../../../DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/DcFullscreenElemsCoordinatorProvider.js";import"../../../../DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/IsInsideDcFullscreenElemProvider.js";import"../../../../DevCenter/DevCenterAppContainer/components/IsInsideDcAppProvider/IsInsideDcAppProvider.js";import"../../../../Modal/CorvaModal.js";import"uuid";import"../../../../IconMenu/index.js";import"../../../../StyledMenuItem/index.js";import"../../../../DevCenter/AppHeader/AppHeader.js";import"../../../../DevCenter/AppSideBar/AppSideBar.js";import"../../../../DevCenter/AppsDataProvider/AppsDataProvider.js";import"@babel/runtime/helpers/defineProperty";import"@babel/runtime/helpers/slicedToArray";import"classnames";import"../../../../Icons/AnnotationIcon.js";import"../../../../Annotations/components/AnnotationsList/index.js";import"../../../../Annotations/components/LastAnnotation/index.js";import"../../../../Annotations/AnnotationsContext.js";import"@babel/runtime/helpers/asyncToGenerator";import"@babel/runtime/regenerator";import"querystring";import"uuid/v1";import"../../../../../clients/jsonApi/index.js";import"../../../../../clients/subscriptions.js";import"../../../../../constants/goals.js";import"../../../../../constants/segment.js";import"../../../../../constants/alerts.js";import"../../../../../constants/apps.js";import{COMPONENT_MATERIALS as p}from"../../../../../constants/drillstring.js";import"../../../../../constants/completion.js";import"../../../../../constants/notifications.js";import"../../../../../constants/feed.js";import"../../../../../constants/bha.js";import"../../../../GradientManager/configuration/constants.js";import"../../../../../utils/index.js";import"../../../../HelpCenter/HelpCenterIcon.js";import"../../../../DevCenter/AppContext.js";import"../../../../DevCenter/DevCenterAppContainer/DevCenterAppContainer.css.js";import"../../../../DevCenter/DevCenterAppContainer/components/RestoreAppSizeButton/index.js";import"../../../../DevCenter/DevCenterAppContainer/components/PriorityMenus/PriorityMenus.css.js";import"../../../../DevCenter/DevCenterRouterContext/DevCenterRouterContext.js";import"../../../../DevCenter/DevCenterRouterContext/UniversalLink/UniversalLink.js";import"@babel/runtime/helpers/objectWithoutProperties";import"react-router";import"../../../../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"../../../../AppVersionsSelect/AppVersionsSelect.js";import"../../../../LoadingIndicator/LoadingIndicator.js";import"../../../../Typography.js";import"../../../../RealTimeValuesSidebar/RealTimeSidebar.js";import"../../../../CollapsableSidebar.js";import"../../../../DateTimePicker/index.js";import"../../../../DatePicker/index.js";import"../../../../ErrorBoundary/ErrorBoundary.js";import"../../../../ErrorBoundary/DevCenterAppErrorView/DevCenterAppErrorView.js";import"../../../../SlateFormattedText/SlateFormattedText.js";import"../../../../SlateFormattedText/RenderElements.js";import"@babel/runtime/helpers/typeof";import"slate";import"../../../../ParameterCharts/ParameterCharts.js";import"../../../../ParameterCharts/AddEditTrack.js";import"../../../../ChartActionsList/ChartActionsList.js";import"../../../../CopyToClipboard/CopyToClipboard.js";import"../../../../AssetEditor/AssetEditorAutocomplete.js";import"../../../../AssetEditor/SingleAssetEditor.js";import"../../../../SettingEditors/ColorEditor/index.js";import"../../../../SettingEditors/DropdownEditor/index.js";import"../../../../SettingEditors/RadioEditor/index.js";import"../../../../SwitchControl/index.js";import"../../../../ColorPicker/ColorPicker.js";import"../../../../Chart/components/ChartButton.js";import"../../../../Chart/components/ChartButtons.js";import"../../../../Chart/components/ChartWrapper.js";import"../../../../Chart/components/AxisDropdown.js";import"../../../../Chart/components/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"../../../../ColorPicker/PaletteChromePicker/PaletteChromePicker.js";import"../../../../TruncatedText/index.js";import"../../../../RangeSlider/RangeSlider.js";import"../../../../AdvancedSlider/AdvancedSlider.js";import"../../../../Breadcrumbs/index.js";import"../../../../VirtualizedTable/index.js";import"../../../../EmptyView/EmptyView.js";import"../../../../EmptyView/EmptyAppView/EmptyAppView.js";import"../../../../Button/index.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"../../../../IconButton/index.js";import"../../../../TextField/index.js";import"../../../../Chip/index.js";import"../../../../Counter/index.js";import"../../../../AnchorsList/AnchorsList.js";import"../../../../Select/index.js";import"../../../../CustomSelect/index.js";import"../../../../Tabs/Tabs.js";import"../../../../Tabs/Tab.js";import"../../../../ResizableTable/ResizableTable.js";import"@material-ui/icons/Check";import"@material-ui/icons/Close";import"@material-ui/icons/Edit";import"@material-ui/icons/Delete";import"../../../../GradientManager/GradientList.js";import"@material-ui/icons/AddCircle";import"../../../../GradientManager/GradientPreview/GradientPreview.js";import"../../../../GradientManager/GradientSelect.styles.js";import"../../../../GradientPicker/GradientPicker.js";import"../../../../GradientManager/GradientManager.styles.js";import"../../../BHASchematic.js";import"../../../BHATable/index.js";import m from"../../../BHAComponentIcon.js";import"../../../BHAComponentDetail/index.js";import"../../../BHATileIcon.js";import"../../../BHATile/BHATile.js";import"../../../BHAList/BHAList.js";import"../../BHAComponentsTable.js";import"../../../../Casing/CasingTable/index.js";import"../../../../Casing/CasingComponentIcon.js";import"../../../../Casing/CasingTileIcon.js";import"../../../../Casing/CasingTableV2/CasingTableV2.js";import"../../../../Casing/CasingTile/CasingTile.js";import"../../../../DisabledSettingsMessage/DisabledSettingsMessage.js";import"../../../../WellSummary/WellSummaryItemLabel.js";import"../../../../WellSummary/WellSummaryItemTitle.js";import"../../../../WellSummary/WellSummaryItemValue.js";import"../../../../WellSummary/ActivitySummaryChart.js";import"../../../../WellSummary/FracWirelineTimeChart.js";import"../../../../BICOffsetPickerDialog/index.js";import"../../../../OffsetWellButton/OffsetWellButton.js";import"../../../../OffsetWellPickerV2/OffsetWellPickerDialog.js";import"../../../../OffsetWellPickerV3/index.js";import"../../../../OffsetWellChips/Chip.js";import"../../../../OffsetWellChips/ChipsContainer.js";import"../../../../OffsetWellPickerV4/OffsetWellPickerV4.js";import"../../../../OffsetWellMap/OffsetWellMap.js";import"@material-ui/core/Snackbar";import"../../../../Notifications/Toast.js";import"../../../../Toaster/Toaster.js";import"../../../../ConfirmationDialog.js";import"../../../../TextLink/index.js";import"../../../../Avatar/index.js";import"../../../../Template/TemplatePopover/index.js";import"../../../../Template/TemplateSharingDialog/index.js";import"../../../../MenuItem/index.js";import"../../../../PadModeSelect/PadModeSelect.js";import"../../../../PinnableFilters/PinnableFilters.js";import"../../../../HeaderLayout/HeaderLayout.js";import"../../../../PadOffsetsPicker/PadOffsetsPicker.js";import"../../../../PadOffsetsPicker/OffsetAssetChip.js";import"../../../../PadOffsetsPicker/OffsetAssetsListExpander.js";import"../../../../PadOffsetsPicker/StagesSelector.js";import"../../../../Table/TableToolbar/TableToolbar.js";import"../../../../Table/TableContainer/TableContainer.js";import"../../../../Table/TableCell/TableCell.js";import"../../../../Tooltip/ScrollableTooltip.js";import"../../../../PriceInput/PriceInput.js";import"../../../../LabelsCounter/LabelsCounter.js";import"../../../../Stepper/Step.js";import"../../../../Stepper/StepsWrapper.js";import"../../../../Stepper/Stepper.js";import"../../../../Comment/CommentIcon/index.js";import"../../../../FilesLoader/FilesLoader.js";import"../../../../FilesLoader/Icons/FileIcon.js";import"../../../../SearchInput/index.js";import"../../../../FeedItem/FeedItem.js";import"../../../../FeedItem/FeedItemEditProvider/FeedItemEditProvider.js";import"../../../../PostInput/PostInput.js";import"../../../../KeyboardDateTimePicker.js";import"../../../../AddComment/Popover.js";import"../../../../AddComment/Popup.js";import"../../../../StageDesignVActual/ComparisonBar/ComparisonBar.js";import"../../../../StageDesignVActual/ElementsComparison/ElementsComparison.js";import"../../../../StageDesignVActual/ComparisonHeader.js";import"../../../../StageDesignVActual/ComparisonRow.js";import"../../../../EmbeddedApp/DevCenterEmbeddedApp.js";import"../../../../EmbeddedApp/EmbeddedApp.js";import"../../../../Autocomplete/Autocomplete.js";import"../../../../DocumentViewer/DocumentViewer.js";import"../../../../ColorPickerPalette/ColorPickerPalette.js";import"../../../../Search/Search.js";import"../../../../Search/components/Listbox.js";import"../../../../Search/components/Paper.js";import"../../../../Search/components/RecentSearches.js";import"../../../../Search/components/InputAdornmentLeft.js";import"../../../../Search/components/Groups.js";import"../../../../StatusBadge/index.js";import"../../../../Attachment/index.js";import"../../../../EmojiIconButton.js";import"../../../../FileUploadIconButton.js";import"../../../../FilePreview/index.js";import"../../../../FailedFileUploading.js";import"../../../../UserMention/index.js";import"../../../../CommentsInfo/index.js";import"../../../../CommentInput/index.js";import"../../../../Comment/index.js";import"../../../../CommentLoader.js";import"../../../../AssetNameLabel/AssetStatusBadge.js";import{useStyles as a}from"../sharedStyles.js";import{CancelButton as l}from"../shared/CancelButton.js";import"../shared/ExpandCollapseButton.js";import"../shared/FormatedNumber.js";import{InputText as d}from"../shared/InputText.js";import"../shared/MoreButton.js";import{SaveButton as j}from"../shared/SaveButton.js";import{SelectField as c}from"../shared/SelectField.js";import"../shared/StaticField.js";import{SharedEditorElements as C}from"../shared/SharedEditorElements.js";import"../shared/ConfirmationPopup.js";import{CONTAINER_XS as u}from"../constants.js";function A(e){var r=e.component,A=e.error,h=e.onChange,v=e.onCancel,b=e.onSave,g=e.columns,D=a({isMobile:i}),S=i?u/2:u/g,x=function(e){return A&&A[e]};return n(o,{container:!0,spacing:0,className:D.editorContainer,children:[!i&&s(o,{item:!0,className:D.editorComponentSize,children:s(m,{component:r})}),s(o,{item:!0,className:D.eidtorContentContainer,children:n(o,{container:!0,spacing:2,children:[s(C,{component:r,getError:x,onChange:h}),s(d,{type:"name",label:"Name",value:r.name,error:x("name"),xs:S,onChangeField:h}),s(d,{type:"weight",label:"T.Weight",unit:"mass",value:r.weight,error:x("weight"),disabled:!0,xs:S,onChangeField:h}),s(d,{type:"connection_type",label:"Connection Type",value:r.connection_type,error:x("connection_type"),xs:S,onChangeField:h}),s(c,{type:"material",options:p,label:"Material",value:r.material,error:x("material"),xs:S,onChangeField:h})]})}),!i&&n(o,{item:!0,className:D.eidtorActionGroup,children:[s(l,{handleCancel:v}),s(j,{handleSave:b,disabled:!t(A)})]})]})}A.propTypes={component:r.shape({name:r.string,weight:r.number,connection_type:r.string,material:r.string}).isRequired,error:r.shape({}),onChange:r.func.isRequired,onCancel:r.func.isRequired,onSave:r.func.isRequired,columns:r.number.isRequired},A.defaultProps={error:null};var h=e(A);export{h as default};
@@ -1 +1 @@
1
- import{memo as e}from"react";import{isEmpty as t}from"lodash";import o from"prop-types";import{Grid as r}from"@material-ui/core";import{isMobileDetected as i}from"../../../../../utils/mobileDetect.js";import{jsxs as n,jsx as s}from"react/jsx-runtime";import"../../../../DevCenter/DevCenterAppContainer/components/AppActions/AppActions.css.js";import"../../../../DevCenter/DevCenterAppContainer/components/AppSettingsDialog/AppSettingsDialog.js";import"../../../../DevCenter/DevCenterAppContainer/components/AnnotationsButton/AnnotationsButton.js";import"../../../../DevCenter/DevCenterAppContainer/components/NonPriorityMenus/NonPriorityMenus.js";import"../../../../DevCenter/DevCenterAppContainer/components/FullscreenButton/FullscreenButton.js";import"../../../../DevCenter/DevCenterAppContainer/components/AppInfoMessage/AppInfoMessage.js";import"../../../../DevCenter/DevCenterAppContainer/components/DevCenterAppView/DevCenterAppView.js";import"../../../../DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/DcFullscreenElemsCoordinatorProvider.js";import"../../../../DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/IsInsideDcFullscreenElemProvider.js";import"../../../../DevCenter/DevCenterAppContainer/components/IsInsideDcAppProvider/IsInsideDcAppProvider.js";import"../../../../Modal/CorvaModal.js";import"uuid";import"../../../../IconMenu/index.js";import"../../../../StyledMenuItem/index.js";import"../../../../DevCenter/AppHeader/AppHeader.js";import"../../../../DevCenter/AppSideBar/AppSideBar.js";import"../../../../DevCenter/AppsDataProvider/AppsDataProvider.js";import"@babel/runtime/helpers/defineProperty";import"@babel/runtime/helpers/slicedToArray";import"classnames";import"../../../../Icons/AnnotationIcon.js";import"../../../../Annotations/components/AnnotationsList/index.js";import"../../../../Annotations/components/LastAnnotation/index.js";import"../../../../Annotations/AnnotationsContext.js";import"@babel/runtime/helpers/asyncToGenerator";import"@babel/runtime/regenerator";import"querystring";import"uuid/v1";import"../../../../../clients/jsonApi/index.js";import"../../../../../clients/subscriptions.js";import"../../../../../constants/goals.js";import"../../../../../constants/segment.js";import"../../../../../constants/alerts.js";import"../../../../../constants/apps.js";import{COMPONENT_MATERIALS as p}from"../../../../../constants/drillstring.js";import"../../../../../constants/completion.js";import"../../../../../constants/notifications.js";import"../../../../../constants/feed.js";import"../../../../../constants/bha.js";import"../../../../GradientManager/configuration/constants.js";import"../../../../../utils/index.js";import"../../../../HelpCenter/HelpCenterIcon.js";import"../../../../DevCenter/AppContext.js";import"../../../../DevCenter/DevCenterAppContainer/DevCenterAppContainer.css.js";import"../../../../DevCenter/DevCenterAppContainer/components/RestoreAppSizeButton/index.js";import"../../../../DevCenter/DevCenterAppContainer/components/PriorityMenus/PriorityMenus.css.js";import"../../../../DevCenter/DevCenterRouterContext/DevCenterRouterContext.js";import"../../../../DevCenter/DevCenterRouterContext/UniversalLink/UniversalLink.js";import"@babel/runtime/helpers/objectWithoutProperties";import"react-router";import"../../../../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"../../../../AppVersionsSelect/AppVersionsSelect.js";import"../../../../LoadingIndicator/LoadingIndicator.js";import"../../../../Typography.js";import"../../../../CollapsableSidebar.js";import"../../../../DateTimePicker/index.js";import"../../../../DatePicker/index.js";import"../../../../ErrorBoundary/ErrorBoundary.js";import"../../../../ErrorBoundary/DevCenterAppErrorView/DevCenterAppErrorView.js";import"../../../../SlateFormattedText/SlateFormattedText.js";import"../../../../SlateFormattedText/RenderElements.js";import"@babel/runtime/helpers/typeof";import"slate";import"../../../../ParameterCharts/ParameterCharts.js";import"../../../../ParameterCharts/AddEditTrack.js";import"../../../../ChartActionsList/ChartActionsList.js";import"../../../../CopyToClipboard/CopyToClipboard.js";import"../../../../AssetEditor/AssetEditorAutocomplete.js";import"../../../../AssetEditor/SingleAssetEditor.js";import"../../../../SettingEditors/ColorEditor/index.js";import"../../../../SettingEditors/DropdownEditor/index.js";import"../../../../SettingEditors/RadioEditor/index.js";import"../../../../SwitchControl/index.js";import"../../../../ColorPicker/ColorPicker.js";import"../../../../Chart/components/ChartButton.js";import"../../../../Chart/components/ChartButtons.js";import"../../../../Chart/components/ChartWrapper.js";import"../../../../Chart/components/AxisDropdown.js";import"../../../../Chart/components/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"../../../../ColorPicker/PaletteChromePicker/PaletteChromePicker.js";import"../../../../TruncatedText/index.js";import"../../../../RangeSlider/RangeSlider.js";import"../../../../AdvancedSlider/AdvancedSlider.js";import"../../../../Breadcrumbs/index.js";import"../../../../VirtualizedTable/index.js";import"../../../../EmptyView/EmptyView.js";import"../../../../EmptyView/EmptyAppView/EmptyAppView.js";import"../../../../Button/index.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"../../../../IconButton/index.js";import"../../../../TextField/index.js";import"../../../../Chip/index.js";import"../../../../Counter/index.js";import"../../../../AnchorsList/AnchorsList.js";import"../../../../Select/index.js";import"../../../../CustomSelect/index.js";import"../../../../Tabs/Tabs.js";import"../../../../Tabs/Tab.js";import"../../../../ResizableTable/ResizableTable.js";import"@material-ui/icons/Check";import"@material-ui/icons/Close";import"@material-ui/icons/Edit";import"@material-ui/icons/Delete";import"../../../../GradientManager/GradientList.js";import"@material-ui/icons/AddCircle";import"../../../../GradientManager/GradientPreview/GradientPreview.js";import"../../../../GradientManager/GradientSelect.styles.js";import"../../../../GradientPicker/GradientPicker.js";import"../../../../GradientManager/GradientManager.styles.js";import"../../../BHASchematic.js";import"../../../BHATable/index.js";import a from"../../../BHAComponentIcon.js";import"../../../BHAComponentDetail/index.js";import"../../../BHATileIcon.js";import"../../../BHATile/BHATile.js";import"../../../BHAList/BHAList.js";import"../../BHAComponentsTable.js";import"../../../../Casing/CasingTable/index.js";import"../../../../Casing/CasingComponentIcon.js";import"../../../../Casing/CasingTileIcon.js";import"../../../../Casing/CasingTableV2/CasingTableV2.js";import"../../../../Casing/CasingTile/CasingTile.js";import"../../../../DisabledSettingsMessage/DisabledSettingsMessage.js";import"../../../../WellSummary/WellSummaryItemLabel.js";import"../../../../WellSummary/WellSummaryItemTitle.js";import"../../../../WellSummary/WellSummaryItemValue.js";import"../../../../WellSummary/ActivitySummaryChart.js";import"../../../../WellSummary/FracWirelineTimeChart.js";import"../../../../BICOffsetPickerDialog/index.js";import"../../../../OffsetWellButton/OffsetWellButton.js";import"../../../../OffsetWellPickerV2/OffsetWellPickerDialog.js";import"../../../../OffsetWellPickerV3/index.js";import"../../../../OffsetWellChips/Chip.js";import"../../../../OffsetWellChips/ChipsContainer.js";import"../../../../OffsetWellPickerV4/OffsetWellPickerV4.js";import"../../../../OffsetWellMap/OffsetWellMap.js";import"@material-ui/core/Snackbar";import"../../../../Notifications/Toast.js";import"../../../../Toaster/Toaster.js";import"../../../../ConfirmationDialog.js";import"../../../../TextLink/index.js";import"../../../../Avatar/index.js";import"../../../../Template/TemplatePopover/index.js";import"../../../../Template/TemplateSharingDialog/index.js";import"../../../../MenuItem/index.js";import"../../../../PadModeSelect/PadModeSelect.js";import"../../../../PinnableFilters/PinnableFilters.js";import"../../../../HeaderLayout/HeaderLayout.js";import"../../../../PadOffsetsPicker/PadOffsetsPicker.js";import"../../../../PadOffsetsPicker/OffsetAssetChip.js";import"../../../../PadOffsetsPicker/OffsetAssetsListExpander.js";import"../../../../PadOffsetsPicker/StagesSelector.js";import"../../../../Table/TableToolbar/TableToolbar.js";import"../../../../Table/TableContainer/TableContainer.js";import"../../../../Table/TableCell/TableCell.js";import"../../../../Tooltip/ScrollableTooltip.js";import"../../../../PriceInput/PriceInput.js";import"../../../../LabelsCounter/LabelsCounter.js";import"../../../../Stepper/Step.js";import"../../../../Stepper/StepsWrapper.js";import"../../../../Stepper/Stepper.js";import"../../../../Comment/CommentIcon/index.js";import"../../../../FilesLoader/FilesLoader.js";import"../../../../FilesLoader/Icons/FileIcon.js";import"../../../../SearchInput/index.js";import"../../../../FeedItem/FeedItem.js";import"../../../../FeedItem/FeedItemEditProvider/FeedItemEditProvider.js";import"../../../../PostInput/PostInput.js";import"../../../../KeyboardDateTimePicker.js";import"../../../../AddComment/Popover.js";import"../../../../AddComment/Popup.js";import"../../../../StageDesignVActual/ComparisonBar/ComparisonBar.js";import"../../../../StageDesignVActual/ElementsComparison/ElementsComparison.js";import"../../../../StageDesignVActual/ComparisonHeader.js";import"../../../../StageDesignVActual/ComparisonRow.js";import"../../../../EmbeddedApp/DevCenterEmbeddedApp.js";import"../../../../EmbeddedApp/EmbeddedApp.js";import"../../../../Autocomplete/Autocomplete.js";import"../../../../DocumentViewer/DocumentViewer.js";import"../../../../ColorPickerPalette/ColorPickerPalette.js";import"../../../../Search/Search.js";import"../../../../Search/components/Listbox.js";import"../../../../Search/components/Paper.js";import"../../../../Search/components/RecentSearches.js";import"../../../../Search/components/InputAdornmentLeft.js";import"../../../../Search/components/Groups.js";import"../../../../StatusBadge/index.js";import"../../../../Attachment/index.js";import"../../../../EmojiIconButton.js";import"../../../../FileUploadIconButton.js";import"../../../../FilePreview/index.js";import"../../../../FailedFileUploading.js";import"../../../../UserMention/index.js";import"../../../../CommentsInfo/index.js";import"../../../../CommentInput/index.js";import"../../../../Comment/index.js";import"../../../../CommentLoader.js";import"../../../../AssetNameLabel/AssetStatusBadge.js";import{CONTAINER_XS as m,UR_ACTIVATION_LOGIC_TYPES as l,UR_ACTIVATION_LOGIC_KEYS as d}from"../constants.js";import{useStyles as c}from"../sharedStyles.js";import{CancelButton as j}from"../shared/CancelButton.js";import"../shared/ExpandCollapseButton.js";import"../shared/FormatedNumber.js";import{InputText as C}from"../shared/InputText.js";import"../shared/MoreButton.js";import{SaveButton as u}from"../shared/SaveButton.js";import{SelectField as h}from"../shared/SelectField.js";import"../shared/StaticField.js";import{SharedEditorElements as g}from"../shared/SharedEditorElements.js";import"../shared/ConfirmationPopup.js";function b(e){var o=e.component,b=e.error,A=e.onChange,v=e.onCancel,f=e.onSave,D=e.columns,x=c({isMobile:i}),S=i?m/2:m/D,P=function(e){return b&&b[e]};return n(r,{container:!0,spacing:0,className:x.editorContainer,children:[!i&&s(r,{item:!0,className:x.editorComponentSize,children:s(a,{component:o})}),s(r,{item:!0,className:x.eidtorContentContainer,children:n(r,{container:!0,spacing:2,children:[s(g,{component:o,getError:P,onChange:A}),s(C,{type:"name",label:"Name",value:o.name,error:P("name"),xs:S,onChangeField:A}),s(C,{type:"weight",label:"T.Weight",unit:"mass",value:o.weight,error:P("weight"),disabled:!0,xs:S,onChangeField:A}),s(C,{type:"connection_type",label:"Connection Type",value:o.connection_type,error:P("connection_type"),xs:S,onChangeField:A}),s(h,{type:"material",options:p,label:"Material",value:o.material,error:P("material"),xs:S,onChangeField:A}),s(r,{item:!0,xs:m,children:s("span",{className:x.additionalTitle,children:"Under Reamer Configuration"})}),s(C,{type:"ur_opened_od",label:"Max OD (Opened)",unit:"shortLength",value:o.ur_opened_od,error:P("ur_opened_od"),xs:S,onChangeField:A}),s(C,{type:"gauge_length",label:"Gauge Length",unit:"shortLength",value:o.gauge_length,error:P("gauge_length"),xs:S,onChangeField:A}),s(C,{type:"no_of_blades",label:"# of Blades",value:o.no_of_blades,error:P("no_of_blades"),xs:S,onChangeField:A}),s(C,{type:"blade_width",label:"Blade Width",unit:"shortLength",value:o.blade_width,error:P("blade_width"),xs:S,onChangeField:A}),s(C,{type:"ur_to_bit",label:"Reamer to Bit Distance",unit:"length",value:o.ur_to_bit,error:P("ur_to_bit"),xs:S,onChangeField:A}),s(C,{type:"flow_rate",label:"Flow Rate",unit:"volumeFlowRate",value:o.flow_rate,error:P("flow_rate"),xs:S,onChangeField:A}),s(C,{type:"tfa",label:"TFA",value:o.tfa,error:P("tfa"),xs:S,onChangeField:A}),s(h,{type:"activation_logic",options:l,label:"Activation Logic",value:o.activation_logic,error:P("activation_logic"),xs:S,onChangeField:A}),o.activation_logic===d.DEPTH_ACTIVATION&&s(C,{type:"ur_opened_depth",label:"Activation Depth",unit:"length",value:o.ur_opened_depth,error:P("ur_opened_depth"),xs:S,onChangeField:function(e,t){return A(e,+t)}})]})}),!i&&n(r,{item:!0,className:x.eidtorActionGroup,children:[s(j,{handleCancel:v}),s(u,{handleSave:f,disabled:!t(b)})]})]})}b.propTypes={component:o.shape({name:o.string,weight:o.number,connection_type:o.string,material:o.string,ur_opened_od:o.number,gauge_length:o.number,no_of_blades:o.number,blade_width:o.number,ur_to_bit:o.number,flow_rate:o.number,tfa:o.number,activation_logic:o.string,ur_opened_depth:o.number}).isRequired,error:o.shape({}),onChange:o.func.isRequired,onCancel:o.func.isRequired,onSave:o.func.isRequired,columns:o.number.isRequired},b.defaultProps={error:null};var A=e(b);export{A as default};
1
+ import{memo as e}from"react";import{isEmpty as t}from"lodash";import o from"prop-types";import{Grid as r}from"@material-ui/core";import{isMobileDetected as i}from"../../../../../utils/mobileDetect.js";import{jsxs as n,jsx as s}from"react/jsx-runtime";import"../../../../DevCenter/DevCenterAppContainer/components/AppActions/AppActions.css.js";import"../../../../DevCenter/DevCenterAppContainer/components/AppSettingsDialog/AppSettingsDialog.js";import"../../../../DevCenter/DevCenterAppContainer/components/AnnotationsButton/AnnotationsButton.js";import"../../../../DevCenter/DevCenterAppContainer/components/NonPriorityMenus/NonPriorityMenus.js";import"../../../../DevCenter/DevCenterAppContainer/components/FullscreenButton/FullscreenButton.js";import"../../../../DevCenter/DevCenterAppContainer/components/AppInfoMessage/AppInfoMessage.js";import"../../../../DevCenter/DevCenterAppContainer/components/DevCenterAppView/DevCenterAppView.js";import"../../../../DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/DcFullscreenElemsCoordinatorProvider.js";import"../../../../DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/IsInsideDcFullscreenElemProvider.js";import"../../../../DevCenter/DevCenterAppContainer/components/IsInsideDcAppProvider/IsInsideDcAppProvider.js";import"../../../../Modal/CorvaModal.js";import"uuid";import"../../../../IconMenu/index.js";import"../../../../StyledMenuItem/index.js";import"../../../../DevCenter/AppHeader/AppHeader.js";import"../../../../DevCenter/AppSideBar/AppSideBar.js";import"../../../../DevCenter/AppsDataProvider/AppsDataProvider.js";import"@babel/runtime/helpers/defineProperty";import"@babel/runtime/helpers/slicedToArray";import"classnames";import"../../../../Icons/AnnotationIcon.js";import"../../../../Annotations/components/AnnotationsList/index.js";import"../../../../Annotations/components/LastAnnotation/index.js";import"../../../../Annotations/AnnotationsContext.js";import"@babel/runtime/helpers/asyncToGenerator";import"@babel/runtime/regenerator";import"querystring";import"uuid/v1";import"../../../../../clients/jsonApi/index.js";import"../../../../../clients/subscriptions.js";import"../../../../../constants/goals.js";import"../../../../../constants/segment.js";import"../../../../../constants/alerts.js";import"../../../../../constants/apps.js";import{COMPONENT_MATERIALS as p}from"../../../../../constants/drillstring.js";import"../../../../../constants/completion.js";import"../../../../../constants/notifications.js";import"../../../../../constants/feed.js";import"../../../../../constants/bha.js";import"../../../../GradientManager/configuration/constants.js";import"../../../../../utils/index.js";import"../../../../HelpCenter/HelpCenterIcon.js";import"../../../../DevCenter/AppContext.js";import"../../../../DevCenter/DevCenterAppContainer/DevCenterAppContainer.css.js";import"../../../../DevCenter/DevCenterAppContainer/components/RestoreAppSizeButton/index.js";import"../../../../DevCenter/DevCenterAppContainer/components/PriorityMenus/PriorityMenus.css.js";import"../../../../DevCenter/DevCenterRouterContext/DevCenterRouterContext.js";import"../../../../DevCenter/DevCenterRouterContext/UniversalLink/UniversalLink.js";import"@babel/runtime/helpers/objectWithoutProperties";import"react-router";import"../../../../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"../../../../AppVersionsSelect/AppVersionsSelect.js";import"../../../../LoadingIndicator/LoadingIndicator.js";import"../../../../Typography.js";import"../../../../RealTimeValuesSidebar/RealTimeSidebar.js";import"../../../../CollapsableSidebar.js";import"../../../../DateTimePicker/index.js";import"../../../../DatePicker/index.js";import"../../../../ErrorBoundary/ErrorBoundary.js";import"../../../../ErrorBoundary/DevCenterAppErrorView/DevCenterAppErrorView.js";import"../../../../SlateFormattedText/SlateFormattedText.js";import"../../../../SlateFormattedText/RenderElements.js";import"@babel/runtime/helpers/typeof";import"slate";import"../../../../ParameterCharts/ParameterCharts.js";import"../../../../ParameterCharts/AddEditTrack.js";import"../../../../ChartActionsList/ChartActionsList.js";import"../../../../CopyToClipboard/CopyToClipboard.js";import"../../../../AssetEditor/AssetEditorAutocomplete.js";import"../../../../AssetEditor/SingleAssetEditor.js";import"../../../../SettingEditors/ColorEditor/index.js";import"../../../../SettingEditors/DropdownEditor/index.js";import"../../../../SettingEditors/RadioEditor/index.js";import"../../../../SwitchControl/index.js";import"../../../../ColorPicker/ColorPicker.js";import"../../../../Chart/components/ChartButton.js";import"../../../../Chart/components/ChartButtons.js";import"../../../../Chart/components/ChartWrapper.js";import"../../../../Chart/components/AxisDropdown.js";import"../../../../Chart/components/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"../../../../ColorPicker/PaletteChromePicker/PaletteChromePicker.js";import"../../../../TruncatedText/index.js";import"../../../../RangeSlider/RangeSlider.js";import"../../../../AdvancedSlider/AdvancedSlider.js";import"../../../../Breadcrumbs/index.js";import"../../../../VirtualizedTable/index.js";import"../../../../EmptyView/EmptyView.js";import"../../../../EmptyView/EmptyAppView/EmptyAppView.js";import"../../../../Button/index.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"../../../../IconButton/index.js";import"../../../../TextField/index.js";import"../../../../Chip/index.js";import"../../../../Counter/index.js";import"../../../../AnchorsList/AnchorsList.js";import"../../../../Select/index.js";import"../../../../CustomSelect/index.js";import"../../../../Tabs/Tabs.js";import"../../../../Tabs/Tab.js";import"../../../../ResizableTable/ResizableTable.js";import"@material-ui/icons/Check";import"@material-ui/icons/Close";import"@material-ui/icons/Edit";import"@material-ui/icons/Delete";import"../../../../GradientManager/GradientList.js";import"@material-ui/icons/AddCircle";import"../../../../GradientManager/GradientPreview/GradientPreview.js";import"../../../../GradientManager/GradientSelect.styles.js";import"../../../../GradientPicker/GradientPicker.js";import"../../../../GradientManager/GradientManager.styles.js";import"../../../BHASchematic.js";import"../../../BHATable/index.js";import a from"../../../BHAComponentIcon.js";import"../../../BHAComponentDetail/index.js";import"../../../BHATileIcon.js";import"../../../BHATile/BHATile.js";import"../../../BHAList/BHAList.js";import"../../BHAComponentsTable.js";import"../../../../Casing/CasingTable/index.js";import"../../../../Casing/CasingComponentIcon.js";import"../../../../Casing/CasingTileIcon.js";import"../../../../Casing/CasingTableV2/CasingTableV2.js";import"../../../../Casing/CasingTile/CasingTile.js";import"../../../../DisabledSettingsMessage/DisabledSettingsMessage.js";import"../../../../WellSummary/WellSummaryItemLabel.js";import"../../../../WellSummary/WellSummaryItemTitle.js";import"../../../../WellSummary/WellSummaryItemValue.js";import"../../../../WellSummary/ActivitySummaryChart.js";import"../../../../WellSummary/FracWirelineTimeChart.js";import"../../../../BICOffsetPickerDialog/index.js";import"../../../../OffsetWellButton/OffsetWellButton.js";import"../../../../OffsetWellPickerV2/OffsetWellPickerDialog.js";import"../../../../OffsetWellPickerV3/index.js";import"../../../../OffsetWellChips/Chip.js";import"../../../../OffsetWellChips/ChipsContainer.js";import"../../../../OffsetWellPickerV4/OffsetWellPickerV4.js";import"../../../../OffsetWellMap/OffsetWellMap.js";import"@material-ui/core/Snackbar";import"../../../../Notifications/Toast.js";import"../../../../Toaster/Toaster.js";import"../../../../ConfirmationDialog.js";import"../../../../TextLink/index.js";import"../../../../Avatar/index.js";import"../../../../Template/TemplatePopover/index.js";import"../../../../Template/TemplateSharingDialog/index.js";import"../../../../MenuItem/index.js";import"../../../../PadModeSelect/PadModeSelect.js";import"../../../../PinnableFilters/PinnableFilters.js";import"../../../../HeaderLayout/HeaderLayout.js";import"../../../../PadOffsetsPicker/PadOffsetsPicker.js";import"../../../../PadOffsetsPicker/OffsetAssetChip.js";import"../../../../PadOffsetsPicker/OffsetAssetsListExpander.js";import"../../../../PadOffsetsPicker/StagesSelector.js";import"../../../../Table/TableToolbar/TableToolbar.js";import"../../../../Table/TableContainer/TableContainer.js";import"../../../../Table/TableCell/TableCell.js";import"../../../../Tooltip/ScrollableTooltip.js";import"../../../../PriceInput/PriceInput.js";import"../../../../LabelsCounter/LabelsCounter.js";import"../../../../Stepper/Step.js";import"../../../../Stepper/StepsWrapper.js";import"../../../../Stepper/Stepper.js";import"../../../../Comment/CommentIcon/index.js";import"../../../../FilesLoader/FilesLoader.js";import"../../../../FilesLoader/Icons/FileIcon.js";import"../../../../SearchInput/index.js";import"../../../../FeedItem/FeedItem.js";import"../../../../FeedItem/FeedItemEditProvider/FeedItemEditProvider.js";import"../../../../PostInput/PostInput.js";import"../../../../KeyboardDateTimePicker.js";import"../../../../AddComment/Popover.js";import"../../../../AddComment/Popup.js";import"../../../../StageDesignVActual/ComparisonBar/ComparisonBar.js";import"../../../../StageDesignVActual/ElementsComparison/ElementsComparison.js";import"../../../../StageDesignVActual/ComparisonHeader.js";import"../../../../StageDesignVActual/ComparisonRow.js";import"../../../../EmbeddedApp/DevCenterEmbeddedApp.js";import"../../../../EmbeddedApp/EmbeddedApp.js";import"../../../../Autocomplete/Autocomplete.js";import"../../../../DocumentViewer/DocumentViewer.js";import"../../../../ColorPickerPalette/ColorPickerPalette.js";import"../../../../Search/Search.js";import"../../../../Search/components/Listbox.js";import"../../../../Search/components/Paper.js";import"../../../../Search/components/RecentSearches.js";import"../../../../Search/components/InputAdornmentLeft.js";import"../../../../Search/components/Groups.js";import"../../../../StatusBadge/index.js";import"../../../../Attachment/index.js";import"../../../../EmojiIconButton.js";import"../../../../FileUploadIconButton.js";import"../../../../FilePreview/index.js";import"../../../../FailedFileUploading.js";import"../../../../UserMention/index.js";import"../../../../CommentsInfo/index.js";import"../../../../CommentInput/index.js";import"../../../../Comment/index.js";import"../../../../CommentLoader.js";import"../../../../AssetNameLabel/AssetStatusBadge.js";import{CONTAINER_XS as m,UR_ACTIVATION_LOGIC_TYPES as l,UR_ACTIVATION_LOGIC_KEYS as d}from"../constants.js";import{useStyles as c}from"../sharedStyles.js";import{CancelButton as j}from"../shared/CancelButton.js";import"../shared/ExpandCollapseButton.js";import"../shared/FormatedNumber.js";import{InputText as C}from"../shared/InputText.js";import"../shared/MoreButton.js";import{SaveButton as u}from"../shared/SaveButton.js";import{SelectField as h}from"../shared/SelectField.js";import"../shared/StaticField.js";import{SharedEditorElements as g}from"../shared/SharedEditorElements.js";import"../shared/ConfirmationPopup.js";function b(e){var o=e.component,b=e.error,A=e.onChange,v=e.onCancel,f=e.onSave,D=e.columns,x=c({isMobile:i}),S=i?m/2:m/D,P=function(e){return b&&b[e]};return n(r,{container:!0,spacing:0,className:x.editorContainer,children:[!i&&s(r,{item:!0,className:x.editorComponentSize,children:s(a,{component:o})}),s(r,{item:!0,className:x.eidtorContentContainer,children:n(r,{container:!0,spacing:2,children:[s(g,{component:o,getError:P,onChange:A}),s(C,{type:"name",label:"Name",value:o.name,error:P("name"),xs:S,onChangeField:A}),s(C,{type:"weight",label:"T.Weight",unit:"mass",value:o.weight,error:P("weight"),disabled:!0,xs:S,onChangeField:A}),s(C,{type:"connection_type",label:"Connection Type",value:o.connection_type,error:P("connection_type"),xs:S,onChangeField:A}),s(h,{type:"material",options:p,label:"Material",value:o.material,error:P("material"),xs:S,onChangeField:A}),s(r,{item:!0,xs:m,children:s("span",{className:x.additionalTitle,children:"Under Reamer Configuration"})}),s(C,{type:"ur_opened_od",label:"Max OD (Opened)",unit:"shortLength",value:o.ur_opened_od,error:P("ur_opened_od"),xs:S,onChangeField:A}),s(C,{type:"gauge_length",label:"Gauge Length",unit:"shortLength",value:o.gauge_length,error:P("gauge_length"),xs:S,onChangeField:A}),s(C,{type:"no_of_blades",label:"# of Blades",value:o.no_of_blades,error:P("no_of_blades"),xs:S,onChangeField:A}),s(C,{type:"blade_width",label:"Blade Width",unit:"shortLength",value:o.blade_width,error:P("blade_width"),xs:S,onChangeField:A}),s(C,{type:"ur_to_bit",label:"Reamer to Bit Distance",unit:"length",value:o.ur_to_bit,error:P("ur_to_bit"),xs:S,onChangeField:A}),s(C,{type:"flow_rate",label:"Flow Rate",unit:"volumeFlowRate",value:o.flow_rate,error:P("flow_rate"),xs:S,onChangeField:A}),s(C,{type:"tfa",label:"TFA",value:o.tfa,error:P("tfa"),xs:S,onChangeField:A}),s(h,{type:"activation_logic",options:l,label:"Activation Logic",value:o.activation_logic,error:P("activation_logic"),xs:S,onChangeField:A}),o.activation_logic===d.DEPTH_ACTIVATION&&s(C,{type:"ur_opened_depth",label:"Activation Depth",unit:"length",value:o.ur_opened_depth,error:P("ur_opened_depth"),xs:S,onChangeField:function(e,t){return A(e,+t)}})]})}),!i&&n(r,{item:!0,className:x.eidtorActionGroup,children:[s(j,{handleCancel:v}),s(u,{handleSave:f,disabled:!t(b)})]})]})}b.propTypes={component:o.shape({name:o.string,weight:o.number,connection_type:o.string,material:o.string,ur_opened_od:o.number,gauge_length:o.number,no_of_blades:o.number,blade_width:o.number,ur_to_bit:o.number,flow_rate:o.number,tfa:o.number,activation_logic:o.string,ur_opened_depth:o.number}).isRequired,error:o.shape({}),onChange:o.func.isRequired,onCancel:o.func.isRequired,onSave:o.func.isRequired,columns:o.number.isRequired},b.defaultProps={error:null};var A=e(b);export{A as default};
@@ -1 +1 @@
1
- import e from"prop-types";import{withStyles as t,Button as o,makeStyles as r}from"@material-ui/core";import{isMobileDetected as i}from"../../../../../utils/mobileDetect.js";import n from"../../../../Modal/Modal.js";import"../../../../IconMenu/index.js";import"../../../../StyledMenuItem/index.js";import"../../../../DevCenter/AppHeader/AppHeader.js";import"../../../../DevCenter/AppSideBar/AppSideBar.js";import"../../../../DevCenter/AppsDataProvider/AppsDataProvider.js";import"@babel/runtime/helpers/defineProperty";import"@babel/runtime/helpers/slicedToArray";import"react";import"classnames";import"lodash";import"../../../../Icons/AnnotationIcon.js";import"../../../../Annotations/components/AnnotationsList/index.js";import"../../../../Annotations/components/LastAnnotation/index.js";import"../../../../Annotations/AnnotationsContext.js";import"@babel/runtime/helpers/asyncToGenerator";import"@babel/runtime/regenerator";import"querystring";import"uuid/v1";import"../../../../../clients/jsonApi/index.js";import"../../../../../clients/subscriptions.js";import"../../../../../constants/goals.js";import"../../../../../constants/segment.js";import"../../../../../constants/alerts.js";import"../../../../../constants/apps.js";import"../../../../../constants/drillstring.js";import"../../../../../constants/completion.js";import"../../../../../constants/notifications.js";import"../../../../../constants/feed.js";import"../../../../../constants/bha.js";import"../../../../GradientManager/configuration/constants.js";import"../../../../../utils/index.js";import"../../../../HelpCenter/HelpCenterIcon.js";import"../../../../DevCenter/DevCenterAppContainer/components/AppActions/AppActions.css.js";import{jsx as s,jsxs as p,Fragment as m}from"react/jsx-runtime";import"../../../../DevCenter/DevCenterAppContainer/components/AppSettingsDialog/AppSettingsDialog.js";import"../../../../DevCenter/DevCenterAppContainer/components/AnnotationsButton/AnnotationsButton.js";import"../../../../DevCenter/DevCenterAppContainer/components/NonPriorityMenus/NonPriorityMenus.js";import"../../../../DevCenter/DevCenterAppContainer/components/FullscreenButton/FullscreenButton.js";import"../../../../DevCenter/DevCenterAppContainer/components/AppInfoMessage/AppInfoMessage.js";import"../../../../DevCenter/DevCenterAppContainer/components/DevCenterAppView/DevCenterAppView.js";import"../../../../DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/DcFullscreenElemsCoordinatorProvider.js";import"../../../../DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/IsInsideDcFullscreenElemProvider.js";import"../../../../DevCenter/DevCenterAppContainer/components/IsInsideDcAppProvider/IsInsideDcAppProvider.js";import"../../../../DevCenter/AppContext.js";import"../../../../DevCenter/DevCenterAppContainer/DevCenterAppContainer.css.js";import"../../../../DevCenter/DevCenterAppContainer/components/RestoreAppSizeButton/index.js";import"../../../../DevCenter/DevCenterAppContainer/components/PriorityMenus/PriorityMenus.css.js";import"../../../../DevCenter/DevCenterRouterContext/DevCenterRouterContext.js";import"../../../../DevCenter/DevCenterRouterContext/UniversalLink/UniversalLink.js";import"@babel/runtime/helpers/objectWithoutProperties";import"react-router";import"../../../../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"../../../../AppVersionsSelect/AppVersionsSelect.js";import"../../../../LoadingIndicator/LoadingIndicator.js";import{Regular16 as a}from"../../../../Typography.js";import"../../../../CollapsableSidebar.js";import"../../../../DateTimePicker/index.js";import"../../../../DatePicker/index.js";import"../../../../ErrorBoundary/ErrorBoundary.js";import"../../../../ErrorBoundary/DevCenterAppErrorView/DevCenterAppErrorView.js";import"../../../../SlateFormattedText/SlateFormattedText.js";import"../../../../SlateFormattedText/RenderElements.js";import"@babel/runtime/helpers/typeof";import"slate";import"../../../../ParameterCharts/ParameterCharts.js";import"../../../../ParameterCharts/AddEditTrack.js";import"../../../../ChartActionsList/ChartActionsList.js";import"../../../../CopyToClipboard/CopyToClipboard.js";import"../../../../AssetEditor/AssetEditorAutocomplete.js";import"../../../../AssetEditor/SingleAssetEditor.js";import"../../../../SettingEditors/ColorEditor/index.js";import"../../../../SettingEditors/DropdownEditor/index.js";import"../../../../SettingEditors/RadioEditor/index.js";import"../../../../SwitchControl/index.js";import"../../../../ColorPicker/ColorPicker.js";import"../../../../Chart/components/ChartButton.js";import"../../../../Chart/components/ChartButtons.js";import"../../../../Chart/components/ChartWrapper.js";import"../../../../Chart/components/AxisDropdown.js";import"../../../../Chart/components/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"../../../../ColorPicker/PaletteChromePicker/PaletteChromePicker.js";import"../../../../TruncatedText/index.js";import"../../../../RangeSlider/RangeSlider.js";import"../../../../AdvancedSlider/AdvancedSlider.js";import"../../../../Breadcrumbs/index.js";import"../../../../VirtualizedTable/index.js";import"../../../../EmptyView/EmptyView.js";import"../../../../EmptyView/EmptyAppView/EmptyAppView.js";import"../../../../Button/index.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"../../../../IconButton/index.js";import"../../../../TextField/index.js";import"../../../../Chip/index.js";import"../../../../Counter/index.js";import"../../../../AnchorsList/AnchorsList.js";import"../../../../Select/index.js";import"../../../../CustomSelect/index.js";import"../../../../Tabs/Tabs.js";import"../../../../Tabs/Tab.js";import"../../../../ResizableTable/ResizableTable.js";import"@material-ui/icons/Check";import"@material-ui/icons/Close";import"@material-ui/icons/Edit";import"@material-ui/icons/Delete";import"../../../../GradientManager/GradientList.js";import"@material-ui/icons/AddCircle";import"../../../../GradientManager/GradientPreview/GradientPreview.js";import"../../../../GradientManager/GradientSelect.styles.js";import"../../../../GradientPicker/GradientPicker.js";import"../../../../GradientManager/GradientManager.styles.js";import"../../../BHASchematic.js";import"../../../BHATable/index.js";import"../../../BHAComponentIcon.js";import"../../../BHAComponentDetail/index.js";import"../../../BHATileIcon.js";import"../../../BHATile/BHATile.js";import"../../../BHAList/BHAList.js";import"../../BHAComponentsTable.js";import"../../../../Casing/CasingTable/index.js";import"../../../../Casing/CasingComponentIcon.js";import"../../../../Casing/CasingTileIcon.js";import"../../../../Casing/CasingTableV2/CasingTableV2.js";import"../../../../Casing/CasingTile/CasingTile.js";import"../../../../DisabledSettingsMessage/DisabledSettingsMessage.js";import"../../../../WellSummary/WellSummaryItemLabel.js";import"../../../../WellSummary/WellSummaryItemTitle.js";import"../../../../WellSummary/WellSummaryItemValue.js";import"../../../../WellSummary/ActivitySummaryChart.js";import"../../../../WellSummary/FracWirelineTimeChart.js";import"../../../../BICOffsetPickerDialog/index.js";import"../../../../OffsetWellButton/OffsetWellButton.js";import"../../../../OffsetWellPickerV2/OffsetWellPickerDialog.js";import"../../../../OffsetWellPickerV3/index.js";import"../../../../OffsetWellChips/Chip.js";import"../../../../OffsetWellChips/ChipsContainer.js";import"../../../../OffsetWellPickerV4/OffsetWellPickerV4.js";import"../../../../OffsetWellMap/OffsetWellMap.js";import"@material-ui/core/Snackbar";import"../../../../Notifications/Toast.js";import"uuid";import"../../../../Toaster/Toaster.js";import"../../../../ConfirmationDialog.js";import"../../../../TextLink/index.js";import"../../../../Avatar/index.js";import"../../../../Template/TemplatePopover/index.js";import"../../../../Template/TemplateSharingDialog/index.js";import"../../../../MenuItem/index.js";import"../../../../PadModeSelect/PadModeSelect.js";import"../../../../PinnableFilters/PinnableFilters.js";import"../../../../HeaderLayout/HeaderLayout.js";import"../../../../PadOffsetsPicker/PadOffsetsPicker.js";import"../../../../PadOffsetsPicker/OffsetAssetChip.js";import"../../../../PadOffsetsPicker/OffsetAssetsListExpander.js";import"../../../../PadOffsetsPicker/StagesSelector.js";import"../../../../Table/TableToolbar/TableToolbar.js";import"../../../../Table/TableContainer/TableContainer.js";import"../../../../Table/TableCell/TableCell.js";import"../../../../Tooltip/ScrollableTooltip.js";import"../../../../PriceInput/PriceInput.js";import"../../../../LabelsCounter/LabelsCounter.js";import"../../../../Stepper/Step.js";import"../../../../Stepper/StepsWrapper.js";import"../../../../Stepper/Stepper.js";import"../../../../Comment/CommentIcon/index.js";import"../../../../FilesLoader/FilesLoader.js";import"../../../../FilesLoader/Icons/FileIcon.js";import"../../../../SearchInput/index.js";import"../../../../FeedItem/FeedItem.js";import"../../../../FeedItem/FeedItemEditProvider/FeedItemEditProvider.js";import"../../../../PostInput/PostInput.js";import"../../../../KeyboardDateTimePicker.js";import"../../../../AddComment/Popover.js";import"../../../../AddComment/Popup.js";import"../../../../StageDesignVActual/ComparisonBar/ComparisonBar.js";import"../../../../StageDesignVActual/ElementsComparison/ElementsComparison.js";import"../../../../StageDesignVActual/ComparisonHeader.js";import"../../../../StageDesignVActual/ComparisonRow.js";import"../../../../EmbeddedApp/DevCenterEmbeddedApp.js";import"../../../../EmbeddedApp/EmbeddedApp.js";import"../../../../Autocomplete/Autocomplete.js";import"../../../../DocumentViewer/DocumentViewer.js";import"../../../../ColorPickerPalette/ColorPickerPalette.js";import"../../../../Search/Search.js";import"../../../../Search/components/Listbox.js";import"../../../../Search/components/Paper.js";import"../../../../Search/components/RecentSearches.js";import"../../../../Search/components/InputAdornmentLeft.js";import"../../../../Search/components/Groups.js";import"../../../../StatusBadge/index.js";import"../../../../Attachment/index.js";import"../../../../EmojiIconButton.js";import"../../../../FileUploadIconButton.js";import"../../../../FilePreview/index.js";import"../../../../FailedFileUploading.js";import"../../../../UserMention/index.js";import"../../../../CommentsInfo/index.js";import"../../../../CommentInput/index.js";import"../../../../Comment/index.js";import"../../../../CommentLoader.js";import"../../../../AssetNameLabel/AssetStatusBadge.js";var l=t({root:{height:"36px"}})(o),d=t({root:{margin:"0 16px 0 auto"}})(l),j=t({root:{color:"#bdbdbd"}})(a),c=r((function(e){return{paper:{minWidth:function(e){return e.isMobile?0:"416px"},minHeight:function(e){return e.isMobile&&"240px !important"},maxWidth:function(e){return e.isMobile&&"calc(100% - 24px)"}},content:{width:function(e){return e.isMobile?"auto":"300px"},color:e.palette.primary.text6}}})),C=function(e){var t=e.title,o=e.text,r=e.okText,a=e.handleClose,C=e.handleOk,u=c({isMobile:i});return s(n,{open:!0,onClose:a,title:t,isMobile:!1,actions:p(m,{children:[s(d,{color:"primary",onClick:a,children:"Cancel"}),s(l,{variant:"contained",color:"primary",onClick:C,children:r||"OK"})]}),contentContainerClassName:u.paper,children:s("div",{className:u.content,children:s(j,{children:o})})})};C.propTypes={title:e.string.isRequired,okText:e.string.isRequired,text:e.string.isRequired,handleClose:e.func.isRequired,handleOk:e.func.isRequired};export{C as ConfirmationPopup,c as useStyles};
1
+ import e from"prop-types";import{withStyles as t,Button as o,makeStyles as r}from"@material-ui/core";import{isMobileDetected as i}from"../../../../../utils/mobileDetect.js";import n from"../../../../Modal/Modal.js";import"../../../../IconMenu/index.js";import"../../../../StyledMenuItem/index.js";import"../../../../DevCenter/AppHeader/AppHeader.js";import"../../../../DevCenter/AppSideBar/AppSideBar.js";import"../../../../DevCenter/AppsDataProvider/AppsDataProvider.js";import"@babel/runtime/helpers/defineProperty";import"@babel/runtime/helpers/slicedToArray";import"react";import"classnames";import"lodash";import"../../../../Icons/AnnotationIcon.js";import"../../../../Annotations/components/AnnotationsList/index.js";import"../../../../Annotations/components/LastAnnotation/index.js";import"../../../../Annotations/AnnotationsContext.js";import"@babel/runtime/helpers/asyncToGenerator";import"@babel/runtime/regenerator";import"querystring";import"uuid/v1";import"../../../../../clients/jsonApi/index.js";import"../../../../../clients/subscriptions.js";import"../../../../../constants/goals.js";import"../../../../../constants/segment.js";import"../../../../../constants/alerts.js";import"../../../../../constants/apps.js";import"../../../../../constants/drillstring.js";import"../../../../../constants/completion.js";import"../../../../../constants/notifications.js";import"../../../../../constants/feed.js";import"../../../../../constants/bha.js";import"../../../../GradientManager/configuration/constants.js";import"../../../../../utils/index.js";import"../../../../HelpCenter/HelpCenterIcon.js";import"../../../../DevCenter/DevCenterAppContainer/components/AppActions/AppActions.css.js";import{jsx as s,jsxs as p,Fragment as m}from"react/jsx-runtime";import"../../../../DevCenter/DevCenterAppContainer/components/AppSettingsDialog/AppSettingsDialog.js";import"../../../../DevCenter/DevCenterAppContainer/components/AnnotationsButton/AnnotationsButton.js";import"../../../../DevCenter/DevCenterAppContainer/components/NonPriorityMenus/NonPriorityMenus.js";import"../../../../DevCenter/DevCenterAppContainer/components/FullscreenButton/FullscreenButton.js";import"../../../../DevCenter/DevCenterAppContainer/components/AppInfoMessage/AppInfoMessage.js";import"../../../../DevCenter/DevCenterAppContainer/components/DevCenterAppView/DevCenterAppView.js";import"../../../../DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/DcFullscreenElemsCoordinatorProvider.js";import"../../../../DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/IsInsideDcFullscreenElemProvider.js";import"../../../../DevCenter/DevCenterAppContainer/components/IsInsideDcAppProvider/IsInsideDcAppProvider.js";import"../../../../DevCenter/AppContext.js";import"../../../../DevCenter/DevCenterAppContainer/DevCenterAppContainer.css.js";import"../../../../DevCenter/DevCenterAppContainer/components/RestoreAppSizeButton/index.js";import"../../../../DevCenter/DevCenterAppContainer/components/PriorityMenus/PriorityMenus.css.js";import"../../../../DevCenter/DevCenterRouterContext/DevCenterRouterContext.js";import"../../../../DevCenter/DevCenterRouterContext/UniversalLink/UniversalLink.js";import"@babel/runtime/helpers/objectWithoutProperties";import"react-router";import"../../../../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"../../../../AppVersionsSelect/AppVersionsSelect.js";import"../../../../LoadingIndicator/LoadingIndicator.js";import{Regular16 as a}from"../../../../Typography.js";import"../../../../RealTimeValuesSidebar/RealTimeSidebar.js";import"../../../../CollapsableSidebar.js";import"../../../../DateTimePicker/index.js";import"../../../../DatePicker/index.js";import"../../../../ErrorBoundary/ErrorBoundary.js";import"../../../../ErrorBoundary/DevCenterAppErrorView/DevCenterAppErrorView.js";import"../../../../SlateFormattedText/SlateFormattedText.js";import"../../../../SlateFormattedText/RenderElements.js";import"@babel/runtime/helpers/typeof";import"slate";import"../../../../ParameterCharts/ParameterCharts.js";import"../../../../ParameterCharts/AddEditTrack.js";import"../../../../ChartActionsList/ChartActionsList.js";import"../../../../CopyToClipboard/CopyToClipboard.js";import"../../../../AssetEditor/AssetEditorAutocomplete.js";import"../../../../AssetEditor/SingleAssetEditor.js";import"../../../../SettingEditors/ColorEditor/index.js";import"../../../../SettingEditors/DropdownEditor/index.js";import"../../../../SettingEditors/RadioEditor/index.js";import"../../../../SwitchControl/index.js";import"../../../../ColorPicker/ColorPicker.js";import"../../../../Chart/components/ChartButton.js";import"../../../../Chart/components/ChartButtons.js";import"../../../../Chart/components/ChartWrapper.js";import"../../../../Chart/components/AxisDropdown.js";import"../../../../Chart/components/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"../../../../ColorPicker/PaletteChromePicker/PaletteChromePicker.js";import"../../../../TruncatedText/index.js";import"../../../../RangeSlider/RangeSlider.js";import"../../../../AdvancedSlider/AdvancedSlider.js";import"../../../../Breadcrumbs/index.js";import"../../../../VirtualizedTable/index.js";import"../../../../EmptyView/EmptyView.js";import"../../../../EmptyView/EmptyAppView/EmptyAppView.js";import"../../../../Button/index.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"../../../../IconButton/index.js";import"../../../../TextField/index.js";import"../../../../Chip/index.js";import"../../../../Counter/index.js";import"../../../../AnchorsList/AnchorsList.js";import"../../../../Select/index.js";import"../../../../CustomSelect/index.js";import"../../../../Tabs/Tabs.js";import"../../../../Tabs/Tab.js";import"../../../../ResizableTable/ResizableTable.js";import"@material-ui/icons/Check";import"@material-ui/icons/Close";import"@material-ui/icons/Edit";import"@material-ui/icons/Delete";import"../../../../GradientManager/GradientList.js";import"@material-ui/icons/AddCircle";import"../../../../GradientManager/GradientPreview/GradientPreview.js";import"../../../../GradientManager/GradientSelect.styles.js";import"../../../../GradientPicker/GradientPicker.js";import"../../../../GradientManager/GradientManager.styles.js";import"../../../BHASchematic.js";import"../../../BHATable/index.js";import"../../../BHAComponentIcon.js";import"../../../BHAComponentDetail/index.js";import"../../../BHATileIcon.js";import"../../../BHATile/BHATile.js";import"../../../BHAList/BHAList.js";import"../../BHAComponentsTable.js";import"../../../../Casing/CasingTable/index.js";import"../../../../Casing/CasingComponentIcon.js";import"../../../../Casing/CasingTileIcon.js";import"../../../../Casing/CasingTableV2/CasingTableV2.js";import"../../../../Casing/CasingTile/CasingTile.js";import"../../../../DisabledSettingsMessage/DisabledSettingsMessage.js";import"../../../../WellSummary/WellSummaryItemLabel.js";import"../../../../WellSummary/WellSummaryItemTitle.js";import"../../../../WellSummary/WellSummaryItemValue.js";import"../../../../WellSummary/ActivitySummaryChart.js";import"../../../../WellSummary/FracWirelineTimeChart.js";import"../../../../BICOffsetPickerDialog/index.js";import"../../../../OffsetWellButton/OffsetWellButton.js";import"../../../../OffsetWellPickerV2/OffsetWellPickerDialog.js";import"../../../../OffsetWellPickerV3/index.js";import"../../../../OffsetWellChips/Chip.js";import"../../../../OffsetWellChips/ChipsContainer.js";import"../../../../OffsetWellPickerV4/OffsetWellPickerV4.js";import"../../../../OffsetWellMap/OffsetWellMap.js";import"@material-ui/core/Snackbar";import"../../../../Notifications/Toast.js";import"uuid";import"../../../../Toaster/Toaster.js";import"../../../../ConfirmationDialog.js";import"../../../../TextLink/index.js";import"../../../../Avatar/index.js";import"../../../../Template/TemplatePopover/index.js";import"../../../../Template/TemplateSharingDialog/index.js";import"../../../../MenuItem/index.js";import"../../../../PadModeSelect/PadModeSelect.js";import"../../../../PinnableFilters/PinnableFilters.js";import"../../../../HeaderLayout/HeaderLayout.js";import"../../../../PadOffsetsPicker/PadOffsetsPicker.js";import"../../../../PadOffsetsPicker/OffsetAssetChip.js";import"../../../../PadOffsetsPicker/OffsetAssetsListExpander.js";import"../../../../PadOffsetsPicker/StagesSelector.js";import"../../../../Table/TableToolbar/TableToolbar.js";import"../../../../Table/TableContainer/TableContainer.js";import"../../../../Table/TableCell/TableCell.js";import"../../../../Tooltip/ScrollableTooltip.js";import"../../../../PriceInput/PriceInput.js";import"../../../../LabelsCounter/LabelsCounter.js";import"../../../../Stepper/Step.js";import"../../../../Stepper/StepsWrapper.js";import"../../../../Stepper/Stepper.js";import"../../../../Comment/CommentIcon/index.js";import"../../../../FilesLoader/FilesLoader.js";import"../../../../FilesLoader/Icons/FileIcon.js";import"../../../../SearchInput/index.js";import"../../../../FeedItem/FeedItem.js";import"../../../../FeedItem/FeedItemEditProvider/FeedItemEditProvider.js";import"../../../../PostInput/PostInput.js";import"../../../../KeyboardDateTimePicker.js";import"../../../../AddComment/Popover.js";import"../../../../AddComment/Popup.js";import"../../../../StageDesignVActual/ComparisonBar/ComparisonBar.js";import"../../../../StageDesignVActual/ElementsComparison/ElementsComparison.js";import"../../../../StageDesignVActual/ComparisonHeader.js";import"../../../../StageDesignVActual/ComparisonRow.js";import"../../../../EmbeddedApp/DevCenterEmbeddedApp.js";import"../../../../EmbeddedApp/EmbeddedApp.js";import"../../../../Autocomplete/Autocomplete.js";import"../../../../DocumentViewer/DocumentViewer.js";import"../../../../ColorPickerPalette/ColorPickerPalette.js";import"../../../../Search/Search.js";import"../../../../Search/components/Listbox.js";import"../../../../Search/components/Paper.js";import"../../../../Search/components/RecentSearches.js";import"../../../../Search/components/InputAdornmentLeft.js";import"../../../../Search/components/Groups.js";import"../../../../StatusBadge/index.js";import"../../../../Attachment/index.js";import"../../../../EmojiIconButton.js";import"../../../../FileUploadIconButton.js";import"../../../../FilePreview/index.js";import"../../../../FailedFileUploading.js";import"../../../../UserMention/index.js";import"../../../../CommentsInfo/index.js";import"../../../../CommentInput/index.js";import"../../../../Comment/index.js";import"../../../../CommentLoader.js";import"../../../../AssetNameLabel/AssetStatusBadge.js";var l=t({root:{height:"36px"}})(o),d=t({root:{margin:"0 16px 0 auto"}})(l),j=t({root:{color:"#bdbdbd"}})(a),c=r((function(e){return{paper:{minWidth:function(e){return e.isMobile?0:"416px"},minHeight:function(e){return e.isMobile&&"240px !important"},maxWidth:function(e){return e.isMobile&&"calc(100% - 24px)"}},content:{width:function(e){return e.isMobile?"auto":"300px"},color:e.palette.primary.text6}}})),C=function(e){var t=e.title,o=e.text,r=e.okText,a=e.handleClose,C=e.handleOk,u=c({isMobile:i});return s(n,{open:!0,onClose:a,title:t,isMobile:!1,actions:p(m,{children:[s(d,{color:"primary",onClick:a,children:"Cancel"}),s(l,{variant:"contained",color:"primary",onClick:C,children:r||"OK"})]}),contentContainerClassName:u.paper,children:s("div",{className:u.content,children:s(j,{children:o})})})};C.propTypes={title:e.string.isRequired,okText:e.string.isRequired,text:e.string.isRequired,handleClose:e.func.isRequired,handleOk:e.func.isRequired};export{C as ConfirmationPopup,c as useStyles};
@@ -1,2 +1,2 @@
1
- export const useStyles: (props?: any) => import("@material-ui/styles").ClassNameMap<"cell" | "row" | "inputLabel" | "component" | "addButton" | "addIcon" | "subTitle" | "ratioWidth" | "actionCell" | "componentActive" | "componentMobile" | "componentExpandedMobile" | "detailedView" | "detailedViewMobile" | "editorContainer" | "editorComponentSize" | "eidtorContentContainer" | "eidtorActionGroup" | "eidtorNozzleView" | "editorHeaderCell" | "editorGap" | "rowExpanded" | "actionButton" | "actionIcon" | "moreButton" | "componentMobileCell" | "cellInnerMobile" | "cellLabel" | "cellValue" | "largeFontSize" | "subGroup" | "subTitleEditing" | "additionalTitle">;
1
+ export const useStyles: (props?: any) => import("@material-ui/styles").ClassNameMap<"cell" | "row" | "inputLabel" | "component" | "actionButton" | "addButton" | "addIcon" | "subTitle" | "ratioWidth" | "actionCell" | "componentActive" | "componentMobile" | "componentExpandedMobile" | "detailedView" | "detailedViewMobile" | "editorContainer" | "editorComponentSize" | "eidtorContentContainer" | "eidtorActionGroup" | "eidtorNozzleView" | "editorHeaderCell" | "editorGap" | "rowExpanded" | "actionIcon" | "moreButton" | "componentMobileCell" | "cellInnerMobile" | "cellLabel" | "cellValue" | "largeFontSize" | "subGroup" | "subTitleEditing" | "additionalTitle">;
2
2
  //# sourceMappingURL=sharedStyles.d.ts.map
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=EmbeddedApp.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EmbeddedApp.test.d.ts","sourceRoot":"","sources":["../../../../src/components/EmbeddedApp/__tests__/EmbeddedApp.test.js"],"names":[],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"file":"Content.d.ts","sourceRoot":"","sources":["../../../../src/components/FeedItem/components/Content.js"],"names":[],"mappings":";AAyCA;;;;;;gBAsFC"}
1
+ {"version":3,"file":"Content.d.ts","sourceRoot":"","sources":["../../../../src/components/FeedItem/components/Content.js"],"names":[],"mappings":";AAyCA;;;;;;gBAuFC"}
@@ -1 +1 @@
1
- import e from"@babel/runtime/helpers/defineProperty";import t from"@babel/runtime/helpers/objectWithoutProperties";import{get as r}from"lodash";import{fromJS as m}from"immutable";import{FEED_ITEM_TYPES_BY_KEY as o,FEED_ITEM_TYPES as p}from"../../../constants/feed.js";import{THEMES as n}from"../../../constants/theme.js";import s from"../feedItemTypes/AlertFeedItem.js";import a from"../feedItemTypes/PostFeedItem.js";import d from"../feedItemTypes/GeosteeringFeedItem.js";import f from"../feedItemTypes/DrillingOperationalNoteFeedItem.js";import i from"../feedItemTypes/DrillingOperationSummaryFeedItem.js";import I from"../feedItemTypes/DrillingDailyCostFeedItem.js";import c from"../feedItemTypes/DocumentFeedItem.js";import y from"../feedItemTypes/DrillerMemoFeedItem.js";import u from"../feedItemTypes/NptFeedItem.js";import l from"../feedItemTypes/SurveyStationFeedItem/index.js";import j from"../feedItemTypes/LessonsLearnedFeedItem/index.js";import T from"../feedItemTypes/TracesMemoFeedItem.js";import F from"../feedItemTypes/DepthCommentFeedItem.js";import _ from"../feedItemTypes/CompletionOperationalNoteFeedItem.js";import O from"../feedItemTypes/CompletionOperationSummaryFeedItem.js";import b from"../feedItemTypes/CompletionDailyCostFeedItem.js";import D from"../feedItemTypes/CompletionDocumentFeedItem.js";import C from"../feedItemTypes/CompletionNptFeedItem.js";import v from"../feedItemTypes/StageOverviewFeedItem/index.js";import h from"../feedItemTypes/AppAnnotationFeedItem/index.js";import g from"../feedItemTypes/WellPlanFeedItem/index.js";import P from"../feedItemTypes/FluidReportFeedItem.js";import w from"../feedItemTypes/BhaFeedItem/BhaFeedItem.js";import x from"../feedItemTypes/DvDCommentFeedItem.js";import S from"../feedItemTypes/PCCommentFeedItem.js";import E from"../feedItemTypes/HookloadCommentFeedItem.js";import{jsx as M}from"react/jsx-runtime";var A=["feedItem","appData","customFeedItemTypeTemplates","currentUser"];function N(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var m=Object.getOwnPropertySymbols(e);t&&(m=m.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,m)}return r}function k(t){for(var r=1;r<arguments.length;r++){var m=null!=arguments[r]?arguments[r]:{};r%2?N(Object(m),!0).forEach((function(r){e(t,r,m[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(m)):N(Object(m)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(m,e))}))}return t}var R={view:"feedItem",theme:n.DARK},U=function(e){var n=e.feedItem,N=e.appData,U=e.customFeedItemTypeTemplates,B=e.currentUser,H=t(e,A);if(n.type in U){var L=U[n.type];return M(L,{"data-testid":"".concat("Feed_Content","_template"),feedItem:m(n),appData:m(N),appContext:m(R)})}switch(n.type){case r(o,"alert.type"):return M(s,{feedItem:n});case r(o,"post.type"):return M(a,{feedItem:n});case r(o,"geosteering_comments.type"):return M(d,{feedItem:n});case r(o,"dvd_comment.type"):return M(x,{feedItem:n});case r(o,"pc_comment.type"):return M(S,{feedItem:n});case r(o,"hookload_broomstick_comment.type"):return M(E,{feedItem:n});case r(o,"operational_note.type"):return M(f,{feedItem:n});case r(o,"operation_summary.type"):return M(i,{feedItem:n});case r(o,"daily_cost.type"):return M(I,{feedItem:n});case r(o,"document.type"):return M(c,{feedItem:n});case r(o,"driller_memo.type"):return M(y,{feedItem:n});case r(o,"npt_event.type"):return M(u,{feedItem:n});case r(o,"survey_station.type"):return M(l,{feedItem:n});case r(o,"completion_operational_note.type"):return M(_,{feedItem:n});case r(o,"completion_operation_summary.type"):return M(O,{feedItem:n});case r(o,"completion_daily_cost.type"):return M(b,{feedItem:n});case r(o,"completion_document.type"):return M(D,{feedItem:n});case r(o,"completion_npt_event.type"):return M(C,{feedItem:n});case r(o,"completion_actual_stage.type"):return M(v,{feedItem:n});case p.TRACES_MEMO:return M(T,{feedItem:n});case p.DEPTH_COMMENTS:return M(F,{feedItem:n});case r(o,"lessons_learned.type"):return M(j,{feedItem:n});case r(o,"bha.type"):return M(w,{feedItem:n});case r(o,"fluid_report.type"):return M(P,{feedItem:n});case r(o,"app_annotation.type"):return M(h,k({feedItem:n,appData:N,appContext:R,currentUser:B},H));case r(o,"well_plan.type"):return M(g,k({feedItem:n,appData:N,appContext:R},H));default:return null}};export{U as default};
1
+ import e from"@babel/runtime/helpers/defineProperty";import t from"@babel/runtime/helpers/objectWithoutProperties";import{get as r}from"lodash";import{fromJS as m}from"immutable";import{FEED_ITEM_TYPES_BY_KEY as o,FEED_ITEM_TYPES as p}from"../../../constants/feed.js";import{THEMES as n}from"../../../constants/theme.js";import s from"../feedItemTypes/AlertFeedItem.js";import d from"../feedItemTypes/PostFeedItem.js";import a from"../feedItemTypes/GeosteeringFeedItem.js";import f from"../feedItemTypes/DrillingOperationalNoteFeedItem.js";import i from"../feedItemTypes/DrillingOperationSummaryFeedItem.js";import I from"../feedItemTypes/DrillingDailyCostFeedItem.js";import c from"../feedItemTypes/DocumentFeedItem.js";import y from"../feedItemTypes/DrillerMemoFeedItem.js";import l from"../feedItemTypes/NptFeedItem.js";import u from"../feedItemTypes/SurveyStationFeedItem/index.js";import j from"../feedItemTypes/LessonsLearnedFeedItem/index.js";import T from"../feedItemTypes/TracesMemoFeedItem.js";import _ from"../feedItemTypes/DepthCommentFeedItem.js";import F from"../feedItemTypes/CompletionOperationalNoteFeedItem.js";import O from"../feedItemTypes/CompletionOperationSummaryFeedItem.js";import b from"../feedItemTypes/CompletionDailyCostFeedItem.js";import D from"../feedItemTypes/CompletionDocumentFeedItem.js";import v from"../feedItemTypes/CompletionNptFeedItem.js";import C from"../feedItemTypes/StageOverviewFeedItem/index.js";import g from"../feedItemTypes/AppAnnotationFeedItem/index.js";import h from"../feedItemTypes/WellPlanFeedItem/index.js";import P from"../feedItemTypes/FluidReportFeedItem.js";import w from"../feedItemTypes/BhaFeedItem/BhaFeedItem.js";import x from"../feedItemTypes/DvDCommentFeedItem.js";import S from"../feedItemTypes/PCCommentFeedItem.js";import E from"../feedItemTypes/HookloadCommentFeedItem.js";import{jsx as M}from"react/jsx-runtime";var A=["feedItem","appData","customFeedItemTypeTemplates","currentUser"];function N(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var m=Object.getOwnPropertySymbols(e);t&&(m=m.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,m)}return r}function k(t){for(var r=1;r<arguments.length;r++){var m=null!=arguments[r]?arguments[r]:{};r%2?N(Object(m),!0).forEach((function(r){e(t,r,m[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(m)):N(Object(m)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(m,e))}))}return t}var R={view:"feedItem",theme:n.DARK},U=function(e){var n=e.feedItem,N=e.appData,U=e.customFeedItemTypeTemplates,B=e.currentUser,H=t(e,A);if(n.type in U){var L=U[n.type];return M(L,{"data-testid":"".concat("Feed_Content","_template"),feedItem:m(n),appData:m(N),appContext:m(R)})}switch(n.type){case r(o,"alert.type"):return M(s,{feedItem:n});case r(o,"post.type"):return M(d,{feedItem:n});case r(o,"geosteering_comments.type"):return M(a,{feedItem:n});case r(o,"dvd_comment.type"):return M(x,{feedItem:n});case r(o,"pc_comment.type"):case r(o,"drilling_dysfunction_event.type"):return M(S,{feedItem:n});case r(o,"hookload_broomstick_comment.type"):return M(E,{feedItem:n});case r(o,"operational_note.type"):return M(f,{feedItem:n});case r(o,"operation_summary.type"):return M(i,{feedItem:n});case r(o,"daily_cost.type"):return M(I,{feedItem:n});case r(o,"document.type"):return M(c,{feedItem:n});case r(o,"driller_memo.type"):return M(y,{feedItem:n});case r(o,"npt_event.type"):return M(l,{feedItem:n});case r(o,"survey_station.type"):return M(u,{feedItem:n});case r(o,"completion_operational_note.type"):return M(F,{feedItem:n});case r(o,"completion_operation_summary.type"):return M(O,{feedItem:n});case r(o,"completion_daily_cost.type"):return M(b,{feedItem:n});case r(o,"completion_document.type"):return M(D,{feedItem:n});case r(o,"completion_npt_event.type"):return M(v,{feedItem:n});case r(o,"completion_actual_stage.type"):return M(C,{feedItem:n});case p.TRACES_MEMO:return M(T,{feedItem:n});case p.DEPTH_COMMENTS:return M(_,{feedItem:n});case r(o,"lessons_learned.type"):return M(j,{feedItem:n});case r(o,"bha.type"):return M(w,{feedItem:n});case r(o,"fluid_report.type"):return M(P,{feedItem:n});case r(o,"app_annotation.type"):return M(g,k({feedItem:n,appData:N,appContext:R,currentUser:B},H));case r(o,"well_plan.type"):return M(h,k({feedItem:n,appData:N,appContext:R},H));default:return null}};export{U as default};
@@ -1,6 +1,9 @@
1
1
  export default HookloadCommentFeedItem;
2
- declare function HookloadCommentFeedItem({ feedItem: { context: { hookload_broomstick_comment: { body, attachment, data: { timestamp, measuredDepth, activityLabel, hookload }, }, }, mentioned_users: mentionedUsers, }, }: {
2
+ declare function HookloadCommentFeedItem({ feedItem: { point: { showNoVisiblePointWarning }, context: { hookload_broomstick_comment: { body, attachment, data: { timestamp, measuredDepth, activityLabel, hookload }, }, }, mentioned_users: mentionedUsers, }, }: {
3
3
  feedItem: {
4
+ point?: {
5
+ showNoVisiblePointWarning: any;
6
+ };
4
7
  context: {
5
8
  hookload_broomstick_comment: {
6
9
  body: any;
@@ -1 +1 @@
1
- {"version":3,"file":"HookloadCommentFeedItem.d.ts","sourceRoot":"","sources":["../../../../src/components/FeedItem/feedItemTypes/HookloadCommentFeedItem.js"],"names":[],"mappings":";AA6BA;;;;;;;;;;;;;;;;gBAkEC"}
1
+ {"version":3,"file":"HookloadCommentFeedItem.d.ts","sourceRoot":"","sources":["../../../../src/components/FeedItem/feedItemTypes/HookloadCommentFeedItem.js"],"names":[],"mappings":";AAwCA;;;;;;;;;;;;;;;;;;;gBA6EC"}
@@ -1 +1 @@
1
- import{makeStyles as e,Typography as t}from"@material-ui/core";import a from"moment";import{isNativeDetected as o}from"../../../utils/mobileDetect.js";import{formatMentionText as i}from"../../UserMention/utils/index.js";import r from"../../Attachment/index.js";import{convertValue as n,getUnitDisplay as m}from"../../../utils/convert.js";import{jsxs as l,jsx as c}from"react/jsx-runtime";var d=e((function(e){return{text:{color:e.palette.primary.text6},value:{color:"#fff"},attachment:{paddingTop:10,width:300},infoField:{color:e.palette.primary.text6,"& span":{color:"#fff"}}}})),s=function(e){var s=e.feedItem,f=s.context.hookload_broomstick_comment,h=f.body,p=f.attachment,u=void 0===p?{}:p,v=f.data,g=v.timestamp,x=v.measuredDepth,N=v.activityLabel,b=v.hookload,y=s.mentioned_users,F=d(),k=n(+x,"length","ft"),M=n(+b,"force","klbf");return l("div",{className:F.wrapper,children:[h&&c(t,{"data-testid":"".concat("HookloadCommentFeedItem","_message"),variant:"body1",gutterBottom:!0,children:i(h,y,o)}),Number.isFinite(x)&&l(t,{className:F.infoField,children:["Measured Depth:"," ",c("span",{children:"".concat(Math.round(k).toLocaleString()," ").concat(m("length"))})]}),b&&l(t,{className:F.infoField,children:["Hookload:"," ",c("span",{children:"".concat(Math.round(M).toLocaleString()," ").concat(m("force"))})]}),N&&l(t,{className:F.infoField,children:["Activity: ",c("span",{children:N})]}),g&&l(t,{className:F.infoField,children:["Time: ",c("span",{children:a.unix(g).format("MM/DD/YY HH:mm")})]}),u&&(u.signed_url||u.url||u.name)&&c("div",{className:F.attachment,children:c(r,{small:!0,attachmentUrl:u.signed_url||u.url,fileName:u.name,displayName:u.name})})]})};export{s as default};
1
+ import{makeStyles as t}from"@material-ui/core";import e from"moment";import i from"@material-ui/icons/Warning";import{isNativeDetected as a}from"../../../utils/mobileDetect.js";import{formatMentionText as o}from"../../UserMention/utils/index.js";import n from"../../Attachment/index.js";import{convertValue as r,getUnitDisplay as m}from"../../../utils/convert.js";import{Regular14 as l,Regular12 as c}from"../../Typography.js";import{jsxs as s,jsx as d}from"react/jsx-runtime";var p=t((function(t){return{text:{color:t.palette.primary.text6},value:{color:"#fff"},attachment:{paddingTop:10,width:300},warningContainer:{display:"flex",alignItems:"center",gap:8,marginTop:16},warningIcon:{fill:t.palette.warning.main},infoField:{color:t.palette.primary.text6,"& span":{color:"#fff"}}}})),f=function(t){var f=t.feedItem,h=f.point,u=(h=void 0===h?{}:h).showNoVisiblePointWarning,g=f.context.hookload_broomstick_comment,v=g.body,N=g.attachment,y=void 0===N?{}:N,x=g.data,b=x.timestamp,w=x.measuredDepth,F=x.activityLabel,j=x.hookload,k=f.mentioned_users,M=p(),_=r(+w,"length","ft"),B=r(+j,"force","klbf");return s("div",{className:M.wrapper,children:[v&&d(l,{"data-testid":"".concat("HookloadCommentFeedItem","_message"),variant:"body1",gutterBottom:!0,children:o(v,k,a)}),Number.isFinite(w)&&s(l,{className:M.infoField,gutterBottom:!0,children:["Measured Depth:"," ",d("span",{children:"".concat(Math.round(_).toLocaleString()," ").concat(m("length"))})]}),j&&s(l,{className:M.infoField,gutterBottom:!0,children:["Hookload:"," ",d("span",{children:"".concat(Math.round(B).toLocaleString()," ").concat(m("force"))})]}),F&&s(l,{className:M.infoField,gutterBottom:!0,children:["Activity: ",d("span",{children:F})]}),b&&s(l,{className:M.infoField,gutterBottom:!0,children:["Time: ",d("span",{children:e.unix(b).format("MM/DD/YY HH:mm")})]}),u&&s("div",{className:M.warningContainer,children:[d(i,{className:M.warningIcon}),d(c,{children:"This activity is disabled in the application settings or not in range"})]}),y&&(y.signed_url||y.url||y.name)&&d("div",{className:M.attachment,children:d(n,{small:!0,attachmentUrl:y.signed_url||y.url,fileName:y.name,displayName:y.name})})]})};export{f as default};
@@ -1,17 +1,5 @@
1
1
  export default PCCommentFeedItem;
2
- declare function PCCommentFeedItem({ feedItem: { context: { pc_comment: { body, attachment, data: { timestamp, holeDepth }, }, }, mentioned_users: mentionedUsers, }, }: {
3
- feedItem: {
4
- context: {
5
- pc_comment: {
6
- body: any;
7
- attachment?: {};
8
- data: {
9
- timestamp: any;
10
- holeDepth: any;
11
- };
12
- };
13
- };
14
- mentioned_users: any;
15
- };
2
+ declare function PCCommentFeedItem({ feedItem }: {
3
+ feedItem: any;
16
4
  }): JSX.Element;
17
5
  //# sourceMappingURL=PCCommentFeedItem.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"PCCommentFeedItem.d.ts","sourceRoot":"","sources":["../../../../src/components/FeedItem/feedItemTypes/PCCommentFeedItem.js"],"names":[],"mappings":";AA6BA;;;;;;;;;;;;;;gBA6CC"}
1
+ {"version":3,"file":"PCCommentFeedItem.d.ts","sourceRoot":"","sources":["../../../../src/components/FeedItem/feedItemTypes/PCCommentFeedItem.js"],"names":[],"mappings":";AA6BA;;gBAkDC"}
@@ -1 +1 @@
1
- import{makeStyles as t,Typography as e}from"@material-ui/core";import a from"moment";import{isNativeDetected as r}from"../../../utils/mobileDetect.js";import{formatMentionText as o}from"../../UserMention/utils/index.js";import m from"../../Attachment/index.js";import{convertValue as n,getUnitDisplay as i}from"../../../utils/convert.js";import{jsxs as l,jsx as c}from"react/jsx-runtime";var d=t((function(t){return{text:{color:t.palette.primary.text6},value:{color:"#fff"},attachment:{paddingTop:10,width:300},infoField:{color:t.palette.primary.text6,"& span":{color:"#fff"}}}})),s=function(t){var s=t.feedItem,p=s.context.pc_comment,f=p.body,h=p.attachment,u=void 0===h?{}:h,x=p.data,g=x.timestamp,v=x.holeDepth,N=s.mentioned_users,j=d(),y=n(+v,"length","ft");return l("div",{className:j.wrapper,children:[f&&c(e,{"data-testid":"".concat("PCCommentFeedItem","_message"),variant:"body1",gutterBottom:!0,children:o(f,N,r)}),g&&l(e,{className:j.infoField,children:["Time: ",c("span",{children:a.unix(g).format("MM.DD.YYYY, HH:mm")})]}),(v||0===v)&&l(e,{className:j.infoField,children:["Hole Depth: ",c("span",{children:"".concat(Math.round(y).toLocaleString()," ").concat(i("length"))})]}),u&&(u.signed_url||u.url||u.name)&&c("div",{className:j.attachment,children:c(m,{small:!0,attachmentUrl:u.signed_url||u.url,fileName:u.name,displayName:u.name})})]})};export{s as default};
1
+ import{makeStyles as t,Typography as e}from"@material-ui/core";import a from"moment";import{isNativeDetected as r}from"../../../utils/mobileDetect.js";import{formatMentionText as o}from"../../UserMention/utils/index.js";import i from"../../Attachment/index.js";import{convertValue as n,getUnitDisplay as m}from"../../../utils/convert.js";import{jsxs as l,jsx as c}from"react/jsx-runtime";var d=t((function(t){return{text:{color:t.palette.primary.text6},value:{color:"#fff"},attachment:{paddingTop:10,width:300},infoField:{color:t.palette.primary.text6,"& span":{color:"#fff"}}}})),s=function(t){var s=t.feedItem,p=s.type,f=s.context[p],h=f.body,u=f.attachment,x=void 0===u?{}:u,g=f.data,v=g.timestamp,y=g.holeDepth,N=s.mentioned_users,j=d(),D=n(+y,"length","ft");return l("div",{className:j.wrapper,children:[h&&c(e,{"data-testid":"".concat("PCCommentFeedItem","_message"),variant:"body1",gutterBottom:!0,children:o(h,N,r)}),v&&l(e,{className:j.infoField,children:["Time: ",c("span",{children:a.unix(v).format("MM.DD.YYYY, HH:mm")})]}),(y||0===y)&&l(e,{className:j.infoField,children:["Hole Depth:"," ",c("span",{children:"".concat(Math.round(D).toLocaleString()," ").concat(m("length"))})]}),x&&(x.signed_url||x.url||x.name)&&c("div",{className:j.attachment,children:c(i,{small:!0,attachmentUrl:x.signed_url||x.url,fileName:x.name,displayName:x.name})})]})};export{s as default};
@@ -1 +1 @@
1
- import o from'./../../ext-esm/style-inject/dist/style-inject.es.js';var a={small:"CorvaModal_small__mNfAD",medium:"CorvaModal_medium__hZ6dU",large:"CorvaModal_large__TDl42",extraLarge:"CorvaModal_extraLarge__0TL4F",modalWrapper:"CorvaModal_modalWrapper__QCxRq",modalContainer:"CorvaModal_modalContainer__rU-tZ",modalContainerMobile:"CorvaModal_modalContainerMobile__B-NqD",title:"CorvaModal_title__hXADg",titleMobile:"CorvaModal_titleMobile__I5oX3",titleText:"CorvaModal_titleText__JTkfo",modalContent:"CorvaModal_modalContent__Du0Oe",modalContentMobile:"CorvaModal_modalContentMobile__4bB1d",modalActions:"CorvaModal_modalActions__KJ3N4",modalActionsMobile:"CorvaModal_modalActionsMobile__1IQfD"};o(".CorvaModal_small__mNfAD{width:416px}.CorvaModal_medium__hZ6dU{width:552px}.CorvaModal_large__TDl42{width:768px}.CorvaModal_extraLarge__0TL4F{height:calc(100% - 32px);max-width:1152px;width:80%}.CorvaModal_modalWrapper__QCxRq{display:flex;height:100%;width:100%}.CorvaModal_modalContainer__rU-tZ{background-color:var(--palette-background-b-9);border-radius:4px;display:flex;flex-direction:column;margin:auto;max-height:calc(100% - 32px);max-width:80%;outline:none;overflow-y:scroll;position:relative}.CorvaModal_modalContainerMobile__B-NqD{max-height:calc(100% - 16px);max-width:calc(100% - 16px);min-height:calc(100% - 16px);min-width:calc(100% - 16px)}.CorvaModal_title__hXADg{align-items:center;background-color:var(--palette-background-b-9);border-top-left-radius:4px;border-top-right-radius:4px;box-shadow:0 16px 10px var(--palette-background-b-9);display:flex;justify-content:space-between;line-height:28px;padding:40px 40px 0;width:100%;z-index:1}.CorvaModal_titleMobile__I5oX3{padding:12px 16px}.CorvaModal_titleText__JTkfo{color:#fff;font-size:20px}.CorvaModal_modalContent__Du0Oe{overflow-y:auto;padding:16px 40px}.CorvaModal_modalContentMobile__4bB1d{background-color:inherit;overflow-y:scroll;padding:16px}.CorvaModal_modalActions__KJ3N4{align-items:center;background:var(--palette-background-b-9);border-bottom-left-radius:4px;border-bottom-right-radius:4px;box-shadow:0 -16px 10px var(--palette-background-b-9);display:flex;margin-top:auto;padding:16px 40px 40px;width:100%;z-index:1000}.CorvaModal_modalActionsMobile__1IQfD{padding:8px 16px}");export{a as default};
1
+ import o from'./../../ext-esm/style-inject/dist/style-inject.es.js';var a={small:"CorvaModal_small__mNfAD",medium:"CorvaModal_medium__hZ6dU",large:"CorvaModal_large__TDl42",extraLarge:"CorvaModal_extraLarge__0TL4F",modalWrapper:"CorvaModal_modalWrapper__QCxRq",modalContainer:"CorvaModal_modalContainer__rU-tZ",modalContainerMobile:"CorvaModal_modalContainerMobile__B-NqD",title:"CorvaModal_title__hXADg",titleMobile:"CorvaModal_titleMobile__I5oX3",titleText:"CorvaModal_titleText__JTkfo",modalContent:"CorvaModal_modalContent__Du0Oe",modalContentMobile:"CorvaModal_modalContentMobile__4bB1d",modalActions:"CorvaModal_modalActions__KJ3N4",modalActionsMobile:"CorvaModal_modalActionsMobile__1IQfD"};o(".CorvaModal_small__mNfAD{width:416px}.CorvaModal_medium__hZ6dU{width:552px}.CorvaModal_large__TDl42{width:768px}.CorvaModal_extraLarge__0TL4F{height:calc(100% - 32px);max-width:1152px;width:80%}.CorvaModal_modalWrapper__QCxRq{display:flex;height:100%;width:100%}.CorvaModal_modalContainer__rU-tZ{background-color:var(--palette-background-b-9);border-radius:4px;display:flex;flex-direction:column;margin:auto;max-height:calc(100% - 32px);max-width:80%;outline:none;overflow:hidden;position:relative}.CorvaModal_modalContainerMobile__B-NqD{max-height:calc(100% - 16px);max-width:calc(100% - 16px);min-height:calc(100% - 16px);min-width:calc(100% - 16px)}.CorvaModal_title__hXADg{align-items:center;background-color:var(--palette-background-b-9);border-top-left-radius:4px;border-top-right-radius:4px;box-shadow:0 8px 10px var(--palette-background-b-9);display:flex;justify-content:space-between;line-height:28px;padding:40px 40px 0;width:100%;z-index:1}.CorvaModal_titleMobile__I5oX3{padding:12px 16px}.CorvaModal_titleText__JTkfo{color:#fff;font-size:20px}.CorvaModal_modalContent__Du0Oe{overflow-y:auto;padding:16px 40px}.CorvaModal_modalContentMobile__4bB1d{background-color:inherit;overflow-y:scroll;padding:16px}.CorvaModal_modalActions__KJ3N4{align-items:center;background:var(--palette-background-b-9);border-bottom-left-radius:4px;border-bottom-right-radius:4px;box-shadow:0 -8px 10px var(--palette-background-b-9);display:flex;margin-top:auto;padding:16px 40px 40px;width:100%;z-index:1000}.CorvaModal_modalActionsMobile__1IQfD{padding:8px 16px}");export{a as default};
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=CorvaModal.snapshot.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CorvaModal.snapshot.test.d.ts","sourceRoot":"","sources":["../../../../src/components/Modal/__tests__/CorvaModal.snapshot.test.js"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=CorvaModal.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CorvaModal.test.d.ts","sourceRoot":"","sources":["../../../../src/components/Modal/__tests__/CorvaModal.test.js"],"names":[],"mappings":""}