@corva/ui 0.72.0-5 → 0.73.0-0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1323) hide show
  1. package/CLI/hocs/constants.js +1 -1
  2. package/CLI/hocs/utils.js +1 -1
  3. package/cjs-bundle/CLI/hocs/utils.js +1 -1
  4. package/cjs-bundle/clients/api/apiCore.js +1 -1
  5. package/cjs-bundle/clients/clientStorage/core.js +1 -1
  6. package/cjs-bundle/clients/clientStorage/index.js +1 -1
  7. package/cjs-bundle/clients/constants.js +1 -1
  8. package/cjs-bundle/clients/index.js +1 -1
  9. package/cjs-bundle/clients/jsonApi/index.js +1 -1
  10. package/cjs-bundle/clients/subscriptions.js +1 -1
  11. package/cjs-bundle/clients/utils.js +1 -1
  12. package/cjs-bundle/components/AddComment/Popover.js +1 -1
  13. package/cjs-bundle/components/AddComment/Popup.js +1 -1
  14. package/cjs-bundle/components/AddComment/components/Content.js +1 -1
  15. package/cjs-bundle/components/AdvancedSlider/AdvancedSlider.js +1 -1
  16. package/cjs-bundle/components/AdvancedSlider/Handle.js +1 -1
  17. package/cjs-bundle/components/AnchorsList/AnchorsList.js +1 -1
  18. package/cjs-bundle/components/Annotations/AnnotationsContext.js +1 -1
  19. package/cjs-bundle/components/Annotations/components/AnnotationsList/components/AddAnnotationForm/index.js +1 -1
  20. package/cjs-bundle/components/Annotations/components/AnnotationsList/components/Annotation/index.js +1 -1
  21. package/cjs-bundle/components/Annotations/components/AnnotationsList/components/AnnotationComments/index.js +1 -1
  22. package/cjs-bundle/components/Annotations/components/AnnotationsList/components/AnnotationInput/StyledSelect.js +1 -1
  23. package/cjs-bundle/components/Annotations/components/AnnotationsList/components/AnnotationInput/index.js +1 -1
  24. package/cjs-bundle/components/Annotations/components/AnnotationsList/index.js +1 -1
  25. package/cjs-bundle/components/Annotations/components/LastAnnotation/index.js +1 -1
  26. package/cjs-bundle/components/AppIcon/assets/DrillingAppIcon.js +1 -1
  27. package/cjs-bundle/components/AppIcon/utils.js +1 -1
  28. package/cjs-bundle/components/AppVersionsSelect/AppVersionsSelect.js +1 -1
  29. package/cjs-bundle/components/AppVersionsSelect/effects/index.js +1 -1
  30. package/cjs-bundle/components/AssetEditor/AssetEditorAutocomplete.js +1 -1
  31. package/cjs-bundle/components/AssetEditor/SingleAssetEditor.js +1 -1
  32. package/cjs-bundle/components/AssetEditor/effects/index.js +1 -1
  33. package/cjs-bundle/components/AssetEditor/index.js +1 -1
  34. package/cjs-bundle/components/AssetEditorV2/components/MultipleAssetsToggle.js +1 -1
  35. package/cjs-bundle/components/AssetEditorV2/components/PrimaryAssetSelect.js +1 -1
  36. package/cjs-bundle/components/AssetEditorV2/components/PrimaryAssetSelectV2.js +1 -1
  37. package/cjs-bundle/components/AssetEditorV2/components/SecondaryAssetSelect.js +1 -1
  38. package/cjs-bundle/components/AssetEditorV2/components/SelectItem.js +1 -1
  39. package/cjs-bundle/components/AssetEditorV2/effects/index.js +1 -1
  40. package/cjs-bundle/components/AssetEditorV2/effects/usePrimaryAssetSelectData.js +1 -1
  41. package/cjs-bundle/components/AssetEditorV2/index.js +1 -1
  42. package/cjs-bundle/components/AssetEditorV2/utils/index.js +1 -1
  43. package/cjs-bundle/components/AssetNameLabel/AssetNameLabel.js +1 -1
  44. package/cjs-bundle/components/Attachment/index.js +1 -1
  45. package/cjs-bundle/components/Autocomplete/Autocomplete.js +1 -1
  46. package/cjs-bundle/components/BICOffsetPickerDialog/components/Map/Map.js +1 -1
  47. package/cjs-bundle/components/BICOffsetPickerDialog/components/Map/index.js +1 -1
  48. package/cjs-bundle/components/BICOffsetPickerDialog/components/WellSection/AssetSearch.js +1 -1
  49. package/cjs-bundle/components/BICOffsetPickerDialog/components/WellSection/AutoCompleteAssetSearch/AssetResultSection.js +1 -1
  50. package/cjs-bundle/components/BICOffsetPickerDialog/components/WellSection/AutoCompleteAssetSearch/AssetTypesSection.js +1 -1
  51. package/cjs-bundle/components/BICOffsetPickerDialog/components/WellSection/AutoCompleteAssetSearch/AutoCompleteAssetSearch.js +1 -1
  52. package/cjs-bundle/components/BICOffsetPickerDialog/components/WellSection/AutoCompleteAssetSearch/constants.js +1 -1
  53. package/cjs-bundle/components/BICOffsetPickerDialog/components/WellSection/AutoCompleteAssetSearch/effects/useAssetsData.js +1 -1
  54. package/cjs-bundle/components/BICOffsetPickerDialog/components/WellSection/AutoCompleteAssetSearch/utils/apiCalls.js +1 -1
  55. package/cjs-bundle/components/BICOffsetPickerDialog/components/WellSection/NumberCircle.js +1 -1
  56. package/cjs-bundle/components/BICOffsetPickerDialog/components/WellSection/SectionItem.js +1 -1
  57. package/cjs-bundle/components/BICOffsetPickerDialog/components/WellSection/WellListItem.js +1 -1
  58. package/cjs-bundle/components/BICOffsetPickerDialog/components/WellSection/index.js +1 -1
  59. package/cjs-bundle/components/BICOffsetPickerDialog/effects/index.js +1 -1
  60. package/cjs-bundle/components/BICOffsetPickerDialog/index.js +1 -1
  61. package/cjs-bundle/components/BICOffsetPickerDialog/utils/apiCalls.js +1 -1
  62. package/cjs-bundle/components/Breadcrumbs/index.js +1 -1
  63. package/cjs-bundle/components/Casing/CasingComponentIcon.js +1 -1
  64. package/cjs-bundle/components/Casing/CasingTable/CasingComponent.js +1 -1
  65. package/cjs-bundle/components/Casing/CasingTable/index.js +1 -1
  66. package/cjs-bundle/components/Casing/CasingTableV2/CasingTableV2.js +1 -1
  67. package/cjs-bundle/components/Casing/CasingTableV2/components/CasingJoints/Browser.js +1 -1
  68. package/cjs-bundle/components/Casing/CasingTableV2/components/CasingJoints/Editor.js +1 -1
  69. package/cjs-bundle/components/Casing/CasingTableV2/components/Component.js +1 -1
  70. package/cjs-bundle/components/Casing/CasingTableV2/components/DrillPipe/Browser.js +1 -1
  71. package/cjs-bundle/components/Casing/CasingTableV2/components/DrillPipe/Editor.js +1 -1
  72. package/cjs-bundle/components/Casing/CasingTableV2/components/EditComponentDialog.js +1 -1
  73. package/cjs-bundle/components/Casing/CasingTableV2/components/Header.js +1 -1
  74. package/cjs-bundle/components/Casing/CasingTableV2/components/SortableComponent.js +1 -1
  75. package/cjs-bundle/components/Casing/CasingTableV2/components/SortableComponents.js +1 -1
  76. package/cjs-bundle/components/Casing/CasingTile/CasingTile.js +1 -1
  77. package/cjs-bundle/components/Casing/CasingTile/style.js +1 -1
  78. package/cjs-bundle/components/Casing/CasingTileIcon.js +1 -1
  79. package/cjs-bundle/components/Chart/ChartWrapperContext.js +1 -1
  80. package/cjs-bundle/components/Chart/components/AxisDropdown.js +1 -1
  81. package/cjs-bundle/components/Chart/components/AxisOverlay.js +1 -1
  82. package/cjs-bundle/components/Chart/components/ChartButton.js +1 -1
  83. package/cjs-bundle/components/Chart/components/ChartButtons.js +1 -1
  84. package/cjs-bundle/components/Chart/components/ChartSelect.js +1 -1
  85. package/cjs-bundle/components/Chart/components/ChartWrapper.js +1 -1
  86. package/cjs-bundle/components/Chart/components/buttons/ChartTypeButton.js +1 -1
  87. package/cjs-bundle/components/Chart/components/buttons/DragToZoomButton.js +1 -1
  88. package/cjs-bundle/components/Chart/components/buttons/HideAxesButton.js +1 -1
  89. package/cjs-bundle/components/Chart/components/buttons/PanButton.js +1 -1
  90. package/cjs-bundle/components/Chart/components/buttons/ResetZoomButton.js +1 -1
  91. package/cjs-bundle/components/Chart/components/buttons/ZoomInButton.js +1 -1
  92. package/cjs-bundle/components/Chart/components/buttons/ZoomOutButton.js +1 -1
  93. package/cjs-bundle/components/Chart/effects/useChartModifier.js +1 -1
  94. package/cjs-bundle/components/Chart/effects/useChartTypeSwitch.js +1 -1
  95. package/cjs-bundle/components/Chart/effects/useHideAxes.js +1 -1
  96. package/cjs-bundle/components/Chart/effects/useKeyboardControl.js +1 -1
  97. package/cjs-bundle/components/Chart/effects/useZoom.js +1 -1
  98. package/cjs-bundle/components/Chart/formations.js +1 -1
  99. package/cjs-bundle/components/Chart/utils.js +1 -1
  100. package/cjs-bundle/components/ChartActionsList/ChartActionsList.js +1 -1
  101. package/cjs-bundle/components/ChartActionsList/icons/GoLive.js +1 -1
  102. package/cjs-bundle/components/ChartActionsList/icons/LeftArrow.js +1 -1
  103. package/cjs-bundle/components/ChartActionsList/icons/RightArrow.js +1 -1
  104. package/cjs-bundle/components/ChartActionsList/icons/ZoomIn.js +1 -1
  105. package/cjs-bundle/components/ChartActionsList/icons/ZoomOut.js +1 -1
  106. package/cjs-bundle/components/Checkbox/index.js +1 -1
  107. package/cjs-bundle/components/CollapsableSidebar.js +1 -1
  108. package/cjs-bundle/components/CollapsibleContent.js +1 -1
  109. package/cjs-bundle/components/ColorPicker/ColorPicker.js +1 -1
  110. package/cjs-bundle/components/ColorPicker/PaletteChromePicker/ColorSquare/ColorSquare.js +1 -1
  111. package/cjs-bundle/components/ColorPicker/PaletteChromePicker/Palette/Palette.js +1 -1
  112. package/cjs-bundle/components/ColorPicker/PaletteChromePicker/Palette/PaletteConstants.js +1 -1
  113. package/cjs-bundle/components/ColorPicker/PaletteChromePicker/PaletteChromePicker.js +1 -1
  114. package/cjs-bundle/components/Comment/index.js +1 -1
  115. package/cjs-bundle/components/CommentInput/index.js +1 -1
  116. package/cjs-bundle/components/CommentLoader.js +1 -1
  117. package/cjs-bundle/components/CommentWrapper.js +1 -1
  118. package/cjs-bundle/components/CommentsInfo/index.js +1 -1
  119. package/cjs-bundle/components/ConfirmationDialog.js +1 -1
  120. package/cjs-bundle/components/ContextMenuItem/index.js +1 -1
  121. package/cjs-bundle/components/CopyToClipboard/CopyToClipboard.js +1 -1
  122. package/cjs-bundle/components/CustomSelect/index.js +1 -1
  123. package/cjs-bundle/components/DevCenter/AppContext.js +1 -1
  124. package/cjs-bundle/components/DevCenter/AppHeader/AppHeader.js +1 -1
  125. package/cjs-bundle/components/DevCenter/AppHeader/AppHeaderStyles.js +1 -1
  126. package/cjs-bundle/components/DevCenter/AppHeader/PadMode.js +1 -1
  127. package/cjs-bundle/components/DevCenter/AppHeader/utils.js +1 -1
  128. package/cjs-bundle/components/DevCenter/AppsDataProvider/AppsDataProvider.js +1 -1
  129. package/cjs-bundle/components/DevCenter/AppsDataProvider/effects/dataResolvers.js +1 -1
  130. package/cjs-bundle/components/DevCenter/AppsDataProvider/effects/useAppsData.js +1 -1
  131. package/cjs-bundle/components/DevCenter/AppsDataProvider/effects/utils.js +1 -1
  132. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/DevCenterAppContainer.js +1 -1
  133. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/AnnotationsButton/AnnotationsButton.js +1 -1
  134. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/AppActions/AppActions.js +1 -1
  135. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/AppInfoMessage/AppInfoMessage.js +1 -1
  136. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/AppSettingsDialog.js +1 -1
  137. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/components/RemoveAppButton.js +1 -1
  138. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/styles.js +1 -1
  139. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/IsInsideDcFullscreenElemProvider.js +1 -1
  140. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/DevCenterAppView/DevCenterAppView.js +1 -1
  141. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/FullscreenButton/FullscreenButton.js +1 -1
  142. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/IsInsideDcAppProvider/IsInsideDcAppProvider.js +1 -1
  143. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/NonPriorityMenus/NonPriorityMenus.js +1 -1
  144. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/PriorityMenus/PriorityMenus.js +1 -1
  145. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/RestoreAppSizeButton/index.js +1 -1
  146. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/effects/useAnnotationsData.js +1 -1
  147. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/effects/useAnnotationsList.js +1 -1
  148. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/effects/useAppMaximized.js +1 -1
  149. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/effects/useAppSettings.js +1 -1
  150. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/utils.js +1 -1
  151. package/cjs-bundle/components/DevCenter/DevCenterRouterContext/DevCenterRouterContext.js +1 -1
  152. package/cjs-bundle/components/DevCenter/DevCenterRouterContext/UniversalLink/UniversalLink.js +1 -1
  153. package/cjs-bundle/components/DevCenter/DevCenterRouterContext/hocs/withUniversalLocationHOC.js +1 -1
  154. package/cjs-bundle/components/DevCenter/IsolatedDevCenterAppContainer/DevCenterAppZoidComponent.js +1 -1
  155. package/cjs-bundle/components/DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedApp.js +1 -1
  156. package/cjs-bundle/components/DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedAppPage.js +1 -1
  157. package/cjs-bundle/components/DevCenter/IsolatedDevCenterAppContainer/effects/useXProps.js +1 -1
  158. package/cjs-bundle/components/DevCenter/IsolatedDevCenterAppContainer/utils/replaceUndefinedValuesWithNull.js +1 -1
  159. package/cjs-bundle/components/DevCenter/NavigationBar/NavigationBar.js +1 -1
  160. package/cjs-bundle/components/DevCenter/SideBar/SideBar.js +1 -1
  161. package/cjs-bundle/components/DisabledSettingsMessage/DisabledSettingsMessage.js +1 -1
  162. package/cjs-bundle/components/DocumentViewer/DocumentViewer.js +1 -1
  163. package/cjs-bundle/components/DocumentViewer/styles.js +1 -1
  164. package/cjs-bundle/components/Drillstring/BHACasingEmptyView/BHACasingEmptyView.js +1 -1
  165. package/cjs-bundle/components/Drillstring/BHAComponentDetail/constants.js +1 -1
  166. package/cjs-bundle/components/Drillstring/BHAComponentDetail/index.js +1 -1
  167. package/cjs-bundle/components/Drillstring/BHAComponentIcon.js +1 -1
  168. package/cjs-bundle/components/Drillstring/BHAComponentsTable/BHAComponentsTable.js +1 -1
  169. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Agitator/Browser.js +1 -1
  170. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Agitator/Editor.js +1 -1
  171. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Bit/Browser.js +1 -1
  172. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Bit/Editor.js +1 -1
  173. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Component.js +1 -1
  174. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/DrillCollar/Browser.js +1 -1
  175. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/DrillCollar/Editor.js +1 -1
  176. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/DrillPipe/Browser.js +1 -1
  177. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/DrillPipe/Editor.js +1 -1
  178. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/EditComponentDialog.js +1 -1
  179. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Header.js +1 -1
  180. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Jar/Browser.js +1 -1
  181. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Jar/Editor.js +1 -1
  182. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Lwd/Browser.js +1 -1
  183. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Lwd/Editor.js +1 -1
  184. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Lwd/Measurement.js +1 -1
  185. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Mwd/Browser.js +1 -1
  186. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Mwd/Editor.js +1 -1
  187. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/NozzleSize/index.js +1 -1
  188. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Pdm/Browser.js +1 -1
  189. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Pdm/Editor.js +1 -1
  190. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/PressureLoss/index.js +1 -1
  191. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Rss/Browser.js +1 -1
  192. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Rss/Editor.js +1 -1
  193. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/SortableComponent.js +1 -1
  194. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/SortableComponents.js +1 -1
  195. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Stabilizer/Browser.js +1 -1
  196. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Stabilizer/Editor.js +1 -1
  197. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Sub/Browser.js +1 -1
  198. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Sub/Editor.js +1 -1
  199. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Suggestions/AutoCompleteDialog.js +1 -1
  200. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Suggestions/Suggestions.js +1 -1
  201. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Ur/Browser.js +1 -1
  202. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Ur/Editor.js +1 -1
  203. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/constants.js +1 -1
  204. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/shared/CancelButton.js +1 -1
  205. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/shared/ConfirmationPopup.js +1 -1
  206. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/shared/ExpandCollapseButton.js +1 -1
  207. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/shared/FormatedNumber.js +1 -1
  208. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/shared/InputText.js +1 -1
  209. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/shared/MoreButton.js +1 -1
  210. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/shared/SaveButton.js +1 -1
  211. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/shared/SelectField.js +1 -1
  212. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/shared/SharedEditorElements.js +1 -1
  213. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/shared/StaticField.js +1 -1
  214. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/sharedStyles.js +1 -1
  215. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/utils/calculation.js +1 -1
  216. package/cjs-bundle/components/Drillstring/BHAList/BHAList.js +1 -1
  217. package/cjs-bundle/components/Drillstring/BHASchematic.js +1 -1
  218. package/cjs-bundle/components/Drillstring/BHATable/BHAComponent.js +1 -1
  219. package/cjs-bundle/components/Drillstring/BHATable/index.js +1 -1
  220. package/cjs-bundle/components/Drillstring/BHATile/BHATile.js +1 -1
  221. package/cjs-bundle/components/Drillstring/BHATileIcon.js +1 -1
  222. package/cjs-bundle/components/Drillstring/BhaIndicator/BhaIndicator.js +1 -1
  223. package/cjs-bundle/components/Drillstring/DrillstringDetail/DrillstringDetail.js +1 -1
  224. package/cjs-bundle/components/EChartsWrapper/components/Toolbox/Toolbox.js +1 -1
  225. package/cjs-bundle/components/EditableItem/EditableItemWithBadge/index.js +1 -1
  226. package/cjs-bundle/components/EmbeddedApp/DevCenterEmbeddedApp.js +1 -1
  227. package/cjs-bundle/components/EmbeddedApp/EmbeddedApp.js +1 -1
  228. package/cjs-bundle/components/EmbeddedApp/components/AppInfo.js +1 -1
  229. package/cjs-bundle/components/EmojiIconButton.js +1 -1
  230. package/cjs-bundle/components/EmptyState/constants.js +1 -1
  231. package/cjs-bundle/components/EmptyView/EmptyAppView/EmptyAppView.js +1 -1
  232. package/cjs-bundle/components/EmptyView/EmptyAppView/components/ErrorSubtitleWithIntercomLink.js +1 -1
  233. package/cjs-bundle/components/EmptyView/EmptyView.js +1 -1
  234. package/cjs-bundle/components/ErrorBoundary/DevCenterAppErrorView/DevCenterAppErrorView.js +1 -1
  235. package/cjs-bundle/components/ErrorBoundary/ErrorBoundary.js +1 -1
  236. package/cjs-bundle/components/FailedFileUploading.js +1 -1
  237. package/cjs-bundle/components/FeedItem/FeedItem.js +1 -1
  238. package/cjs-bundle/components/FeedItem/FeedItemEditProvider/FeedItemEditModal.js +1 -1
  239. package/cjs-bundle/components/FeedItem/FeedItemEditProvider/FeedItemEditProvider.js +1 -1
  240. package/cjs-bundle/components/FeedItem/components/Actions.js +1 -1
  241. package/cjs-bundle/components/FeedItem/components/AvatarIcon.js +1 -1
  242. package/cjs-bundle/components/FeedItem/components/Content.js +1 -1
  243. package/cjs-bundle/components/FeedItem/components/CreatedAt.js +1 -1
  244. package/cjs-bundle/components/FeedItem/components/FeedComments.js +1 -1
  245. package/cjs-bundle/components/FeedItem/components/Icon.js +1 -1
  246. package/cjs-bundle/components/FeedItem/components/LessonsLearnedLeafIcon.js +1 -1
  247. package/cjs-bundle/components/FeedItem/components/Reactions.js +1 -1
  248. package/cjs-bundle/components/FeedItem/components/RigAndWell.js +1 -1
  249. package/cjs-bundle/components/FeedItem/components/TypeAndAssetTitle.js +1 -1
  250. package/cjs-bundle/components/FeedItem/editModals/DvdCommentEdit/DvdCommentEdit.js +1 -1
  251. package/cjs-bundle/components/FeedItem/editModals/HookloadCommentEdit/HookloadCommentEdit.js +1 -1
  252. package/cjs-bundle/components/FeedItem/editModals/LessonsLearnedEdit/LessonsLearnedEdit.js +1 -1
  253. package/cjs-bundle/components/FeedItem/editModals/NptLessonsCommentEdit/NptLessonsCommentEdit.js +1 -1
  254. package/cjs-bundle/components/FeedItem/editModals/PCCommentEdit/PCCommentEdit.js +1 -1
  255. package/cjs-bundle/components/FeedItem/feedItemTypes/AlertFeedItem.js +1 -1
  256. package/cjs-bundle/components/FeedItem/feedItemTypes/AppAnnotationFeedItem/helpers.js +1 -1
  257. package/cjs-bundle/components/FeedItem/feedItemTypes/AppAnnotationFeedItem/index.js +1 -1
  258. package/cjs-bundle/components/FeedItem/feedItemTypes/BhaFeedItem/BhaFeedItem.js +1 -1
  259. package/cjs-bundle/components/FeedItem/feedItemTypes/BhaFeedItem/components/BhaNumber.js +1 -1
  260. package/cjs-bundle/components/FeedItem/feedItemTypes/BhaFeedItem/components/BhaSchematic.js +1 -1
  261. package/cjs-bundle/components/FeedItem/feedItemTypes/BhaFeedItem/components/Info.js +1 -1
  262. package/cjs-bundle/components/FeedItem/feedItemTypes/BhaFeedItem/components/NoData.js +1 -1
  263. package/cjs-bundle/components/FeedItem/feedItemTypes/CompletionDailyCostFeedItem.js +1 -1
  264. package/cjs-bundle/components/FeedItem/feedItemTypes/CompletionDocumentFeedItem.js +1 -1
  265. package/cjs-bundle/components/FeedItem/feedItemTypes/CompletionNptFeedItem.js +1 -1
  266. package/cjs-bundle/components/FeedItem/feedItemTypes/CompletionOperationSummaryFeedItem.js +1 -1
  267. package/cjs-bundle/components/FeedItem/feedItemTypes/CompletionOperationalNoteFeedItem.js +1 -1
  268. package/cjs-bundle/components/FeedItem/feedItemTypes/DepthCommentFeedItem.js +1 -1
  269. package/cjs-bundle/components/FeedItem/feedItemTypes/DocumentFeedItem.js +1 -1
  270. package/cjs-bundle/components/FeedItem/feedItemTypes/DrillerMemoFeedItem.js +1 -1
  271. package/cjs-bundle/components/FeedItem/feedItemTypes/DrillingDailyCostFeedItem.js +1 -1
  272. package/cjs-bundle/components/FeedItem/feedItemTypes/DrillingOperationSummaryFeedItem.js +1 -1
  273. package/cjs-bundle/components/FeedItem/feedItemTypes/DrillingOperationalNoteFeedItem.js +1 -1
  274. package/cjs-bundle/components/FeedItem/feedItemTypes/DvDCommentFeedItem.js +1 -1
  275. package/cjs-bundle/components/FeedItem/feedItemTypes/FluidReportFeedItem.js +1 -1
  276. package/cjs-bundle/components/FeedItem/feedItemTypes/GeosteeringFeedItem.js +1 -1
  277. package/cjs-bundle/components/FeedItem/feedItemTypes/HookloadCommentFeedItem.js +1 -1
  278. package/cjs-bundle/components/FeedItem/feedItemTypes/LessonsLearnedFeedItem/index.js +1 -1
  279. package/cjs-bundle/components/FeedItem/feedItemTypes/NptFeedItem.js +1 -1
  280. package/cjs-bundle/components/FeedItem/feedItemTypes/NptLessonsCommentFeedItem.js +1 -1
  281. package/cjs-bundle/components/FeedItem/feedItemTypes/PCCommentFeedItem.js +1 -1
  282. package/cjs-bundle/components/FeedItem/feedItemTypes/PostFeedItem.js +1 -1
  283. package/cjs-bundle/components/FeedItem/feedItemTypes/StageOverviewFeedItem/api.js +1 -1
  284. package/cjs-bundle/components/FeedItem/feedItemTypes/StageOverviewFeedItem/components/NoData.js +1 -1
  285. package/cjs-bundle/components/FeedItem/feedItemTypes/StageOverviewFeedItem/components/Predictions.js +1 -1
  286. package/cjs-bundle/components/FeedItem/feedItemTypes/StageOverviewFeedItem/components/PredictionsItem.js +1 -1
  287. package/cjs-bundle/components/FeedItem/feedItemTypes/StageOverviewFeedItem/components/Stages/Stages.js +1 -1
  288. package/cjs-bundle/components/FeedItem/feedItemTypes/StageOverviewFeedItem/components/Stages/utils.js +1 -1
  289. package/cjs-bundle/components/FeedItem/feedItemTypes/StageOverviewFeedItem/index.js +1 -1
  290. package/cjs-bundle/components/FeedItem/feedItemTypes/SurveyStationFeedItem/api.js +1 -1
  291. package/cjs-bundle/components/FeedItem/feedItemTypes/SurveyStationFeedItem/components/AccuracyPlan.js +1 -1
  292. package/cjs-bundle/components/FeedItem/feedItemTypes/SurveyStationFeedItem/components/ActualPointInfo.js +1 -1
  293. package/cjs-bundle/components/FeedItem/feedItemTypes/SurveyStationFeedItem/components/Warning.js +1 -1
  294. package/cjs-bundle/components/FeedItem/feedItemTypes/SurveyStationFeedItem/index.js +1 -1
  295. package/cjs-bundle/components/FeedItem/feedItemTypes/TracesMemoFeedItem.js +1 -1
  296. package/cjs-bundle/components/FeedItem/feedItemTypes/WellPlanFeedItem/components/TargetChanges.js +1 -1
  297. package/cjs-bundle/components/FeedItem/feedItemTypes/WellPlanFeedItem/components/VerticalSectionAzimuth.js +1 -1
  298. package/cjs-bundle/components/FeedItem/feedItemTypes/WellPlanFeedItem/index.js +1 -1
  299. package/cjs-bundle/components/FilePreview/index.js +1 -1
  300. package/cjs-bundle/components/FileTypeIcon.js +1 -1
  301. package/cjs-bundle/components/FileUploadIconButton.js +1 -1
  302. package/cjs-bundle/components/FilesLoader/Icons/CSVFileIcon.js +1 -1
  303. package/cjs-bundle/components/FilesLoader/Icons/DocFileIcon.js +1 -1
  304. package/cjs-bundle/components/FilesLoader/Icons/EDMFileIcon.js +1 -1
  305. package/cjs-bundle/components/FilesLoader/Icons/ExelFileIcon.js +1 -1
  306. package/cjs-bundle/components/FilesLoader/Icons/FileIcon.js +1 -1
  307. package/cjs-bundle/components/FilesLoader/Icons/IconRefresh.js +1 -1
  308. package/cjs-bundle/components/FilesLoader/Icons/IconSuccess.js +1 -1
  309. package/cjs-bundle/components/FilesLoader/Icons/IconWarning.js +1 -1
  310. package/cjs-bundle/components/FilesLoader/Icons/ImageFileIcon.js +1 -1
  311. package/cjs-bundle/components/FilesLoader/Icons/PdfFileIcon.js +1 -1
  312. package/cjs-bundle/components/FilesLoader/Icons/UnknownFileIcon.js +1 -1
  313. package/cjs-bundle/components/FilesLoader/Icons/UploadIcon.js +1 -1
  314. package/cjs-bundle/components/FilesLoader/useStyles.js +1 -1
  315. package/cjs-bundle/components/FolderMenuItem/components/ClosedFolderIcon.js +1 -1
  316. package/cjs-bundle/components/FolderMenuItem/components/FolderIcon.js +1 -1
  317. package/cjs-bundle/components/FolderMenuItem/components/OpenFolderIcon.js +1 -1
  318. package/cjs-bundle/components/FolderMenuItem/index.js +1 -1
  319. package/cjs-bundle/components/FolderMenuItemWithLinks/index.js +1 -1
  320. package/cjs-bundle/components/GoogleDocsViewer/index.js +1 -1
  321. package/cjs-bundle/components/GradientManager/GradientManager.styles.js +1 -1
  322. package/cjs-bundle/components/GradientManager/GradientSelect.styles.js +1 -1
  323. package/cjs-bundle/components/GradientPicker/GradientPicker.js +1 -1
  324. package/cjs-bundle/components/GradientPicker/GradientPicker.styles.js +1 -1
  325. package/cjs-bundle/components/HeaderLayout/HeaderLayout.js +1 -1
  326. package/cjs-bundle/components/HeaderLayout/effects/index.js +1 -1
  327. package/cjs-bundle/components/HeaderLayout/utils.js +1 -1
  328. package/cjs-bundle/components/HelpCenter/HelpCenterIcon.js +1 -1
  329. package/cjs-bundle/components/IconMenu/index.js +1 -1
  330. package/cjs-bundle/components/Icons/AnnotationIcon.js +1 -1
  331. package/cjs-bundle/components/Icons/AttachIcon.js +1 -1
  332. package/cjs-bundle/components/Icons/DangerousIcon.js +1 -1
  333. package/cjs-bundle/components/Icons/EmojiIcon.js +1 -1
  334. package/cjs-bundle/components/Icons/RecommendationIcon.js +1 -1
  335. package/cjs-bundle/components/Icons/SendIcon.js +1 -1
  336. package/cjs-bundle/components/ImageViewer/index.js +1 -1
  337. package/cjs-bundle/components/InfiniteList/index.js +1 -1
  338. package/cjs-bundle/components/KeyboardDateTimePicker.js +1 -1
  339. package/cjs-bundle/components/LabelsCounter/LabelsCounter.js +1 -1
  340. package/cjs-bundle/components/MenuItem/index.js +1 -1
  341. package/cjs-bundle/components/MiddleTruncate/MiddleTruncate.js +1 -1
  342. package/cjs-bundle/components/MiddleTruncate/utils.js +1 -1
  343. package/cjs-bundle/components/OffsetWellChips/icons/SubjectIcon.js +1 -1
  344. package/cjs-bundle/components/OffsetWellMap/OffsetWellMap.js +1 -1
  345. package/cjs-bundle/components/OffsetWellMap/WellTooltip.js +1 -1
  346. package/cjs-bundle/components/OffsetWellMap/effects/usePreviousWells.js +1 -1
  347. package/cjs-bundle/components/OffsetWellMap/utils.js +1 -1
  348. package/cjs-bundle/components/OffsetWellPickerV2/OffsetWellPickerDialog.js +1 -1
  349. package/cjs-bundle/components/OffsetWellPickerV2/components/Filter/ClearFiltersButton.js +1 -1
  350. package/cjs-bundle/components/OffsetWellPickerV2/components/Filter/MultiSelect.js +1 -1
  351. package/cjs-bundle/components/OffsetWellPickerV2/components/Filter/NonEngineeredWellsSwitch.js +1 -1
  352. package/cjs-bundle/components/OffsetWellPickerV2/components/Filter/RadiusInput.js +1 -1
  353. package/cjs-bundle/components/OffsetWellPickerV2/components/Filter/SidetrackSwitch.js +1 -1
  354. package/cjs-bundle/components/OffsetWellPickerV2/components/Filter/SingleSelect.js +1 -1
  355. package/cjs-bundle/components/OffsetWellPickerV2/components/Filter/SubjectWellSearch.js +1 -1
  356. package/cjs-bundle/components/OffsetWellPickerV2/components/Filter/ToggleFiltersButton.js +1 -1
  357. package/cjs-bundle/components/OffsetWellPickerV2/components/Filter/ToggleMapButton.js +1 -1
  358. package/cjs-bundle/components/OffsetWellPickerV2/components/Filter/index.js +1 -1
  359. package/cjs-bundle/components/OffsetWellPickerV2/components/Map/Map.js +1 -1
  360. package/cjs-bundle/components/OffsetWellPickerV2/components/Map/index.js +1 -1
  361. package/cjs-bundle/components/OffsetWellPickerV2/components/Map/popupGenerator.js +1 -1
  362. package/cjs-bundle/components/OffsetWellPickerV2/components/Table/MetricsAddMenu.js +1 -1
  363. package/cjs-bundle/components/OffsetWellPickerV2/components/Table/MetricsSelect.js +1 -1
  364. package/cjs-bundle/components/OffsetWellPickerV2/components/Table/index.js +1 -1
  365. package/cjs-bundle/components/OffsetWellPickerV2/constants.js +1 -1
  366. package/cjs-bundle/components/OffsetWellPickerV2/effects/biDirectionalFiltering.js +1 -1
  367. package/cjs-bundle/components/OffsetWellPickerV2/effects/index.js +1 -1
  368. package/cjs-bundle/components/OffsetWellPickerV2/utils/apiCalls.js +1 -1
  369. package/cjs-bundle/components/OffsetWellPickerV2/utils/index.js +1 -1
  370. package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/components/Filter/ClearFiltersButton.js +1 -1
  371. package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/components/Filter/MultiSelect.js +1 -1
  372. package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/components/Filter/RadiusInput.js +1 -1
  373. package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/components/Filter/SidetrackSwitch.js +1 -1
  374. package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/components/Filter/index.js +1 -1
  375. package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/components/Map/FormationsLegend.js +1 -1
  376. package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/components/Map/Map.js +1 -1
  377. package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/components/Map/index.js +1 -1
  378. package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/components/Map/popupGenerator.js +1 -1
  379. package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/components/Map/utils.js +1 -1
  380. package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/AssetSearch.js +1 -1
  381. package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/AutoCompleteAssetSearch/AssetResultSection.js +1 -1
  382. package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/AutoCompleteAssetSearch/AssetTypesSection.js +1 -1
  383. package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/AutoCompleteAssetSearch/AutoCompleteAssetSearch.js +1 -1
  384. package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/AutoCompleteAssetSearch/constants.js +1 -1
  385. package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/AutoCompleteAssetSearch/effects/useAssetsData.js +1 -1
  386. package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/MetricsAddMenu.js +1 -1
  387. package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/MetricsSelect.js +1 -1
  388. package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/SubjectIndicator.js +1 -1
  389. package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/index.js +1 -1
  390. package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/styles.js +1 -1
  391. package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/constants.js +1 -1
  392. package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/effects/biDirectionalFiltering.js +1 -1
  393. package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/effects/index.js +1 -1
  394. package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/index.js +1 -1
  395. package/cjs-bundle/components/OffsetWellPickerV3/components/OffsetWellSelectionView/index.js +1 -1
  396. package/cjs-bundle/components/OffsetWellPickerV3/components/TabSelection/ToggleMapButton.js +1 -1
  397. package/cjs-bundle/components/OffsetWellPickerV3/components/TabSelection/index.js +1 -1
  398. package/cjs-bundle/components/OffsetWellPickerV3/components/WellHubView/index.js +1 -1
  399. package/cjs-bundle/components/OffsetWellPickerV3/components/shared/OffsetWellTableHead.js +1 -1
  400. package/cjs-bundle/components/OffsetWellPickerV3/components/shared/OffsetWellTableRows.js +1 -1
  401. package/cjs-bundle/components/OffsetWellPickerV3/effects/index.js +1 -1
  402. package/cjs-bundle/components/OffsetWellPickerV3/index.js +1 -1
  403. package/cjs-bundle/components/OffsetWellPickerV3/utils/apiCalls.js +1 -1
  404. package/cjs-bundle/components/OffsetWellPickerV4/OffsetWellPickerV4.js +1 -1
  405. package/cjs-bundle/components/OffsetWellPickerV4/components/AppHeader/AppHeader.js +1 -1
  406. package/cjs-bundle/components/OffsetWellPickerV4/components/CustomInfoIcon/CustomInfoIcon.js +1 -1
  407. package/cjs-bundle/components/OffsetWellPickerV4/components/Filter/Filter.js +1 -1
  408. package/cjs-bundle/components/OffsetWellPickerV4/components/Filter/MultiSelect.js +1 -1
  409. package/cjs-bundle/components/OffsetWellPickerV4/components/Filter/PeriodSelect.js +1 -1
  410. package/cjs-bundle/components/OffsetWellPickerV4/components/Filter/RadiusInput.js +1 -1
  411. package/cjs-bundle/components/OffsetWellPickerV4/components/Filter/SingleSelect.js +1 -1
  412. package/cjs-bundle/components/OffsetWellPickerV4/components/Filter/WellSection.js +1 -1
  413. package/cjs-bundle/components/OffsetWellPickerV4/components/Map/WellsMap.js +1 -1
  414. package/cjs-bundle/components/OffsetWellPickerV4/components/OffsetWellsTable/AdvancedSearch/AdvancedSearch.js +1 -1
  415. package/cjs-bundle/components/OffsetWellPickerV4/components/OffsetWellsTable/AdvancedSearch/AssetResultSection.js +1 -1
  416. package/cjs-bundle/components/OffsetWellPickerV4/components/OffsetWellsTable/AdvancedSearch/AssetTypesSection.js +1 -1
  417. package/cjs-bundle/components/OffsetWellPickerV4/components/OffsetWellsTable/AdvancedSearch/AutoCompleteAssetSearch.js +1 -1
  418. package/cjs-bundle/components/OffsetWellPickerV4/components/OffsetWellsTable/AdvancedSearch/constants.js +1 -1
  419. package/cjs-bundle/components/OffsetWellPickerV4/components/OffsetWellsTable/MetricsSelect.js +1 -1
  420. package/cjs-bundle/components/OffsetWellPickerV4/components/OffsetWellsTable/MetricsSettingMenu.js +1 -1
  421. package/cjs-bundle/components/OffsetWellPickerV4/components/OffsetWellsTable/OffsetWellsTable.js +1 -1
  422. package/cjs-bundle/components/OffsetWellPickerV4/components/OffsetWellsTable/OffsetWellsTableHead.js +1 -1
  423. package/cjs-bundle/components/OffsetWellPickerV4/components/OffsetWellsTable/OffsetWellsTableRow.js +1 -1
  424. package/cjs-bundle/components/OffsetWellPickerV4/components/OffsetWellsTable/SubjectWellMark.js +1 -1
  425. package/cjs-bundle/components/OffsetWellPickerV4/components/OffsetWellsTable/ViewWellSectionsName.js +1 -1
  426. package/cjs-bundle/components/OffsetWellPickerV4/components/Toolbar/Toolbar.js +1 -1
  427. package/cjs-bundle/components/OffsetWellPickerV4/constants.js +1 -1
  428. package/cjs-bundle/components/OffsetWellPickerV4/effects/useAdvancedWells.js +1 -1
  429. package/cjs-bundle/components/OffsetWellPickerV4/effects/useAssetsData.js +1 -1
  430. package/cjs-bundle/components/OffsetWellPickerV4/effects/useBicWells.js +1 -1
  431. package/cjs-bundle/components/OffsetWellPickerV4/effects/useCompanyMetricKey.js +1 -1
  432. package/cjs-bundle/components/OffsetWellPickerV4/effects/useFetchWells.js +1 -1
  433. package/cjs-bundle/components/OffsetWellPickerV4/effects/useFilterOptions.js +1 -1
  434. package/cjs-bundle/components/OffsetWellPickerV4/effects/useFilteredWells.js +1 -1
  435. package/cjs-bundle/components/OffsetWellPickerV4/effects/useSortedWells.js +1 -1
  436. package/cjs-bundle/components/OffsetWellPickerV4/effects/useTableColumns.js +1 -1
  437. package/cjs-bundle/components/OffsetWellPickerV4/utils/apiCalls.js +1 -1
  438. package/cjs-bundle/components/OffsetWellPickerV4/utils/index.js +1 -1
  439. package/cjs-bundle/components/OffsetWellPickerV4/utils/timePeriod.js +1 -1
  440. package/cjs-bundle/components/OffsetWellPickerV4/utils/unitSystem.js +1 -1
  441. package/cjs-bundle/components/PadModeSelect/PadModeSelect.js +1 -1
  442. package/cjs-bundle/components/PadOffsetsPicker/OffsetAssetChip.js +1 -1
  443. package/cjs-bundle/components/PadOffsetsPicker/OffsetAssetsListExpander.js +1 -1
  444. package/cjs-bundle/components/PadOffsetsPicker/PadOffsetsPicker.js +1 -1
  445. package/cjs-bundle/components/PadOffsetsPicker/StagesSelector.js +1 -1
  446. package/cjs-bundle/components/PadOffsetsPickerV2/PadOffsetsPickerV2.js +1 -1
  447. package/cjs-bundle/components/PadOffsetsPickerV2/useDialogState.js +1 -1
  448. package/cjs-bundle/components/ParameterCharts/AddEditTrack.js +1 -1
  449. package/cjs-bundle/components/ParameterCharts/ChartsContext.js +1 -1
  450. package/cjs-bundle/components/ParameterCharts/ParameterCharts.js +1 -1
  451. package/cjs-bundle/components/ParameterCharts/SettingsContext.js +1 -1
  452. package/cjs-bundle/components/ParameterCharts/components/ChartContainer.js +1 -1
  453. package/cjs-bundle/components/ParameterCharts/components/Charts/EmptyChart.js +1 -1
  454. package/cjs-bundle/components/ParameterCharts/components/Charts/LineChart.js +1 -1
  455. package/cjs-bundle/components/ParameterCharts/components/Charts/options.js +1 -1
  456. package/cjs-bundle/components/ParameterCharts/components/DataLoadingIndicator.js +1 -1
  457. package/cjs-bundle/components/ParameterCharts/components/SingleChannelTrackSettings.js +1 -1
  458. package/cjs-bundle/components/ParameterCharts/components/Tooltip/CursorPositioner.js +1 -1
  459. package/cjs-bundle/components/ParameterCharts/components/Tooltip/Tooltip.js +1 -1
  460. package/cjs-bundle/components/ParameterCharts/components/TraceHeader.js +1 -1
  461. package/cjs-bundle/components/ParameterCharts/components/TraceSelect.js +1 -1
  462. package/cjs-bundle/components/ParameterCharts/components/TraceSettings.js +1 -1
  463. package/cjs-bundle/components/ParameterCharts/components/Track.js +1 -1
  464. package/cjs-bundle/components/ParameterCharts/components/TrackSettings.js +1 -1
  465. package/cjs-bundle/components/ParameterCharts/utils/dataParser.js +1 -1
  466. package/cjs-bundle/components/PinnableFilters/PinnableFilters.js +1 -1
  467. package/cjs-bundle/components/PinnableFilters/components/FiltersToggler.js +1 -1
  468. package/cjs-bundle/components/PinnableFilters/components/PinAppSwitch.js +1 -1
  469. package/cjs-bundle/components/PinnableFilters/effects/index.js +1 -1
  470. package/cjs-bundle/components/PinnableFilters/utils.js +1 -1
  471. package/cjs-bundle/components/Popover/Popover.js +1 -1
  472. package/cjs-bundle/components/Popper/Popper.js +1 -1
  473. package/cjs-bundle/components/PostInput/PostInput.js +1 -1
  474. package/cjs-bundle/components/PostPreviewDialog/index.js +1 -1
  475. package/cjs-bundle/components/PriceInput/FormattedNumber.js +1 -1
  476. package/cjs-bundle/components/PriceInput/PriceInput.js +1 -1
  477. package/cjs-bundle/components/RangeSlider/inputs/FromInput.js +1 -1
  478. package/cjs-bundle/components/RangeSlider/inputs/ToInput.js +1 -1
  479. package/cjs-bundle/components/RangeSlider/strategies/horizontal.js +1 -1
  480. package/cjs-bundle/components/RangeSlider/strategies/vertical.js +1 -1
  481. package/cjs-bundle/components/RangeSlider/utils.js +1 -1
  482. package/cjs-bundle/components/RealTimeValuesSidebar/RealTimeValuesBox/RealTimeBoxEditDialog.js +1 -1
  483. package/cjs-bundle/components/RealTimeValuesSidebar/RealTimeValuesBox/RealTimeBoxList.js +1 -1
  484. package/cjs-bundle/components/RealTimeValuesSidebar/SidebarFooter.js +1 -1
  485. package/cjs-bundle/components/Search/Search.js +1 -1
  486. package/cjs-bundle/components/Search/components/Groups.js +1 -1
  487. package/cjs-bundle/components/Search/components/InputAdornmentLeft.js +1 -1
  488. package/cjs-bundle/components/Search/components/Listbox.js +1 -1
  489. package/cjs-bundle/components/Search/components/Paper.js +1 -1
  490. package/cjs-bundle/components/Search/components/RecentSearches.js +1 -1
  491. package/cjs-bundle/components/Search/context/index.js +1 -1
  492. package/cjs-bundle/components/SearchInput/index.js +1 -1
  493. package/cjs-bundle/components/SettingEditors/DropdownEditor/index.js +1 -1
  494. package/cjs-bundle/components/SlateFormattedText/Elements/ImageElement/ImageElement.js +1 -1
  495. package/cjs-bundle/components/SlateFormattedText/Elements/VideoElement/VideoElement.js +1 -1
  496. package/cjs-bundle/components/SlateFormattedText/RenderElements.js +1 -1
  497. package/cjs-bundle/components/SlateFormattedText/SlateFormattedText.js +1 -1
  498. package/cjs-bundle/components/SlateFormattedText/utils.js +1 -1
  499. package/cjs-bundle/components/StageDesignVActual/ComparisonBar/ComparisonBar.js +1 -1
  500. package/cjs-bundle/components/StageDesignVActual/ComparisonBar/utils.js +1 -1
  501. package/cjs-bundle/components/StageDesignVActual/ComparisonHeader.js +1 -1
  502. package/cjs-bundle/components/StageDesignVActual/ComparisonRow.js +1 -1
  503. package/cjs-bundle/components/StageDesignVActual/ElementsComparison/ElementsComparison.js +1 -1
  504. package/cjs-bundle/components/StageDesignVActual/ElementsComparison/utils.js +1 -1
  505. package/cjs-bundle/components/StatusBadge/styles.js +1 -1
  506. package/cjs-bundle/components/StyledMenuItem/index.js +1 -1
  507. package/cjs-bundle/components/Table/TableCell/TableCell.js +1 -1
  508. package/cjs-bundle/components/Table/TableContainer/TableContainer.js +1 -1
  509. package/cjs-bundle/components/Table/TableSortLabel/TableSortLabel.js +1 -1
  510. package/cjs-bundle/components/Table/TableToolbar/TableToolbar.js +1 -1
  511. package/cjs-bundle/components/Tabs/Tab.js +1 -1
  512. package/cjs-bundle/components/Template/TemplatePopover/Styles.js +1 -1
  513. package/cjs-bundle/components/Template/TemplatePopover/index.js +1 -1
  514. package/cjs-bundle/components/Template/TemplateSharingDialog/ChipSelector.js +1 -1
  515. package/cjs-bundle/components/Template/TemplateSharingDialog/UsersChipSelector.js +1 -1
  516. package/cjs-bundle/components/Template/TemplateSharingDialog/index.js +1 -1
  517. package/cjs-bundle/components/TextField/effects/index.js +1 -1
  518. package/cjs-bundle/components/TextField/index.js +1 -1
  519. package/cjs-bundle/components/TextLink/index.js +1 -1
  520. package/cjs-bundle/components/TracesEditModal/TracesEditModal.js +1 -1
  521. package/cjs-bundle/components/TracesEditModal/TracesEditModalContainer.js +1 -1
  522. package/cjs-bundle/components/TruncatedText/index.js +1 -1
  523. package/cjs-bundle/components/Typography.js +1 -1
  524. package/cjs-bundle/components/UserCard/index.js +1 -1
  525. package/cjs-bundle/components/UserCardPopover.js +1 -1
  526. package/cjs-bundle/components/UserMention/index.js +1 -1
  527. package/cjs-bundle/components/UserMention/utils/index.js +1 -1
  528. package/cjs-bundle/components/VirtualizedTable/CustomizeColumnsDialog.js +1 -1
  529. package/cjs-bundle/components/VirtualizedTable/DraggableList.js +1 -1
  530. package/cjs-bundle/components/VirtualizedTable/index.js +1 -1
  531. package/cjs-bundle/components/WellSummary/ActivitySummaryChart.js +1 -1
  532. package/cjs-bundle/components/WellSummary/FracWirelineTimeChart.js +1 -1
  533. package/cjs-bundle/components/WellSummary/WellSummaryItemLabel.js +1 -1
  534. package/cjs-bundle/components/WellSummary/WellSummaryItemTitle.js +1 -1
  535. package/cjs-bundle/components/WellSummary/WellSummaryItemValue.js +1 -1
  536. package/cjs-bundle/components/WellSummary/effects/useWellSummaryData.js +1 -1
  537. package/cjs-bundle/components/WellSummary/utils.js +1 -1
  538. package/cjs-bundle/config/highcharts/highcharts-contour.js +1 -1
  539. package/cjs-bundle/config/mapbox/index.js +1 -1
  540. package/cjs-bundle/config/theme/accordionOverrides.js +1 -1
  541. package/cjs-bundle/config/theme/buttonOverrides.js +1 -1
  542. package/cjs-bundle/config/theme/checkboxOverrides.js +1 -1
  543. package/cjs-bundle/config/theme/chipOverrides.js +1 -1
  544. package/cjs-bundle/config/theme/dateTimePickerThemeOverrides.js +1 -1
  545. package/cjs-bundle/config/theme/fabOverrides.js +1 -1
  546. package/cjs-bundle/config/theme/index.js +1 -1
  547. package/cjs-bundle/config/theme/radioOverrides.js +1 -1
  548. package/cjs-bundle/config/theme/tableOverrides.js +1 -1
  549. package/cjs-bundle/config/theme/textFieldOverrides.js +1 -1
  550. package/cjs-bundle/config/theme/toggleButtonsGroupOverrides.js +1 -1
  551. package/cjs-bundle/constants/alerts.js +1 -1
  552. package/cjs-bundle/constants/appPackages.js +1 -1
  553. package/cjs-bundle/constants/apps.js +1 -1
  554. package/cjs-bundle/constants/bha.js +1 -1
  555. package/cjs-bundle/constants/completion.js +1 -1
  556. package/cjs-bundle/constants/componentsSettings.js +1 -1
  557. package/cjs-bundle/constants/corvaCompanyId.js +1 -1
  558. package/cjs-bundle/constants/drillstring.js +1 -1
  559. package/cjs-bundle/constants/feed.js +1 -1
  560. package/cjs-bundle/constants/goals.js +1 -1
  561. package/cjs-bundle/constants/notifications.js +1 -1
  562. package/cjs-bundle/constants/segment.js +1 -1
  563. package/cjs-bundle/constants/wellSummary.js +1 -1
  564. package/cjs-bundle/effects/useDevCenterApp.js +1 -1
  565. package/cjs-bundle/effects/useEscPress.js +1 -1
  566. package/cjs-bundle/effects/useResizeObserver.js +1 -1
  567. package/cjs-bundle/effects/useSharedDCStore.js +1 -1
  568. package/cjs-bundle/effects/useSignedURL.js +1 -1
  569. package/cjs-bundle/effects/useSubscriptions.js +1 -1
  570. package/cjs-bundle/hocs/withAssetEditorLockHOC.js +1 -1
  571. package/cjs-bundle/hocs/withMUIProvidersHOC.js +1 -1
  572. package/cjs-bundle/permissions/PermissionsContext.js +1 -1
  573. package/cjs-bundle/permissions/ProvidePermissions.js +1 -1
  574. package/cjs-bundle/permissions/constants/index.js +1 -1
  575. package/cjs-bundle/permissions/usePermissions.js +1 -1
  576. package/cjs-bundle/permissions/useProvidePermissions.js +1 -1
  577. package/cjs-bundle/permissions/utils.js +1 -1
  578. package/cjs-bundle/permissions/withPermissionsHOC.js +1 -1
  579. package/cjs-bundle/styles/globalStyles.js +1 -1
  580. package/cjs-bundle/styles/typography/index.js +1 -1
  581. package/cjs-bundle/utils/DrillstringUtils.js +1 -1
  582. package/cjs-bundle/utils/FluidCheckUtils.js +1 -1
  583. package/cjs-bundle/utils/StageDesignVActualUtils.js +1 -1
  584. package/cjs-bundle/utils/accuracy.js +1 -1
  585. package/cjs-bundle/utils/alerts.js +1 -1
  586. package/cjs-bundle/utils/apps.js +1 -1
  587. package/cjs-bundle/utils/audio.js +1 -1
  588. package/cjs-bundle/utils/bha.js +1 -1
  589. package/cjs-bundle/utils/casing/conversion.js +1 -1
  590. package/cjs-bundle/utils/casing/validation.js +1 -1
  591. package/cjs-bundle/utils/chartSeries.js +1 -1
  592. package/cjs-bundle/utils/completion.js +1 -1
  593. package/cjs-bundle/utils/components.js +1 -1
  594. package/cjs-bundle/utils/convert.js +1 -1
  595. package/cjs-bundle/utils/convertKeys.js +1 -1
  596. package/cjs-bundle/utils/csvExport.js +1 -1
  597. package/cjs-bundle/utils/dashboardReports.js +1 -1
  598. package/cjs-bundle/utils/delay.js +1 -1
  599. package/cjs-bundle/utils/devcenter.js +1 -1
  600. package/cjs-bundle/utils/devcenterToasts.js +1 -1
  601. package/cjs-bundle/utils/drillstring/conversion.js +1 -1
  602. package/cjs-bundle/utils/drillstring/schematic.js +1 -1
  603. package/cjs-bundle/utils/drillstring/validation.js +1 -1
  604. package/cjs-bundle/utils/env.js +1 -1
  605. package/cjs-bundle/utils/feed.js +1 -1
  606. package/cjs-bundle/utils/fileExtension.js +1 -1
  607. package/cjs-bundle/utils/formatting.js +1 -1
  608. package/cjs-bundle/utils/ga.js +1 -1
  609. package/cjs-bundle/utils/goals.js +1 -1
  610. package/cjs-bundle/utils/index.js +1 -1
  611. package/cjs-bundle/utils/jsonaDataFormatter.js +1 -1
  612. package/cjs-bundle/utils/lasParser.js +1 -1
  613. package/cjs-bundle/utils/localStorage.js +1 -1
  614. package/cjs-bundle/utils/main.js +1 -1
  615. package/cjs-bundle/utils/mapUnits.js +1 -1
  616. package/cjs-bundle/utils/mapbox.js +1 -1
  617. package/cjs-bundle/utils/metrics/index.js +1 -1
  618. package/cjs-bundle/utils/metrics/metricsConfig.js +1 -1
  619. package/cjs-bundle/utils/metrics/utils.js +1 -1
  620. package/cjs-bundle/utils/mobileDetect.js +1 -1
  621. package/cjs-bundle/utils/nativeMessages.js +1 -1
  622. package/cjs-bundle/utils/notificationToasts.js +1 -1
  623. package/cjs-bundle/utils/notifications.js +1 -1
  624. package/cjs-bundle/utils/permissions.js +1 -1
  625. package/cjs-bundle/utils/reports.js +1 -1
  626. package/cjs-bundle/utils/resolveWellHubSlug.js +1 -1
  627. package/cjs-bundle/utils/sharedDCStore.js +1 -1
  628. package/cjs-bundle/utils/themeVariables.js +1 -1
  629. package/cjs-bundle/utils/time.js +1 -1
  630. package/cjs-bundle/utils/torqueAndHookloadUtils.js +1 -1
  631. package/clients/api/apiCore.js +1 -1
  632. package/clients/api/httpMessages.js +1 -1
  633. package/clients/clientStorage/core.js +1 -1
  634. package/clients/clientStorage/index.js +1 -1
  635. package/clients/constants.js +1 -1
  636. package/clients/index.js +1 -1
  637. package/clients/jsonApi/index.js +1 -1
  638. package/clients/subscriptions.js +1 -1
  639. package/clients/utils.js +1 -1
  640. package/components/AddComment/Popover.js +1 -1
  641. package/components/AddComment/Popup.js +1 -1
  642. package/components/AddComment/components/Content.js +1 -1
  643. package/components/AdvancedSlider/AdvancedSlider.js +1 -1
  644. package/components/AdvancedSlider/Handle.js +1 -1
  645. package/components/AnchorsList/AnchorsList.js +1 -1
  646. package/components/Annotations/AnnotationsContext.js +1 -1
  647. package/components/Annotations/components/AnnotationsList/components/AddAnnotationForm/index.js +1 -1
  648. package/components/Annotations/components/AnnotationsList/components/Annotation/index.js +1 -1
  649. package/components/Annotations/components/AnnotationsList/components/AnnotationComments/index.js +1 -1
  650. package/components/Annotations/components/AnnotationsList/components/AnnotationInput/StyledSelect.js +1 -1
  651. package/components/Annotations/components/AnnotationsList/components/AnnotationInput/index.js +1 -1
  652. package/components/Annotations/components/AnnotationsList/index.js +1 -1
  653. package/components/Annotations/components/LastAnnotation/index.js +1 -1
  654. package/components/Annotations/constants.js +1 -1
  655. package/components/AppIcon/assets/DrillingAppIcon.js +1 -1
  656. package/components/AppIcon/utils.js +1 -1
  657. package/components/AppVersionsSelect/AppVersionsSelect.d.ts.map +1 -1
  658. package/components/AppVersionsSelect/AppVersionsSelect.js +1 -1
  659. package/components/AppVersionsSelect/effects/index.js +1 -1
  660. package/components/AssetEditor/AssetEditorAutocomplete.d.ts +3 -3
  661. package/components/AssetEditor/AssetEditorAutocomplete.js +1 -1
  662. package/components/AssetEditor/SingleAssetEditor.d.ts +2 -2
  663. package/components/AssetEditor/SingleAssetEditor.js +1 -1
  664. package/components/AssetEditor/constants.js +1 -1
  665. package/components/AssetEditor/effects/index.d.ts +1 -1
  666. package/components/AssetEditor/effects/index.js +1 -1
  667. package/components/AssetEditor/index.js +1 -1
  668. package/components/AssetEditorV2/components/MultipleAssetsToggle.js +1 -1
  669. package/components/AssetEditorV2/components/PrimaryAssetSelect.js +1 -1
  670. package/components/AssetEditorV2/components/PrimaryAssetSelectV2.js +1 -1
  671. package/components/AssetEditorV2/components/SecondaryAssetSelect.js +1 -1
  672. package/components/AssetEditorV2/components/SelectItem.js +1 -1
  673. package/components/AssetEditorV2/constants.js +1 -1
  674. package/components/AssetEditorV2/effects/index.js +1 -1
  675. package/components/AssetEditorV2/effects/usePrimaryAssetSelectData.d.ts.map +1 -1
  676. package/components/AssetEditorV2/effects/usePrimaryAssetSelectData.js +1 -1
  677. package/components/AssetEditorV2/index.d.ts +2 -2
  678. package/components/AssetEditorV2/index.js +1 -1
  679. package/components/AssetEditorV2/utils/index.d.ts +2 -2
  680. package/components/AssetEditorV2/utils/index.js +1 -1
  681. package/components/AssetNameLabel/AssetNameLabel.js +1 -1
  682. package/components/Attachment/index.js +1 -1
  683. package/components/Autocomplete/Autocomplete.js +1 -1
  684. package/components/BICOffsetPickerDialog/components/Map/Map.js +1 -1
  685. package/components/BICOffsetPickerDialog/components/Map/index.js +1 -1
  686. package/components/BICOffsetPickerDialog/components/WellSection/AssetSearch.js +1 -1
  687. package/components/BICOffsetPickerDialog/components/WellSection/AutoCompleteAssetSearch/AssetResultSection.js +1 -1
  688. package/components/BICOffsetPickerDialog/components/WellSection/AutoCompleteAssetSearch/AssetTypesSection.js +1 -1
  689. package/components/BICOffsetPickerDialog/components/WellSection/AutoCompleteAssetSearch/AutoCompleteAssetSearch.js +1 -1
  690. package/components/BICOffsetPickerDialog/components/WellSection/AutoCompleteAssetSearch/constants.js +1 -1
  691. package/components/BICOffsetPickerDialog/components/WellSection/AutoCompleteAssetSearch/effects/useAssetsData.js +1 -1
  692. package/components/BICOffsetPickerDialog/components/WellSection/AutoCompleteAssetSearch/utils/apiCalls.js +1 -1
  693. package/components/BICOffsetPickerDialog/components/WellSection/NumberCircle.js +1 -1
  694. package/components/BICOffsetPickerDialog/components/WellSection/SectionItem.js +1 -1
  695. package/components/BICOffsetPickerDialog/components/WellSection/WellListItem.js +1 -1
  696. package/components/BICOffsetPickerDialog/components/WellSection/index.js +1 -1
  697. package/components/BICOffsetPickerDialog/constants.js +1 -1
  698. package/components/BICOffsetPickerDialog/effects/index.js +1 -1
  699. package/components/BICOffsetPickerDialog/index.js +1 -1
  700. package/components/BICOffsetPickerDialog/utils/apiCalls.js +1 -1
  701. package/components/Breadcrumbs/index.js +1 -1
  702. package/components/Casing/CasingComponentIcon.js +1 -1
  703. package/components/Casing/CasingTable/CasingComponent.js +1 -1
  704. package/components/Casing/CasingTable/index.js +1 -1
  705. package/components/Casing/CasingTableV2/CasingTableV2.js +1 -1
  706. package/components/Casing/CasingTableV2/components/CasingJoints/Browser.js +1 -1
  707. package/components/Casing/CasingTableV2/components/CasingJoints/Editor.js +1 -1
  708. package/components/Casing/CasingTableV2/components/Component.js +1 -1
  709. package/components/Casing/CasingTableV2/components/DrillPipe/Browser.js +1 -1
  710. package/components/Casing/CasingTableV2/components/DrillPipe/Editor.js +1 -1
  711. package/components/Casing/CasingTableV2/components/EditComponentDialog.js +1 -1
  712. package/components/Casing/CasingTableV2/components/Header.js +1 -1
  713. package/components/Casing/CasingTableV2/components/SortableComponent.js +1 -1
  714. package/components/Casing/CasingTableV2/components/SortableComponents.js +1 -1
  715. package/components/Casing/CasingTableV2/components/constants.js +1 -1
  716. package/components/Casing/CasingTile/CasingTile.js +1 -1
  717. package/components/Casing/CasingTile/style.js +1 -1
  718. package/components/Casing/CasingTileIcon.js +1 -1
  719. package/components/Chart/ChartWrapperContext.js +1 -1
  720. package/components/Chart/components/AxisDropdown.js +1 -1
  721. package/components/Chart/components/AxisOverlay.js +1 -1
  722. package/components/Chart/components/ChartButton.js +1 -1
  723. package/components/Chart/components/ChartButtons.js +1 -1
  724. package/components/Chart/components/ChartSelect.js +1 -1
  725. package/components/Chart/components/ChartWrapper.js +1 -1
  726. package/components/Chart/components/buttons/ChartTypeButton.js +1 -1
  727. package/components/Chart/components/buttons/DragToZoomButton.js +1 -1
  728. package/components/Chart/components/buttons/HideAxesButton.js +1 -1
  729. package/components/Chart/components/buttons/PanButton.js +1 -1
  730. package/components/Chart/components/buttons/ResetZoomButton.js +1 -1
  731. package/components/Chart/components/buttons/ZoomInButton.js +1 -1
  732. package/components/Chart/components/buttons/ZoomOutButton.js +1 -1
  733. package/components/Chart/constants.js +1 -1
  734. package/components/Chart/effects/useChartModifier.js +1 -1
  735. package/components/Chart/effects/useChartTypeSwitch.js +1 -1
  736. package/components/Chart/effects/useHideAxes.js +1 -1
  737. package/components/Chart/effects/useKeyboardControl.js +1 -1
  738. package/components/Chart/effects/useZoom.js +1 -1
  739. package/components/Chart/formations.js +1 -1
  740. package/components/Chart/utils.js +1 -1
  741. package/components/ChartActionsList/ChartActionsList.js +1 -1
  742. package/components/ChartActionsList/icons/GoLive.js +1 -1
  743. package/components/ChartActionsList/icons/LeftArrow.js +1 -1
  744. package/components/ChartActionsList/icons/RightArrow.js +1 -1
  745. package/components/ChartActionsList/icons/ZoomIn.js +1 -1
  746. package/components/ChartActionsList/icons/ZoomOut.js +1 -1
  747. package/components/Checkbox/index.js +1 -1
  748. package/components/CollapsableSidebar.js +1 -1
  749. package/components/CollapsibleContent.js +1 -1
  750. package/components/ColorPicker/PaletteChromePicker/ColorSquare/ColorSquare.js +1 -1
  751. package/components/ColorPicker/PaletteChromePicker/Palette/Palette.js +1 -1
  752. package/components/ColorPicker/PaletteChromePicker/Palette/PaletteConstants.js +1 -1
  753. package/components/ColorPicker/PaletteChromePicker/PaletteChromePicker.js +1 -1
  754. package/components/Comment/index.js +1 -1
  755. package/components/CommentInput/index.js +1 -1
  756. package/components/CommentLoader.js +1 -1
  757. package/components/CommentWrapper.js +1 -1
  758. package/components/CommentsInfo/index.js +1 -1
  759. package/components/ConfirmationDialog.js +1 -1
  760. package/components/ContextMenuItem/index.js +1 -1
  761. package/components/CopyToClipboard/CopyToClipboard.js +1 -1
  762. package/components/CustomSelect/index.js +1 -1
  763. package/components/DevCenter/AppContext.js +1 -1
  764. package/components/DevCenter/AppHeader/AppHeader.js +1 -1
  765. package/components/DevCenter/AppHeader/AppHeaderStyles.js +1 -1
  766. package/components/DevCenter/AppHeader/PadMode.js +1 -1
  767. package/components/DevCenter/AppHeader/utils.js +1 -1
  768. package/components/DevCenter/AppsDataProvider/AppsDataProvider.js +1 -1
  769. package/components/DevCenter/AppsDataProvider/effects/constants.js +1 -1
  770. package/components/DevCenter/AppsDataProvider/effects/dataResolvers.js +1 -1
  771. package/components/DevCenter/AppsDataProvider/effects/useAppsData.js +1 -1
  772. package/components/DevCenter/AppsDataProvider/effects/utils.js +1 -1
  773. package/components/DevCenter/DevCenterAppContainer/DevCenterAppContainer.js +1 -1
  774. package/components/DevCenter/DevCenterAppContainer/components/AnnotationsButton/AnnotationsButton.js +1 -1
  775. package/components/DevCenter/DevCenterAppContainer/components/AppActions/AppActions.js +1 -1
  776. package/components/DevCenter/DevCenterAppContainer/components/AppInfoMessage/AppInfoMessage.d.ts +1 -1
  777. package/components/DevCenter/DevCenterAppContainer/components/AppInfoMessage/AppInfoMessage.js +1 -1
  778. package/components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/AppSettingsDialog.d.ts.map +1 -1
  779. package/components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/AppSettingsDialog.js +1 -1
  780. package/components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/components/RemoveAppButton.js +1 -1
  781. package/components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/styles.js +1 -1
  782. package/components/DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/IsInsideDcFullscreenElemProvider.js +1 -1
  783. package/components/DevCenter/DevCenterAppContainer/components/DevCenterAppView/DevCenterAppView.js +1 -1
  784. package/components/DevCenter/DevCenterAppContainer/components/FullscreenButton/FullscreenButton.js +1 -1
  785. package/components/DevCenter/DevCenterAppContainer/components/IsInsideDcAppProvider/IsInsideDcAppProvider.js +1 -1
  786. package/components/DevCenter/DevCenterAppContainer/components/NonPriorityMenus/NonPriorityMenus.js +1 -1
  787. package/components/DevCenter/DevCenterAppContainer/components/PriorityMenus/PriorityMenus.js +1 -1
  788. package/components/DevCenter/DevCenterAppContainer/components/RestoreAppSizeButton/index.js +1 -1
  789. package/components/DevCenter/DevCenterAppContainer/effects/useAnnotationsData.js +1 -1
  790. package/components/DevCenter/DevCenterAppContainer/effects/useAnnotationsList.js +1 -1
  791. package/components/DevCenter/DevCenterAppContainer/effects/useAppMaximized.js +1 -1
  792. package/components/DevCenter/DevCenterAppContainer/effects/useAppSettings.js +1 -1
  793. package/components/DevCenter/DevCenterAppContainer/utils.js +1 -1
  794. package/components/DevCenter/DevCenterRouterContext/DevCenterRouterContext.js +1 -1
  795. package/components/DevCenter/DevCenterRouterContext/UniversalLink/UniversalLink.js +1 -1
  796. package/components/DevCenter/DevCenterRouterContext/hocs/withUniversalLocationHOC.js +1 -1
  797. package/components/DevCenter/IsolatedDevCenterAppContainer/DevCenterAppZoidComponent.js +1 -1
  798. package/components/DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedApp.js +1 -1
  799. package/components/DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedAppPage.js +1 -1
  800. package/components/DevCenter/IsolatedDevCenterAppContainer/constants.js +1 -1
  801. package/components/DevCenter/IsolatedDevCenterAppContainer/effects/useXProps.js +1 -1
  802. package/components/DevCenter/IsolatedDevCenterAppContainer/utils/replaceUndefinedValuesWithNull.js +1 -1
  803. package/components/DevCenter/NavigationBar/NavigationBar.js +1 -1
  804. package/components/DevCenter/SideBar/SideBar.js +1 -1
  805. package/components/DisabledSettingsMessage/DisabledSettingsMessage.js +1 -1
  806. package/components/DocumentViewer/DocumentViewer.js +1 -1
  807. package/components/DocumentViewer/styles.js +1 -1
  808. package/components/Drillstring/BHACasingEmptyView/BHACasingEmptyView.js +1 -1
  809. package/components/Drillstring/BHAComponentDetail/constants.js +1 -1
  810. package/components/Drillstring/BHAComponentDetail/index.js +1 -1
  811. package/components/Drillstring/BHAComponentIcon.js +1 -1
  812. package/components/Drillstring/BHAComponentsTable/BHAComponentsTable.js +1 -1
  813. package/components/Drillstring/BHAComponentsTable/components/Agitator/Browser.js +1 -1
  814. package/components/Drillstring/BHAComponentsTable/components/Agitator/Editor.js +1 -1
  815. package/components/Drillstring/BHAComponentsTable/components/Bit/Browser.js +1 -1
  816. package/components/Drillstring/BHAComponentsTable/components/Bit/Editor.js +1 -1
  817. package/components/Drillstring/BHAComponentsTable/components/Component.js +1 -1
  818. package/components/Drillstring/BHAComponentsTable/components/DrillCollar/Browser.js +1 -1
  819. package/components/Drillstring/BHAComponentsTable/components/DrillCollar/Editor.js +1 -1
  820. package/components/Drillstring/BHAComponentsTable/components/DrillPipe/Browser.js +1 -1
  821. package/components/Drillstring/BHAComponentsTable/components/DrillPipe/Editor.js +1 -1
  822. package/components/Drillstring/BHAComponentsTable/components/EditComponentDialog.js +1 -1
  823. package/components/Drillstring/BHAComponentsTable/components/Header.js +1 -1
  824. package/components/Drillstring/BHAComponentsTable/components/Jar/Browser.js +1 -1
  825. package/components/Drillstring/BHAComponentsTable/components/Jar/Editor.js +1 -1
  826. package/components/Drillstring/BHAComponentsTable/components/Lwd/Browser.js +1 -1
  827. package/components/Drillstring/BHAComponentsTable/components/Lwd/Editor.js +1 -1
  828. package/components/Drillstring/BHAComponentsTable/components/Lwd/Measurement.js +1 -1
  829. package/components/Drillstring/BHAComponentsTable/components/Mwd/Browser.js +1 -1
  830. package/components/Drillstring/BHAComponentsTable/components/Mwd/Editor.js +1 -1
  831. package/components/Drillstring/BHAComponentsTable/components/NozzleSize/index.js +1 -1
  832. package/components/Drillstring/BHAComponentsTable/components/Pdm/Browser.js +1 -1
  833. package/components/Drillstring/BHAComponentsTable/components/Pdm/Editor.js +1 -1
  834. package/components/Drillstring/BHAComponentsTable/components/PressureLoss/index.js +1 -1
  835. package/components/Drillstring/BHAComponentsTable/components/Rss/Browser.js +1 -1
  836. package/components/Drillstring/BHAComponentsTable/components/Rss/Editor.js +1 -1
  837. package/components/Drillstring/BHAComponentsTable/components/SortableComponent.js +1 -1
  838. package/components/Drillstring/BHAComponentsTable/components/SortableComponents.js +1 -1
  839. package/components/Drillstring/BHAComponentsTable/components/Stabilizer/Browser.js +1 -1
  840. package/components/Drillstring/BHAComponentsTable/components/Stabilizer/Editor.js +1 -1
  841. package/components/Drillstring/BHAComponentsTable/components/Sub/Browser.js +1 -1
  842. package/components/Drillstring/BHAComponentsTable/components/Sub/Editor.js +1 -1
  843. package/components/Drillstring/BHAComponentsTable/components/Suggestions/AutoCompleteDialog.js +1 -1
  844. package/components/Drillstring/BHAComponentsTable/components/Suggestions/Suggestions.js +1 -1
  845. package/components/Drillstring/BHAComponentsTable/components/Ur/Browser.js +1 -1
  846. package/components/Drillstring/BHAComponentsTable/components/Ur/Editor.js +1 -1
  847. package/components/Drillstring/BHAComponentsTable/components/constants.js +1 -1
  848. package/components/Drillstring/BHAComponentsTable/components/shared/CancelButton.js +1 -1
  849. package/components/Drillstring/BHAComponentsTable/components/shared/ConfirmationPopup.js +1 -1
  850. package/components/Drillstring/BHAComponentsTable/components/shared/ExpandCollapseButton.js +1 -1
  851. package/components/Drillstring/BHAComponentsTable/components/shared/FormatedNumber.js +1 -1
  852. package/components/Drillstring/BHAComponentsTable/components/shared/InputText.js +1 -1
  853. package/components/Drillstring/BHAComponentsTable/components/shared/MoreButton.js +1 -1
  854. package/components/Drillstring/BHAComponentsTable/components/shared/SaveButton.js +1 -1
  855. package/components/Drillstring/BHAComponentsTable/components/shared/SelectField.js +1 -1
  856. package/components/Drillstring/BHAComponentsTable/components/shared/SharedEditorElements.js +1 -1
  857. package/components/Drillstring/BHAComponentsTable/components/shared/StaticField.js +1 -1
  858. package/components/Drillstring/BHAComponentsTable/components/sharedStyles.js +1 -1
  859. package/components/Drillstring/BHAComponentsTable/components/utils/calculation.js +1 -1
  860. package/components/Drillstring/BHAList/BHAList.js +1 -1
  861. package/components/Drillstring/BHASchematic.js +1 -1
  862. package/components/Drillstring/BHATable/BHAComponent.js +1 -1
  863. package/components/Drillstring/BHATable/index.js +1 -1
  864. package/components/Drillstring/BHATile/BHATile.js +1 -1
  865. package/components/Drillstring/BHATileIcon.js +1 -1
  866. package/components/Drillstring/BhaIndicator/BhaIndicator.js +1 -1
  867. package/components/Drillstring/DrillstringDetail/DrillstringDetail.js +1 -1
  868. package/components/EChartsWrapper/components/Toolbox/Toolbox.js +1 -1
  869. package/components/EditableItem/EditableItemWithBadge/index.js +1 -1
  870. package/components/EmbeddedApp/DevCenterEmbeddedApp.js +1 -1
  871. package/components/EmbeddedApp/EmbeddedApp.js +1 -1
  872. package/components/EmbeddedApp/components/AppInfo.js +1 -1
  873. package/components/EmojiIconButton.js +1 -1
  874. package/components/EmptyState/EmptyState.d.ts +3 -0
  875. package/components/EmptyState/EmptyState.d.ts.map +1 -1
  876. package/components/EmptyState/constants.d.ts +3 -0
  877. package/components/EmptyState/constants.d.ts.map +1 -1
  878. package/components/EmptyState/constants.js +1 -1
  879. package/components/EmptyState/images/index.js +1 -1
  880. package/components/EmptyView/EmptyAppView/EmptyAppView.d.ts +6 -2
  881. package/components/EmptyView/EmptyAppView/EmptyAppView.d.ts.map +1 -1
  882. package/components/EmptyView/EmptyAppView/EmptyAppView.js +1 -1
  883. package/components/EmptyView/EmptyAppView/components/ErrorSubtitleWithIntercomLink.js +1 -1
  884. package/components/EmptyView/EmptyView.js +1 -1
  885. package/components/ErrorBoundary/DevCenterAppErrorView/DevCenterAppErrorView.js +1 -1
  886. package/components/ErrorBoundary/ErrorBoundary.d.ts +1 -1
  887. package/components/ErrorBoundary/ErrorBoundary.d.ts.map +1 -1
  888. package/components/ErrorBoundary/ErrorBoundary.js +1 -1
  889. package/components/FailedFileUploading.js +1 -1
  890. package/components/FeedItem/FeedItem.js +1 -1
  891. package/components/FeedItem/FeedItemEditProvider/FeedItemEditModal.js +1 -1
  892. package/components/FeedItem/FeedItemEditProvider/FeedItemEditProvider.js +1 -1
  893. package/components/FeedItem/components/Actions.js +1 -1
  894. package/components/FeedItem/components/AvatarIcon.js +1 -1
  895. package/components/FeedItem/components/Content.js +1 -1
  896. package/components/FeedItem/components/CreatedAt.js +1 -1
  897. package/components/FeedItem/components/FeedComments.js +1 -1
  898. package/components/FeedItem/components/Icon.js +1 -1
  899. package/components/FeedItem/components/LessonsLearnedLeafIcon.js +1 -1
  900. package/components/FeedItem/components/Reactions.js +1 -1
  901. package/components/FeedItem/components/RigAndWell.js +1 -1
  902. package/components/FeedItem/components/TypeAndAssetTitle.js +1 -1
  903. package/components/FeedItem/editModals/DvdCommentEdit/DvdCommentEdit.js +1 -1
  904. package/components/FeedItem/editModals/HookloadCommentEdit/HookloadCommentEdit.js +1 -1
  905. package/components/FeedItem/editModals/LessonsLearnedEdit/LessonsLearnedEdit.js +1 -1
  906. package/components/FeedItem/editModals/NptLessonsCommentEdit/NptLessonsCommentEdit.js +1 -1
  907. package/components/FeedItem/editModals/PCCommentEdit/PCCommentEdit.js +1 -1
  908. package/components/FeedItem/feedItemTypes/AlertFeedItem.js +1 -1
  909. package/components/FeedItem/feedItemTypes/AppAnnotationFeedItem/helpers.js +1 -1
  910. package/components/FeedItem/feedItemTypes/AppAnnotationFeedItem/index.js +1 -1
  911. package/components/FeedItem/feedItemTypes/BhaFeedItem/BhaFeedItem.js +1 -1
  912. package/components/FeedItem/feedItemTypes/BhaFeedItem/components/BhaNumber.js +1 -1
  913. package/components/FeedItem/feedItemTypes/BhaFeedItem/components/BhaSchematic.js +1 -1
  914. package/components/FeedItem/feedItemTypes/BhaFeedItem/components/Info.js +1 -1
  915. package/components/FeedItem/feedItemTypes/BhaFeedItem/components/NoData.js +1 -1
  916. package/components/FeedItem/feedItemTypes/CompletionDailyCostFeedItem.js +1 -1
  917. package/components/FeedItem/feedItemTypes/CompletionDocumentFeedItem.js +1 -1
  918. package/components/FeedItem/feedItemTypes/CompletionNptFeedItem.js +1 -1
  919. package/components/FeedItem/feedItemTypes/CompletionOperationSummaryFeedItem.js +1 -1
  920. package/components/FeedItem/feedItemTypes/CompletionOperationalNoteFeedItem.js +1 -1
  921. package/components/FeedItem/feedItemTypes/DepthCommentFeedItem.js +1 -1
  922. package/components/FeedItem/feedItemTypes/DocumentFeedItem.js +1 -1
  923. package/components/FeedItem/feedItemTypes/DrillerMemoFeedItem.js +1 -1
  924. package/components/FeedItem/feedItemTypes/DrillingDailyCostFeedItem.js +1 -1
  925. package/components/FeedItem/feedItemTypes/DrillingOperationSummaryFeedItem.js +1 -1
  926. package/components/FeedItem/feedItemTypes/DrillingOperationalNoteFeedItem.js +1 -1
  927. package/components/FeedItem/feedItemTypes/DvDCommentFeedItem.js +1 -1
  928. package/components/FeedItem/feedItemTypes/FluidReportFeedItem.js +1 -1
  929. package/components/FeedItem/feedItemTypes/GeosteeringFeedItem.js +1 -1
  930. package/components/FeedItem/feedItemTypes/HookloadCommentFeedItem.js +1 -1
  931. package/components/FeedItem/feedItemTypes/LessonsLearnedFeedItem/index.js +1 -1
  932. package/components/FeedItem/feedItemTypes/NptFeedItem.js +1 -1
  933. package/components/FeedItem/feedItemTypes/NptLessonsCommentFeedItem.js +1 -1
  934. package/components/FeedItem/feedItemTypes/PCCommentFeedItem.js +1 -1
  935. package/components/FeedItem/feedItemTypes/PostFeedItem.js +1 -1
  936. package/components/FeedItem/feedItemTypes/StageOverviewFeedItem/api.js +1 -1
  937. package/components/FeedItem/feedItemTypes/StageOverviewFeedItem/components/NoData.js +1 -1
  938. package/components/FeedItem/feedItemTypes/StageOverviewFeedItem/components/Predictions.js +1 -1
  939. package/components/FeedItem/feedItemTypes/StageOverviewFeedItem/components/PredictionsItem.js +1 -1
  940. package/components/FeedItem/feedItemTypes/StageOverviewFeedItem/components/Stages/Stages.js +1 -1
  941. package/components/FeedItem/feedItemTypes/StageOverviewFeedItem/components/Stages/utils.js +1 -1
  942. package/components/FeedItem/feedItemTypes/StageOverviewFeedItem/index.js +1 -1
  943. package/components/FeedItem/feedItemTypes/SurveyStationFeedItem/api.js +1 -1
  944. package/components/FeedItem/feedItemTypes/SurveyStationFeedItem/components/AccuracyPlan.js +1 -1
  945. package/components/FeedItem/feedItemTypes/SurveyStationFeedItem/components/ActualPointInfo.js +1 -1
  946. package/components/FeedItem/feedItemTypes/SurveyStationFeedItem/components/Warning.js +1 -1
  947. package/components/FeedItem/feedItemTypes/SurveyStationFeedItem/index.js +1 -1
  948. package/components/FeedItem/feedItemTypes/TracesMemoFeedItem.js +1 -1
  949. package/components/FeedItem/feedItemTypes/WellPlanFeedItem/components/TargetChanges.js +1 -1
  950. package/components/FeedItem/feedItemTypes/WellPlanFeedItem/components/VerticalSectionAzimuth.js +1 -1
  951. package/components/FeedItem/feedItemTypes/WellPlanFeedItem/constants.js +1 -1
  952. package/components/FeedItem/feedItemTypes/WellPlanFeedItem/index.js +1 -1
  953. package/components/FilePreview/index.js +1 -1
  954. package/components/FileTypeIcon.js +1 -1
  955. package/components/FileUploadIconButton.js +1 -1
  956. package/components/FilesLoader/Icons/CSVFileIcon.js +1 -1
  957. package/components/FilesLoader/Icons/DocFileIcon.js +1 -1
  958. package/components/FilesLoader/Icons/EDMFileIcon.js +1 -1
  959. package/components/FilesLoader/Icons/ExelFileIcon.js +1 -1
  960. package/components/FilesLoader/Icons/FileIcon.js +1 -1
  961. package/components/FilesLoader/Icons/IconRefresh.js +1 -1
  962. package/components/FilesLoader/Icons/IconSuccess.js +1 -1
  963. package/components/FilesLoader/Icons/IconWarning.js +1 -1
  964. package/components/FilesLoader/Icons/ImageFileIcon.js +1 -1
  965. package/components/FilesLoader/Icons/PdfFileIcon.js +1 -1
  966. package/components/FilesLoader/Icons/UnknownFileIcon.js +1 -1
  967. package/components/FilesLoader/Icons/UploadIcon.js +1 -1
  968. package/components/FilesLoader/useStyles.js +1 -1
  969. package/components/FolderMenuItem/components/ClosedFolderIcon.js +1 -1
  970. package/components/FolderMenuItem/components/FolderIcon.js +1 -1
  971. package/components/FolderMenuItem/components/OpenFolderIcon.js +1 -1
  972. package/components/FolderMenuItem/index.js +1 -1
  973. package/components/FolderMenuItemWithLinks/index.js +1 -1
  974. package/components/GoogleDocsViewer/index.js +1 -1
  975. package/components/GradientManager/GradientManager.styles.js +1 -1
  976. package/components/GradientManager/GradientSelect.styles.js +1 -1
  977. package/components/GradientManager/__tests__/pageHelpers.d.ts.map +1 -1
  978. package/components/GradientPicker/GradientPicker.d.ts +2 -2
  979. package/components/GradientPicker/GradientPicker.d.ts.map +1 -1
  980. package/components/GradientPicker/GradientPicker.js +1 -1
  981. package/components/GradientPicker/GradientPicker.styles.d.ts.map +1 -1
  982. package/components/GradientPicker/GradientPicker.styles.js +1 -1
  983. package/components/GradientPicker/__tests__/pageHelpers.d.ts.map +1 -1
  984. package/components/HeaderLayout/HeaderLayout.js +1 -1
  985. package/components/HeaderLayout/constants.js +1 -1
  986. package/components/HeaderLayout/effects/index.js +1 -1
  987. package/components/HeaderLayout/utils.js +1 -1
  988. package/components/HelpCenter/HelpCenterIcon.js +1 -1
  989. package/components/IconMenu/index.js +1 -1
  990. package/components/Icons/AnnotationIcon.js +1 -1
  991. package/components/Icons/AttachIcon.js +1 -1
  992. package/components/Icons/DangerousIcon.js +1 -1
  993. package/components/Icons/EmojiIcon.js +1 -1
  994. package/components/Icons/RecommendationIcon.js +1 -1
  995. package/components/Icons/SendIcon.js +1 -1
  996. package/components/ImageViewer/index.js +1 -1
  997. package/components/InfiniteList/index.js +1 -1
  998. package/components/KeyboardDateTimePicker.js +1 -1
  999. package/components/LabelsCounter/LabelsCounter.js +1 -1
  1000. package/components/MenuItem/index.js +1 -1
  1001. package/components/MiddleTruncate/MiddleTruncate.js +1 -1
  1002. package/components/MiddleTruncate/utils.js +1 -1
  1003. package/components/OffsetWellChips/icons/SubjectIcon.js +1 -1
  1004. package/components/OffsetWellMap/OffsetWellMap.js +1 -1
  1005. package/components/OffsetWellMap/WellTooltip.js +1 -1
  1006. package/components/OffsetWellMap/effects/usePreviousWells.js +1 -1
  1007. package/components/OffsetWellMap/utils.js +1 -1
  1008. package/components/OffsetWellPickerV2/OffsetWellPickerDialog.js +1 -1
  1009. package/components/OffsetWellPickerV2/components/Filter/ClearFiltersButton.js +1 -1
  1010. package/components/OffsetWellPickerV2/components/Filter/MultiSelect.js +1 -1
  1011. package/components/OffsetWellPickerV2/components/Filter/NonEngineeredWellsSwitch.js +1 -1
  1012. package/components/OffsetWellPickerV2/components/Filter/RadiusInput.js +1 -1
  1013. package/components/OffsetWellPickerV2/components/Filter/SidetrackSwitch.js +1 -1
  1014. package/components/OffsetWellPickerV2/components/Filter/SingleSelect.js +1 -1
  1015. package/components/OffsetWellPickerV2/components/Filter/SubjectWellSearch.js +1 -1
  1016. package/components/OffsetWellPickerV2/components/Filter/ToggleFiltersButton.js +1 -1
  1017. package/components/OffsetWellPickerV2/components/Filter/ToggleMapButton.js +1 -1
  1018. package/components/OffsetWellPickerV2/components/Filter/index.js +1 -1
  1019. package/components/OffsetWellPickerV2/components/Map/Map.js +1 -1
  1020. package/components/OffsetWellPickerV2/components/Map/index.js +1 -1
  1021. package/components/OffsetWellPickerV2/components/Map/popupGenerator.js +1 -1
  1022. package/components/OffsetWellPickerV2/components/Table/MetricsAddMenu.js +1 -1
  1023. package/components/OffsetWellPickerV2/components/Table/MetricsSelect.js +1 -1
  1024. package/components/OffsetWellPickerV2/components/Table/index.js +1 -1
  1025. package/components/OffsetWellPickerV2/constants.js +1 -1
  1026. package/components/OffsetWellPickerV2/effects/biDirectionalFiltering.js +1 -1
  1027. package/components/OffsetWellPickerV2/effects/index.js +1 -1
  1028. package/components/OffsetWellPickerV2/utils/apiCalls.js +1 -1
  1029. package/components/OffsetWellPickerV2/utils/index.js +1 -1
  1030. package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Filter/ClearFiltersButton.js +1 -1
  1031. package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Filter/MultiSelect.js +1 -1
  1032. package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Filter/RadiusInput.js +1 -1
  1033. package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Filter/SidetrackSwitch.js +1 -1
  1034. package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Filter/index.js +1 -1
  1035. package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Map/FormationsLegend.js +1 -1
  1036. package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Map/Map.js +1 -1
  1037. package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Map/index.js +1 -1
  1038. package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Map/popupGenerator.js +1 -1
  1039. package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Map/utils.js +1 -1
  1040. package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/AssetSearch.js +1 -1
  1041. package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/AutoCompleteAssetSearch/AssetResultSection.js +1 -1
  1042. package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/AutoCompleteAssetSearch/AssetTypesSection.js +1 -1
  1043. package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/AutoCompleteAssetSearch/AutoCompleteAssetSearch.js +1 -1
  1044. package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/AutoCompleteAssetSearch/constants.js +1 -1
  1045. package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/AutoCompleteAssetSearch/effects/useAssetsData.js +1 -1
  1046. package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/MetricsAddMenu.js +1 -1
  1047. package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/MetricsSelect.js +1 -1
  1048. package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/SubjectIndicator.js +1 -1
  1049. package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/index.js +1 -1
  1050. package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/styles.js +1 -1
  1051. package/components/OffsetWellPickerV3/components/CustomSelectionView/constants.js +1 -1
  1052. package/components/OffsetWellPickerV3/components/CustomSelectionView/effects/biDirectionalFiltering.js +1 -1
  1053. package/components/OffsetWellPickerV3/components/CustomSelectionView/effects/index.js +1 -1
  1054. package/components/OffsetWellPickerV3/components/CustomSelectionView/index.js +1 -1
  1055. package/components/OffsetWellPickerV3/components/OffsetWellSelectionView/index.js +1 -1
  1056. package/components/OffsetWellPickerV3/components/TabSelection/ToggleMapButton.js +1 -1
  1057. package/components/OffsetWellPickerV3/components/TabSelection/index.js +1 -1
  1058. package/components/OffsetWellPickerV3/components/WellHubView/index.js +1 -1
  1059. package/components/OffsetWellPickerV3/components/shared/OffsetWellTableHead.js +1 -1
  1060. package/components/OffsetWellPickerV3/components/shared/OffsetWellTableRows.js +1 -1
  1061. package/components/OffsetWellPickerV3/constants.js +1 -1
  1062. package/components/OffsetWellPickerV3/effects/index.js +1 -1
  1063. package/components/OffsetWellPickerV3/index.js +1 -1
  1064. package/components/OffsetWellPickerV3/utils/apiCalls.js +1 -1
  1065. package/components/OffsetWellPickerV4/OffsetWellPickerV4.js +1 -1
  1066. package/components/OffsetWellPickerV4/components/AppHeader/AppHeader.js +1 -1
  1067. package/components/OffsetWellPickerV4/components/CustomInfoIcon/CustomInfoIcon.js +1 -1
  1068. package/components/OffsetWellPickerV4/components/Filter/Filter.js +1 -1
  1069. package/components/OffsetWellPickerV4/components/Filter/MultiSelect.js +1 -1
  1070. package/components/OffsetWellPickerV4/components/Filter/PeriodSelect.js +1 -1
  1071. package/components/OffsetWellPickerV4/components/Filter/RadiusInput.js +1 -1
  1072. package/components/OffsetWellPickerV4/components/Filter/SingleSelect.js +1 -1
  1073. package/components/OffsetWellPickerV4/components/Filter/WellSection.js +1 -1
  1074. package/components/OffsetWellPickerV4/components/Map/WellsMap.js +1 -1
  1075. package/components/OffsetWellPickerV4/components/OffsetWellsTable/AdvancedSearch/AdvancedSearch.js +1 -1
  1076. package/components/OffsetWellPickerV4/components/OffsetWellsTable/AdvancedSearch/AssetResultSection.js +1 -1
  1077. package/components/OffsetWellPickerV4/components/OffsetWellsTable/AdvancedSearch/AssetTypesSection.js +1 -1
  1078. package/components/OffsetWellPickerV4/components/OffsetWellsTable/AdvancedSearch/AutoCompleteAssetSearch.js +1 -1
  1079. package/components/OffsetWellPickerV4/components/OffsetWellsTable/AdvancedSearch/constants.js +1 -1
  1080. package/components/OffsetWellPickerV4/components/OffsetWellsTable/MetricsSelect.js +1 -1
  1081. package/components/OffsetWellPickerV4/components/OffsetWellsTable/MetricsSettingMenu.js +1 -1
  1082. package/components/OffsetWellPickerV4/components/OffsetWellsTable/OffsetWellsTable.js +1 -1
  1083. package/components/OffsetWellPickerV4/components/OffsetWellsTable/OffsetWellsTableHead.js +1 -1
  1084. package/components/OffsetWellPickerV4/components/OffsetWellsTable/OffsetWellsTableRow.js +1 -1
  1085. package/components/OffsetWellPickerV4/components/OffsetWellsTable/SubjectWellMark.js +1 -1
  1086. package/components/OffsetWellPickerV4/components/OffsetWellsTable/ViewWellSectionsName.js +1 -1
  1087. package/components/OffsetWellPickerV4/components/Toolbar/Toolbar.js +1 -1
  1088. package/components/OffsetWellPickerV4/constants.js +1 -1
  1089. package/components/OffsetWellPickerV4/effects/useAdvancedWells.js +1 -1
  1090. package/components/OffsetWellPickerV4/effects/useAssetsData.js +1 -1
  1091. package/components/OffsetWellPickerV4/effects/useBicWells.js +1 -1
  1092. package/components/OffsetWellPickerV4/effects/useCompanyMetricKey.js +1 -1
  1093. package/components/OffsetWellPickerV4/effects/useFetchWells.js +1 -1
  1094. package/components/OffsetWellPickerV4/effects/useFilterOptions.js +1 -1
  1095. package/components/OffsetWellPickerV4/effects/useFilteredWells.js +1 -1
  1096. package/components/OffsetWellPickerV4/effects/useSortedWells.js +1 -1
  1097. package/components/OffsetWellPickerV4/effects/useTableColumns.js +1 -1
  1098. package/components/OffsetWellPickerV4/utils/apiCalls.js +1 -1
  1099. package/components/OffsetWellPickerV4/utils/index.js +1 -1
  1100. package/components/OffsetWellPickerV4/utils/timePeriod.js +1 -1
  1101. package/components/OffsetWellPickerV4/utils/unitSystem.js +1 -1
  1102. package/components/PadModeSelect/PadModeSelect.js +1 -1
  1103. package/components/PadOffsetsPicker/OffsetAssetChip.js +1 -1
  1104. package/components/PadOffsetsPicker/OffsetAssetsListExpander.js +1 -1
  1105. package/components/PadOffsetsPicker/PadOffsetsPicker.js +1 -1
  1106. package/components/PadOffsetsPicker/StagesSelector.js +1 -1
  1107. package/components/PadOffsetsPickerV2/PadOffsetsPickerV2.js +1 -1
  1108. package/components/PadOffsetsPickerV2/useDialogState.js +1 -1
  1109. package/components/ParameterCharts/AddEditTrack.js +1 -1
  1110. package/components/ParameterCharts/ChartsContext.js +1 -1
  1111. package/components/ParameterCharts/ParameterCharts.js +1 -1
  1112. package/components/ParameterCharts/SettingsContext.js +1 -1
  1113. package/components/ParameterCharts/components/ChartContainer.js +1 -1
  1114. package/components/ParameterCharts/components/Charts/EmptyChart.js +1 -1
  1115. package/components/ParameterCharts/components/Charts/LineChart.js +1 -1
  1116. package/components/ParameterCharts/components/Charts/options.js +1 -1
  1117. package/components/ParameterCharts/components/DataLoadingIndicator.js +1 -1
  1118. package/components/ParameterCharts/components/SingleChannelTrackSettings.js +1 -1
  1119. package/components/ParameterCharts/components/Tooltip/CursorPositioner.js +1 -1
  1120. package/components/ParameterCharts/components/Tooltip/Tooltip.js +1 -1
  1121. package/components/ParameterCharts/components/TraceHeader.js +1 -1
  1122. package/components/ParameterCharts/components/TraceSelect.js +1 -1
  1123. package/components/ParameterCharts/components/TraceSettings.js +1 -1
  1124. package/components/ParameterCharts/components/Track.js +1 -1
  1125. package/components/ParameterCharts/components/TrackSettings.js +1 -1
  1126. package/components/ParameterCharts/constants.js +1 -1
  1127. package/components/ParameterCharts/utils/dataParser.js +1 -1
  1128. package/components/PinnableFilters/PinnableFilters.js +1 -1
  1129. package/components/PinnableFilters/components/FiltersToggler.js +1 -1
  1130. package/components/PinnableFilters/components/PinAppSwitch.js +1 -1
  1131. package/components/PinnableFilters/constants.js +1 -1
  1132. package/components/PinnableFilters/effects/index.js +1 -1
  1133. package/components/PinnableFilters/utils.js +1 -1
  1134. package/components/Popover/Popover.js +1 -1
  1135. package/components/Popper/Popper.js +1 -1
  1136. package/components/PostInput/PostInput.js +1 -1
  1137. package/components/PostPreviewDialog/index.js +1 -1
  1138. package/components/PriceInput/FormattedNumber.js +1 -1
  1139. package/components/PriceInput/PriceInput.js +1 -1
  1140. package/components/RangeSlider/constants.js +1 -1
  1141. package/components/RangeSlider/inputs/FromInput.js +1 -1
  1142. package/components/RangeSlider/inputs/ToInput.js +1 -1
  1143. package/components/RangeSlider/strategies/horizontal.js +1 -1
  1144. package/components/RangeSlider/strategies/vertical.js +1 -1
  1145. package/components/RangeSlider/utils.js +1 -1
  1146. package/components/RealTimeValuesSidebar/RealTimeValuesBox/RealTimeBoxEditDialog.d.ts.map +1 -1
  1147. package/components/RealTimeValuesSidebar/RealTimeValuesBox/RealTimeBoxEditDialog.js +1 -1
  1148. package/components/RealTimeValuesSidebar/RealTimeValuesBox/RealTimeBoxList.js +1 -1
  1149. package/components/RealTimeValuesSidebar/SidebarFooter.d.ts.map +1 -1
  1150. package/components/RealTimeValuesSidebar/SidebarFooter.js +1 -1
  1151. package/components/Search/Search.d.ts +5 -6
  1152. package/components/Search/Search.d.ts.map +1 -1
  1153. package/components/Search/Search.js +1 -1
  1154. package/components/Search/__tests__/Search.test.d.ts +1 -4
  1155. package/components/Search/__tests__/Search.test.d.ts.map +1 -1
  1156. package/components/Search/components/Groups.js +1 -1
  1157. package/components/Search/components/InputAdornmentLeft.js +1 -1
  1158. package/components/Search/components/Listbox.d.ts +7 -1
  1159. package/components/Search/components/Listbox.js +1 -1
  1160. package/components/Search/components/Paper.js +1 -1
  1161. package/components/Search/components/RecentSearches.js +1 -1
  1162. package/components/Search/context/index.d.ts.map +1 -1
  1163. package/components/Search/context/index.js +1 -1
  1164. package/components/SearchInput/index.js +1 -1
  1165. package/components/SettingEditors/DropdownEditor/index.js +1 -1
  1166. package/components/SlateFormattedText/Constants.js +1 -1
  1167. package/components/SlateFormattedText/Elements/ImageElement/ImageElement.js +1 -1
  1168. package/components/SlateFormattedText/Elements/VideoElement/VideoElement.js +1 -1
  1169. package/components/SlateFormattedText/RenderElements.js +1 -1
  1170. package/components/SlateFormattedText/SlateFormattedText.js +1 -1
  1171. package/components/SlateFormattedText/utils.js +1 -1
  1172. package/components/StageDesignVActual/ComparisonBar/ComparisonBar.js +1 -1
  1173. package/components/StageDesignVActual/ComparisonBar/utils.js +1 -1
  1174. package/components/StageDesignVActual/ComparisonHeader.js +1 -1
  1175. package/components/StageDesignVActual/ComparisonRow.js +1 -1
  1176. package/components/StageDesignVActual/ElementsComparison/ElementsComparison.js +1 -1
  1177. package/components/StageDesignVActual/ElementsComparison/utils.js +1 -1
  1178. package/components/StatusBadge/styles.js +1 -1
  1179. package/components/Stepper/constants.js +1 -1
  1180. package/components/StyledMenuItem/index.js +1 -1
  1181. package/components/Table/TableCell/TableCell.js +1 -1
  1182. package/components/Table/TableContainer/TableContainer.js +1 -1
  1183. package/components/Table/TableSortLabel/TableSortLabel.js +1 -1
  1184. package/components/Table/TableToolbar/TableToolbar.js +1 -1
  1185. package/components/Tabs/Tab.js +1 -1
  1186. package/components/Template/TemplatePopover/Styles.js +1 -1
  1187. package/components/Template/TemplatePopover/index.js +1 -1
  1188. package/components/Template/TemplateSharingDialog/ChipSelector.js +1 -1
  1189. package/components/Template/TemplateSharingDialog/UsersChipSelector.js +1 -1
  1190. package/components/Template/TemplateSharingDialog/index.js +1 -1
  1191. package/components/TextField/effects/index.js +1 -1
  1192. package/components/TextField/index.js +1 -1
  1193. package/components/TextLink/index.js +1 -1
  1194. package/components/TracesEditModal/TracesEditModal.js +1 -1
  1195. package/components/TracesEditModal/TracesEditModalContainer.js +1 -1
  1196. package/components/TruncatedText/index.js +1 -1
  1197. package/components/Typography.js +1 -1
  1198. package/components/UserCard/index.js +1 -1
  1199. package/components/UserCardPopover.js +1 -1
  1200. package/components/UserMention/constants.js +1 -1
  1201. package/components/UserMention/index.js +1 -1
  1202. package/components/UserMention/utils/index.js +1 -1
  1203. package/components/VirtualizedTable/CustomizeColumnsDialog.js +1 -1
  1204. package/components/VirtualizedTable/DraggableList.js +1 -1
  1205. package/components/VirtualizedTable/index.js +1 -1
  1206. package/components/WellSummary/ActivitySummaryChart.js +1 -1
  1207. package/components/WellSummary/FracWirelineTimeChart.js +1 -1
  1208. package/components/WellSummary/WellSummaryItemLabel.js +1 -1
  1209. package/components/WellSummary/WellSummaryItemTitle.js +1 -1
  1210. package/components/WellSummary/WellSummaryItemValue.js +1 -1
  1211. package/components/WellSummary/effects/useWellSummaryData.js +1 -1
  1212. package/components/WellSummary/utils.js +1 -1
  1213. package/config/highcharts/highcharts-contour.js +1 -1
  1214. package/config/mapbox/index.js +1 -1
  1215. package/config/theme/accordionOverrides.js +1 -1
  1216. package/config/theme/buttonOverrides.js +1 -1
  1217. package/config/theme/checkboxOverrides.js +1 -1
  1218. package/config/theme/chipOverrides.js +1 -1
  1219. package/config/theme/dateTimePickerThemeOverrides.js +1 -1
  1220. package/config/theme/fabOverrides.js +1 -1
  1221. package/config/theme/index.js +1 -1
  1222. package/config/theme/radioOverrides.js +1 -1
  1223. package/config/theme/tableOverrides.js +1 -1
  1224. package/config/theme/textFieldOverrides.js +1 -1
  1225. package/config/theme/toggleButtonsGroupOverrides.js +1 -1
  1226. package/constants/accuracy.js +1 -1
  1227. package/constants/alerts.js +1 -1
  1228. package/constants/appPackages.js +1 -1
  1229. package/constants/apps.js +1 -1
  1230. package/constants/assetTypes.js +1 -1
  1231. package/constants/bha.js +1 -1
  1232. package/constants/casing.js +1 -1
  1233. package/constants/completion.js +1 -1
  1234. package/constants/componentsSettings.js +1 -1
  1235. package/constants/corvaCompanyId.js +1 -1
  1236. package/constants/dateTimeFormat.js +1 -1
  1237. package/constants/devcenter.js +1 -1
  1238. package/constants/drillstring.js +1 -1
  1239. package/constants/feed.js +1 -1
  1240. package/constants/goals.js +1 -1
  1241. package/constants/localStorageKeys.js +1 -1
  1242. package/constants/mixpanel.js +1 -1
  1243. package/constants/notifications.js +1 -1
  1244. package/constants/rigActivity.js +1 -1
  1245. package/constants/segment.js +1 -1
  1246. package/constants/sizes.js +1 -1
  1247. package/constants/subscriptions.js +1 -1
  1248. package/constants/theme.js +1 -1
  1249. package/constants/wellSummary.js +1 -1
  1250. package/effects/useDevCenterApp.js +1 -1
  1251. package/effects/useEscPress.js +1 -1
  1252. package/effects/useResizeObserver.js +1 -1
  1253. package/effects/useSharedDCStore.js +1 -1
  1254. package/effects/useSignedURL.js +1 -1
  1255. package/effects/useSubscriptions.js +1 -1
  1256. package/hocs/withAssetEditorLockHOC.js +1 -1
  1257. package/hocs/withMUIProvidersHOC.js +1 -1
  1258. package/package.json +2 -3
  1259. package/permissions/PermissionsContext.js +1 -1
  1260. package/permissions/ProvidePermissions.js +1 -1
  1261. package/permissions/constants/abilities.js +1 -1
  1262. package/permissions/constants/index.js +1 -1
  1263. package/permissions/usePermissions.js +1 -1
  1264. package/permissions/useProvidePermissions.js +1 -1
  1265. package/permissions/utils.js +1 -1
  1266. package/permissions/withPermissionsHOC.js +1 -1
  1267. package/styles/typography/index.js +1 -1
  1268. package/utils/DrillstringUtils.js +1 -1
  1269. package/utils/FluidCheckUtils.js +1 -1
  1270. package/utils/StageDesignVActualUtils.js +1 -1
  1271. package/utils/__tests__/fixtures/convert.fixture.d.ts.map +1 -1
  1272. package/utils/accuracy.js +1 -1
  1273. package/utils/alerts.js +1 -1
  1274. package/utils/apps.js +1 -1
  1275. package/utils/audio.js +1 -1
  1276. package/utils/bha.js +1 -1
  1277. package/utils/casing/conversion.js +1 -1
  1278. package/utils/casing/validation.js +1 -1
  1279. package/utils/chartSeries.js +1 -1
  1280. package/utils/completion.js +1 -1
  1281. package/utils/components.js +1 -1
  1282. package/utils/constants/units.js +1 -1
  1283. package/utils/convert.js +1 -1
  1284. package/utils/convertKeys.js +1 -1
  1285. package/utils/csvExport.js +1 -1
  1286. package/utils/dashboardReports.js +1 -1
  1287. package/utils/delay.js +1 -1
  1288. package/utils/devcenter.js +1 -1
  1289. package/utils/devcenterToasts.js +1 -1
  1290. package/utils/drillstring/conversion.js +1 -1
  1291. package/utils/drillstring/schematic.js +1 -1
  1292. package/utils/drillstring/validation.js +1 -1
  1293. package/utils/env.js +1 -1
  1294. package/utils/feed.js +1 -1
  1295. package/utils/fileExtension.js +1 -1
  1296. package/utils/formatting.js +1 -1
  1297. package/utils/ga.js +1 -1
  1298. package/utils/goals.js +1 -1
  1299. package/utils/index.js +1 -1
  1300. package/utils/jsonaDataFormatter.js +1 -1
  1301. package/utils/lasParser.js +1 -1
  1302. package/utils/localStorage.js +1 -1
  1303. package/utils/main.js +1 -1
  1304. package/utils/mapUnits.js +1 -1
  1305. package/utils/mapbox.js +1 -1
  1306. package/utils/metrics/index.js +1 -1
  1307. package/utils/metrics/metricsConfig.js +1 -1
  1308. package/utils/metrics/utils.js +1 -1
  1309. package/utils/mobileDetect.js +1 -1
  1310. package/utils/nativeMessages.js +1 -1
  1311. package/utils/notificationToasts.js +1 -1
  1312. package/utils/notifications.js +1 -1
  1313. package/utils/permissions.js +1 -1
  1314. package/utils/reports.js +1 -1
  1315. package/utils/resolveWellHubSlug.js +1 -1
  1316. package/utils/sharedDCStore.js +1 -1
  1317. package/utils/themeVariables.js +1 -1
  1318. package/utils/time.js +1 -1
  1319. package/utils/torqueAndHookloadUtils.js +1 -1
  1320. package/components/DevCenter/DevCenterAppContainer/components/__tests__/AppSettingsDialog.test.d.ts +0 -2
  1321. package/components/DevCenter/DevCenterAppContainer/components/__tests__/AppSettingsDialog.test.d.ts.map +0 -1
  1322. package/components/ErrorBoundary/DevCenterAppErrorView/__tests__/DevCenterAppErrorView.snapshot.test.d.ts +0 -2
  1323. package/components/ErrorBoundary/DevCenterAppErrorView/__tests__/DevCenterAppErrorView.snapshot.test.d.ts.map +0 -1
@@ -1 +1 @@
1
- import t from"@babel/runtime/helpers/asyncToGenerator";import e from"@babel/runtime/helpers/classCallCheck";import n from"@babel/runtime/helpers/createClass";import o from"@babel/runtime/helpers/assertThisInitialized";import i from"@babel/runtime/helpers/inherits";import a from"@babel/runtime/helpers/possibleConstructorReturn";import r from"@babel/runtime/helpers/getPrototypeOf";import s from"@babel/runtime/helpers/defineProperty";import l from"@babel/runtime/regenerator";import{PureComponent as c}from"react";import p from"prop-types";import m from"lodash/noop";import{withStyles as u}from"@material-ui/core/styles";import{Paper as d,TextField as h,InputAdornment as f,Collapse as g,Typography as C}from"@material-ui/core";import b from"classnames";import{get as I}from"lodash";import v from"@material-ui/core/colors/grey";import x from"../Avatar/index.js";import y from"../FileUploadIconButton.js";import E from"../EmojiIconButton.js";import F from"../FailedFileUploading.js";import S from"../UserMention/index.js";import U from"../FilePreview/index.js";import N from"../IconButton/index.js";import k from"../Icons/SendIcon.js";import{isSuggestionsListOpened as A}from"../UserMention/utils/index.js";import M from"../../utils/main.js";import{isNativeDetected as R}from"../../utils/mobileDetect.js";import{notifyCommentEdit as j,notifyCommentPost as B}from"../../utils/nativeMessages.js";import{patchFeedItemComment as w}from"../../clients/jsonApi/index.js";import P from"./styles.css.js";import{jsxs as T,jsx as L}from"react/jsx-runtime";function z(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=r(t);if(e){var i=r(this).constructor;n=Reflect.construct(o,arguments,i)}else n=o.apply(this,arguments);return a(this,n)}}var D={chatAvatarWrapper:{display:"flex",alignItems:"center",position:"absolute",left:0,height:32},commentTextFieldContainer:{position:"relative",margin:"0"},commentTextFieldContainerSpaceAround:{position:"relative",margin:"20px 10px"}},_=function(a){i(p,c);var r=z(p);function p(n){var i,a,c;return e(this,p),i=r.call(this,n),s(o(i),"handleSelectEmoji",(function(t){return i.setState((function(e){var n=e.comment;return{comment:"".concat(n).concat(t.native)}}))})),s(o(i),"postComment",(a=t(l.mark((function t(e){var n;return l.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,i.props.postComment(e);case 3:n=t.sent,t.next=9;break;case 6:t.prev=6,t.t0=t.catch(0),console.error(t.t0.message);case 9:return t.abrupt("return",n);case 10:case"end":return t.stop()}}),t,null,[[0,6]])}))),function(t){return a.apply(this,arguments)})),s(o(i),"patchComment",(c=t(l.mark((function t(e){var n,o,a,r;return l.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=i.props,o=n.editFeedItemId,a=n.editCommentId,t.prev=1,t.next=4,w(o,a,e);case 4:r=t.sent,t.next=10;break;case 7:t.prev=7,t.t0=t.catch(1),console.error(t.t0.message);case 10:return t.abrupt("return",r);case 11:case"end":return t.stop()}}),t,null,[[1,7]])}))),function(t){return c.apply(this,arguments)})),s(o(i),"clearCommentField",(function(t){i.setState({comment:"",attachmentUrl:null,attachmentName:null,attachmentSize:null},(function(){i.focusOnRef(),t&&"function"==typeof t&&t()}))})),s(o(i),"handleKeyDown",(function(t){var e=t.key;"Escape"===e&&i.props.exitEditMode(),"Enter"===e&&(A()||(t.preventDefault(),i.handleSendComment()))})),s(o(i),"handleAttachmentLoadingError",(function(t){i.setState({attachmentUrl:null,attachmentName:null,attachmentSize:null,attachmentLoadingError:t})})),s(o(i),"handleFileUpload",(function(t,e,n){i.setState({attachmentUrl:t,attachmentName:e,attachmentSize:n,attachmentLoadingError:null})})),s(o(i),"handleNativeFileUpload",(function(){var t=i.state.comment;i.isEditMode?(j(t),i.clearCommentField(i.props.exitEditMode)):(B(t),i.clearCommentField())})),s(o(i),"handleFileDelete",(function(){return i.setState({attachmentUrl:null,attachmentName:null,attachmentSize:null})})),s(o(i),"handleSendComment",t(l.mark((function t(){var e,n,o;return l.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if((e=i.state.comment?i.state.comment.trim():null)||i.state.attachmentUrl){t.next=3;break}return t.abrupt("return");case 3:if(n={comment:{body:e,attachment:{url:i.state.attachmentUrl,size:i.state.attachmentSize,file_name:i.state.attachmentName}}},!i.isEditMode){t.next=16;break}return i.props.setIsEditting(!0),t.next=8,i.patchComment(n);case 8:return o=t.sent,t.next=11,i.props.patchCommentCallback(o);case 11:i.props.setIsEditting(!1),i.clearCommentField(),i.props.exitEditMode(),t.next=24;break;case 16:return i.props.setIsPosting(!0),t.next=19,i.postComment(n);case 19:return o=t.sent,t.next=22,i.props.postCommentCallback(o);case 22:i.props.setIsPosting(!1),i.clearCommentField();case 24:case"end":return t.stop()}}),t)})))),s(o(i),"handleCancelClick",(function(){i.setState({comment:"",attachmentUrl:null,attachmentName:null,attachmentSize:null},i.props.exitEditMode())})),i.state={comment:"",attachmentUrl:null,attachmentName:null,attachmentSize:null,attachmentLoadingError:null,isInputFocused:!1},i}return n(p,[{key:"componentDidMount",value:function(){this.isEditMode&&this.setInitialCommentValue()}},{key:"componentDidUpdate",value:function(t){(this.isEditMode&&!t.editFeedItemId||this.props.editCommentId&&this.props.editCommentId!==t.editCommentId)&&this.setInitialCommentValue()}},{key:"isEditMode",get:function(){return!!this.props.editFeedItemId}},{key:"setInitialCommentValue",value:function(){var t=this.props.editAttachment?this.props.editAttachment.url:null;this.setState({comment:this.props.editComment,attachmentUrl:t,attachmentName:t?this.props.editAttachment.file_name||M.getFileNameWithExtensionFromPath(t):null,attachmentSize:this.props.editAttachment?this.props.editAttachment.size:null})}},{key:"focusOnRef",value:function(){this.props.inputRef&&this.props.inputRef.current.focus()}},{key:"render",value:function(){var t,e=this,n=this.props,o=n.classes,i=n.currentUser,a="".concat(I(i,["attributes","first_name"])||I(i,"first_name")," ").concat(I(i,["attributes","last_name"])||I(i,"last_name")),r=this.state.isInputFocused||this.state.attachmentUrl||this.state.comment||this.props.editComment||(null===(t=this.props.editAttachment)||void 0===t?void 0:t.url);return T("div",{style:this.props.spaceAround?D.commentTextFieldContainerSpaceAround:D.commentTextFieldContainer,children:[L("div",{style:D.chatAvatarWrapper,children:L(x,{displayName:a,size:32,imgSrc:this.props.currentUser&&this.props.currentUser.profile_photo})}),L(d,{className:this.props.classes.paperRoot,children:L(h,{"data-testid":"".concat("commentInput","_input"),placeholder:"Type Comment",FormHelperTextProps:{component:"div",margin:"dense"},InputProps:{inputComponent:S,inputProps:{onChange:function(t){return e.setState({comment:t})},singleLine:!0,value:this.state.comment||"",inputRef:this.props.inputRef,withLightTheme:!1,onMount:this.props.onMount,companyId:this.props.companyId,autoFocus:this.props.autoFocus,disabled:this.props.disabled,onFocus:function(){return e.setState({isInputFocused:!0})},onBlur:function(){return e.setState({isInputFocused:!1})},allowSuggestionsAboveCursor:!0},endAdornment:!this.props.isNative&&T(f,{position:"end",className:this.props.classes.inputAdornment,children:[!this.state.attachmentUrl&&L("div",{className:b(P.cCommentInputIconContainer,P.cCommentInputIconUpload),children:L(y,{openPreviewDialogOnUpload:!1,disableRipple:!0,onFinish:this.handleFileUpload,onError:this.handleAttachmentLoadingError,fileUploadIconClassName:this.props.classes.additionalActionButton,htmlColor:v[400],inputId:"comment-attachment-".concat(this.props.editCommentId||this.props.parentId),tooltipProps:{title:"Attach File",classes:{tooltip:o.iconTooltip},placement:"top"}})}),L("div",{className:P.cCommentInputIconContainer,children:L(E,{"data-testid":"".concat("commentInput","_emojiButton"),handleSelectEmoji:this.handleSelectEmoji,emojiIconClassName:this.props.classes.additionalActionButton,htmlColor:v[400],disableRipple:!0,tooltipProps:{title:"Add Emoji",classes:{tooltip:o.iconTooltip},placement:"top"}})})]}),disableUnderline:!0,classes:{root:this.props.classes.inputRoot,input:this.props.classes.inputEl}},className:this.props.classes.input,onKeyDown:this.handleKeyDown})}),this.state.attachmentLoadingError&&L(F,{errorMessage:this.state.attachmentLoadingError,className:this.props.classes.fileUploadingError}),this.state.attachmentUrl&&L(U,{fileName:this.state.attachmentName,fileUrl:this.state.attachmentUrl,handleFileDelete:this.handleFileDelete,classes:this.props.classes}),L(g,{in:r,mountOnEnter:!0,unmountOnExit:!0,children:T("div",{className:P.cCommentInputSendContainer,children:[L("div",{className:P.cCommentInputSendContainerCancel,children:L(C,{"data-testid":"".concat("commentInput","_cancel"),variant:"caption",className:b(this.props.classes.inputMain,this.props.classes.cancelText,this.props.classes.highlightedLabel),component:"div",gutterBottom:!0,onClick:this.handleCancelClick,children:"Cancel"})}),T("div",{className:P.cCommentInputSendContainerSend,children:[T(C,{variant:"caption",className:b(this.props.classes.inputMain,this.props.classes.inputHelper),component:"div",gutterBottom:!0,children:["Press ",L(C,{variant:"caption",color:"primary",className:b(this.props.classes.inputMain,this.props.classes.highlightedLabel),children:"Enter"})," to send"]}),L(N,{size:"large",tooltipProps:{title:"Send"},"data-testid":"".concat("commentInput","_sendButton"),onClick:this.handleSendComment,classes:{root:this.props.classes.sendButton},children:L(k,{})})]})]})})]})}}]),p}();_.propTypes={inputRef:p.shape({current:p.shape({focus:p.shape({})})}),editFeedItemId:p.number,editCommentId:p.number,editComment:p.string,editAttachment:p.shape({url:p.string,size:p.number,file_name:p.string}),spaceAround:p.bool,postComment:p.func.isRequired,postCommentCallback:p.func,patchCommentCallback:p.func,exitEditMode:p.func,setIsPosting:p.func,setIsEditting:p.func,onMount:p.func,autoFocus:p.bool,disabled:p.bool,classes:p.shape({}).isRequired,currentUser:p.shape(),isNative:p.bool,companyId:p.number,parentId:p.string},_.defaultProps={inputRef:null,editFeedItemId:null,editCommentId:null,parentId:null,editComment:null,editAttachment:{},spaceAround:!1,setIsPosting:m,setIsEditting:m,onMount:m,autoFocus:void 0,disabled:!1,patchCommentCallback:m,postCommentCallback:m,exitEditMode:m,companyId:null,currentUser:{},isNative:R};var O=u((function(t){return{paperRoot:{width:"calc(100% - 48px)",marginLeft:48,display:"inline-block",height:32,border:"0","&:focus-within":{boxShadow:"inset 0 0 0 2px ".concat(t.palette.primary.main)},boxShadow:"none",background:"#4D4D4D"},input:{paddingLeft:5,width:"100%"},inputRoot:{height:32,paddingRight:"8px",lineHeight:"29px",paddingLeft:"8px"},inputEl:{padding:"0 0 0 6px",height:"100%"},additionalActionButton:{padding:"6px"},nativeActionButton:{margin:"5px 10px",cursor:"pointer"},fileUploadingError:{marginTop:10,marginLeft:24},inputMain:{marginBottom:0,fontSize:"11px",color:t.palette.primary.text8},inputHelper:{display:"flex",paddingRight:5},cancelText:{cursor:"pointer"},highlightedLabel:{color:t.palette.primary.main},iconTooltip:{marginTop:"3px"},sendButton:{"&:hover":{backgroundColor:"rgba(3,188,212, 0.1)"},"&.MuiButtonBase-root":{padding:7}},inputAdornment:{marginBottom:"0!important",height:"100%"}}}))(_);export{O as default};
1
+ import t from"@babel/runtime/helpers/defineProperty";import{PureComponent as e}from"react";import i from"prop-types";import n from"lodash/noop";import{withStyles as s}from"@material-ui/core/styles";import{Paper as o,TextField as a,InputAdornment as r,Collapse as l,Typography as m}from"@material-ui/core";import p from"classnames";import{get as c}from"lodash";import d from"@material-ui/core/colors/grey";import h from"../Avatar/index.js";import u from"../FileUploadIconButton.js";import g from"../EmojiIconButton.js";import C from"../FailedFileUploading.js";import f from"../UserMention/index.js";import I from"../FilePreview/index.js";import x from"../IconButton/index.js";import b from"../Icons/SendIcon.js";import{isSuggestionsListOpened as E}from"../UserMention/utils/index.js";import F from"../../utils/main.js";import{isNativeDetected as S}from"../../utils/mobileDetect.js";import{notifyCommentEdit as v,notifyCommentPost as U}from"../../utils/nativeMessages.js";import{patchFeedItemComment as y}from"../../clients/jsonApi/index.js";import N from"./styles.css.js";import{jsxs as A,jsx as M}from"react/jsx-runtime";const j={chatAvatarWrapper:{display:"flex",alignItems:"center",position:"absolute",left:0,height:32},commentTextFieldContainer:{position:"relative",margin:"0"},commentTextFieldContainerSpaceAround:{position:"relative",margin:"20px 10px"}};class w extends e{constructor(e){super(e),t(this,"handleSelectEmoji",(t=>this.setState((e=>{let{comment:i}=e;return{comment:`${i}${t.native}`}})))),t(this,"postComment",(async t=>{let e;try{e=await this.props.postComment(t)}catch(t){console.error(t.message)}return e})),t(this,"patchComment",(async t=>{const{editFeedItemId:e,editCommentId:i}=this.props;let n;try{n=await y(e,i,t)}catch(t){console.error(t.message)}return n})),t(this,"clearCommentField",(t=>{this.setState({comment:"",attachmentUrl:null,attachmentName:null,attachmentSize:null},(()=>{this.focusOnRef(),t&&"function"==typeof t&&t()}))})),t(this,"handleKeyDown",(t=>{const{key:e}=t;"Escape"===e&&this.props.exitEditMode(),"Enter"===e&&(E()||(t.preventDefault(),this.handleSendComment()))})),t(this,"handleAttachmentLoadingError",(t=>{this.setState({attachmentUrl:null,attachmentName:null,attachmentSize:null,attachmentLoadingError:t})})),t(this,"handleFileUpload",((t,e,i)=>{this.setState({attachmentUrl:t,attachmentName:e,attachmentSize:i,attachmentLoadingError:null})})),t(this,"handleNativeFileUpload",(()=>{const{comment:t}=this.state;this.isEditMode?(v(t),this.clearCommentField(this.props.exitEditMode)):(U(t),this.clearCommentField())})),t(this,"handleFileDelete",(()=>this.setState({attachmentUrl:null,attachmentName:null,attachmentSize:null}))),t(this,"handleSendComment",(async()=>{const t=this.state.comment?this.state.comment.trim():null;if(!t&&!this.state.attachmentUrl)return;const e={comment:{body:t,attachment:{url:this.state.attachmentUrl,size:this.state.attachmentSize,file_name:this.state.attachmentName}}};let i;this.isEditMode?(this.props.setIsEditting(!0),i=await this.patchComment(e),await this.props.patchCommentCallback(i),this.props.setIsEditting(!1),this.clearCommentField(),this.props.exitEditMode()):(this.props.setIsPosting(!0),i=await this.postComment(e),await this.props.postCommentCallback(i),this.props.setIsPosting(!1),this.clearCommentField())})),t(this,"handleCancelClick",(()=>{this.setState({comment:"",attachmentUrl:null,attachmentName:null,attachmentSize:null},this.props.exitEditMode())})),this.state={comment:"",attachmentUrl:null,attachmentName:null,attachmentSize:null,attachmentLoadingError:null,isInputFocused:!1}}componentDidMount(){this.isEditMode&&this.setInitialCommentValue()}componentDidUpdate(t){(this.isEditMode&&!t.editFeedItemId||this.props.editCommentId&&this.props.editCommentId!==t.editCommentId)&&this.setInitialCommentValue()}get isEditMode(){return!!this.props.editFeedItemId}setInitialCommentValue(){const t=this.props.editAttachment?this.props.editAttachment.url:null;this.setState({comment:this.props.editComment,attachmentUrl:t,attachmentName:t?this.props.editAttachment.file_name||F.getFileNameWithExtensionFromPath(t):null,attachmentSize:this.props.editAttachment?this.props.editAttachment.size:null})}focusOnRef(){this.props.inputRef&&this.props.inputRef.current.focus()}render(){var t;const{classes:e,currentUser:i}=this.props,n=`${c(i,["attributes","first_name"])||c(i,"first_name")} ${c(i,["attributes","last_name"])||c(i,"last_name")}`,s=this.state.isInputFocused||this.state.attachmentUrl||this.state.comment||this.props.editComment||(null===(t=this.props.editAttachment)||void 0===t?void 0:t.url);return A("div",{style:this.props.spaceAround?j.commentTextFieldContainerSpaceAround:j.commentTextFieldContainer,children:[M("div",{style:j.chatAvatarWrapper,children:M(h,{displayName:n,size:32,imgSrc:this.props.currentUser&&this.props.currentUser.profile_photo})}),M(o,{className:this.props.classes.paperRoot,children:M(a,{"data-testid":"commentInput_input",placeholder:"Type Comment",FormHelperTextProps:{component:"div",margin:"dense"},InputProps:{inputComponent:f,inputProps:{onChange:t=>this.setState({comment:t}),singleLine:!0,value:this.state.comment||"",inputRef:this.props.inputRef,withLightTheme:!1,onMount:this.props.onMount,companyId:this.props.companyId,autoFocus:this.props.autoFocus,disabled:this.props.disabled,onFocus:()=>this.setState({isInputFocused:!0}),onBlur:()=>this.setState({isInputFocused:!1}),allowSuggestionsAboveCursor:!0},endAdornment:!this.props.isNative&&A(r,{position:"end",className:this.props.classes.inputAdornment,children:[!this.state.attachmentUrl&&M("div",{className:p(N.cCommentInputIconContainer,N.cCommentInputIconUpload),children:M(u,{openPreviewDialogOnUpload:!1,disableRipple:!0,onFinish:this.handleFileUpload,onError:this.handleAttachmentLoadingError,fileUploadIconClassName:this.props.classes.additionalActionButton,htmlColor:d[400],inputId:`comment-attachment-${this.props.editCommentId||this.props.parentId}`,tooltipProps:{title:"Attach File",classes:{tooltip:e.iconTooltip},placement:"top"}})}),M("div",{className:N.cCommentInputIconContainer,children:M(g,{"data-testid":"commentInput_emojiButton",handleSelectEmoji:this.handleSelectEmoji,emojiIconClassName:this.props.classes.additionalActionButton,htmlColor:d[400],disableRipple:!0,tooltipProps:{title:"Add Emoji",classes:{tooltip:e.iconTooltip},placement:"top"}})})]}),disableUnderline:!0,classes:{root:this.props.classes.inputRoot,input:this.props.classes.inputEl}},className:this.props.classes.input,onKeyDown:this.handleKeyDown})}),this.state.attachmentLoadingError&&M(C,{errorMessage:this.state.attachmentLoadingError,className:this.props.classes.fileUploadingError}),this.state.attachmentUrl&&M(I,{fileName:this.state.attachmentName,fileUrl:this.state.attachmentUrl,handleFileDelete:this.handleFileDelete,classes:this.props.classes}),M(l,{in:s,mountOnEnter:!0,unmountOnExit:!0,children:A("div",{className:N.cCommentInputSendContainer,children:[M("div",{className:N.cCommentInputSendContainerCancel,children:M(m,{"data-testid":"commentInput_cancel",variant:"caption",className:p(this.props.classes.inputMain,this.props.classes.cancelText,this.props.classes.highlightedLabel),component:"div",gutterBottom:!0,onClick:this.handleCancelClick,children:"Cancel"})}),A("div",{className:N.cCommentInputSendContainerSend,children:[A(m,{variant:"caption",className:p(this.props.classes.inputMain,this.props.classes.inputHelper),component:"div",gutterBottom:!0,children:["Press ",M(m,{variant:"caption",color:"primary",className:p(this.props.classes.inputMain,this.props.classes.highlightedLabel),children:"Enter"})," to send"]}),M(x,{size:"large",tooltipProps:{title:"Send"},"data-testid":"commentInput_sendButton",onClick:this.handleSendComment,classes:{root:this.props.classes.sendButton},children:M(b,{})})]})]})})]})}}w.propTypes={inputRef:i.shape({current:i.shape({focus:i.shape({})})}),editFeedItemId:i.number,editCommentId:i.number,editComment:i.string,editAttachment:i.shape({url:i.string,size:i.number,file_name:i.string}),spaceAround:i.bool,postComment:i.func.isRequired,postCommentCallback:i.func,patchCommentCallback:i.func,exitEditMode:i.func,setIsPosting:i.func,setIsEditting:i.func,onMount:i.func,autoFocus:i.bool,disabled:i.bool,classes:i.shape({}).isRequired,currentUser:i.shape(),isNative:i.bool,companyId:i.number,parentId:i.string},w.defaultProps={inputRef:null,editFeedItemId:null,editCommentId:null,parentId:null,editComment:null,editAttachment:{},spaceAround:!1,setIsPosting:n,setIsEditting:n,onMount:n,autoFocus:void 0,disabled:!1,patchCommentCallback:n,postCommentCallback:n,exitEditMode:n,companyId:null,currentUser:{},isNative:S};var B=s((t=>({paperRoot:{width:"calc(100% - 48px)",marginLeft:48,display:"inline-block",height:32,border:"0","&:focus-within":{boxShadow:`inset 0 0 0 2px ${t.palette.primary.main}`},boxShadow:"none",background:"#4D4D4D"},input:{paddingLeft:5,width:"100%"},inputRoot:{height:32,paddingRight:"8px",lineHeight:"29px",paddingLeft:"8px"},inputEl:{padding:"0 0 0 6px",height:"100%"},additionalActionButton:{padding:"6px"},nativeActionButton:{margin:"5px 10px",cursor:"pointer"},fileUploadingError:{marginTop:10,marginLeft:24},inputMain:{marginBottom:0,fontSize:"11px",color:t.palette.primary.text8},inputHelper:{display:"flex",paddingRight:5},cancelText:{cursor:"pointer"},highlightedLabel:{color:t.palette.primary.main},iconTooltip:{marginTop:"3px"},sendButton:{"&:hover":{backgroundColor:"rgba(3,188,212, 0.1)"},"&.MuiButtonBase-root":{padding:7}},inputAdornment:{marginBottom:"0!important",height:"100%"}})))(w);export{B as default};
@@ -1 +1 @@
1
- import r from"@babel/runtime/helpers/classCallCheck";import e from"@babel/runtime/helpers/createClass";import t from"@babel/runtime/helpers/assertThisInitialized";import o from"@babel/runtime/helpers/inherits";import n from"@babel/runtime/helpers/possibleConstructorReturn";import i from"@babel/runtime/helpers/getPrototypeOf";import s from"@babel/runtime/helpers/defineProperty";import{createRef as a,PureComponent as c}from"react";import p from"prop-types";import{withStyles as l}from"@material-ui/core/styles";import u from"./LoadingIndicator/LoadingIndicator.js";import m from"./CommentWrapper.js";import{jsx as f}from"react/jsx-runtime";function d(r){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(r){return!1}}();return function(){var t,o=i(r);if(e){var s=i(this).constructor;t=Reflect.construct(o,arguments,s)}else t=o.apply(this,arguments);return n(this,t)}}var h={loadingIndicatorWrapper:{padding:"0 20px 0 0"}},b=function(n){o(p,c);var i=d(p);function p(e){var o;return r(this,p),o=i.call(this,e),s(t(o),"showIntoView",(function(){o.commentLoaderEl.current.scrollIntoView({block:"end"})})),o.commentLoaderEl=a(),o}return e(p,[{key:"componentDidMount",value:function(){this.props.showOnMount&&this.showIntoView()}},{key:"render",value:function(){return f("div",{ref:this.commentLoaderEl,children:f(m,{spaceAround:this.props.spaceAround,isLoader:!0,className:this.props.classes.commentWrapper,children:f("div",{style:h.loadingIndicatorWrapper,children:f(u,{fullscreen:!1,size:30})})})})}}]),p}();b.propTypes={showOnMount:p.bool,spaceAround:p.bool,classes:p.shape({}).isRequired},b.defaultProps={showOnMount:!1,spaceAround:!1};var y=l({commentWrapper:{width:"calc(100% - 28px)"}})(b);export{y as default};
1
+ import r from"@babel/runtime/helpers/defineProperty";import{PureComponent as o,createRef as e}from"react";import t from"prop-types";import{withStyles as s}from"@material-ui/core/styles";import n from"./LoadingIndicator/LoadingIndicator.js";import i from"./CommentWrapper.js";import{jsx as p}from"react/jsx-runtime";const a={loadingIndicatorWrapper:{padding:"0 20px 0 0"}};class c extends o{constructor(o){super(o),r(this,"showIntoView",(()=>{this.commentLoaderEl.current.scrollIntoView({block:"end"})})),this.commentLoaderEl=e()}componentDidMount(){this.props.showOnMount&&this.showIntoView()}render(){return p("div",{ref:this.commentLoaderEl,children:p(i,{spaceAround:this.props.spaceAround,isLoader:!0,className:this.props.classes.commentWrapper,children:p("div",{style:a.loadingIndicatorWrapper,children:p(n,{fullscreen:!1,size:30})})})})}}c.propTypes={showOnMount:t.bool,spaceAround:t.bool,classes:t.shape({}).isRequired},c.defaultProps={showOnMount:!1,spaceAround:!1};var d=s({commentWrapper:{width:"calc(100% - 28px)"}})(c);export{d as default};
@@ -1 +1 @@
1
- import r from"prop-types";import e from"classnames";import{withStyles as a}from"@material-ui/core/styles";import o from"@material-ui/core/Paper";import{jsx as p}from"react/jsx-runtime";var s=function(r,e,a){return a&&e?r.paperRootLoaderSpaceAround:a&&!e?r.paperRootLoader:!a&&e?r.paperRootSpaceAround:a||e?null:r.paperRoot},i=function(r){var a=r.spaceAround,i=r.isLoader,t=r.children,n=r.classes,d=r.className;return p(o,{className:e(s(n,a,i),n.paperBase,d),elevation:0,children:t})};i.propTypes={spaceAround:r.bool,isLoader:r.bool,children:r.node.isRequired,className:r.string,classes:r.shape({}).isRequired},i.defaultProps={spaceAround:!1,isLoader:!1,className:void 0};var t=a({paperBase:{backgroundColor:"transparent",position:"relative"},paperRoot:{marginBottom:8},paperRootSpaceAround:{margin:"5px 0 10px",padding:11},paperRootLoader:{margin:"5px 0",minHeight:60},paperRootLoaderSpaceAround:{margin:"5px 0 10px",padding:"4px 0 6px"}})(i);export{t as default};
1
+ import e from"prop-types";import r from"classnames";import{withStyles as o}from"@material-ui/core/styles";import a from"@material-ui/core/Paper";import{jsx as p}from"react/jsx-runtime";const s=(e,r,o)=>o&&r?e.paperRootLoaderSpaceAround:o&&!r?e.paperRootLoader:!o&&r?e.paperRootSpaceAround:o||r?null:e.paperRoot,i=e=>{let{spaceAround:o,isLoader:i,children:t,classes:n,className:d}=e;return p(a,{className:r(s(n,o,i),n.paperBase,d),elevation:0,children:t})};i.propTypes={spaceAround:e.bool,isLoader:e.bool,children:e.node.isRequired,className:e.string,classes:e.shape({}).isRequired},i.defaultProps={spaceAround:!1,isLoader:!1,className:void 0};var t=o({paperBase:{backgroundColor:"transparent",position:"relative"},paperRoot:{marginBottom:8},paperRootSpaceAround:{margin:"5px 0 10px",padding:11},paperRootLoader:{margin:"5px 0",minHeight:60},paperRootLoaderSpaceAround:{margin:"5px 0 10px",padding:"4px 0 6px"}})(i);export{t as default};
@@ -1 +1 @@
1
- import e from"prop-types";import{withStyles as t}from"@material-ui/core/styles";import{Tooltip as o,Typography as r}from"@material-ui/core";import s from"@material-ui/core/colors/grey";import{isNativeDetected as i}from"../../utils/mobileDetect.js";import a from"../Avatar/index.js";import n from"../UserCardPopover.js";import c from"./styles.css.js";import{jsxs as m,Fragment as l,jsx as p}from"react/jsx-runtime";var u=function(e){return e?"".concat(e.first_name," ").concat(e.last_name):""},d=function(e){var t=e.users,o=e.noReactionsText,r=t.length;if(!r)return o;var s="";r>19&&(s="\nand ".concat(r-19," more..."));var i=t.slice(0,19).join("\n");return"".concat(i).concat(s)},h=function(e){var t=e.likesCount,s=e.usersWhoLike,i=e.commentsCount,h=e.usersWhoCommented,f=e.onCommentsClick,v=e.currentUser,y=e.activeUsersList,C=e.classes,k=e.isNative,g=e.small;return m(l,{children:[!!t&&p(o,{title:p(d,{users:s,noReactionsText:"Nobody likes this yet..."}),enterTouchDelay:0,classes:{popper:C.tooltip},placement:"top",children:m(r,{"data-testid":"".concat("FeedPo","_likesCounter_").concat(t),className:C.reactionTypographyRoot,variant:"caption",children:["Likes ",t]})}),!!i&&p("span",{onClick:f,children:p(o,{title:p(d,{users:h,noReactionsText:"Nobody commented this yet..."}),enterTouchDelay:0,classes:{popper:C.tooltip},placement:"top",children:m(r,{"data-testid":"".concat("FeedPo","_commentsCounter_").concat(i),className:C.reactionTypographyRoot,variant:"caption",children:["Comments ",i]})})}),p("div",{"data-testid":"".concat("FeedPo","_activeUsersCounter_").concat(y&&y.length),className:c.cCommentsInfoActiveUsersList,children:y.map((function(e){return k?p(a,{displayName:u(e),imgSrc:e.profile_photo,className:C.avatarInList,size:g?24:32},e.id):p(n,{user:e,currentUser:v,children:p(a,{displayName:u(e),imgSrc:e.profile_photo,size:g?24:32,className:C.avatarInList})},e.id)}))})]})},f={reactionTypographyRoot:{color:s[400],margin:"0 8px",cursor:"pointer","&:hover":{textDecoration:"underline",textUnderlineOffset:"4px",color:"#fff"}},avatarInList:{marginRight:3,borderWidth:1},tooltip:{whiteSpace:"pre-line"}};h.propTypes={likesCount:e.number,usersWhoLike:e.arrayOf(e.shape({})),commentsCount:e.number,usersWhoCommented:e.arrayOf(e.string).isRequired,onCommentsClick:e.func,activeUsersList:e.arrayOf(e.shape({})).isRequired,classes:e.shape({}).isRequired,isNative:e.bool,small:e.bool,currentUser:e.shape({})},h.defaultProps={likesCount:0,usersWhoLike:[],commentsCount:0,onCommentsClick:function(){},small:!1,isNative:i,currentUser:{}};var v=t(f)(h);export{v as default};
1
+ import e from"prop-types";import{withStyles as t}from"@material-ui/core/styles";import{Tooltip as r,Typography as o}from"@material-ui/core";import s from"@material-ui/core/colors/grey";import{isNativeDetected as i}from"../../utils/mobileDetect.js";import a from"../Avatar/index.js";import n from"../UserCardPopover.js";import l from"./styles.css.js";import{jsxs as m,Fragment as c,jsx as p}from"react/jsx-runtime";const u=e=>e?`${e.first_name} ${e.last_name}`:"",d=e=>{let{users:t,noReactionsText:r}=e;const o=t.length;if(!o)return r;let s="";if(o>19){s=`\nand ${o-19} more...`}return`${t.slice(0,19).join("\n")}${s}`},h=e=>{let{likesCount:t,usersWhoLike:s,commentsCount:i,usersWhoCommented:h,onCommentsClick:f,currentUser:y,activeUsersList:C,classes:v,isNative:k,small:g}=e;return m(c,{children:[!!t&&p(r,{title:p(d,{users:s,noReactionsText:"Nobody likes this yet..."}),enterTouchDelay:0,classes:{popper:v.tooltip},placement:"top",children:m(o,{"data-testid":`FeedPo_likesCounter_${t}`,className:v.reactionTypographyRoot,variant:"caption",children:["Likes ",t]})}),!!i&&p("span",{onClick:f,children:p(r,{title:p(d,{users:h,noReactionsText:"Nobody commented this yet..."}),enterTouchDelay:0,classes:{popper:v.tooltip},placement:"top",children:m(o,{"data-testid":`FeedPo_commentsCounter_${i}`,className:v.reactionTypographyRoot,variant:"caption",children:["Comments ",i]})})}),p("div",{"data-testid":`FeedPo_activeUsersCounter_${C&&C.length}`,className:l.cCommentsInfoActiveUsersList,children:C.map((e=>k?p(a,{displayName:u(e),imgSrc:e.profile_photo,className:v.avatarInList,size:g?24:32},e.id):p(n,{user:e,currentUser:y,children:p(a,{displayName:u(e),imgSrc:e.profile_photo,size:g?24:32,className:v.avatarInList})},e.id)))})]})},f={reactionTypographyRoot:{color:s[400],margin:"0 8px",cursor:"pointer","&:hover":{textDecoration:"underline",textUnderlineOffset:"4px",color:"#fff"}},avatarInList:{marginRight:3,borderWidth:1},tooltip:{whiteSpace:"pre-line"}};h.propTypes={likesCount:e.number,usersWhoLike:e.arrayOf(e.shape({})),commentsCount:e.number,usersWhoCommented:e.arrayOf(e.string).isRequired,onCommentsClick:e.func,activeUsersList:e.arrayOf(e.shape({})).isRequired,classes:e.shape({}).isRequired,isNative:e.bool,small:e.bool,currentUser:e.shape({})},h.defaultProps={likesCount:0,usersWhoLike:[],commentsCount:0,onCommentsClick:()=>{},small:!1,isNative:i,currentUser:{}};var y=t(f)(h);export{y as default};
@@ -1 +1 @@
1
- import t from"@babel/runtime/helpers/classCallCheck";import e from"@babel/runtime/helpers/createClass";import i from"@babel/runtime/helpers/inherits";import o from"@babel/runtime/helpers/possibleConstructorReturn";import r from"@babel/runtime/helpers/getPrototypeOf";import{Component as n}from"react";import a from"prop-types";import{withStyles as s}from"@material-ui/core/styles";import l from"@material-ui/core/Typography";import c from"@material-ui/core/TextField";import p from"@material-ui/core/DialogTitle";import m from"@material-ui/core/DialogContent";import f from"@material-ui/core/DialogContentText";import u from"@material-ui/core/DialogActions";import h from"@material-ui/core/Button";import d from"@material-ui/core/Dialog";import{jsxs as b,Fragment as g,jsx as x}from"react/jsx-runtime";function y(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var i,n=r(t);if(e){var a=r(this).constructor;i=Reflect.construct(n,arguments,a)}else i=n.apply(this,arguments);return o(this,i)}}var C="confirmationDialog",T=function(o){i(a,n);var r=y(a);function a(e){var i;return t(this,a),(i=r.call(this,e)).state={confirmationTextField:""},i}return e(a,[{key:"actions",get:function(){return b(g,{children:[this.props.isShowCancel&&x(h,{variant:"text","data-testid":"".concat(C,"_cancelButton"),className:this.props.classes.actionButton,onClick:this.props.handleClose,color:"primary",children:"Cancel"}),x(h,{variant:"contained","data-testid":"".concat(C,"_confirmButton"),className:this.props.classes.actionButton,onClick:this.props.handleOk,disabled:this.props.disableOk||this.props.confirmationText&&this.props.confirmation!==this.state.confirmationTextField,color:"primary",children:this.props.okText})]})}},{key:"render",value:function(){var t=this;return b(d,{open:this.props.open,onClose:this.props.handleClose,"aria-labelledby":"confirmation-dialog-title",classes:{paper:this.props.classes.paper},children:[x(p,{id:"confirmation-dialog-title",children:this.props.title}),x(m,{children:b(f,{children:[x(l,{variant:"body2",className:this.props.classes.content,children:this.props.text}),this.props.confirmationText&&x(c,{fullWidth:!0,"data-testid":"".concat(C,"_input"),label:this.props.confirmationText,value:this.state.confirmationTextField,onChange:function(e){return t.setState({confirmationTextField:e.target.value})},className:this.props.classes.confirmation})]})}),x(u,{className:this.props.classes.actions,children:this.actions})]})}}]),a}();T.propTypes={open:a.bool.isRequired,title:a.string,text:a.string.isRequired,confirmationText:a.string,confirmation:a.string,handleClose:a.func,handleOk:a.func,okText:a.string,disableOk:a.bool,isShowCancel:a.bool,classes:a.shape({}).isRequired},T.defaultProps={title:void 0,confirmationText:null,confirmation:"",okText:"Ok",handleOk:function(){},handleClose:function(){},disableOk:!1,isShowCancel:!0};var v=s({actionButton:{marginLeft:15},confirmation:{marginTop:10}})(T);export{v as default};
1
+ import{Component as t}from"react";import i from"prop-types";import{withStyles as o}from"@material-ui/core/styles";import e from"@material-ui/core/Typography";import r from"@material-ui/core/TextField";import a from"@material-ui/core/DialogTitle";import s from"@material-ui/core/DialogContent";import n from"@material-ui/core/DialogContentText";import l from"@material-ui/core/DialogActions";import c from"@material-ui/core/Button";import p from"@material-ui/core/Dialog";import{jsxs as m,Fragment as d,jsx as h}from"react/jsx-runtime";const f="confirmationDialog";class u extends t{constructor(t){super(t),this.state={confirmationTextField:""}}get actions(){return m(d,{children:[this.props.isShowCancel&&h(c,{variant:"text","data-testid":`${f}_cancelButton`,className:this.props.classes.actionButton,onClick:this.props.handleClose,color:"primary",children:"Cancel"}),h(c,{variant:"contained","data-testid":`${f}_confirmButton`,className:this.props.classes.actionButton,onClick:this.props.handleOk,disabled:this.props.disableOk||this.props.confirmationText&&this.props.confirmation!==this.state.confirmationTextField,color:"primary",children:this.props.okText})]})}render(){return m(p,{open:this.props.open,onClose:this.props.handleClose,"aria-labelledby":"confirmation-dialog-title",classes:{paper:this.props.classes.paper},children:[h(a,{id:"confirmation-dialog-title",children:this.props.title}),h(s,{children:m(n,{children:[h(e,{variant:"body2",className:this.props.classes.content,children:this.props.text}),this.props.confirmationText&&h(r,{fullWidth:!0,"data-testid":`${f}_input`,label:this.props.confirmationText,value:this.state.confirmationTextField,onChange:t=>this.setState({confirmationTextField:t.target.value}),className:this.props.classes.confirmation})]})}),h(l,{className:this.props.classes.actions,children:this.actions})]})}}u.propTypes={open:i.bool.isRequired,title:i.string,text:i.string.isRequired,confirmationText:i.string,confirmation:i.string,handleClose:i.func,handleOk:i.func,okText:i.string,disableOk:i.bool,isShowCancel:i.bool,classes:i.shape({}).isRequired},u.defaultProps={title:void 0,confirmationText:null,confirmation:"",okText:"Ok",handleOk:()=>{},handleClose:()=>{},disableOk:!1,isShowCancel:!0};var x=o({actionButton:{marginLeft:15},confirmation:{marginTop:10}})(u);export{x as default};
@@ -1 +1 @@
1
- import e from"@babel/runtime/helpers/defineProperty";import t from"@babel/runtime/helpers/objectWithoutProperties";import r from"prop-types";import o from"classnames";import i from"@material-ui/core/ListItemIcon";import{makeStyles as n}from"@material-ui/core";import l from"../MenuItem/index.js";import{jsxs as s,jsx as c}from"react/jsx-runtime";var a=["classes","icon","children","small"];function p(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,o)}return r}function m(t){for(var r=1;r<arguments.length;r++){var o=null!=arguments[r]?arguments[r]:{};r%2?p(Object(o),!0).forEach((function(r){e(t,r,o[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):p(Object(o)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(o,e))}))}return t}var u=n((function(e){return{menuItem:{height:function(e){return e.small?36:54},lineHeight:function(e){return e.small?"17px":"24px"},"&:hover svg":{fill:function(t){return t.disabled?e.palette.primary.text9:e.palette.primary.contrastText}}},listItemIcon:{paddingRight:e.spacing(1),color:function(t){return t.disabled?e.palette.primary.text9:e.palette.primary.text7},minWidth:"auto",fontSize:function(e){return e.small?16:24},"& .MuiSvgIcon-root":{fontSize:"inherit"}}}})),f=function(e){var r=e.classes,n=void 0===r?{}:r,p=e.icon,f=e.children,d=e.small,b=t(e,a),h=u({small:d,disabled:b.disabled});return s(l,m(m({classes:m(m({},n),{},{root:o(h.menuItem,n.root)})},b),{},{children:[c(i,{classes:{root:h.listItemIcon},children:p}),f]}))};f.propTypes={children:r.node.isRequired,icon:r.node.isRequired,small:r.bool},f.defaultProps={small:!1};export{f as default};
1
+ import e from"prop-types";import t from"classnames";import r from"@material-ui/core/ListItemIcon";import{makeStyles as i}from"@material-ui/core";import l from"../MenuItem/index.js";import{jsxs as o,jsx as s}from"react/jsx-runtime";const a=i((e=>({menuItem:{height:e=>{let{small:t}=e;return t?36:54},lineHeight:e=>{let{small:t}=e;return t?"17px":"24px"},"&:hover svg":{fill:t=>{let{disabled:r}=t;return r?e.palette.primary.text9:e.palette.primary.contrastText}}},listItemIcon:{paddingRight:e.spacing(1),color:t=>{let{disabled:r}=t;return r?e.palette.primary.text9:e.palette.primary.text7},minWidth:"auto",fontSize:e=>{let{small:t}=e;return t?16:24},"& .MuiSvgIcon-root":{fontSize:"inherit"}}}))),m=e=>{let{classes:i={},icon:m,children:n,small:p,...c}=e;const d=a({small:p,disabled:c.disabled});return o(l,{classes:{...i,root:t(d.menuItem,i.root)},...c,children:[s(r,{classes:{root:d.listItemIcon},children:m}),n]})};m.propTypes={children:e.node.isRequired,icon:e.node.isRequired,small:e.bool},m.defaultProps={small:!1};export{m as default};
@@ -1 +1 @@
1
- import t from"@babel/runtime/helpers/slicedToArray";import{useState as o,useEffect as e}from"react";import r from"classnames";import i from"prop-types";import{makeStyles as p,Tooltip as n}from"@material-ui/core";import s from"@material-ui/icons/FileCopy";import l from"../../utils/main.js";import{jsx as a}from"react/jsx-runtime";var c=p((function(t){return{icon:{cursor:"pointer"},tooltip:{color:t.palette.primary.text6,backgroundColor:"rgba(20, 20, 20, 0.5)"}}})),m=function(i){var p=i.children,s=i.classes,m=i.dataTestId,u=i.IconComponent,d=i.tooltipProps,f=o(!1),g=t(f,2),y=g[0],b=g[1],C=c();return e((function(){var t=setTimeout((function(){b(!1)}),d.delay);return function(){return clearTimeout(t)}}),[y]),a(n,{classes:{tooltip:r(C.tooltip,s.tooltip),popper:r(C.tooltipPopper,s.tooltipPopper)},title:d.title,open:y,disableFocusListener:!0,disableHoverListener:!0,placement:d.placement,children:a(u,{className:r(C.icon,s.icon),"data-testid":m,onClick:function(){b(!0),l.copyToClipboard(p)}})})};m.propTypes={children:i.string.isRequired,dataTestId:i.string,IconComponent:i.shape({}),tooltipProps:i.shape({title:i.string,placement:i.string,delay:i.number}),classes:i.shape({icon:i.string,tooltip:i.string,tooltipPopper:i.string})},m.defaultProps={dataTestId:null,IconComponent:s,tooltipProps:{title:"Copied",placement:"top",delay:1500},classes:{}};export{m as default};
1
+ import{useState as t,useEffect as o}from"react";import e from"classnames";import r from"prop-types";import{makeStyles as i,Tooltip as p}from"@material-ui/core";import s from"@material-ui/icons/FileCopy";import l from"../../utils/main.js";import{jsx as a}from"react/jsx-runtime";const n=i((t=>({icon:{cursor:"pointer"},tooltip:{color:t.palette.primary.text6,backgroundColor:"rgba(20, 20, 20, 0.5)"}}))),c=r=>{let{children:i,classes:s,dataTestId:c,IconComponent:m,tooltipProps:d}=r;const[u,f]=t(!1),g=n();return o((()=>{const t=setTimeout((()=>{f(!1)}),d.delay);return()=>clearTimeout(t)}),[u]),a(p,{classes:{tooltip:e(g.tooltip,s.tooltip),popper:e(g.tooltipPopper,s.tooltipPopper)},title:d.title,open:u,disableFocusListener:!0,disableHoverListener:!0,placement:d.placement,children:a(m,{className:e(g.icon,s.icon),"data-testid":c,onClick:()=>{f(!0),l.copyToClipboard(i)}})})};c.propTypes={children:r.string.isRequired,dataTestId:r.string,IconComponent:r.shape({}),tooltipProps:r.shape({title:r.string,placement:r.string,delay:r.number}),classes:r.shape({icon:r.string,tooltip:r.string,tooltipPopper:r.string})},c.defaultProps={dataTestId:null,IconComponent:s,tooltipProps:{title:"Copied",placement:"top",delay:1500},classes:{}};export{c as default};
@@ -1 +1 @@
1
- import e from"@babel/runtime/helpers/defineProperty";import r from"@babel/runtime/helpers/objectWithoutProperties";import{makeStyles as t,FormControl as o,InputLabel as n,Select as i}from"@material-ui/core";import l from"prop-types";import p from"classnames";import{jsxs as a,jsx as s}from"react/jsx-runtime";var c=["label","height","children"];function u(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);r&&(o=o.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,o)}return t}function m(r){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?u(Object(o),!0).forEach((function(t){e(r,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(o)):u(Object(o)).forEach((function(e){Object.defineProperty(r,e,Object.getOwnPropertyDescriptor(o,e))}))}return r}var d=t((function(e){return{formControl:{width:"100%",height:function(e){return e}},inputLabel:{color:e.palette.primary.text6,fontSize:"14px",letterSpacing:"0.8px"},select:{background:e.palette.background.b7,"&::before":{borderBottom:"none !important"},"&::after":{borderBottom:"none !important"}},selectedItem:{display:"flex",alignItems:"center"},iconOpen:{color:e.palette.primary.main},paper:{marginTop:function(e){return e+10}},disabled:{color:e.palette.primary.text8}}})),b=function(e){var t,l,u,b=e.label,f=e.height,h=e.children,O=r(e,c),g=d(f);return a(o,{variant:"filled",className:g.formControl,fullWidth:!0,children:[s(n,{className:g.inputLabel,children:b}),s(i,m(m({className:g.select,classes:{select:g.selectedItem,iconOpen:g.iconOpen,disabled:g.disabled}},O),{},{MenuProps:m(m({},(null==O?void 0:O.MenuProps)||{}),{},{classes:m(m({},(null==O||null===(t=O.MenuProps)||void 0===t?void 0:t.classes)||{}),{},{paper:p(g.paper,null==O||null===(l=O.MenuProps)||void 0===l||null===(u=l.classes)||void 0===u?void 0:u.paper)})}),children:h}))]})};b.propTypes={children:l.shape().isRequired,label:l.string.isRequired,height:l.number,MenuProps:l.shape()},b.defaultProps={height:56,MenuProps:{}};export{b as default};
1
+ import{makeStyles as e,FormControl as r,InputLabel as l,Select as t}from"@material-ui/core";import o from"prop-types";import a from"classnames";import{jsxs as i,jsx as n}from"react/jsx-runtime";const s=e((e=>({formControl:{width:"100%",height:e=>e},inputLabel:{color:e.palette.primary.text6,fontSize:"14px",letterSpacing:"0.8px"},select:{background:e.palette.background.b7,"&::before":{borderBottom:"none !important"},"&::after":{borderBottom:"none !important"}},selectedItem:{display:"flex",alignItems:"center"},iconOpen:{color:e.palette.primary.main},paper:{marginTop:e=>e+10},disabled:{color:e.palette.primary.text8}}))),p=e=>{var o,p,c;let{label:d,height:m,children:u,...h}=e;const b=s(m);return i(r,{variant:"filled",className:b.formControl,fullWidth:!0,children:[n(l,{className:b.inputLabel,children:d}),n(t,{className:b.select,classes:{select:b.selectedItem,iconOpen:b.iconOpen,disabled:b.disabled},...h,MenuProps:{...(null==h?void 0:h.MenuProps)||{},classes:{...(null==h||null===(o=h.MenuProps)||void 0===o?void 0:o.classes)||{},paper:a(b.paper,null==h||null===(p=h.MenuProps)||void 0===p||null===(c=p.classes)||void 0===c?void 0:c.paper)}},children:u})]})};p.propTypes={children:o.shape().isRequired,label:o.string.isRequired,height:o.number,MenuProps:o.shape()},p.defaultProps={height:56,MenuProps:{}};export{p as default};
@@ -1 +1 @@
1
- import{createContext as r}from"react";var a=r();export{a as default};
1
+ import{createContext as t}from"react";const o=t();export{o as default};
@@ -1 +1 @@
1
- import e from"@babel/runtime/helpers/defineProperty";import t from"@babel/runtime/helpers/slicedToArray";import{useState as a,useRef as n,useEffect as s}from"react";import{get as i}from"lodash";import r from"prop-types";import o from"classnames";import{Tooltip as l,Typography as d,Box as p}from"@material-ui/core";import"../../Annotations/components/AnnotationsList/index.js";import c from"../../Annotations/components/LastAnnotation/index.js";import"../../Annotations/AnnotationsContext.js";import{SEGMENTS as m}from"../../../constants/segment.js";import{DEV_CENTER_CLI_APP_ID as u}from"../../../constants/devcenter.js";import"../../../constants/goals.js";import"../../../constants/alerts.js";import"../../../constants/apps.js";import"../../../constants/drillstring.js";import"../../../constants/completion.js";import"../../../constants/appPackages.js";import"../../../constants/notifications.js";import"../../../constants/feed.js";import"../../../constants/bha.js";import"../../../utils/env.js";import"../../GradientManager/configuration/constants.js";import{getAppName as f,getAppSegment as g}from"../../../utils/devcenter.js";import{VersionBadge as h}from"./VersionBadge.js";import v from"./PadMode.js";import{APP_LAYOUT_SIZES as b,getAppDimension as A}from"./utils.js";import{SecondaryAssetNameLabel as y}from"../../AssetNameLabel/SecondaryAssetNameLabel.js";import{AssetNameLabel as j}from"../../AssetNameLabel/AssetNameLabel.js";import{PadIcon as L}from"./PadIcon.js";import N from"./AppHeader.css.js";import{useStyles as P}from"./AppHeaderStyles.js";import{jsxs as S,Fragment as O,jsx as _}from"react/jsx-runtime";function w(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function I(t){for(var a=1;a<arguments.length;a++){var n=null!=arguments[a]?arguments[a]:{};a%2?w(Object(n),!0).forEach((function(a){e(t,a,n[a])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):w(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var C="DevCenter_AppHeader",M=function(e){return"/assets/".concat(null==e?void 0:e.asset_id)};function W(e){var r,v,w,W,x,k,D,H,T=e.app,B=e.appLastAnnotation,F=e.appSettings,R=e.badge,q=e.children,z=e.classes,E=e.coordinates,U=e.currentUser,V=e.fracFleet,G=e.isMaximized,J=e.logoSrc,K=e.onSettingChange,Q=e.openAnnotationsList,X=e.primaryAssetStatusBadge,Y=e.rig,Z=e.showLastAnnotation,$=e.updateCurrentDashboardAppLastAnnotation,ee=e.well,te=e.wells,ae=e.PadModeComponent,ne=e.activeWellName,se=a(!1),ie=t(se,2),re=ie[0],oe=ie[1],le=n(null),de=null==E?void 0:E.pixelWidth;s((function(){var e,t;oe((null===(e=le.current)||void 0===e?void 0:e.scrollWidth)>(null===(t=le.current)||void 0===t?void 0:t.offsetWidth))}),[null===(r=le.current)||void 0===r?void 0:r.offsetWidth,de]);var pe=A(de),ce=f(T),me=null==T||null===(v=T.package)||void 0===v||null===(w=v.manifest)||void 0===w||null===(W=w.application)||void 0===W?void 0:W.subtitle,ue=g(T),fe=ue===m.COMPLETION,ge=function(e){var t,a=e.appSettings,n=void 0===a?{}:a,s=e.well,i=e.rig,r=e.fracFleet,o=e.segment,l=o===m.DRILLING,d=o===m.COMPLETION,p=n.wellId,c=n.rigId,u=n.fracFleetId,f=n.padId,g=null==r||null===(t=r.pad_frac_fleets.find((function(e){return e.pad.id===(f||r.current_pad_id)})))||void 0===t?void 0:t.pad,h=l?p&&(null==s?void 0:s.name):null==g?void 0:g.name,v="/assets/types/pad/".concat(f||(null==r?void 0:r.current_pad_id)),b=l?null==i?void 0:i.name:null==r?void 0:r.name,A=!!(p||c||u),y=!1,j=l?b&&M(s):v;return d&&!A&&null!=s&&s.id&&null!=s&&s.name&&(y=!0,A=!0,j=M(s),b=s.name),{isPrimaryAssetStatusVisible:y,isPrimaryNameVisible:A,primaryAssetLink:j,primaryAssetName:b,secondaryAssetLink:l?M(s):"/assets/types/pad/".concat(f||(null==r?void 0:r.current_pad_id)),secondaryAssetName:h}}({appSettings:null==T?void 0:T.settings,well:ee,rig:Y,fracFleet:V,segment:ue}),he=ge.isPrimaryAssetStatusVisible,ve=ge.isPrimaryNameVisible,be=ge.primaryAssetLink,Ae=ge.primaryAssetName,ye=ge.secondaryAssetLink,je=ge.secondaryAssetName,Le=[b.MEDIUM,b.SMALL].includes(pe),Ne=T&&T.id===u,Pe={fracFleet:V,wells:te,well:ee,onSettingChange:K,appSettings:F,disableActiveWellsInPadSelect:null==T||null===(x=T.package)||void 0===x||null===(k=x.manifest)||void 0===k||null===(D=k.application)||void 0===D||null===(H=D.ui)||void 0===H?void 0:H.disableActiveWellsInPadSelect},Se=P({isMobileSize:Le});return S("div",{className:o(Se.appHeaderWrapper,z.appHeader),children:[S("div",{className:Se.appHeaderContainer,children:[S("div",{className:o(Se.titleBlock,z.titleBlock),children:[S("div",{className:z.appHeaderTitleWrapper,ref:le,children:[S("div",{className:Se.titleWrapper,children:[J&&S(O,{children:[_("img",{className:Se.logo,src:J,alt:"company logo"}),_("div",{className:Se.separateLine})]}),_(l,{title:re?ce:"",placement:"bottom",children:_("h6",{"data-testid":"".concat(C,"_name"),className:Se.title,children:ce})}),_(h,{appPackage:null==T?void 0:T.package})]}),R]}),(!Le||J)&&me&&_("h6",{"data-testid":"".concat(C,"_subtitle"),className:Se.subtitle,children:me})]}),T&&E&&S("div",{className:o(N.controlsContainer,G&&N.appMaximized),children:[!Le&&S(O,{children:[fe&&ne&&_(d,{variant:"caption",children:ne}),fe&&_(ae,I({},Pe)),q]}),S("div",{className:N.assetLabels,children:[je&&_(y,{assetName:je,coordinatesPixelWidth:de,dataTestId:"".concat(C,"_secondaryAsset"),href:!Ne&&ye,icon:fe&&_(L,{}),isColored:!fe||T.settings.padId&&T.settings.padId!==V.current_pad_id}),ve&&_(j,{assetName:Ae,coordinatesPixelWidth:de,dataTestId:"".concat(C,"_primaryAsset"),href:!Ne&&(be||"/feed"),statusBadge:he&&X})]})]}),Z&&B&&_(c,{annotation:B,appId:i(T,["app","id"]),currentUser:U,dashboardAppId:T.id,openAnnotationsList:Q,updateCurrentDashboardAppLastAnnotation:$})]}),Le&&me&&!J&&_("h6",{"data-testid":"".concat(C,"_subtitle"),className:Se.subtitle,children:me}),Le&&S(p,{display:"flex",alignItems:"center",mt:1,children:[fe&&!ee&&(te||V)&&_("div",{className:N.padModeSelect,children:_(ae,I({},Pe))}),q]})]})}W.propTypes={app:r.object.isRequired,badge:r.node,classes:r.shape({appHeader:r.string,titleBlock:r.string,appHeaderTitleWrapper:r.string}),showLastAnnotation:r.bool,currentUser:r.shape({}),appLastAnnotation:r.shape({}),updateCurrentDashboardAppLastAnnotation:r.func,openAnnotationsList:r.func,rig:r.shape({name:r.string,asset_id:r.number}),well:r.shape({name:r.string,asset_id:r.number}),fracFleet:r.shape({name:r.string,current_pad_id:r.number,pad_frac_fleets:r.arrayOf(r.shape({pad:r.shape({id:r.number.isRequired}).isRequired})).isRequired}),wells:r.arrayOf(r.shape({})),coordinates:r.shape({pixelWidth:r.number.isRequired}),isMaximized:r.bool,appSettings:r.shape({}),onSettingChange:r.func,children:r.arrayOf(r.node),logoSrc:r.string,primaryAssetStatusBadge:r.node,PadModeComponent:r.elementType,activeWellName:r.string},W.defaultProps={appLastAnnotation:null,appSettings:null,badge:null,children:null,classes:{},coordinates:void 0,currentUser:void 0,fracFleet:null,isMaximized:!1,logoSrc:null,onSettingChange:void 0,openAnnotationsList:void 0,rig:null,showLastAnnotation:!0,updateCurrentDashboardAppLastAnnotation:function(){},well:null,wells:null,primaryAssetStatusBadge:null,PadModeComponent:v,activeWellName:null};export{C as PAGE_NAME,W as default};
1
+ import{useState as e,useRef as t,useEffect as a}from"react";import{get as s}from"lodash";import n from"prop-types";import i from"classnames";import{Tooltip as r,Typography as o,Box as l}from"@material-ui/core";import"../../Annotations/components/AnnotationsList/index.js";import d from"../../Annotations/components/LastAnnotation/index.js";import"../../Annotations/AnnotationsContext.js";import{SEGMENTS as p}from"../../../constants/segment.js";import{DEV_CENTER_CLI_APP_ID as c}from"../../../constants/devcenter.js";import"../../../constants/goals.js";import"../../../constants/alerts.js";import"../../../constants/apps.js";import"../../../constants/drillstring.js";import"../../../constants/completion.js";import"../../../constants/appPackages.js";import"../../../constants/notifications.js";import"../../../constants/feed.js";import"../../../constants/bha.js";import"../../../utils/env.js";import"../../GradientManager/configuration/constants.js";import{getAppName as m,getAppSegment as u}from"../../../utils/devcenter.js";import{VersionBadge as g}from"./VersionBadge.js";import h from"./PadMode.js";import{APP_LAYOUT_SIZES as f,getAppDimension as v}from"./utils.js";import{SecondaryAssetNameLabel as A}from"../../AssetNameLabel/SecondaryAssetNameLabel.js";import{AssetNameLabel as b}from"../../AssetNameLabel/AssetNameLabel.js";import{PadIcon as L}from"./PadIcon.js";import N from"./AppHeader.css.js";import{useStyles as y}from"./AppHeaderStyles.js";import{jsxs as j,Fragment as S,jsx as _}from"react/jsx-runtime";const I="DevCenter_AppHeader",C=e=>`/assets/${null==e?void 0:e.asset_id}`;function P(n){var h,P,M,W,w,x,k,H;let{app:B,appLastAnnotation:T,appSettings:$,badge:D,children:F,classes:O,coordinates:R,currentUser:q,fracFleet:z,isMaximized:U,logoSrc:V,onSettingChange:E,openAnnotationsList:G,primaryAssetStatusBadge:J,rig:K,showLastAnnotation:Q,updateCurrentDashboardAppLastAnnotation:X,well:Y,wells:Z,PadModeComponent:ee,activeWellName:te}=n;const[ae,se]=e(!1),ne=t(null),ie=null==R?void 0:R.pixelWidth;a((()=>{var e,t;se((null===(e=ne.current)||void 0===e?void 0:e.scrollWidth)>(null===(t=ne.current)||void 0===t?void 0:t.offsetWidth))}),[null===(h=ne.current)||void 0===h?void 0:h.offsetWidth,ie]);const re=v(ie),oe=m(B),le=null==B||null===(P=B.package)||void 0===P||null===(M=P.manifest)||void 0===M||null===(W=M.application)||void 0===W?void 0:W.subtitle,de=u(B),pe=de===p.COMPLETION,{isPrimaryAssetStatusVisible:ce,isPrimaryNameVisible:me,primaryAssetLink:ue,primaryAssetName:ge,secondaryAssetLink:he,secondaryAssetName:fe}=(e=>{var t;let{appSettings:a={},well:s,rig:n,fracFleet:i,segment:r}=e;const o=r===p.DRILLING,l=r===p.COMPLETION,{wellId:d,rigId:c,fracFleetId:m,padId:u}=a,g=null==i||null===(t=i.pad_frac_fleets.find((e=>{let{pad:t}=e;return t.id===(u||i.current_pad_id)})))||void 0===t?void 0:t.pad,h=o?d&&(null==s?void 0:s.name):null==g?void 0:g.name,f=`/assets/types/pad/${u||(null==i?void 0:i.current_pad_id)}`;let v=o?null==n?void 0:n.name:null==i?void 0:i.name,A=!!(d||c||m),b=!1,L=o?v&&C(s):f;return l&&!A&&null!=s&&s.id&&null!=s&&s.name&&(b=!0,A=!0,L=C(s),v=s.name),{isPrimaryAssetStatusVisible:b,isPrimaryNameVisible:A,primaryAssetLink:L,primaryAssetName:v,secondaryAssetLink:o?C(s):`/assets/types/pad/${u||(null==i?void 0:i.current_pad_id)}`,secondaryAssetName:h}})({appSettings:null==B?void 0:B.settings,well:Y,rig:K,fracFleet:z,segment:de}),ve=[f.MEDIUM,f.SMALL].includes(re),Ae=B&&B.id===c,be={fracFleet:z,wells:Z,well:Y,onSettingChange:E,appSettings:$,disableActiveWellsInPadSelect:null==B||null===(w=B.package)||void 0===w||null===(x=w.manifest)||void 0===x||null===(k=x.application)||void 0===k||null===(H=k.ui)||void 0===H?void 0:H.disableActiveWellsInPadSelect},Le=y({isMobileSize:ve});return j("div",{className:i(Le.appHeaderWrapper,O.appHeader),children:[j("div",{className:Le.appHeaderContainer,children:[j("div",{className:i(Le.titleBlock,O.titleBlock),children:[j("div",{className:O.appHeaderTitleWrapper,ref:ne,children:[j("div",{className:Le.titleWrapper,children:[V&&j(S,{children:[_("img",{className:Le.logo,src:V,alt:"company logo"}),_("div",{className:Le.separateLine})]}),_(r,{title:ae?oe:"",placement:"bottom",children:_("h6",{"data-testid":`${I}_name`,className:Le.title,children:oe})}),_(g,{appPackage:null==B?void 0:B.package})]}),D]}),(!ve||V)&&le&&_("h6",{"data-testid":`${I}_subtitle`,className:Le.subtitle,children:le})]}),B&&R&&j("div",{className:i(N.controlsContainer,U&&N.appMaximized),children:[!ve&&j(S,{children:[pe&&te&&_(o,{variant:"caption",children:te}),pe&&_(ee,{...be}),F]}),j("div",{className:N.assetLabels,children:[fe&&_(A,{assetName:fe,coordinatesPixelWidth:ie,dataTestId:`${I}_secondaryAsset`,href:!Ae&&he,icon:pe&&_(L,{}),isColored:!pe||B.settings.padId&&B.settings.padId!==z.current_pad_id}),me&&_(b,{assetName:ge,coordinatesPixelWidth:ie,dataTestId:`${I}_primaryAsset`,href:!Ae&&(ue||"/feed"),statusBadge:ce&&J})]})]}),Q&&T&&_(d,{annotation:T,appId:s(B,["app","id"]),currentUser:q,dashboardAppId:B.id,openAnnotationsList:G,updateCurrentDashboardAppLastAnnotation:X})]}),ve&&le&&!V&&_("h6",{"data-testid":`${I}_subtitle`,className:Le.subtitle,children:le}),ve&&j(l,{display:"flex",alignItems:"center",mt:1,children:[pe&&!Y&&(Z||z)&&_("div",{className:N.padModeSelect,children:_(ee,{...be})}),F]})]})}P.propTypes={app:n.object.isRequired,badge:n.node,classes:n.shape({appHeader:n.string,titleBlock:n.string,appHeaderTitleWrapper:n.string}),showLastAnnotation:n.bool,currentUser:n.shape({}),appLastAnnotation:n.shape({}),updateCurrentDashboardAppLastAnnotation:n.func,openAnnotationsList:n.func,rig:n.shape({name:n.string,asset_id:n.number}),well:n.shape({name:n.string,asset_id:n.number}),fracFleet:n.shape({name:n.string,current_pad_id:n.number,pad_frac_fleets:n.arrayOf(n.shape({pad:n.shape({id:n.number.isRequired}).isRequired})).isRequired}),wells:n.arrayOf(n.shape({})),coordinates:n.shape({pixelWidth:n.number.isRequired}),isMaximized:n.bool,appSettings:n.shape({}),onSettingChange:n.func,children:n.arrayOf(n.node),logoSrc:n.string,primaryAssetStatusBadge:n.node,PadModeComponent:n.elementType,activeWellName:n.string},P.defaultProps={appLastAnnotation:null,appSettings:null,badge:null,children:null,classes:{},coordinates:void 0,currentUser:void 0,fracFleet:null,isMaximized:!1,logoSrc:null,onSettingChange:void 0,openAnnotationsList:void 0,rig:null,showLastAnnotation:!0,updateCurrentDashboardAppLastAnnotation:()=>{},well:null,wells:null,primaryAssetStatusBadge:null,PadModeComponent:h,activeWellName:null};export{I as PAGE_NAME,P as default};
@@ -1 +1 @@
1
- import{makeStyles as e}from"@material-ui/core";var t=e((function(e){return{appHeaderWrapper:{width:"100%",marginBottom:8},appHeaderContainer:{display:"flex",justifyContent:"space-between"},titleBlock:{display:"flex",justifyContent:"center",flexDirection:"column",overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",marginRight:16},titleWrapper:{display:"flex",alignItems:"center"},logo:{maxWidth:"130px",maxHeight:"40px"},separateLine:{width:"1px",height:"16px",backgroundColor:e.palette.primary.text9,borderRadius:"1px",margin:"auto 12px"},title:{margin:"0 8px 0 1px",fontSize:"18px",overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",lineHeight:"24px",zIndex:1e3,fontWeight:"bold"},subtitle:{color:"#888",margin:"0 0 0 1px",fontSize:"12px",overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",fontWeight:400,lineHeight:"16px"}}}));export{t as useStyles};
1
+ import{makeStyles as e}from"@material-ui/core";const t=e((e=>{let{palette:t}=e;return{appHeaderWrapper:{width:"100%",marginBottom:8},appHeaderContainer:{display:"flex",justifyContent:"space-between"},titleBlock:{display:"flex",justifyContent:"center",flexDirection:"column",overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",marginRight:16},titleWrapper:{display:"flex",alignItems:"center"},logo:{maxWidth:"130px",maxHeight:"40px"},separateLine:{width:"1px",height:"16px",backgroundColor:t.primary.text9,borderRadius:"1px",margin:"auto 12px"},title:{margin:"0 8px 0 1px",fontSize:"18px",overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",lineHeight:"24px",zIndex:1e3,fontWeight:"bold"},subtitle:{color:"#888",margin:"0 0 0 1px",fontSize:"12px",overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",fontWeight:400,lineHeight:"16px"}}}));export{t as useStyles};
@@ -1 +1 @@
1
- import e from"@babel/runtime/helpers/defineProperty";import{get as t,isEmpty as r,noop as o}from"lodash";import n from"prop-types";import p from"../../PadModeSelect/PadModeSelect.js";import{COMPLETION_APP_TYPES as i}from"../../../constants/completion.js";import{getAssetKey as s,getDefaultPadModeSetting as l}from"../../../utils/completion.js";import{jsx as a}from"react/jsx-runtime";function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,o)}return r}function f(t){for(var r=1;r<arguments.length;r++){var o=null!=arguments[r]?arguments[r]:{};r%2?c(Object(o),!0).forEach((function(r){e(t,r,o[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):c(Object(o)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(o,e))}))}return t}var m=function(o){var n=o.fracFleet,c=o.wells,m=o.well,u=o.onSettingChange,d=o.appSettings,g=o.completionAppType,y=o.disableActiveWellsInPadSelect;if(m||!c&&!n)return null;var b=d.padId,O=g||i.fracMultiWellApp,j=s(n,m,b),h=t(d,["settingsByAsset",j]),P=r(h)?l(n,m,O):h;return a(p,{assets:c,completionAppType:O,disableActiveWellsInPadSelect:y,padModeSetting:P,onChange:function(r){return u("settingsByAsset",f(f({},t(d,"settingsByAsset",{})),{},e({},j,r)))}})};m.propTypes={appSettings:n.shape({padId:n.number}),completionAppType:n.string,fracFleet:n.shape({}),onSettingChange:n.func,well:n.shape({}),wells:n.arrayOf(n.shape())},m.defaultProps={appSettings:{},completionAppType:void 0,fracFleet:void 0,onSettingChange:o,well:void 0,wells:void 0};export{m as default};
1
+ import{get as e,isEmpty as t,noop as p}from"lodash";import s from"prop-types";import o from"../../PadModeSelect/PadModeSelect.js";import{COMPLETION_APP_TYPES as l}from"../../../constants/completion.js";import{getAssetKey as n,getDefaultPadModeSetting as i}from"../../../utils/completion.js";import{jsx as a}from"react/jsx-runtime";const r=p=>{let{fracFleet:s,wells:r,well:c,onSettingChange:d,appSettings:m,completionAppType:f,disableActiveWellsInPadSelect:g}=p;if(c||!r&&!s)return null;const{padId:S}=m,u=f||l.fracMultiWellApp,y=n(s,c,S),A=e(m,["settingsByAsset",y]),h=t(A)?i(s,c,u):A;return a(o,{assets:r,completionAppType:u,disableActiveWellsInPadSelect:g,padModeSetting:h,onChange:t=>d("settingsByAsset",{...e(m,"settingsByAsset",{}),[y]:t})})};r.propTypes={appSettings:s.shape({padId:s.number}),completionAppType:s.string,fracFleet:s.shape({}),onSettingChange:s.func,well:s.shape({}),wells:s.arrayOf(s.shape())},r.defaultProps={appSettings:{},completionAppType:void 0,fracFleet:void 0,onSettingChange:p,well:void 0,wells:void 0};export{r as default};
@@ -1 +1 @@
1
- var A={EXTRA_LARGE:"EXTRA_LARGE",LARGE:"LARGE",MEDIUM:"MEDIUM",SMALL:"SMALL"},E=960,L=600,M=428,R=function(R){return R<=M?A.SMALL:R<=L?A.MEDIUM:R<=E?A.LARGE:A.EXTRA_LARGE};export{A as APP_LAYOUT_SIZES,R as getAppDimension};
1
+ const A={EXTRA_LARGE:"EXTRA_LARGE",LARGE:"LARGE",MEDIUM:"MEDIUM",SMALL:"SMALL"},E=960,L=600,M=428,R=R=>R<=M?A.SMALL:R<=L?A.MEDIUM:R<=E?A.LARGE:A.EXTRA_LARGE;export{A as APP_LAYOUT_SIZES,R as getAppDimension};
@@ -1 +1 @@
1
- import r from"prop-types";import s from"../AppContext.js";import e from"./effects/useAppsData.js";import{jsx as p}from"react/jsx-runtime";function a(r){var a=r.children,d=r.dashboardAssetId,t=r.apps,o=e({apps:t,dashboardAssetId:d});return p(s.Provider,{value:o,children:a})}a.propTypes={children:r.node.isRequired,dashboardAssetId:r.string,apps:r.arrayOf(r.shape({})).isRequired},a.defaultProps={dashboardAssetId:null};export{a as default};
1
+ import r from"prop-types";import s from"../AppContext.js";import e from"./effects/useAppsData.js";import{jsx as p}from"react/jsx-runtime";function t(r){let{children:t,dashboardAssetId:a,apps:d}=r;const o=e({apps:d,dashboardAssetId:a});return p(s.Provider,{value:o,children:t})}t.propTypes={children:r.node.isRequired,dashboardAssetId:r.string,apps:r.arrayOf(r.shape({})).isRequired},t.defaultProps={dashboardAssetId:null};export{t as default};
@@ -1 +1 @@
1
- var L={WELLS:"WELLS",RIGS:"RIGS",FRAC_FLEETS:"FRAC_FLEETS",FRAC_FLEET_WELLS:"FRAC_FLEET_WELLS",PAD_WELLS:"PAD_WELLS"};export{L as APPS_DATA_REQUESTS};
1
+ const L={WELLS:"WELLS",RIGS:"RIGS",FRAC_FLEETS:"FRAC_FLEETS",FRAC_FLEET_WELLS:"FRAC_FLEET_WELLS",PAD_WELLS:"PAD_WELLS"};export{L as APPS_DATA_REQUESTS};
@@ -1 +1 @@
1
- import e from"@babel/runtime/helpers/slicedToArray";import r from"@babel/runtime/helpers/defineProperty";import t from"@babel/runtime/helpers/asyncToGenerator";import n from"@babel/runtime/helpers/toConsumableArray";import a from"@babel/runtime/regenerator";import{keyBy as s,get as i,merge as u}from"lodash";import{ASSET_TYPES as c}from"../../../../constants/assetTypes.js";import{getAppsDataByWells as o,getAppsDataByRigs as p,getAppsDataByFFs as d,getAppsDataByPads as l,prepareDataForResolver as f,fetchWells as b,fetchRigs as m,fetchFracFleets as y,fetchFracFleetWells as h,fetchPadWells as v,isAppWithSettings as w,getAppAssetSpecificTypeId as g,fetchAssetEntitiesByAssetIds as I}from"./utils.js";import{APPS_DATA_REQUESTS as O}from"./constants.js";function F(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,n)}return t}function j(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?F(Object(n),!0).forEach((function(t){r(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):F(Object(n)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))}))}return e}var E=[O.WELLS,O.RIGS,O.FRAC_FLEETS,O.FRAC_FLEET_WELLS,O.PAD_WELLS],L=function(e,r){var t=e.reduce((function(e,t){if(w(t))return e;var n=g(t,"deprecatedAssetId");return e.add(n||r),e}),new Set);return n(t)};function S(e,r){return A.apply(this,arguments)}function A(){return(A=t(a.mark((function e(t,n){var s,i,u,o,p,d,l;return a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(s=n.current.deprecatedAssetData,i=Object.keys(s),(u=t.filter((function(e){return!i.includes(String(e))}))).length){e.next=5;break}return e.abrupt("return",s);case 5:return e.next=7,I(u);case 7:if(o=e.sent){e.next=10;break}return e.abrupt("return",s);case 10:return p={rig:c.rig.id,well:c.well.id},d=Object.values(o).flat().reduce((function(e,t){var n=t.data;return e[n.attributes.asset_id]=r({},p[n.type],n.id),e}),{}),l=j(j({},s),d),n.current.cachedDeprecatedAssetData=l,e.abrupt("return",l);case 15:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function P(e,r,t){return _.apply(this,arguments)}function _(){return(_=t(a.mark((function e(r,t,n){var s;return a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,S(L(r,t),n);case 2:return s=e.sent,e.abrupt("return",r.map((function(e){if(w(e))return e;var r=g(e,"deprecatedAssetId");return j(j({},e),{},{settings:s[r||t]})})));case 4:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function x(e){return D.apply(this,arguments)}function D(){return(D=t(a.mark((function r(t){var n,c,w,g,I,F,L,S,A,_,x,D,W,R,T,k,B,C,q,G,z,H,J,K,M,N,Q,U,V,X;return a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=t.apps,c=t.dashboardAssetId,w=t.cache,g=t.updateCache,I=t.requests,F=void 0===I?E:I,r.next=3,P(n,c,w);case 3:return L=r.sent,S=f(L,w),A=S.appsWellIds,_=S.appsRigIds,x=S.appsFracFleetIds,D=S.appsFracFleetToFetchWellsIds,W=S.appsPadIds,R=S.uniqueWellIds,T=S.uniqueRigIds,k=S.uniqueFFIds,r.next=7,Promise.all([F.includes(O.WELLS)&&b(R),F.includes(O.RIGS)&&m(T),F.includes(O.FRAC_FLEETS)&&y(k),F.includes(O.FRAC_FLEET_WELLS)&&h(D,n),F.includes(O.PAD_WELLS)&&v(W,n)]);case 7:return B=r.sent,C=e(B,5),q=C[0],G=C[1],z=C[2],H=C[3],J=C[4],K=(null==q?void 0:q.data)&&s(q.data.map((function(e){var r=i(e,"relationships.rig.data.id"),t=q.included.find((function(e){return"rig"===e.type&&e.id===r}));return j(j({},e),{},{rig:t})})),"id"),M=(null==G?void 0:G.data)&&s(G.data.map((function(e){var r=i(e,"relationships.active_well.data.id")||i(e,"relationships.last_active_well.data.id"),t=G.included.find((function(e){return"well"===e.type&&e.id===r}));return j(j({},e),{},{well:t})})),"id"),N=z&&s(z,"id"),g({wellsById:K||{},rigsById:M||{},fracFleetsById:N||{}}),Q=o(A,w.current.wellsById),U=p(_,w.current.rigsById),V=d(x,w.current.fracFleetsById,H),X=l(W,J),r.abrupt("return",u(Q,U,V,X));case 23:case"end":return r.stop()}}),r)})))).apply(this,arguments)}export{S as getAppSettingsByDeprecatedAssetId,P as getAppsWithUnifiedSettings,L as getDeprecatedAssetIds,x as resolveAppsData};
1
+ import{keyBy as e,get as t,merge as s}from"lodash";import{ASSET_TYPES as a}from"../../../../constants/assetTypes.js";import{prepareDataForResolver as r,fetchWells as d,fetchRigs as i,fetchFracFleets as n,fetchFracFleetWells as c,fetchPadWells as l,getAppsDataByWells as u,getAppsDataByRigs as o,getAppsDataByFFs as p,getAppsDataByPads as I,isAppWithSettings as f,getAppAssetSpecificTypeId as F,fetchAssetEntitiesByAssetIds as L}from"./utils.js";import{APPS_DATA_REQUESTS as y}from"./constants.js";const E=[y.WELLS,y.RIGS,y.FRAC_FLEETS,y.FRAC_FLEET_WELLS,y.PAD_WELLS],w=(e,t)=>[...e.reduce(((e,s)=>{if(f(s))return e;const a=F(s,"deprecatedAssetId");return e.add(a||t),e}),new Set)];async function g(e,t){const{deprecatedAssetData:s}=t.current,r=Object.keys(s),d=e.filter((e=>!r.includes(String(e))));if(!d.length)return s;const i=await L(d);if(!i)return s;const n={rig:a.rig.id,well:a.well.id},c=Object.values(i).flat().reduce(((e,t)=>{let{data:s}=t;return e[s.attributes.asset_id]={[n[s.type]]:s.id},e}),{}),l={...s,...c};return t.current.cachedDeprecatedAssetData=l,l}async function m(e,t,s){const a=await g(w(e,t),s);return e.map((e=>{if(f(e))return e;const s=F(e,"deprecatedAssetId");return{...e,settings:a[s||t]}}))}async function S(a){let{apps:f,dashboardAssetId:F,cache:L,updateCache:w,requests:g=E}=a;const S=await m(f,F,L),{appsWellIds:_,appsRigIds:A,appsFracFleetIds:h,appsFracFleetToFetchWellsIds:W,appsPadIds:R,uniqueWellIds:B,uniqueRigIds:T,uniqueFFIds:j}=r(S,L),[v,C,D,b,q]=await Promise.all([g.includes(y.WELLS)&&d(B),g.includes(y.RIGS)&&i(T),g.includes(y.FRAC_FLEETS)&&n(j),g.includes(y.FRAC_FLEET_WELLS)&&c(W,f),g.includes(y.PAD_WELLS)&&l(R,f)]);w({wellsById:(null==v?void 0:v.data)&&e(v.data.map((e=>{const s=t(e,"relationships.rig.data.id"),a=v.included.find((e=>"rig"===e.type&&e.id===s));return{...e,rig:a}})),"id")||{},rigsById:(null==C?void 0:C.data)&&e(C.data.map((e=>{const s=t(e,"relationships.active_well.data.id")||t(e,"relationships.last_active_well.data.id"),a=C.included.find((e=>"well"===e.type&&e.id===s));return{...e,well:a}})),"id")||{},fracFleetsById:D&&e(D,"id")||{}});const P=u(_,L.current.wellsById),G=o(A,L.current.rigsById),O=p(h,L.current.fracFleetsById,b),k=I(R,q);return s(P,G,O,k)}export{g as getAppSettingsByDeprecatedAssetId,m as getAppsWithUnifiedSettings,w as getDeprecatedAssetIds,S as resolveAppsData};
@@ -1 +1 @@
1
- import r from"@babel/runtime/helpers/asyncToGenerator";import e from"@babel/runtime/helpers/defineProperty";import t from"@babel/runtime/helpers/slicedToArray";import n from"@babel/runtime/regenerator";import{useState as a,useRef as o,useEffect as u}from"react";import{get as c,keyBy as i,omit as s,mapValues as p,merge as f}from"lodash";import{isDevCenterApp as d}from"../../../../utils/devcenter.js";import{getAppHash as l,getInitialAppsDataState as b}from"./utils.js";import{resolveAppsData as m}from"./dataResolvers.js";import{APPS_DATA_REQUESTS as h}from"./constants.js";function O(r,e){var t=Object.keys(r);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(r);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),t.push.apply(t,n)}return t}function g(r){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?O(Object(n),!0).forEach((function(t){e(r,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(n)):O(Object(n)).forEach((function(e){Object.defineProperty(r,e,Object.getOwnPropertyDescriptor(n,e))}))}return r}function y(e){var O=e.apps,y=e.dashboardAssetId,j=a({}),v=t(j,2),P=v[0],w=v[1],I=o(),A=o({}),D=o({wellsById:{},rigsById:{},fracFleetsById:{},deprecatedAssetData:{}}),E=O.reduce((function(r,e){var t=c(e,["app","ui_settings","multi_rig"]);return d(e)&&!t&&r.push(g(g({},e),{},{appHash:l(e)})),r}),[]),L=function(r){return w((function(e){return p(e,(function(e){var t=r[e.id]||{};return g(g(g({},e),t),{},{isLoading:!1})}))}))},x=function(r){D.current=f(D.current,r)};return u(r(n.mark((function r(){var e,t,a,o;return n.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(e=Object.values(P),E.length||e.length){r.next=3;break}return r.abrupt("return");case 3:if(!(E.length<e.length)){r.next=8;break}return t=i(E,"id"),a=e.find((function(r){return!t[r.id]})).id,w((function(r){return s(r,a)})),r.abrupt("return");case 8:return o=E.filter((function(r){return!P[r.id]||P[r.id].appHash!==r.appHash})),w((function(r){return g(g({},r),b(o))})),r.t0=L,r.next=13,m({apps:E,dashboardAssetId:y,cache:D,updateCache:x});case 13:r.t1=r.sent,(0,r.t0)(r.t1);case 15:case"end":return r.stop()}}),r)}))),[String(E.map((function(r){return r.appHash}))),y]),A.current={apps:E,dashboardAssetId:y,cache:D,updateCache:x},u((function(){return I.current=setInterval((function(){m(g(g({},A.current),{},{requests:[h.FRAC_FLEET_WELLS,h.PAD_WELLS]})).then(L)}),3e5),function(){return clearInterval(I.current)}}),[]),P}export{y as default};
1
+ import{useState as t,useRef as e,useEffect as r}from"react";import{get as s,keyBy as a,omit as n,mapValues as d,merge as i}from"lodash";import{isDevCenterApp as c}from"../../../../utils/devcenter.js";import{getAppHash as o,getInitialAppsDataState as p}from"./utils.js";import{resolveAppsData as u}from"./dataResolvers.js";import{APPS_DATA_REQUESTS as l}from"./constants.js";function h(h){let{apps:m,dashboardAssetId:f}=h;const[g,I]=t({}),v=e(),A=e({}),L=e({wellsById:{},rigsById:{},fracFleetsById:{},deprecatedAssetData:{}}),j=m.reduce(((t,e)=>{const r=s(e,["app","ui_settings","multi_rig"]);return c(e)&&!r&&t.push({...e,appHash:o(e)}),t}),[]),_=t=>I((e=>d(e,(e=>{const r=t[e.id]||{};return{...e,...r,isLoading:!1}})))),b=t=>{L.current=i(L.current,t)};return r((async()=>{const t=Object.values(g);if(!j.length&&!t.length)return;if(j.length<t.length){const e=a(j,"id"),r=t.find((t=>!e[t.id])).id;return void I((t=>n(t,r)))}const e=j.filter((t=>!g[t.id]||g[t.id].appHash!==t.appHash));I((t=>({...t,...p(e)}))),_(await u({apps:j,dashboardAssetId:f,cache:L,updateCache:b}))}),[String(j.map((t=>{let{appHash:e}=t;return e}))),f]),A.current={apps:j,dashboardAssetId:f,cache:L,updateCache:b},r((()=>(v.current=setInterval((()=>{u({...A.current,requests:[l.FRAC_FLEET_WELLS,l.PAD_WELLS]}).then(_)}),3e5),()=>clearInterval(v.current))),[]),g}export{h as default};
@@ -1 +1 @@
1
- import r from"@babel/runtime/helpers/defineProperty";import e from"@babel/runtime/helpers/asyncToGenerator";import t from"@babel/runtime/helpers/slicedToArray";import n from"@babel/runtime/regenerator";import a from"jsona";import{get as s,isEmpty as i,keyBy as u,uniq as c}from"lodash";import{getWells as o,getRigs as l,getFracFleets as p,getFracFleetWells as f,getPadWells as d,getResolvedAssets as m}from"../../../../clients/jsonApi/index.js";import{DEV_CENTER_CLI_APP_ID as v}from"../../../../constants/devcenter.js";import"../../../../constants/goals.js";import"../../../../constants/segment.js";import"../../../../constants/alerts.js";import"../../../../constants/apps.js";import"../../../../constants/drillstring.js";import"../../../../constants/completion.js";import"../../../../constants/appPackages.js";import"../../../../constants/notifications.js";import"../../../../constants/feed.js";import"../../../../constants/bha.js";import{ASSET_TYPES as b}from"../../../../constants/assetTypes.js";import"../../../../utils/env.js";import"../../../GradientManager/configuration/constants.js";import{getAppSegment as h}from"../../../../utils/devcenter.js";function w(r,e){var t=Object.keys(r);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(r);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),t.push.apply(t,n)}return t}function y(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?w(Object(n),!0).forEach((function(t){r(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):w(Object(n)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))}))}return e}var g=new a,j=function(r,e){return+s(r,["settings",e])},_=function(r,e){return c(r.map((function(r){var e=t(r,2);return e[0],e[1]})).filter((function(r){return Number.isFinite(r)&&!e.includes(String(r))})))};function x(r){return k.apply(this,arguments)}function k(){return(k=e(n.mark((function r(e){return n.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(e.length){r.next=2;break}return r.abrupt("return",null);case 2:return r.prev=2,r.next=5,o({ids:e,fields:["well.name","well.settings","well.company","well.asset_id","well.last_active_at","well.id","well.rig","rig.name","rig.asset_id","company.id","well.status"]});case 5:return r.abrupt("return",r.sent);case 8:return r.prev=8,r.t0=r.catch(2),console.error(r.t0),r.abrupt("return",null);case 12:case"end":return r.stop()}}),r,null,[[2,8]])})))).apply(this,arguments)}function O(r){return I.apply(this,arguments)}function I(){return(I=e(n.mark((function r(e){return n.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(e.length){r.next=2;break}return r.abrupt("return",null);case 2:return r.prev=2,r.next=5,l({ids:e,fields:["rig.name","rig.settings","rig.asset_id","rig.active_well","rig.last_active_well","well.name","well.settings","well.company","well.asset_id","well.last_active_at","well.id","well.company.id"]});case 5:return r.abrupt("return",r.sent);case 8:return r.prev=8,r.t0=r.catch(2),console.error(r.t0),r.abrupt("return",null);case 12:case"end":return r.stop()}}),r,null,[[2,8]])})))).apply(this,arguments)}function P(r){return F.apply(this,arguments)}function F(){return(F=e(n.mark((function r(e){return n.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(e.length){r.next=2;break}return r.abrupt("return",null);case 2:return r.prev=2,r.next=5,m({assets:e});case 5:return r.abrupt("return",r.sent);case 8:return r.prev=8,r.t0=r.catch(2),console.error(r.t0),r.abrupt("return",null);case 12:case"end":return r.stop()}}),r,null,[[2,8]])})))).apply(this,arguments)}var B=function(r,e){return{well:r&&y(y({},r.attributes),{},{id:r.id,companyId:s(r,"relationships.company.data.id")}),rig:{name:s(e,"attributes.name"),id:s(e,"id"),asset_id:s(e,"attributes.asset_id")}}},D=function(r,e){return e&&!i(e)?r.reduce((function(r,n){var a=t(n,2),s=a[0],i=a[1],u=e[i];return u?(r[s]=B(u,u.rig),r):r}),{}):{}},T=function(r,e){return e&&!i(e)?r.reduce((function(r,n){var a=t(n,2),s=a[0],i=a[1],u=e[i];return r[s]=B(null==u?void 0:u.well,u),r}),{}):{}},q=function(r,e,n){return e||n?r.reduce((function(r,a){var s=t(a,2),i=s[0],u=s[1],c=null==e?void 0:e[u],o=null==n?void 0:n[i];return r[i]={fracFleet:c,wells:o},r}),{}):{}},z=function(r,e){return r||e?r.reduce((function(r,n){var a=t(n,2),s=a[0];a[1];var i=null==e?void 0:e[s];return r[s]={wells:i},r}),{}):{}};function A(r){return E.apply(this,arguments)}function E(){return(E=e(n.mark((function r(e){var t;return n.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(e.length){r.next=2;break}return r.abrupt("return",null);case 2:return r.prev=2,r.next=5,p({ids:e,fields:["frac_fleet.name","frac_fleet.pads","frac_fleet.current_pad_id","frac_fleet.pad_frac_fleets"]});case 5:return t=r.sent,r.abrupt("return",t?g.deserialize(t):[]);case 9:return r.prev=9,r.t0=r.catch(2),console.error(r.t0),r.abrupt("return",[]);case 13:case"end":return r.stop()}}),r,null,[[2,9]])})))).apply(this,arguments)}function S(r,e){return W.apply(this,arguments)}function W(){return W=e(n.mark((function r(a,i){var c,o,l;return n.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return c=u(i,"id"),o=a.map(function(){var r=e(n.mark((function r(e){var a,i,u,o,l,p;return n.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return a=t(e,2),i=a[0],u=a[1],o={fields:"all",frac_fleet_id:u},l=c[i],i===v?o.app_key=s(l,["app","app_key"]):o.app_id=s(l,["app","id"]),r.prev=4,r.next=7,f(o);case 7:return p=r.sent,r.abrupt("return",p?g.deserialize(p):[]);case 11:return r.prev=11,r.t0=r.catch(4),console.error(r.t0),r.abrupt("return",[]);case 15:case"end":return r.stop()}}),r,null,[[4,11]])})));return function(e){return r.apply(this,arguments)}}()),r.next=4,Promise.all(o);case 4:return l=r.sent,r.abrupt("return",l.reduce((function(r,e,t){return r[a[t][0]]=e,r}),{}));case 6:case"end":return r.stop()}}),r)}))),W.apply(this,arguments)}function G(r,e){return R.apply(this,arguments)}function R(){return R=e(n.mark((function r(a,i){var c,o,l;return n.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return c=u(i,"id"),o=a.map(function(){var r=e(n.mark((function r(e){var a,i,u,o,l,p;return n.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return a=t(e,2),i=a[0],u=a[1],o={fields:"all"},l=c[i],i===v?o.app_key=s(l,["app","app_key"]):o.app_id=s(l,["app","id"]),r.prev=4,r.next=7,d(u,o);case 7:return p=r.sent,r.abrupt("return",p?g.deserialize(p):[]);case 11:return r.prev=11,r.t0=r.catch(4),console.error(r.t0),r.abrupt("return",[]);case 15:case"end":return r.stop()}}),r,null,[[4,11]])})));return function(e){return r.apply(this,arguments)}}()),r.next=4,Promise.all(o);case 4:return l=r.sent,r.abrupt("return",l.reduce((function(r,e,t){return r[a[t][0]]=e,r}),{}));case 6:case"end":return r.stop()}}),r)}))),R.apply(this,arguments)}var H=function(r){return[r.id,j(r,b.well.id),j(r,b.rig.id),j(r,b.frac_fleet.id),j(r,b.pad.id),j(r,"deprecatedAssetId"),h(r)].join("-")},L=function(r){return Boolean(j(r,b.well.id)||j(r,b.rig.id)||j(r,b.frac_fleet.id)||j(r,b.pad.id))},M=function(r){return{id:r.id,rig:null,well:null,fracFleet:null,wells:null,isLoading:!0,appHash:H(r)}},N=function(e){return e.reduce((function(e,t){return y(y({},e),{},r({},t.id,M(t)))}),{})},C=function(r,e){var t=[],n=[],a=[],s=[],i=[],u=[];r.forEach((function(r){var e=j(r,b.well.id),c=j(r,b.rig.id),o=j(r,b.frac_fleet.id),l=j(r,b.pad.id),p=r.id;u.push([p]),e?t.push([p,e]):c?n.push([p,c]):o&&(a.push([p,o]),l?i.push([p,l]):s.push([p,o]))}));var c=e.current,o=c.rigsById,l=c.wellsById,p=c.fracFleetsById,f=_(t,Object.keys(l)),d=_(n,Object.keys(o)),m=_(a,Object.keys(p));return{appsWellIds:t,appsRigIds:n,appsFracFleetIds:a,appsPadIds:i,appIds:u,appsFracFleetToFetchWellsIds:s,uniqueWellIds:f,uniqueRigIds:d,uniqueFFIds:m}};export{P as fetchAssetEntitiesByAssetIds,S as fetchFracFleetWells,A as fetchFracFleets,G as fetchPadWells,O as fetchRigs,x as fetchWells,j as getAppAssetSpecificTypeId,H as getAppHash,q as getAppsDataByFFs,z as getAppsDataByPads,T as getAppsDataByRigs,D as getAppsDataByWells,M as getInitialAppData,N as getInitialAppsDataState,_ as getUniqAssetIds,L as isAppWithSettings,C as prepareDataForResolver};
1
+ import e from"jsona";import{get as t,isEmpty as s,keyBy as r,uniq as n}from"lodash";import{getWells as l,getRigs as i,getFracFleets as a,getFracFleetWells as c,getPadWells as o,getResolvedAssets as d}from"../../../../clients/jsonApi/index.js";import{DEV_CENTER_CLI_APP_ID as p}from"../../../../constants/devcenter.js";import"../../../../constants/goals.js";import"../../../../constants/segment.js";import"../../../../constants/alerts.js";import"../../../../constants/apps.js";import"../../../../constants/drillstring.js";import"../../../../constants/completion.js";import"../../../../constants/appPackages.js";import"../../../../constants/notifications.js";import"../../../../constants/feed.js";import"../../../../constants/bha.js";import{ASSET_TYPES as u}from"../../../../constants/assetTypes.js";import"../../../../utils/env.js";import"../../../GradientManager/configuration/constants.js";import{getAppSegment as f}from"../../../../utils/devcenter.js";const m=new e,w=(e,s)=>+t(e,["settings",s]),g=(e,t)=>n(e.map((e=>{let[t,s]=e;return s})).filter((e=>Number.isFinite(e)&&!t.includes(String(e)))));async function _(e){if(!e.length)return null;try{return await l({ids:e,fields:["well.name","well.settings","well.company","well.asset_id","well.last_active_at","well.id","well.rig","rig.name","rig.asset_id","company.id","well.status"]})}catch(e){return console.error(e),null}}async function y(e){if(!e.length)return null;try{return await i({ids:e,fields:["rig.name","rig.settings","rig.asset_id","rig.active_well","rig.last_active_well","well.name","well.settings","well.company","well.asset_id","well.last_active_at","well.id","well.company.id"]})}catch(e){return console.error(e),null}}async function h(e){if(!e.length)return null;try{return await d({assets:e})}catch(e){return console.error(e),null}}const j=(e,s)=>({well:e&&{...e.attributes,id:e.id,companyId:t(e,"relationships.company.data.id")},rig:{name:t(s,"attributes.name"),id:t(s,"id"),asset_id:t(s,"attributes.asset_id")}}),I=(e,t)=>t&&!s(t)?e.reduce(((e,s)=>{let[r,n]=s;const l=t[n];return l?(e[r]=j(l,l.rig),e):e}),{}):{},v=(e,t)=>t&&!s(t)?e.reduce(((e,s)=>{let[r,n]=s;const l=t[n];return e[r]=j(null==l?void 0:l.well,l),e}),{}):{},F=(e,t,s)=>t||s?e.reduce(((e,r)=>{let[n,l]=r;const i=null==t?void 0:t[l],a=null==s?void 0:s[n];return e[n]={fracFleet:i,wells:a},e}),{}):{},b=(e,t)=>e||t?e.reduce(((e,s)=>{let[r,n]=s;const l=null==t?void 0:t[r];return e[r]={wells:l},e}),{}):{};async function k(e){if(!e.length)return null;try{const t=await a({ids:e,fields:["frac_fleet.name","frac_fleet.pads","frac_fleet.current_pad_id","frac_fleet.pad_frac_fleets"]});return t?m.deserialize(t):[]}catch(e){return console.error(e),[]}}async function B(e,s){const n=r(s,"id"),l=e.map((async e=>{let[s,r]=e;const l={fields:"all",frac_fleet_id:r},i=n[s];s===p?l.app_key=t(i,["app","app_key"]):l.app_id=t(i,["app","id"]);try{const e=await c(l);return e?m.deserialize(e):[]}catch(e){return console.error(e),[]}}));return(await Promise.all(l)).reduce(((t,s,r)=>(t[e[r][0]]=s,t)),{})}async function P(e,s){const n=r(s,"id"),l=e.map((async e=>{let[s,r]=e;const l={fields:"all"},i=n[s];s===p?l.app_key=t(i,["app","app_key"]):l.app_id=t(i,["app","id"]);try{const e=await o(r,l);return e?m.deserialize(e):[]}catch(e){return console.error(e),[]}}));return(await Promise.all(l)).reduce(((t,s,r)=>(t[e[r][0]]=s,t)),{})}const q=e=>[e.id,w(e,u.well.id),w(e,u.rig.id),w(e,u.frac_fleet.id),w(e,u.pad.id),w(e,"deprecatedAssetId"),f(e)].join("-"),z=e=>Boolean(w(e,u.well.id)||w(e,u.rig.id)||w(e,u.frac_fleet.id)||w(e,u.pad.id)),O=e=>({id:e.id,rig:null,well:null,fracFleet:null,wells:null,isLoading:!0,appHash:q(e)}),W=e=>e.reduce(((e,t)=>({...e,[t.id]:O(t)})),{}),x=(e,t)=>{const s=[],r=[],n=[],l=[],i=[],a=[];e.forEach((e=>{const t=w(e,u.well.id),c=w(e,u.rig.id),o=w(e,u.frac_fleet.id),d=w(e,u.pad.id),p=e.id;a.push([p]),t?s.push([p,t]):c?r.push([p,c]):o&&(n.push([p,o]),d?i.push([p,d]):l.push([p,o]))}));const{rigsById:c,wellsById:o,fracFleetsById:d}=t.current,p=g(s,Object.keys(o)),f=g(r,Object.keys(c)),m=g(n,Object.keys(d));return{appsWellIds:s,appsRigIds:r,appsFracFleetIds:n,appsPadIds:i,appIds:a,appsFracFleetToFetchWellsIds:l,uniqueWellIds:p,uniqueRigIds:f,uniqueFFIds:m}};export{h as fetchAssetEntitiesByAssetIds,B as fetchFracFleetWells,k as fetchFracFleets,P as fetchPadWells,y as fetchRigs,_ as fetchWells,w as getAppAssetSpecificTypeId,q as getAppHash,F as getAppsDataByFFs,b as getAppsDataByPads,v as getAppsDataByRigs,I as getAppsDataByWells,O as getInitialAppData,W as getInitialAppsDataState,g as getUniqAssetIds,z as isAppWithSettings,x as prepareDataForResolver};
@@ -1 +1 @@
1
- import t from"@babel/runtime/helpers/defineProperty";import e from"@babel/runtime/helpers/slicedToArray";import{useContext as o,useState as i}from"react";import r from"classnames";import{pickBy as s,pick as n,noop as p}from"lodash";import{useTheme as a}from"@material-ui/core";import{BugReport as m}from"@material-ui/icons";import l from"../../Icons/AnnotationIcon.js";import d from"../../Annotations/components/AnnotationsList/index.js";import"../../Annotations/components/LastAnnotation/index.js";import{AnnotationsProvider as c}from"../../Annotations/AnnotationsContext.js";import{jsx as j,jsxs as u,Fragment as C}from"react/jsx-runtime";import g from"./components/AppActions/AppActions.js";import A from"./components/AppSettingsDialog/AppSettingsDialog.js";import"./components/AppSettingsDialog/components/RemoveAppButton.js";import"./components/AnnotationsButton/AnnotationsButton.js";import f from"./components/NonPriorityMenus/NonPriorityMenus.js";import b from"./components/FullscreenButton/FullscreenButton.js";import"./components/AppInfoMessage/AppInfoMessage.js";import S from"./components/DevCenterAppView/DevCenterAppView.js";import{DcFullscreenElemsCoordinatorProvider as h}from"./components/DcFullscreenElemsCoordinatorProvider/DcFullscreenElemsCoordinatorProvider.js";import"./components/DcFullscreenElemsCoordinatorProvider/IsInsideDcFullscreenElemProvider.js";import{IsInsideDcAppProvider as I}from"./components/IsInsideDcAppProvider/IsInsideDcAppProvider.js";import{isNativeDetected as v,isMobileDetected as P}from"../../../utils/mobileDetect.js";import x from"../../IconButton/index.js";import"../../Modal/CorvaModal.css.js";import"uuid";import"../../IconMenu/index.js";import"../../StyledMenuItem/index.js";import"../../AppIcon/AppIcon.js";import"../AppHeader/AppHeader.js";import"../AppSideBar/AppSideBar.js";import"../AppsDataProvider/AppsDataProvider.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 D from"../../../effects/useDevCenterApp.js";import"../../../utils/index.js";import"jsona";import"../../../constants/segment.js";import"../../../utils/env.js";import{DEV_CENTER_CLI_APP_ID as y}from"../../../constants/devcenter.js";import"../../../constants/goals.js";import"../../../constants/alerts.js";import"../../../constants/apps.js";import"../../../constants/drillstring.js";import"../../../constants/completion.js";import"../../../constants/appPackages.js";import"../../../constants/notifications.js";import"../../../constants/feed.js";import"../../../constants/bha.js";import"../../GradientManager/configuration/constants.js";import"../../StatusBadge/constants.js";import"@babel/runtime/helpers/toConsumableArray";import"lodash/set";import"lodash/get";import"lodash/unset";import"moment";import"../../../clients/api/apiCore.js";import"../../../clients/constants.js";import{getAppSegment as T,getAppName as M,getTimestampFromQuery as E}from"../../../utils/devcenter.js";import{HelpCenterIcon as B}from"../../HelpCenter/HelpCenterIcon.js";import L from"./effects/useAppSettings.js";import k from"./effects/useAnnotationsList.js";import O from"./effects/useAnnotationsData.js";import F from"./effects/useAppMaximized.js";import V from"../AppContext.js";import w from"./DevCenterAppContainer.css.js";import R from"./components/RestoreAppSizeButton/index.js";import{getAppVersion as W,getAppAvailability as H}from"./utils.js";import z from"./components/PriorityMenus/PriorityMenus.js";import{DevCenterRouterContext as N}from"../DevCenterRouterContext/DevCenterRouterContext.js";import"../DevCenterRouterContext/UniversalLink/UniversalLink.js";import"@babel/runtime/helpers/objectWithoutProperties";import"react-router";import{RollbarWrapper as G}from"./components/RollbarWrapper/RollbarWrapper.js";import"../NavigationBar/NavigationBar.js";import"../SideBar/SideBar.js";import"../AppSettingsPopover/AppSettingsPopover.js";import"../AppFilterPanelLayout/AppFilterPanelLayout.js";import"../IsolatedDevCenterAppContainer/DevCenterIsolatedAppPage.js";import"../IsolatedDevCenterAppContainer/DevCenterIsolatedApp.js";import"../../AssetEditor/index.js";import"../../AssetEditorV2/index.js";import"../../AppVersionsSelect/AppVersionsSelect.js";import"../../LoadingIndicator/LoadingIndicator.js";import"../../Typography.js";import"../../RealTimeValuesSidebar/RealTimeSidebar.js";import"../../CollapsableSidebar.js";import"../../DateTimePicker/index.js";import"../../DatePicker/index.js";import"../../ErrorBoundary/ErrorBoundary.js";import"../../ErrorBoundary/DevCenterAppErrorView/DevCenterAppErrorView.js";import"../../SlateFormattedText/SlateFormattedText.js";import"../../SlateFormattedText/RenderElements.js";import"@babel/runtime/helpers/typeof";import"slate";import"../../EmptyState/EmptyState.js";import"../../ParameterCharts/ParameterCharts.js";import"../../ParameterCharts/AddEditTrack.js";import"../../ChartActionsList/ChartActionsList.js";import"../../CopyToClipboard/CopyToClipboard.js";import"../../AssetEditor/AssetEditorAutocomplete.js";import"../../AssetEditor/SingleAssetEditor.js";import"../../SettingEditors/ColorEditor/index.js";import"../../SettingEditors/DropdownEditor/index.js";import"../../SettingEditors/RadioEditor/index.js";import"../../SwitchControl/index.js";import"../../ColorPicker/ColorPicker.js";import"../../Chart/components/ChartButton.js";import"../../Chart/components/ChartButtons.js";import"../../Chart/components/ChartWrapper.js";import"../../Chart/components/AxisDropdown.js";import"../../Chart/components/ChartSelect.js";import"../../Chart/components/buttons/DragToZoomButton.js";import"../../Chart/components/buttons/ZoomInButton.js";import"../../Chart/components/buttons/ZoomOutButton.js";import"../../Chart/components/buttons/PanButton.js";import"../../Chart/components/buttons/ResetZoomButton.js";import"../../Chart/components/buttons/HideAxesButton.js";import"../../Chart/components/buttons/ChartTypeButton.js";import"../../ColorPicker/PaletteChromePicker/PaletteChromePicker.js";import"../../TruncatedText/index.js";import"../../MiddleTruncatedText/MiddleTruncatedText.js";import"../../RangeSlider/RangeSlider.js";import"../../AdvancedSlider/AdvancedSlider.js";import"../../Breadcrumbs/index.js";import"../../VirtualizedTable/index.js";import"../../EmptyView/EmptyView.js";import"../../EmptyView/EmptyAppView/EmptyAppView.js";import"../../Button/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"../../TextField/index.js";import"../../Chip/index.js";import"../../Counter/index.js";import"../../AnchorsList/AnchorsList.js";import"../../Select/index.js";import"../../Select/SelectFilterBy.js";import"../../CustomSelect/index.js";import"../../Tabs/Tabs.js";import"../../Tabs/Tab.js";import"../../ResizableTable/ResizableTable.js";import"@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"../../Drillstring/BHASchematic.js";import"../../Drillstring/BHATable/index.js";import"../../Drillstring/BHAComponentIcon.js";import"../../Drillstring/BHAComponentDetail/index.js";import"../../Drillstring/BHATileIcon.js";import"../../Drillstring/BHATile/BHATile.js";import"../../Drillstring/BHAList/BHAList.js";import"../../Drillstring/BHAComponentsTable/BHAComponentsTable.js";import"../../Casing/CasingTable/index.js";import"../../Casing/CasingComponentIcon.js";import"../../Casing/CasingTileIcon.js";import"../../Casing/CasingTableV2/CasingTableV2.js";import"../../Casing/CasingTile/CasingTile.js";import"../../DisabledSettingsMessage/DisabledSettingsMessage.js";import"../../WellSummary/WellSummaryItemLabel.js";import"../../WellSummary/WellSummaryItemTitle.js";import"../../WellSummary/WellSummaryItemValue.js";import"../../WellSummary/ActivitySummaryChart.js";import"../../WellSummary/FracWirelineTimeChart.js";import"../../BICOffsetPickerDialog/index.js";import"../../OffsetWellButton/OffsetWellButton.js";import"../../OffsetWellPickerV2/OffsetWellPickerDialog.js";import"../../OffsetWellPickerV3/index.js";import"../../OffsetWellChips/Chip.js";import"../../OffsetWellChips/ChipsContainer.js";import"../../OffsetWellPickerV4/OffsetWellPickerV4.js";import"../../OffsetWellMap/OffsetWellMap.js";import"@material-ui/core/Snackbar";import"../../Notifications/Toast.js";import"../../Toaster/Toaster.js";import{ToastContainer as _}from"../../Toaster/ToastContainer.js";import"../../ConfirmationDialog.js";import"../../TextLink/index.js";import"../../Avatar/index.js";import"../../Template/TemplatePopover/index.js";import"../../Template/TemplateSharingDialog/index.js";import"../../MenuItem/index.js";import"../../MiddleTruncate/MiddleTruncate.js";import"../../PadModeSelect/PadModeSelect.js";import"../../PinnableFilters/PinnableFilters.js";import"../../HeaderLayout/HeaderLayout.js";import"../../PadOffsetsPicker/PadOffsetsPicker.js";import"../../PadOffsetsPicker/OffsetAssetChip.js";import"../../PadOffsetsPicker/OffsetAssetsListExpander.js";import"../../PadOffsetsPicker/StagesSelector.js";import"../../PadOffsetsPickerV2/PadOffsetsPickerV2.js";import"../../Table/TableToolbar/TableToolbar.js";import"../../Table/TableContainer/TableContainer.js";import"../../Table/TableCell/TableCell.js";import"../../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"../../AssetEditorV2/components/PrimaryAssetSelect.js";import"../../AssetEditorV2/components/SecondaryAssetSelect.js";import"../../AssetEditorV2/components/SelectItem.js";import"../../AssetEditorV2/components/MultipleAssetsToggle.js";import"../../AssetEditorV2/components/PrimaryAssetSelectV2.js";import"../../EChartsWrapper/EChartsWrapper.js";import{showSuccessNotification as U}from"../../../utils/notificationToasts.js";function Z(t,e){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),o.push.apply(o,i)}return o}function q(e){for(var o=1;o<arguments.length;o++){var i=null!=arguments[o]?arguments[o]:{};o%2?Z(Object(i),!0).forEach((function(o){t(e,o,i[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):Z(Object(i)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))}))}return e}var K=v||P,J="DevCenter_AppContainer";function Q(t){var P,Z,Q,X,Y,$,tt,et,ot,it,rt,st=t.CLIAppComponent,nt=t.CLIAppSettings,pt=t.app,at=t.appId,mt=t.className,lt=t.coordinates,dt=t.currentDashboardAppsLastAnnotations,ct=t.currentUser,jt=t.devCenterRouter,ut=t.isActionsDisabled,Ct=t.isSettingsDialogHidden,gt=t.layoutEnvironment,At=t.onAppContainerClick,ft=void 0===At?p:At,bt=t.onAppRemove,St=t.onReportBugClick,ht=t.onCloneDashboard,It=t.onHelpCenterClick,vt=t.onIsMaximizedChange,Pt=t.onSettingChange,xt=t.onSettingsChange,Dt=t.openIntercom,yt=void 0===Dt?p:Dt,Tt=t.setIsFullscreenModalMode,Mt=void 0===Tt?p:Tt,Et=t.timestamp,Bt=t.updateCurrentDashboardAppLastAnnotation,Lt=o(V),kt=a(),Ot=i([]),Ft=e(Ot,2),Vt=Ft[0],wt=Ft[1],Rt=i([]),Wt=e(Rt,2),Ht=Wt[0],zt=Wt[1],Nt=null!==(P=null==Lt?void 0:Lt[at||pt.id])&&void 0!==P?P:{isLoading:!0},Gt=null===(Z=pt.package)||void 0===Z||null===(Q=Z.manifest)||void 0===Q?void 0:Q.application,_t=T(pt),Ut=!(null==Gt||null===(X=Gt.ui)||void 0===X||!X.multi_rig),Zt=M(pt),qt=F({onIsMaximizedChange:vt,devCenterRouter:jt,appId:at}),Kt=qt.isMaximized,Jt=qt.setIsMaximized,Qt=Et||E(null===(Y=jt.location.query)||void 0===Y?void 0:Y.query),Xt=pt.id===y,Yt=Xt&&K?q(q({},lt),{},{w:12}):lt,$t=D({CLIAppComponent:st,CLIAppSettings:nt,app:pt,version:W(pt)}),te=$t.isLoading,ee=$t.AppSettings,oe=$t.AppComponent,ie=L({setIsFullscreenModalMode:Mt}),re=ie.isAppSettingsDialogOpened,se=ie.toggleAppSettingsDialog,ne=k(),pe=ne.isAnnotationsListOpened,ae=ne.toggleAnnotationsList,me=te||!ct||!Ut&&Nt.isLoading,le=O({app:pt,appData:Nt,currentDashboardAppsLastAnnotations:dt}),de=le.appLastAnnotation,ce=le.assetCompanyId,je=le.assetIdForAnnotation,ue=le.isAppSupportsAnnotations,Ce=s(n(Nt,["well","rig","fracFleet","wells"]),Boolean);return j(G,{companyId:null==pt||null===($=pt.app)||void 0===$?void 0:$.company_id,appKey:null==Gt?void 0:Gt.key,isCLIApp:Xt,rollbarManifestConfig:null==pt||null===(tt=pt.package)||void 0===tt||null===(et=tt.manifest)||void 0===et||null===(ot=et.settings)||void 0===ot?void 0:ot.rollbar,children:j(N.Provider,{value:jt,children:j(h,{setIsFullscreenModalMode:Mt,children:j(I,{value:!0,children:u("div",{className:r("dc-app-container",mt,Kt&&"dc-app-container__maximized",kt.isLightTheme&&"dc-app-container__light-theme",w.container),"data-testid":"".concat(J,"_").concat(pt.app.name),onClick:function(){return ft()},children:[j(_,{}),j("div",{className:w.containerContent,children:j(S,{AppComponent:oe,app:pt,appData:Ce,isAppLoading:te,availability:H(pt.availability,ct.company.with_subscription),isCLIApp:Xt,isLoading:me,isMultiRig:Ut,layoutEnvironment:gt,openIntercom:yt,segment:_t,toggleAppSettingsDialog:se,appProps:{coordinates:Yt,currentUser:ct,devCenterRouter:jt,onSettingChange:Pt,onSettingsChange:xt,segment:_t,setIsFullscreenModalMode:Mt,setIsMaximized:Jt,setMainMenuItems:wt,setSecondaryMenuItems:zt,toggleAppSettingsDialog:se,appHeaderProps:q({app:pt,appLastAnnotation:de,appSettings:pt.settings,coordinates:Yt,currentUser:ct,isMaximized:Kt,layoutEnvironment:gt,onSettingChange:Pt,toggleAnnotationsList:ae,updateCurrentDashboardAppLastAnnotation:Bt},Ce),isNative:v,layoutEnvironment:gt,timestamp:Qt}})}),re&&j(A,{AppSettingsComponent:ee,app:pt,appData:Nt,appName:Zt,currentUser:ct,isMultiRig:Ut,isSettingsDialogHidden:Ct,layoutEnvironment:gt,onAppRemove:bt,onCloneDashboard:ht,onSettingChange:Pt,onSettingsChange:xt,openIntercom:yt,rigId:null!==(it=null===(rt=Nt.rig)||void 0===rt?void 0:rt.id)&&void 0!==it?it:null,timestamp:Qt,toggleAppSettingsDialog:se}),pe&&j(c,{children:j(d,{appId:pt.app.id,appSettings:pt.settings,appTitle:pt.name,assetCompanyId:ce,assetId:je,currentUser:ct,onClose:ae,showSuccessNotification:U})}),!ut&&Kt&&j(R,{setIsMaximized:Jt}),!ut&&u(g,{children:[ue&&j(x,{"data-testid":"".concat(J,"_addAnnotation"),className:w.footerIconButton,tooltipProps:{title:!K&&"Add Annotation"},onClick:ae,children:j(l,{})}),St&&!Xt&&j(x,{onClick:function(){return St()},className:w.footerIconButton,tooltipProps:{title:!K&&"Report Bug"},children:j(m,{})}),j(x,{"data-testid":"".concat(J,"_helpContent"),onClick:function(){return It()},className:w.footerIconButton,disabled:Xt,tooltipProps:{title:!K&&"Help Center"},children:j(B,{appId:pt.app.id,helpContentUpdatedAt:pt.help_content_updated_at})}),K&&!Kt?j(b,{setIsMaximized:Jt}):u(C,{children:[j(z,{menuItems:Vt,devCenterRouter:jt,isMobileView:K}),j(f,{devCenterRouter:jt,isMaximized:Kt,isMobileView:K,menuItems:Ht,setIsFullscreenModalMode:Mt,setIsMaximized:Jt,toggleAppSettingsDialog:se})]})]})]})})})})})}export{Q as default};
1
+ import{useContext as t,useState as e}from"react";import o from"classnames";import{pickBy as i,pick as r,noop as s}from"lodash";import{useTheme as n}from"@material-ui/core";import{BugReport as p}from"@material-ui/icons";import a from"../../Icons/AnnotationIcon.js";import m from"../../Annotations/components/AnnotationsList/index.js";import"../../Annotations/components/LastAnnotation/index.js";import{AnnotationsProvider as l}from"../../Annotations/AnnotationsContext.js";import{jsx as d,jsxs as c,Fragment as j}from"react/jsx-runtime";import u from"./components/AppActions/AppActions.js";import C from"./components/AppSettingsDialog/AppSettingsDialog.js";import"./components/AppSettingsDialog/components/RemoveAppButton.js";import"./components/AnnotationsButton/AnnotationsButton.js";import g from"./components/NonPriorityMenus/NonPriorityMenus.js";import A from"./components/FullscreenButton/FullscreenButton.js";import"./components/AppInfoMessage/AppInfoMessage.js";import f from"./components/DevCenterAppView/DevCenterAppView.js";import{DcFullscreenElemsCoordinatorProvider as S}from"./components/DcFullscreenElemsCoordinatorProvider/DcFullscreenElemsCoordinatorProvider.js";import"./components/DcFullscreenElemsCoordinatorProvider/IsInsideDcFullscreenElemProvider.js";import{IsInsideDcAppProvider as I}from"./components/IsInsideDcAppProvider/IsInsideDcAppProvider.js";import{isNativeDetected as h,isMobileDetected as v}from"../../../utils/mobileDetect.js";import P from"../../IconButton/index.js";import"../../Modal/CorvaModal.css.js";import"uuid";import"../../IconMenu/index.js";import"../../StyledMenuItem/index.js";import"../../AppIcon/AppIcon.js";import"../AppHeader/AppHeader.js";import"../AppSideBar/AppSideBar.js";import"../AppsDataProvider/AppsDataProvider.js";import"querystring";import"uuid/v1";import"query-string";import"../../../clients/api/apiCore.js";import"../../../clients/constants.js";import"../../../clients/subscriptions.js";import x from"../../../effects/useDevCenterApp.js";import"../../../utils/index.js";import"jsona";import"../../../constants/segment.js";import"../../../utils/env.js";import{DEV_CENTER_CLI_APP_ID as b}from"../../../constants/devcenter.js";import"../../../constants/goals.js";import"../../../constants/alerts.js";import"../../../constants/apps.js";import"../../../constants/drillstring.js";import"../../../constants/completion.js";import"../../../constants/appPackages.js";import"../../../constants/notifications.js";import"../../../constants/feed.js";import"../../../constants/bha.js";import"../../GradientManager/configuration/constants.js";import"../../StatusBadge/constants.js";import"lodash/set";import"lodash/get";import"lodash/unset";import"moment";import{getAppSegment as D,getAppName as T,getTimestampFromQuery as M}from"../../../utils/devcenter.js";import{HelpCenterIcon as y}from"../../HelpCenter/HelpCenterIcon.js";import E from"./effects/useAppSettings.js";import B from"./effects/useAnnotationsList.js";import L from"./effects/useAnnotationsData.js";import k from"./effects/useAppMaximized.js";import F from"../AppContext.js";import V from"./DevCenterAppContainer.css.js";import R from"./components/RestoreAppSizeButton/index.js";import{getAppVersion as W,getAppAvailability as w}from"./utils.js";import H from"./components/PriorityMenus/PriorityMenus.js";import{DevCenterRouterContext as O}from"../DevCenterRouterContext/DevCenterRouterContext.js";import"../DevCenterRouterContext/UniversalLink/UniversalLink.js";import"react-router";import{RollbarWrapper as z}from"./components/RollbarWrapper/RollbarWrapper.js";import"../NavigationBar/NavigationBar.js";import"../SideBar/SideBar.js";import"../AppSettingsPopover/AppSettingsPopover.js";import"../AppFilterPanelLayout/AppFilterPanelLayout.js";import"../IsolatedDevCenterAppContainer/DevCenterIsolatedAppPage.js";import"../IsolatedDevCenterAppContainer/DevCenterIsolatedApp.js";import"../../AssetEditor/index.js";import"../../AssetEditorV2/index.js";import"../../AppVersionsSelect/AppVersionsSelect.js";import"../../LoadingIndicator/LoadingIndicator.js";import"../../Typography.js";import"../../RealTimeValuesSidebar/RealTimeSidebar.js";import"../../CollapsableSidebar.js";import"../../DateTimePicker/index.js";import"../../DatePicker/index.js";import"../../ErrorBoundary/ErrorBoundary.js";import"../../ErrorBoundary/DevCenterAppErrorView/DevCenterAppErrorView.js";import"../../SlateFormattedText/SlateFormattedText.js";import"../../SlateFormattedText/RenderElements.js";import"slate";import"../../EmptyState/EmptyState.js";import"../../ParameterCharts/ParameterCharts.js";import"../../ParameterCharts/AddEditTrack.js";import"../../ChartActionsList/ChartActionsList.js";import"../../CopyToClipboard/CopyToClipboard.js";import"../../AssetEditor/AssetEditorAutocomplete.js";import"../../AssetEditor/SingleAssetEditor.js";import"../../SettingEditors/ColorEditor/index.js";import"../../SettingEditors/DropdownEditor/index.js";import"../../SettingEditors/RadioEditor/index.js";import"../../SwitchControl/index.js";import"../../ColorPicker/ColorPicker.js";import"../../Chart/components/ChartButton.js";import"../../Chart/components/ChartButtons.js";import"../../Chart/components/ChartWrapper.js";import"../../Chart/components/AxisDropdown.js";import"../../Chart/components/ChartSelect.js";import"../../Chart/components/buttons/DragToZoomButton.js";import"../../Chart/components/buttons/ZoomInButton.js";import"../../Chart/components/buttons/ZoomOutButton.js";import"../../Chart/components/buttons/PanButton.js";import"../../Chart/components/buttons/ResetZoomButton.js";import"../../Chart/components/buttons/HideAxesButton.js";import"../../Chart/components/buttons/ChartTypeButton.js";import"../../ColorPicker/PaletteChromePicker/PaletteChromePicker.js";import"../../TruncatedText/index.js";import"../../MiddleTruncatedText/MiddleTruncatedText.js";import"../../RangeSlider/RangeSlider.js";import"../../AdvancedSlider/AdvancedSlider.js";import"../../Breadcrumbs/index.js";import"../../VirtualizedTable/index.js";import"../../EmptyView/EmptyView.js";import"../../EmptyView/EmptyAppView/EmptyAppView.js";import"../../Button/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"../../TextField/index.js";import"../../Chip/index.js";import"../../Counter/index.js";import"../../AnchorsList/AnchorsList.js";import"../../Select/index.js";import"../../Select/SelectFilterBy.js";import"../../CustomSelect/index.js";import"../../Tabs/Tabs.js";import"../../Tabs/Tab.js";import"../../ResizableTable/ResizableTable.js";import"@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"../../Drillstring/BHASchematic.js";import"../../Drillstring/BHATable/index.js";import"../../Drillstring/BHAComponentIcon.js";import"../../Drillstring/BHAComponentDetail/index.js";import"../../Drillstring/BHATileIcon.js";import"../../Drillstring/BHATile/BHATile.js";import"../../Drillstring/BHAList/BHAList.js";import"../../Drillstring/BHAComponentsTable/BHAComponentsTable.js";import"../../Casing/CasingTable/index.js";import"../../Casing/CasingComponentIcon.js";import"../../Casing/CasingTileIcon.js";import"../../Casing/CasingTableV2/CasingTableV2.js";import"../../Casing/CasingTile/CasingTile.js";import"../../DisabledSettingsMessage/DisabledSettingsMessage.js";import"../../WellSummary/WellSummaryItemLabel.js";import"../../WellSummary/WellSummaryItemTitle.js";import"../../WellSummary/WellSummaryItemValue.js";import"../../WellSummary/ActivitySummaryChart.js";import"../../WellSummary/FracWirelineTimeChart.js";import"../../BICOffsetPickerDialog/index.js";import"../../OffsetWellButton/OffsetWellButton.js";import"../../OffsetWellPickerV2/OffsetWellPickerDialog.js";import"../../OffsetWellPickerV3/index.js";import"../../OffsetWellChips/Chip.js";import"../../OffsetWellChips/ChipsContainer.js";import"../../OffsetWellPickerV4/OffsetWellPickerV4.js";import"../../OffsetWellMap/OffsetWellMap.js";import"@material-ui/core/Snackbar";import"../../Notifications/Toast.js";import"../../Toaster/Toaster.js";import{ToastContainer as N}from"../../Toaster/ToastContainer.js";import"../../ConfirmationDialog.js";import"../../TextLink/index.js";import"../../Avatar/index.js";import"../../Template/TemplatePopover/index.js";import"../../Template/TemplateSharingDialog/index.js";import"../../MenuItem/index.js";import"../../MiddleTruncate/MiddleTruncate.js";import"../../PadModeSelect/PadModeSelect.js";import"../../PinnableFilters/PinnableFilters.js";import"../../HeaderLayout/HeaderLayout.js";import"../../PadOffsetsPicker/PadOffsetsPicker.js";import"../../PadOffsetsPicker/OffsetAssetChip.js";import"../../PadOffsetsPicker/OffsetAssetsListExpander.js";import"../../PadOffsetsPicker/StagesSelector.js";import"../../PadOffsetsPickerV2/PadOffsetsPickerV2.js";import"../../Table/TableToolbar/TableToolbar.js";import"../../Table/TableContainer/TableContainer.js";import"../../Table/TableCell/TableCell.js";import"../../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"../../AssetEditorV2/components/PrimaryAssetSelect.js";import"../../AssetEditorV2/components/SecondaryAssetSelect.js";import"../../AssetEditorV2/components/SelectItem.js";import"../../AssetEditorV2/components/MultipleAssetsToggle.js";import"../../AssetEditorV2/components/PrimaryAssetSelectV2.js";import"../../EChartsWrapper/EChartsWrapper.js";import{showSuccessNotification as _}from"../../../utils/notificationToasts.js";const G=h||v,U="DevCenter_AppContainer";function q(v){var q,Z,$,K,J,Q,X,Y,tt;let{CLIAppComponent:et,CLIAppSettings:ot,app:it,appId:rt,className:st,coordinates:nt,currentDashboardAppsLastAnnotations:pt,currentUser:at,devCenterRouter:mt,isActionsDisabled:lt,isSettingsDialogHidden:dt,layoutEnvironment:ct,onAppContainerClick:jt=s,onAppRemove:ut,onReportBugClick:Ct,onCloneDashboard:gt,onHelpCenterClick:At,onIsMaximizedChange:ft,onSettingChange:St,onSettingsChange:It,openIntercom:ht=s,setIsFullscreenModalMode:vt=s,timestamp:Pt,updateCurrentDashboardAppLastAnnotation:xt}=v;const bt=t(F),Dt=n(),[Tt,Mt]=e([]),[yt,Et]=e([]),Bt=(null==bt?void 0:bt[rt||it.id])??{isLoading:!0},Lt=null===(q=it.package)||void 0===q||null===(Z=q.manifest)||void 0===Z?void 0:Z.application,kt=D(it),Ft=!(null==Lt||null===($=Lt.ui)||void 0===$||!$.multi_rig),Vt=T(it),{isMaximized:Rt,setIsMaximized:Wt}=k({onIsMaximizedChange:ft,devCenterRouter:mt,appId:rt}),wt=Pt||M(null===(K=mt.location.query)||void 0===K?void 0:K.query),Ht=it.id===b,Ot=Ht&&G?{...nt,w:12}:nt,{isLoading:zt,AppSettings:Nt,AppComponent:_t}=x({CLIAppComponent:et,CLIAppSettings:ot,app:it,version:W(it)}),{isAppSettingsDialogOpened:Gt,toggleAppSettingsDialog:Ut}=E({setIsFullscreenModalMode:vt}),{isAnnotationsListOpened:qt,toggleAnnotationsList:Zt}=B(),$t=zt||!at||!Ft&&Bt.isLoading,{appLastAnnotation:Kt,assetCompanyId:Jt,assetIdForAnnotation:Qt,isAppSupportsAnnotations:Xt}=L({app:it,appData:Bt,currentDashboardAppsLastAnnotations:pt}),Yt=i(r(Bt,["well","rig","fracFleet","wells"]),Boolean);return d(z,{companyId:null==it||null===(J=it.app)||void 0===J?void 0:J.company_id,appKey:null==Lt?void 0:Lt.key,isCLIApp:Ht,rollbarManifestConfig:null==it||null===(Q=it.package)||void 0===Q||null===(X=Q.manifest)||void 0===X||null===(Y=X.settings)||void 0===Y?void 0:Y.rollbar,children:d(O.Provider,{value:mt,children:d(S,{setIsFullscreenModalMode:vt,children:d(I,{value:!0,children:c("div",{className:o("dc-app-container",st,Rt&&"dc-app-container__maximized",Dt.isLightTheme&&"dc-app-container__light-theme",V.container),"data-testid":`${U}_${it.app.name}`,onClick:()=>jt(),children:[d(N,{}),d("div",{className:V.containerContent,children:d(f,{AppComponent:_t,app:it,appData:Yt,isAppLoading:zt,availability:w(it.availability,at.company.with_subscription),isCLIApp:Ht,isLoading:$t,isMultiRig:Ft,layoutEnvironment:ct,openIntercom:ht,segment:kt,toggleAppSettingsDialog:Ut,appProps:{coordinates:Ot,currentUser:at,devCenterRouter:mt,onSettingChange:St,onSettingsChange:It,segment:kt,setIsFullscreenModalMode:vt,setIsMaximized:Wt,setMainMenuItems:Mt,setSecondaryMenuItems:Et,toggleAppSettingsDialog:Ut,appHeaderProps:{app:it,appLastAnnotation:Kt,appSettings:it.settings,coordinates:Ot,currentUser:at,isMaximized:Rt,layoutEnvironment:ct,onSettingChange:St,toggleAnnotationsList:Zt,updateCurrentDashboardAppLastAnnotation:xt,...Yt},isNative:h,layoutEnvironment:ct,timestamp:wt}})}),Gt&&d(C,{AppSettingsComponent:Nt,app:it,appData:Bt,appName:Vt,currentUser:at,isMultiRig:Ft,isSettingsDialogHidden:dt,layoutEnvironment:ct,onAppRemove:ut,onCloneDashboard:gt,onSettingChange:St,onSettingsChange:It,openIntercom:ht,rigId:(null===(tt=Bt.rig)||void 0===tt?void 0:tt.id)??null,timestamp:wt,toggleAppSettingsDialog:Ut}),qt&&d(l,{children:d(m,{appId:it.app.id,appSettings:it.settings,appTitle:it.name,assetCompanyId:Jt,assetId:Qt,currentUser:at,onClose:Zt,showSuccessNotification:_})}),!lt&&Rt&&d(R,{setIsMaximized:Wt}),!lt&&c(u,{children:[Xt&&d(P,{"data-testid":`${U}_addAnnotation`,className:V.footerIconButton,tooltipProps:{title:!G&&"Add Annotation"},onClick:Zt,children:d(a,{})}),Ct&&!Ht&&d(P,{onClick:()=>Ct(),className:V.footerIconButton,tooltipProps:{title:!G&&"Report Bug"},children:d(p,{})}),d(P,{"data-testid":`${U}_helpContent`,onClick:()=>At(),className:V.footerIconButton,disabled:Ht,tooltipProps:{title:!G&&"Help Center"},children:d(y,{appId:it.app.id,helpContentUpdatedAt:it.help_content_updated_at})}),G&&!Rt?d(A,{setIsMaximized:Wt}):c(j,{children:[d(H,{menuItems:Tt,devCenterRouter:mt,isMobileView:G}),d(g,{devCenterRouter:mt,isMaximized:Rt,isMobileView:G,menuItems:yt,setIsFullscreenModalMode:vt,setIsMaximized:Wt,toggleAppSettingsDialog:Ut})]})]})]})})})})})}export{q as default};
@@ -1 +1 @@
1
- import r from"@babel/runtime/helpers/defineProperty";import{withStyles as e,IconButton as t}from"@material-ui/core";import"react/jsx-runtime";function o(r,e){var t=Object.keys(r);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(r);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),t.push.apply(t,o)}return t}function n(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){r(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))}))}return e}var i={width:24,height:24};e({root:n(n({},i),{},{padding:"3px",marginRight:"10px",backgroundColor:"transparent!important"}),label:n(n({},i),{},{"& img":n({},i)})})(t);
1
+ import{withStyles as r,IconButton as t}from"@material-ui/core";import"react/jsx-runtime";const i={width:24,height:24};r({root:{...i,padding:"3px",marginRight:"10px",backgroundColor:"transparent!important"},label:{...i,"& img":{...i}}})(t);
@@ -1 +1 @@
1
- import r from"./AppActions.css.js";import{jsx as t}from"react/jsx-runtime";function i(i){var s=i.children;return t("div",{className:r.appActions,children:s})}export{i as default};
1
+ import r from"./AppActions.css.js";import{jsx as t}from"react/jsx-runtime";function e(e){let{children:i}=e;return t("div",{className:r.appActions,children:i})}export{e as default};
@@ -8,7 +8,7 @@ declare function AppInfoMessage({ appHeaderProps, children, message, submessage
8
8
  }): JSX.Element;
9
9
  declare namespace AppInfoMessage {
10
10
  namespace propTypes {
11
- const app: PropTypes.Validator<NonNullable<PropTypes.InferProps<{}>>>;
11
+ const appHeaderProps: PropTypes.Validator<NonNullable<PropTypes.InferProps<{}>>>;
12
12
  const children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
13
13
  const message: PropTypes.Requireable<NonNullable<PropTypes.ReactNodeLike>>;
14
14
  const submessage: PropTypes.Requireable<string>;