@corva/ui 0.72.0-5 → 0.72.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 (1330) 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/VirtualizedTable.js +1 -1
  531. package/cjs-bundle/components/VirtualizedTable/index.js +1 -1
  532. package/cjs-bundle/components/WellSummary/ActivitySummaryChart.js +1 -1
  533. package/cjs-bundle/components/WellSummary/FracWirelineTimeChart.js +1 -1
  534. package/cjs-bundle/components/WellSummary/WellSummaryItemLabel.js +1 -1
  535. package/cjs-bundle/components/WellSummary/WellSummaryItemTitle.js +1 -1
  536. package/cjs-bundle/components/WellSummary/WellSummaryItemValue.js +1 -1
  537. package/cjs-bundle/components/WellSummary/effects/useWellSummaryData.js +1 -1
  538. package/cjs-bundle/components/WellSummary/utils.js +1 -1
  539. package/cjs-bundle/config/highcharts/highcharts-contour.js +1 -1
  540. package/cjs-bundle/config/mapbox/index.js +1 -1
  541. package/cjs-bundle/config/theme/accordionOverrides.js +1 -1
  542. package/cjs-bundle/config/theme/buttonOverrides.js +1 -1
  543. package/cjs-bundle/config/theme/checkboxOverrides.js +1 -1
  544. package/cjs-bundle/config/theme/chipOverrides.js +1 -1
  545. package/cjs-bundle/config/theme/dateTimePickerThemeOverrides.js +1 -1
  546. package/cjs-bundle/config/theme/fabOverrides.js +1 -1
  547. package/cjs-bundle/config/theme/index.js +1 -1
  548. package/cjs-bundle/config/theme/radioOverrides.js +1 -1
  549. package/cjs-bundle/config/theme/tableOverrides.js +1 -1
  550. package/cjs-bundle/config/theme/textFieldOverrides.js +1 -1
  551. package/cjs-bundle/config/theme/toggleButtonsGroupOverrides.js +1 -1
  552. package/cjs-bundle/constants/alerts.js +1 -1
  553. package/cjs-bundle/constants/appPackages.js +1 -1
  554. package/cjs-bundle/constants/apps.js +1 -1
  555. package/cjs-bundle/constants/bha.js +1 -1
  556. package/cjs-bundle/constants/completion.js +1 -1
  557. package/cjs-bundle/constants/componentsSettings.js +1 -1
  558. package/cjs-bundle/constants/corvaCompanyId.js +1 -1
  559. package/cjs-bundle/constants/drillstring.js +1 -1
  560. package/cjs-bundle/constants/feed.js +1 -1
  561. package/cjs-bundle/constants/goals.js +1 -1
  562. package/cjs-bundle/constants/notifications.js +1 -1
  563. package/cjs-bundle/constants/segment.js +1 -1
  564. package/cjs-bundle/constants/wellSummary.js +1 -1
  565. package/cjs-bundle/effects/useDevCenterApp.js +1 -1
  566. package/cjs-bundle/effects/useEscPress.js +1 -1
  567. package/cjs-bundle/effects/useResizeObserver.js +1 -1
  568. package/cjs-bundle/effects/useSharedDCStore.js +1 -1
  569. package/cjs-bundle/effects/useSignedURL.js +1 -1
  570. package/cjs-bundle/effects/useSubscriptions.js +1 -1
  571. package/cjs-bundle/hocs/withAssetEditorLockHOC.js +1 -1
  572. package/cjs-bundle/hocs/withMUIProvidersHOC.js +1 -1
  573. package/cjs-bundle/permissions/PermissionsContext.js +1 -1
  574. package/cjs-bundle/permissions/ProvidePermissions.js +1 -1
  575. package/cjs-bundle/permissions/constants/index.js +1 -1
  576. package/cjs-bundle/permissions/usePermissions.js +1 -1
  577. package/cjs-bundle/permissions/useProvidePermissions.js +1 -1
  578. package/cjs-bundle/permissions/utils.js +1 -1
  579. package/cjs-bundle/permissions/withPermissionsHOC.js +1 -1
  580. package/cjs-bundle/styles/globalStyles.js +1 -1
  581. package/cjs-bundle/styles/typography/index.js +1 -1
  582. package/cjs-bundle/utils/DrillstringUtils.js +1 -1
  583. package/cjs-bundle/utils/FluidCheckUtils.js +1 -1
  584. package/cjs-bundle/utils/StageDesignVActualUtils.js +1 -1
  585. package/cjs-bundle/utils/accuracy.js +1 -1
  586. package/cjs-bundle/utils/alerts.js +1 -1
  587. package/cjs-bundle/utils/apps.js +1 -1
  588. package/cjs-bundle/utils/audio.js +1 -1
  589. package/cjs-bundle/utils/bha.js +1 -1
  590. package/cjs-bundle/utils/casing/conversion.js +1 -1
  591. package/cjs-bundle/utils/casing/validation.js +1 -1
  592. package/cjs-bundle/utils/chartSeries.js +1 -1
  593. package/cjs-bundle/utils/completion.js +1 -1
  594. package/cjs-bundle/utils/components.js +1 -1
  595. package/cjs-bundle/utils/convert.js +1 -1
  596. package/cjs-bundle/utils/convertKeys.js +1 -1
  597. package/cjs-bundle/utils/csvExport.js +1 -1
  598. package/cjs-bundle/utils/dashboardReports.js +1 -1
  599. package/cjs-bundle/utils/delay.js +1 -1
  600. package/cjs-bundle/utils/devcenter.js +1 -1
  601. package/cjs-bundle/utils/devcenterToasts.js +1 -1
  602. package/cjs-bundle/utils/drillstring/conversion.js +1 -1
  603. package/cjs-bundle/utils/drillstring/schematic.js +1 -1
  604. package/cjs-bundle/utils/drillstring/validation.js +1 -1
  605. package/cjs-bundle/utils/env.js +1 -1
  606. package/cjs-bundle/utils/feed.js +1 -1
  607. package/cjs-bundle/utils/fileExtension.js +1 -1
  608. package/cjs-bundle/utils/formatting.js +1 -1
  609. package/cjs-bundle/utils/ga.js +1 -1
  610. package/cjs-bundle/utils/goals.js +1 -1
  611. package/cjs-bundle/utils/index.js +1 -1
  612. package/cjs-bundle/utils/jsonaDataFormatter.js +1 -1
  613. package/cjs-bundle/utils/lasParser.js +1 -1
  614. package/cjs-bundle/utils/localStorage.js +1 -1
  615. package/cjs-bundle/utils/main.js +1 -1
  616. package/cjs-bundle/utils/mapUnits.js +1 -1
  617. package/cjs-bundle/utils/mapbox.js +1 -1
  618. package/cjs-bundle/utils/metrics/index.js +1 -1
  619. package/cjs-bundle/utils/metrics/metricsConfig.js +1 -1
  620. package/cjs-bundle/utils/metrics/utils.js +1 -1
  621. package/cjs-bundle/utils/mobileDetect.js +1 -1
  622. package/cjs-bundle/utils/nativeMessages.js +1 -1
  623. package/cjs-bundle/utils/notificationToasts.js +1 -1
  624. package/cjs-bundle/utils/notifications.js +1 -1
  625. package/cjs-bundle/utils/permissions.js +1 -1
  626. package/cjs-bundle/utils/reports.js +1 -1
  627. package/cjs-bundle/utils/resolveWellHubSlug.js +1 -1
  628. package/cjs-bundle/utils/sharedDCStore.js +1 -1
  629. package/cjs-bundle/utils/themeVariables.js +1 -1
  630. package/cjs-bundle/utils/time.js +1 -1
  631. package/cjs-bundle/utils/torqueAndHookloadUtils.js +1 -1
  632. package/clients/api/apiCore.js +1 -1
  633. package/clients/api/httpMessages.js +1 -1
  634. package/clients/clientStorage/core.js +1 -1
  635. package/clients/clientStorage/index.js +1 -1
  636. package/clients/constants.js +1 -1
  637. package/clients/index.js +1 -1
  638. package/clients/jsonApi/index.js +1 -1
  639. package/clients/subscriptions.js +1 -1
  640. package/clients/utils.js +1 -1
  641. package/components/AddComment/Popover.js +1 -1
  642. package/components/AddComment/Popup.js +1 -1
  643. package/components/AddComment/components/Content.js +1 -1
  644. package/components/AdvancedSlider/AdvancedSlider.js +1 -1
  645. package/components/AdvancedSlider/Handle.js +1 -1
  646. package/components/AnchorsList/AnchorsList.js +1 -1
  647. package/components/Annotations/AnnotationsContext.js +1 -1
  648. package/components/Annotations/components/AnnotationsList/components/AddAnnotationForm/index.js +1 -1
  649. package/components/Annotations/components/AnnotationsList/components/Annotation/index.js +1 -1
  650. package/components/Annotations/components/AnnotationsList/components/AnnotationComments/index.js +1 -1
  651. package/components/Annotations/components/AnnotationsList/components/AnnotationInput/StyledSelect.js +1 -1
  652. package/components/Annotations/components/AnnotationsList/components/AnnotationInput/index.js +1 -1
  653. package/components/Annotations/components/AnnotationsList/index.js +1 -1
  654. package/components/Annotations/components/LastAnnotation/index.js +1 -1
  655. package/components/Annotations/constants.js +1 -1
  656. package/components/AppIcon/assets/DrillingAppIcon.js +1 -1
  657. package/components/AppIcon/utils.js +1 -1
  658. package/components/AppVersionsSelect/AppVersionsSelect.d.ts.map +1 -1
  659. package/components/AppVersionsSelect/AppVersionsSelect.js +1 -1
  660. package/components/AppVersionsSelect/effects/index.js +1 -1
  661. package/components/AssetEditor/AssetEditorAutocomplete.d.ts +3 -3
  662. package/components/AssetEditor/AssetEditorAutocomplete.js +1 -1
  663. package/components/AssetEditor/SingleAssetEditor.d.ts +2 -2
  664. package/components/AssetEditor/SingleAssetEditor.js +1 -1
  665. package/components/AssetEditor/constants.js +1 -1
  666. package/components/AssetEditor/effects/index.d.ts +1 -1
  667. package/components/AssetEditor/effects/index.js +1 -1
  668. package/components/AssetEditor/index.js +1 -1
  669. package/components/AssetEditorV2/components/MultipleAssetsToggle.js +1 -1
  670. package/components/AssetEditorV2/components/PrimaryAssetSelect.js +1 -1
  671. package/components/AssetEditorV2/components/PrimaryAssetSelectV2.js +1 -1
  672. package/components/AssetEditorV2/components/SecondaryAssetSelect.js +1 -1
  673. package/components/AssetEditorV2/components/SelectItem.js +1 -1
  674. package/components/AssetEditorV2/constants.js +1 -1
  675. package/components/AssetEditorV2/effects/index.js +1 -1
  676. package/components/AssetEditorV2/effects/usePrimaryAssetSelectData.d.ts.map +1 -1
  677. package/components/AssetEditorV2/effects/usePrimaryAssetSelectData.js +1 -1
  678. package/components/AssetEditorV2/index.d.ts +2 -2
  679. package/components/AssetEditorV2/index.js +1 -1
  680. package/components/AssetEditorV2/utils/index.d.ts +2 -2
  681. package/components/AssetEditorV2/utils/index.js +1 -1
  682. package/components/AssetNameLabel/AssetNameLabel.js +1 -1
  683. package/components/Attachment/index.js +1 -1
  684. package/components/Autocomplete/Autocomplete.js +1 -1
  685. package/components/BICOffsetPickerDialog/components/Map/Map.js +1 -1
  686. package/components/BICOffsetPickerDialog/components/Map/index.js +1 -1
  687. package/components/BICOffsetPickerDialog/components/WellSection/AssetSearch.js +1 -1
  688. package/components/BICOffsetPickerDialog/components/WellSection/AutoCompleteAssetSearch/AssetResultSection.js +1 -1
  689. package/components/BICOffsetPickerDialog/components/WellSection/AutoCompleteAssetSearch/AssetTypesSection.js +1 -1
  690. package/components/BICOffsetPickerDialog/components/WellSection/AutoCompleteAssetSearch/AutoCompleteAssetSearch.js +1 -1
  691. package/components/BICOffsetPickerDialog/components/WellSection/AutoCompleteAssetSearch/constants.js +1 -1
  692. package/components/BICOffsetPickerDialog/components/WellSection/AutoCompleteAssetSearch/effects/useAssetsData.js +1 -1
  693. package/components/BICOffsetPickerDialog/components/WellSection/AutoCompleteAssetSearch/utils/apiCalls.js +1 -1
  694. package/components/BICOffsetPickerDialog/components/WellSection/NumberCircle.js +1 -1
  695. package/components/BICOffsetPickerDialog/components/WellSection/SectionItem.js +1 -1
  696. package/components/BICOffsetPickerDialog/components/WellSection/WellListItem.js +1 -1
  697. package/components/BICOffsetPickerDialog/components/WellSection/index.js +1 -1
  698. package/components/BICOffsetPickerDialog/constants.js +1 -1
  699. package/components/BICOffsetPickerDialog/effects/index.js +1 -1
  700. package/components/BICOffsetPickerDialog/index.js +1 -1
  701. package/components/BICOffsetPickerDialog/utils/apiCalls.js +1 -1
  702. package/components/Breadcrumbs/index.js +1 -1
  703. package/components/Casing/CasingComponentIcon.js +1 -1
  704. package/components/Casing/CasingTable/CasingComponent.js +1 -1
  705. package/components/Casing/CasingTable/index.js +1 -1
  706. package/components/Casing/CasingTableV2/CasingTableV2.js +1 -1
  707. package/components/Casing/CasingTableV2/components/CasingJoints/Browser.js +1 -1
  708. package/components/Casing/CasingTableV2/components/CasingJoints/Editor.js +1 -1
  709. package/components/Casing/CasingTableV2/components/Component.js +1 -1
  710. package/components/Casing/CasingTableV2/components/DrillPipe/Browser.js +1 -1
  711. package/components/Casing/CasingTableV2/components/DrillPipe/Editor.js +1 -1
  712. package/components/Casing/CasingTableV2/components/EditComponentDialog.js +1 -1
  713. package/components/Casing/CasingTableV2/components/Header.js +1 -1
  714. package/components/Casing/CasingTableV2/components/SortableComponent.js +1 -1
  715. package/components/Casing/CasingTableV2/components/SortableComponents.js +1 -1
  716. package/components/Casing/CasingTableV2/components/constants.js +1 -1
  717. package/components/Casing/CasingTile/CasingTile.js +1 -1
  718. package/components/Casing/CasingTile/style.js +1 -1
  719. package/components/Casing/CasingTileIcon.js +1 -1
  720. package/components/Chart/ChartWrapperContext.js +1 -1
  721. package/components/Chart/components/AxisDropdown.js +1 -1
  722. package/components/Chart/components/AxisOverlay.js +1 -1
  723. package/components/Chart/components/ChartButton.js +1 -1
  724. package/components/Chart/components/ChartButtons.js +1 -1
  725. package/components/Chart/components/ChartSelect.js +1 -1
  726. package/components/Chart/components/ChartWrapper.js +1 -1
  727. package/components/Chart/components/buttons/ChartTypeButton.js +1 -1
  728. package/components/Chart/components/buttons/DragToZoomButton.js +1 -1
  729. package/components/Chart/components/buttons/HideAxesButton.js +1 -1
  730. package/components/Chart/components/buttons/PanButton.js +1 -1
  731. package/components/Chart/components/buttons/ResetZoomButton.js +1 -1
  732. package/components/Chart/components/buttons/ZoomInButton.js +1 -1
  733. package/components/Chart/components/buttons/ZoomOutButton.js +1 -1
  734. package/components/Chart/constants.js +1 -1
  735. package/components/Chart/effects/useChartModifier.js +1 -1
  736. package/components/Chart/effects/useChartTypeSwitch.js +1 -1
  737. package/components/Chart/effects/useHideAxes.js +1 -1
  738. package/components/Chart/effects/useKeyboardControl.js +1 -1
  739. package/components/Chart/effects/useZoom.js +1 -1
  740. package/components/Chart/formations.js +1 -1
  741. package/components/Chart/utils.js +1 -1
  742. package/components/ChartActionsList/ChartActionsList.js +1 -1
  743. package/components/ChartActionsList/icons/GoLive.js +1 -1
  744. package/components/ChartActionsList/icons/LeftArrow.js +1 -1
  745. package/components/ChartActionsList/icons/RightArrow.js +1 -1
  746. package/components/ChartActionsList/icons/ZoomIn.js +1 -1
  747. package/components/ChartActionsList/icons/ZoomOut.js +1 -1
  748. package/components/Checkbox/index.js +1 -1
  749. package/components/CollapsableSidebar.js +1 -1
  750. package/components/CollapsibleContent.js +1 -1
  751. package/components/ColorPicker/PaletteChromePicker/ColorSquare/ColorSquare.js +1 -1
  752. package/components/ColorPicker/PaletteChromePicker/Palette/Palette.js +1 -1
  753. package/components/ColorPicker/PaletteChromePicker/Palette/PaletteConstants.js +1 -1
  754. package/components/ColorPicker/PaletteChromePicker/PaletteChromePicker.js +1 -1
  755. package/components/Comment/index.js +1 -1
  756. package/components/CommentInput/index.js +1 -1
  757. package/components/CommentLoader.js +1 -1
  758. package/components/CommentWrapper.js +1 -1
  759. package/components/CommentsInfo/index.js +1 -1
  760. package/components/ConfirmationDialog.js +1 -1
  761. package/components/ContextMenuItem/index.js +1 -1
  762. package/components/CopyToClipboard/CopyToClipboard.js +1 -1
  763. package/components/CustomSelect/index.js +1 -1
  764. package/components/DevCenter/AppContext.js +1 -1
  765. package/components/DevCenter/AppHeader/AppHeader.js +1 -1
  766. package/components/DevCenter/AppHeader/AppHeaderStyles.js +1 -1
  767. package/components/DevCenter/AppHeader/PadMode.js +1 -1
  768. package/components/DevCenter/AppHeader/utils.js +1 -1
  769. package/components/DevCenter/AppsDataProvider/AppsDataProvider.js +1 -1
  770. package/components/DevCenter/AppsDataProvider/effects/constants.js +1 -1
  771. package/components/DevCenter/AppsDataProvider/effects/dataResolvers.js +1 -1
  772. package/components/DevCenter/AppsDataProvider/effects/useAppsData.js +1 -1
  773. package/components/DevCenter/AppsDataProvider/effects/utils.js +1 -1
  774. package/components/DevCenter/DevCenterAppContainer/DevCenterAppContainer.js +1 -1
  775. package/components/DevCenter/DevCenterAppContainer/components/AnnotationsButton/AnnotationsButton.js +1 -1
  776. package/components/DevCenter/DevCenterAppContainer/components/AppActions/AppActions.js +1 -1
  777. package/components/DevCenter/DevCenterAppContainer/components/AppInfoMessage/AppInfoMessage.d.ts +1 -1
  778. package/components/DevCenter/DevCenterAppContainer/components/AppInfoMessage/AppInfoMessage.js +1 -1
  779. package/components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/AppSettingsDialog.d.ts.map +1 -1
  780. package/components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/AppSettingsDialog.js +1 -1
  781. package/components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/components/RemoveAppButton.js +1 -1
  782. package/components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/styles.js +1 -1
  783. package/components/DevCenter/DevCenterAppContainer/components/AppSettingsDialogV2/AppSettingsDialog.d.ts +47 -0
  784. package/components/DevCenter/DevCenterAppContainer/components/AppSettingsDialogV2/AppSettingsDialog.d.ts.map +1 -0
  785. package/components/DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/IsInsideDcFullscreenElemProvider.js +1 -1
  786. package/components/DevCenter/DevCenterAppContainer/components/DevCenterAppView/DevCenterAppView.js +1 -1
  787. package/components/DevCenter/DevCenterAppContainer/components/FullscreenButton/FullscreenButton.js +1 -1
  788. package/components/DevCenter/DevCenterAppContainer/components/IsInsideDcAppProvider/IsInsideDcAppProvider.js +1 -1
  789. package/components/DevCenter/DevCenterAppContainer/components/NonPriorityMenus/NonPriorityMenus.js +1 -1
  790. package/components/DevCenter/DevCenterAppContainer/components/PriorityMenus/PriorityMenus.js +1 -1
  791. package/components/DevCenter/DevCenterAppContainer/components/RestoreAppSizeButton/index.js +1 -1
  792. package/components/DevCenter/DevCenterAppContainer/effects/useAnnotationsData.js +1 -1
  793. package/components/DevCenter/DevCenterAppContainer/effects/useAnnotationsList.js +1 -1
  794. package/components/DevCenter/DevCenterAppContainer/effects/useAppMaximized.js +1 -1
  795. package/components/DevCenter/DevCenterAppContainer/effects/useAppSettings.js +1 -1
  796. package/components/DevCenter/DevCenterAppContainer/utils.js +1 -1
  797. package/components/DevCenter/DevCenterRouterContext/DevCenterRouterContext.js +1 -1
  798. package/components/DevCenter/DevCenterRouterContext/UniversalLink/UniversalLink.js +1 -1
  799. package/components/DevCenter/DevCenterRouterContext/hocs/withUniversalLocationHOC.js +1 -1
  800. package/components/DevCenter/IsolatedDevCenterAppContainer/DevCenterAppZoidComponent.js +1 -1
  801. package/components/DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedApp.js +1 -1
  802. package/components/DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedAppPage.js +1 -1
  803. package/components/DevCenter/IsolatedDevCenterAppContainer/constants.js +1 -1
  804. package/components/DevCenter/IsolatedDevCenterAppContainer/effects/useXProps.js +1 -1
  805. package/components/DevCenter/IsolatedDevCenterAppContainer/utils/replaceUndefinedValuesWithNull.js +1 -1
  806. package/components/DevCenter/NavigationBar/NavigationBar.js +1 -1
  807. package/components/DevCenter/SideBar/SideBar.js +1 -1
  808. package/components/DisabledSettingsMessage/DisabledSettingsMessage.js +1 -1
  809. package/components/DocumentViewer/DocumentViewer.js +1 -1
  810. package/components/DocumentViewer/styles.js +1 -1
  811. package/components/Drillstring/BHACasingEmptyView/BHACasingEmptyView.js +1 -1
  812. package/components/Drillstring/BHAComponentDetail/constants.js +1 -1
  813. package/components/Drillstring/BHAComponentDetail/index.js +1 -1
  814. package/components/Drillstring/BHAComponentIcon.js +1 -1
  815. package/components/Drillstring/BHAComponentsTable/BHAComponentsTable.js +1 -1
  816. package/components/Drillstring/BHAComponentsTable/components/Agitator/Browser.js +1 -1
  817. package/components/Drillstring/BHAComponentsTable/components/Agitator/Editor.js +1 -1
  818. package/components/Drillstring/BHAComponentsTable/components/Bit/Browser.js +1 -1
  819. package/components/Drillstring/BHAComponentsTable/components/Bit/Editor.js +1 -1
  820. package/components/Drillstring/BHAComponentsTable/components/Component.js +1 -1
  821. package/components/Drillstring/BHAComponentsTable/components/DrillCollar/Browser.js +1 -1
  822. package/components/Drillstring/BHAComponentsTable/components/DrillCollar/Editor.js +1 -1
  823. package/components/Drillstring/BHAComponentsTable/components/DrillPipe/Browser.js +1 -1
  824. package/components/Drillstring/BHAComponentsTable/components/DrillPipe/Editor.js +1 -1
  825. package/components/Drillstring/BHAComponentsTable/components/EditComponentDialog.js +1 -1
  826. package/components/Drillstring/BHAComponentsTable/components/Header.js +1 -1
  827. package/components/Drillstring/BHAComponentsTable/components/Jar/Browser.js +1 -1
  828. package/components/Drillstring/BHAComponentsTable/components/Jar/Editor.js +1 -1
  829. package/components/Drillstring/BHAComponentsTable/components/Lwd/Browser.js +1 -1
  830. package/components/Drillstring/BHAComponentsTable/components/Lwd/Editor.js +1 -1
  831. package/components/Drillstring/BHAComponentsTable/components/Lwd/Measurement.js +1 -1
  832. package/components/Drillstring/BHAComponentsTable/components/Mwd/Browser.js +1 -1
  833. package/components/Drillstring/BHAComponentsTable/components/Mwd/Editor.js +1 -1
  834. package/components/Drillstring/BHAComponentsTable/components/NozzleSize/index.js +1 -1
  835. package/components/Drillstring/BHAComponentsTable/components/Pdm/Browser.js +1 -1
  836. package/components/Drillstring/BHAComponentsTable/components/Pdm/Editor.js +1 -1
  837. package/components/Drillstring/BHAComponentsTable/components/PressureLoss/index.js +1 -1
  838. package/components/Drillstring/BHAComponentsTable/components/Rss/Browser.js +1 -1
  839. package/components/Drillstring/BHAComponentsTable/components/Rss/Editor.js +1 -1
  840. package/components/Drillstring/BHAComponentsTable/components/SortableComponent.js +1 -1
  841. package/components/Drillstring/BHAComponentsTable/components/SortableComponents.js +1 -1
  842. package/components/Drillstring/BHAComponentsTable/components/Stabilizer/Browser.js +1 -1
  843. package/components/Drillstring/BHAComponentsTable/components/Stabilizer/Editor.js +1 -1
  844. package/components/Drillstring/BHAComponentsTable/components/Sub/Browser.js +1 -1
  845. package/components/Drillstring/BHAComponentsTable/components/Sub/Editor.js +1 -1
  846. package/components/Drillstring/BHAComponentsTable/components/Suggestions/AutoCompleteDialog.js +1 -1
  847. package/components/Drillstring/BHAComponentsTable/components/Suggestions/Suggestions.js +1 -1
  848. package/components/Drillstring/BHAComponentsTable/components/Ur/Browser.js +1 -1
  849. package/components/Drillstring/BHAComponentsTable/components/Ur/Editor.js +1 -1
  850. package/components/Drillstring/BHAComponentsTable/components/constants.js +1 -1
  851. package/components/Drillstring/BHAComponentsTable/components/shared/CancelButton.js +1 -1
  852. package/components/Drillstring/BHAComponentsTable/components/shared/ConfirmationPopup.js +1 -1
  853. package/components/Drillstring/BHAComponentsTable/components/shared/ExpandCollapseButton.js +1 -1
  854. package/components/Drillstring/BHAComponentsTable/components/shared/FormatedNumber.js +1 -1
  855. package/components/Drillstring/BHAComponentsTable/components/shared/InputText.js +1 -1
  856. package/components/Drillstring/BHAComponentsTable/components/shared/MoreButton.js +1 -1
  857. package/components/Drillstring/BHAComponentsTable/components/shared/SaveButton.js +1 -1
  858. package/components/Drillstring/BHAComponentsTable/components/shared/SelectField.js +1 -1
  859. package/components/Drillstring/BHAComponentsTable/components/shared/SharedEditorElements.js +1 -1
  860. package/components/Drillstring/BHAComponentsTable/components/shared/StaticField.js +1 -1
  861. package/components/Drillstring/BHAComponentsTable/components/sharedStyles.js +1 -1
  862. package/components/Drillstring/BHAComponentsTable/components/utils/calculation.js +1 -1
  863. package/components/Drillstring/BHAList/BHAList.js +1 -1
  864. package/components/Drillstring/BHASchematic.js +1 -1
  865. package/components/Drillstring/BHATable/BHAComponent.js +1 -1
  866. package/components/Drillstring/BHATable/index.js +1 -1
  867. package/components/Drillstring/BHATile/BHATile.js +1 -1
  868. package/components/Drillstring/BHATileIcon.js +1 -1
  869. package/components/Drillstring/BhaIndicator/BhaIndicator.js +1 -1
  870. package/components/Drillstring/DrillstringDetail/DrillstringDetail.js +1 -1
  871. package/components/EChartsWrapper/components/Toolbox/Toolbox.js +1 -1
  872. package/components/EditableItem/EditableItemWithBadge/index.js +1 -1
  873. package/components/EmbeddedApp/DevCenterEmbeddedApp.js +1 -1
  874. package/components/EmbeddedApp/EmbeddedApp.js +1 -1
  875. package/components/EmbeddedApp/components/AppInfo.js +1 -1
  876. package/components/EmojiIconButton.js +1 -1
  877. package/components/EmptyState/EmptyState.d.ts +3 -0
  878. package/components/EmptyState/EmptyState.d.ts.map +1 -1
  879. package/components/EmptyState/constants.d.ts +3 -0
  880. package/components/EmptyState/constants.d.ts.map +1 -1
  881. package/components/EmptyState/constants.js +1 -1
  882. package/components/EmptyState/images/index.js +1 -1
  883. package/components/EmptyView/EmptyAppView/EmptyAppView.d.ts +6 -2
  884. package/components/EmptyView/EmptyAppView/EmptyAppView.d.ts.map +1 -1
  885. package/components/EmptyView/EmptyAppView/EmptyAppView.js +1 -1
  886. package/components/EmptyView/EmptyAppView/components/ErrorSubtitleWithIntercomLink.js +1 -1
  887. package/components/EmptyView/EmptyView.js +1 -1
  888. package/components/ErrorBoundary/DevCenterAppErrorView/DevCenterAppErrorView.js +1 -1
  889. package/components/ErrorBoundary/ErrorBoundary.d.ts +1 -1
  890. package/components/ErrorBoundary/ErrorBoundary.d.ts.map +1 -1
  891. package/components/ErrorBoundary/ErrorBoundary.js +1 -1
  892. package/components/FailedFileUploading.js +1 -1
  893. package/components/FeedItem/FeedItem.js +1 -1
  894. package/components/FeedItem/FeedItemEditProvider/FeedItemEditModal.js +1 -1
  895. package/components/FeedItem/FeedItemEditProvider/FeedItemEditProvider.js +1 -1
  896. package/components/FeedItem/components/Actions.js +1 -1
  897. package/components/FeedItem/components/AvatarIcon.js +1 -1
  898. package/components/FeedItem/components/Content.js +1 -1
  899. package/components/FeedItem/components/CreatedAt.js +1 -1
  900. package/components/FeedItem/components/FeedComments.js +1 -1
  901. package/components/FeedItem/components/Icon.js +1 -1
  902. package/components/FeedItem/components/LessonsLearnedLeafIcon.js +1 -1
  903. package/components/FeedItem/components/Reactions.js +1 -1
  904. package/components/FeedItem/components/RigAndWell.js +1 -1
  905. package/components/FeedItem/components/TypeAndAssetTitle.js +1 -1
  906. package/components/FeedItem/editModals/DvdCommentEdit/DvdCommentEdit.js +1 -1
  907. package/components/FeedItem/editModals/HookloadCommentEdit/HookloadCommentEdit.js +1 -1
  908. package/components/FeedItem/editModals/LessonsLearnedEdit/LessonsLearnedEdit.js +1 -1
  909. package/components/FeedItem/editModals/NptLessonsCommentEdit/NptLessonsCommentEdit.js +1 -1
  910. package/components/FeedItem/editModals/PCCommentEdit/PCCommentEdit.js +1 -1
  911. package/components/FeedItem/feedItemTypes/AlertFeedItem.js +1 -1
  912. package/components/FeedItem/feedItemTypes/AppAnnotationFeedItem/helpers.js +1 -1
  913. package/components/FeedItem/feedItemTypes/AppAnnotationFeedItem/index.js +1 -1
  914. package/components/FeedItem/feedItemTypes/BhaFeedItem/BhaFeedItem.d.ts.map +1 -1
  915. package/components/FeedItem/feedItemTypes/BhaFeedItem/BhaFeedItem.js +1 -1
  916. package/components/FeedItem/feedItemTypes/BhaFeedItem/components/BhaNumber.js +1 -1
  917. package/components/FeedItem/feedItemTypes/BhaFeedItem/components/BhaSchematic.js +1 -1
  918. package/components/FeedItem/feedItemTypes/BhaFeedItem/components/Info.js +1 -1
  919. package/components/FeedItem/feedItemTypes/BhaFeedItem/components/NoData.js +1 -1
  920. package/components/FeedItem/feedItemTypes/CompletionDailyCostFeedItem.js +1 -1
  921. package/components/FeedItem/feedItemTypes/CompletionDocumentFeedItem.js +1 -1
  922. package/components/FeedItem/feedItemTypes/CompletionNptFeedItem.js +1 -1
  923. package/components/FeedItem/feedItemTypes/CompletionOperationSummaryFeedItem.js +1 -1
  924. package/components/FeedItem/feedItemTypes/CompletionOperationalNoteFeedItem.js +1 -1
  925. package/components/FeedItem/feedItemTypes/DepthCommentFeedItem.js +1 -1
  926. package/components/FeedItem/feedItemTypes/DocumentFeedItem.js +1 -1
  927. package/components/FeedItem/feedItemTypes/DrillerMemoFeedItem.js +1 -1
  928. package/components/FeedItem/feedItemTypes/DrillingDailyCostFeedItem.js +1 -1
  929. package/components/FeedItem/feedItemTypes/DrillingOperationSummaryFeedItem.js +1 -1
  930. package/components/FeedItem/feedItemTypes/DrillingOperationalNoteFeedItem.js +1 -1
  931. package/components/FeedItem/feedItemTypes/DvDCommentFeedItem.js +1 -1
  932. package/components/FeedItem/feedItemTypes/FluidReportFeedItem.js +1 -1
  933. package/components/FeedItem/feedItemTypes/GeosteeringFeedItem.js +1 -1
  934. package/components/FeedItem/feedItemTypes/HookloadCommentFeedItem.js +1 -1
  935. package/components/FeedItem/feedItemTypes/LessonsLearnedFeedItem/index.js +1 -1
  936. package/components/FeedItem/feedItemTypes/NptFeedItem.js +1 -1
  937. package/components/FeedItem/feedItemTypes/NptLessonsCommentFeedItem.js +1 -1
  938. package/components/FeedItem/feedItemTypes/PCCommentFeedItem.js +1 -1
  939. package/components/FeedItem/feedItemTypes/PostFeedItem.js +1 -1
  940. package/components/FeedItem/feedItemTypes/StageOverviewFeedItem/api.js +1 -1
  941. package/components/FeedItem/feedItemTypes/StageOverviewFeedItem/components/NoData.js +1 -1
  942. package/components/FeedItem/feedItemTypes/StageOverviewFeedItem/components/Predictions.js +1 -1
  943. package/components/FeedItem/feedItemTypes/StageOverviewFeedItem/components/PredictionsItem.js +1 -1
  944. package/components/FeedItem/feedItemTypes/StageOverviewFeedItem/components/Stages/Stages.js +1 -1
  945. package/components/FeedItem/feedItemTypes/StageOverviewFeedItem/components/Stages/utils.js +1 -1
  946. package/components/FeedItem/feedItemTypes/StageOverviewFeedItem/index.js +1 -1
  947. package/components/FeedItem/feedItemTypes/SurveyStationFeedItem/api.js +1 -1
  948. package/components/FeedItem/feedItemTypes/SurveyStationFeedItem/components/AccuracyPlan.js +1 -1
  949. package/components/FeedItem/feedItemTypes/SurveyStationFeedItem/components/ActualPointInfo.js +1 -1
  950. package/components/FeedItem/feedItemTypes/SurveyStationFeedItem/components/Warning.js +1 -1
  951. package/components/FeedItem/feedItemTypes/SurveyStationFeedItem/index.js +1 -1
  952. package/components/FeedItem/feedItemTypes/TracesMemoFeedItem.js +1 -1
  953. package/components/FeedItem/feedItemTypes/WellPlanFeedItem/components/TargetChanges.js +1 -1
  954. package/components/FeedItem/feedItemTypes/WellPlanFeedItem/components/VerticalSectionAzimuth.js +1 -1
  955. package/components/FeedItem/feedItemTypes/WellPlanFeedItem/constants.js +1 -1
  956. package/components/FeedItem/feedItemTypes/WellPlanFeedItem/index.js +1 -1
  957. package/components/FilePreview/index.js +1 -1
  958. package/components/FileTypeIcon.js +1 -1
  959. package/components/FileUploadIconButton.js +1 -1
  960. package/components/FilesLoader/Icons/CSVFileIcon.js +1 -1
  961. package/components/FilesLoader/Icons/DocFileIcon.js +1 -1
  962. package/components/FilesLoader/Icons/EDMFileIcon.js +1 -1
  963. package/components/FilesLoader/Icons/ExelFileIcon.js +1 -1
  964. package/components/FilesLoader/Icons/FileIcon.js +1 -1
  965. package/components/FilesLoader/Icons/IconRefresh.js +1 -1
  966. package/components/FilesLoader/Icons/IconSuccess.js +1 -1
  967. package/components/FilesLoader/Icons/IconWarning.js +1 -1
  968. package/components/FilesLoader/Icons/ImageFileIcon.js +1 -1
  969. package/components/FilesLoader/Icons/PdfFileIcon.js +1 -1
  970. package/components/FilesLoader/Icons/UnknownFileIcon.js +1 -1
  971. package/components/FilesLoader/Icons/UploadIcon.js +1 -1
  972. package/components/FilesLoader/useStyles.js +1 -1
  973. package/components/FolderMenuItem/components/ClosedFolderIcon.js +1 -1
  974. package/components/FolderMenuItem/components/FolderIcon.js +1 -1
  975. package/components/FolderMenuItem/components/OpenFolderIcon.js +1 -1
  976. package/components/FolderMenuItem/index.js +1 -1
  977. package/components/FolderMenuItemWithLinks/index.js +1 -1
  978. package/components/GoogleDocsViewer/index.js +1 -1
  979. package/components/GradientManager/GradientManager.styles.js +1 -1
  980. package/components/GradientManager/GradientSelect.styles.js +1 -1
  981. package/components/GradientManager/__tests__/pageHelpers.d.ts.map +1 -1
  982. package/components/GradientPicker/GradientPicker.d.ts +2 -2
  983. package/components/GradientPicker/GradientPicker.d.ts.map +1 -1
  984. package/components/GradientPicker/GradientPicker.js +1 -1
  985. package/components/GradientPicker/GradientPicker.styles.d.ts.map +1 -1
  986. package/components/GradientPicker/GradientPicker.styles.js +1 -1
  987. package/components/GradientPicker/__tests__/pageHelpers.d.ts.map +1 -1
  988. package/components/HeaderLayout/HeaderLayout.js +1 -1
  989. package/components/HeaderLayout/constants.js +1 -1
  990. package/components/HeaderLayout/effects/index.js +1 -1
  991. package/components/HeaderLayout/utils.js +1 -1
  992. package/components/HelpCenter/HelpCenterIcon.js +1 -1
  993. package/components/IconMenu/index.js +1 -1
  994. package/components/Icons/AnnotationIcon.js +1 -1
  995. package/components/Icons/AttachIcon.js +1 -1
  996. package/components/Icons/DangerousIcon.js +1 -1
  997. package/components/Icons/EmojiIcon.js +1 -1
  998. package/components/Icons/RecommendationIcon.js +1 -1
  999. package/components/Icons/SendIcon.js +1 -1
  1000. package/components/ImageViewer/index.js +1 -1
  1001. package/components/InfiniteList/index.js +1 -1
  1002. package/components/KeyboardDateTimePicker.js +1 -1
  1003. package/components/LabelsCounter/LabelsCounter.js +1 -1
  1004. package/components/MenuItem/index.js +1 -1
  1005. package/components/MiddleTruncate/MiddleTruncate.js +1 -1
  1006. package/components/MiddleTruncate/utils.js +1 -1
  1007. package/components/OffsetWellChips/icons/SubjectIcon.js +1 -1
  1008. package/components/OffsetWellMap/OffsetWellMap.js +1 -1
  1009. package/components/OffsetWellMap/WellTooltip.js +1 -1
  1010. package/components/OffsetWellMap/effects/usePreviousWells.js +1 -1
  1011. package/components/OffsetWellMap/utils.js +1 -1
  1012. package/components/OffsetWellPickerV2/OffsetWellPickerDialog.js +1 -1
  1013. package/components/OffsetWellPickerV2/components/Filter/ClearFiltersButton.js +1 -1
  1014. package/components/OffsetWellPickerV2/components/Filter/MultiSelect.js +1 -1
  1015. package/components/OffsetWellPickerV2/components/Filter/NonEngineeredWellsSwitch.js +1 -1
  1016. package/components/OffsetWellPickerV2/components/Filter/RadiusInput.js +1 -1
  1017. package/components/OffsetWellPickerV2/components/Filter/SidetrackSwitch.js +1 -1
  1018. package/components/OffsetWellPickerV2/components/Filter/SingleSelect.js +1 -1
  1019. package/components/OffsetWellPickerV2/components/Filter/SubjectWellSearch.js +1 -1
  1020. package/components/OffsetWellPickerV2/components/Filter/ToggleFiltersButton.js +1 -1
  1021. package/components/OffsetWellPickerV2/components/Filter/ToggleMapButton.js +1 -1
  1022. package/components/OffsetWellPickerV2/components/Filter/index.js +1 -1
  1023. package/components/OffsetWellPickerV2/components/Map/Map.js +1 -1
  1024. package/components/OffsetWellPickerV2/components/Map/index.js +1 -1
  1025. package/components/OffsetWellPickerV2/components/Map/popupGenerator.js +1 -1
  1026. package/components/OffsetWellPickerV2/components/Table/MetricsAddMenu.js +1 -1
  1027. package/components/OffsetWellPickerV2/components/Table/MetricsSelect.js +1 -1
  1028. package/components/OffsetWellPickerV2/components/Table/index.js +1 -1
  1029. package/components/OffsetWellPickerV2/constants.js +1 -1
  1030. package/components/OffsetWellPickerV2/effects/biDirectionalFiltering.js +1 -1
  1031. package/components/OffsetWellPickerV2/effects/index.js +1 -1
  1032. package/components/OffsetWellPickerV2/utils/apiCalls.js +1 -1
  1033. package/components/OffsetWellPickerV2/utils/index.js +1 -1
  1034. package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Filter/ClearFiltersButton.js +1 -1
  1035. package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Filter/MultiSelect.js +1 -1
  1036. package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Filter/RadiusInput.js +1 -1
  1037. package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Filter/SidetrackSwitch.js +1 -1
  1038. package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Filter/index.js +1 -1
  1039. package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Map/FormationsLegend.js +1 -1
  1040. package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Map/Map.js +1 -1
  1041. package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Map/index.js +1 -1
  1042. package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Map/popupGenerator.js +1 -1
  1043. package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Map/utils.js +1 -1
  1044. package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/AssetSearch.js +1 -1
  1045. package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/AutoCompleteAssetSearch/AssetResultSection.js +1 -1
  1046. package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/AutoCompleteAssetSearch/AssetTypesSection.js +1 -1
  1047. package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/AutoCompleteAssetSearch/AutoCompleteAssetSearch.js +1 -1
  1048. package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/AutoCompleteAssetSearch/constants.js +1 -1
  1049. package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/AutoCompleteAssetSearch/effects/useAssetsData.js +1 -1
  1050. package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/MetricsAddMenu.js +1 -1
  1051. package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/MetricsSelect.js +1 -1
  1052. package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/SubjectIndicator.js +1 -1
  1053. package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/index.js +1 -1
  1054. package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/styles.js +1 -1
  1055. package/components/OffsetWellPickerV3/components/CustomSelectionView/constants.js +1 -1
  1056. package/components/OffsetWellPickerV3/components/CustomSelectionView/effects/biDirectionalFiltering.js +1 -1
  1057. package/components/OffsetWellPickerV3/components/CustomSelectionView/effects/index.js +1 -1
  1058. package/components/OffsetWellPickerV3/components/CustomSelectionView/index.js +1 -1
  1059. package/components/OffsetWellPickerV3/components/OffsetWellSelectionView/index.js +1 -1
  1060. package/components/OffsetWellPickerV3/components/TabSelection/ToggleMapButton.js +1 -1
  1061. package/components/OffsetWellPickerV3/components/TabSelection/index.js +1 -1
  1062. package/components/OffsetWellPickerV3/components/WellHubView/index.js +1 -1
  1063. package/components/OffsetWellPickerV3/components/shared/OffsetWellTableHead.js +1 -1
  1064. package/components/OffsetWellPickerV3/components/shared/OffsetWellTableRows.js +1 -1
  1065. package/components/OffsetWellPickerV3/constants.js +1 -1
  1066. package/components/OffsetWellPickerV3/effects/index.js +1 -1
  1067. package/components/OffsetWellPickerV3/index.js +1 -1
  1068. package/components/OffsetWellPickerV3/utils/apiCalls.js +1 -1
  1069. package/components/OffsetWellPickerV4/OffsetWellPickerV4.js +1 -1
  1070. package/components/OffsetWellPickerV4/components/AppHeader/AppHeader.js +1 -1
  1071. package/components/OffsetWellPickerV4/components/CustomInfoIcon/CustomInfoIcon.js +1 -1
  1072. package/components/OffsetWellPickerV4/components/Filter/Filter.js +1 -1
  1073. package/components/OffsetWellPickerV4/components/Filter/MultiSelect.js +1 -1
  1074. package/components/OffsetWellPickerV4/components/Filter/PeriodSelect.js +1 -1
  1075. package/components/OffsetWellPickerV4/components/Filter/RadiusInput.js +1 -1
  1076. package/components/OffsetWellPickerV4/components/Filter/SingleSelect.js +1 -1
  1077. package/components/OffsetWellPickerV4/components/Filter/WellSection.js +1 -1
  1078. package/components/OffsetWellPickerV4/components/Map/WellsMap.js +1 -1
  1079. package/components/OffsetWellPickerV4/components/OffsetWellsTable/AdvancedSearch/AdvancedSearch.js +1 -1
  1080. package/components/OffsetWellPickerV4/components/OffsetWellsTable/AdvancedSearch/AssetResultSection.js +1 -1
  1081. package/components/OffsetWellPickerV4/components/OffsetWellsTable/AdvancedSearch/AssetTypesSection.js +1 -1
  1082. package/components/OffsetWellPickerV4/components/OffsetWellsTable/AdvancedSearch/AutoCompleteAssetSearch.js +1 -1
  1083. package/components/OffsetWellPickerV4/components/OffsetWellsTable/AdvancedSearch/constants.js +1 -1
  1084. package/components/OffsetWellPickerV4/components/OffsetWellsTable/MetricsSelect.js +1 -1
  1085. package/components/OffsetWellPickerV4/components/OffsetWellsTable/MetricsSettingMenu.js +1 -1
  1086. package/components/OffsetWellPickerV4/components/OffsetWellsTable/OffsetWellsTable.js +1 -1
  1087. package/components/OffsetWellPickerV4/components/OffsetWellsTable/OffsetWellsTableHead.js +1 -1
  1088. package/components/OffsetWellPickerV4/components/OffsetWellsTable/OffsetWellsTableRow.js +1 -1
  1089. package/components/OffsetWellPickerV4/components/OffsetWellsTable/SubjectWellMark.js +1 -1
  1090. package/components/OffsetWellPickerV4/components/OffsetWellsTable/ViewWellSectionsName.js +1 -1
  1091. package/components/OffsetWellPickerV4/components/Toolbar/Toolbar.js +1 -1
  1092. package/components/OffsetWellPickerV4/constants.js +1 -1
  1093. package/components/OffsetWellPickerV4/effects/useAdvancedWells.js +1 -1
  1094. package/components/OffsetWellPickerV4/effects/useAssetsData.js +1 -1
  1095. package/components/OffsetWellPickerV4/effects/useBicWells.js +1 -1
  1096. package/components/OffsetWellPickerV4/effects/useCompanyMetricKey.js +1 -1
  1097. package/components/OffsetWellPickerV4/effects/useFetchWells.js +1 -1
  1098. package/components/OffsetWellPickerV4/effects/useFilterOptions.js +1 -1
  1099. package/components/OffsetWellPickerV4/effects/useFilteredWells.js +1 -1
  1100. package/components/OffsetWellPickerV4/effects/useSortedWells.js +1 -1
  1101. package/components/OffsetWellPickerV4/effects/useTableColumns.js +1 -1
  1102. package/components/OffsetWellPickerV4/utils/apiCalls.js +1 -1
  1103. package/components/OffsetWellPickerV4/utils/index.js +1 -1
  1104. package/components/OffsetWellPickerV4/utils/timePeriod.js +1 -1
  1105. package/components/OffsetWellPickerV4/utils/unitSystem.js +1 -1
  1106. package/components/PadModeSelect/PadModeSelect.js +1 -1
  1107. package/components/PadOffsetsPicker/OffsetAssetChip.js +1 -1
  1108. package/components/PadOffsetsPicker/OffsetAssetsListExpander.js +1 -1
  1109. package/components/PadOffsetsPicker/PadOffsetsPicker.js +1 -1
  1110. package/components/PadOffsetsPicker/StagesSelector.js +1 -1
  1111. package/components/PadOffsetsPickerV2/PadOffsetsPickerV2.js +1 -1
  1112. package/components/PadOffsetsPickerV2/useDialogState.js +1 -1
  1113. package/components/ParameterCharts/AddEditTrack.js +1 -1
  1114. package/components/ParameterCharts/ChartsContext.js +1 -1
  1115. package/components/ParameterCharts/ParameterCharts.js +1 -1
  1116. package/components/ParameterCharts/SettingsContext.js +1 -1
  1117. package/components/ParameterCharts/components/ChartContainer.js +1 -1
  1118. package/components/ParameterCharts/components/Charts/EmptyChart.js +1 -1
  1119. package/components/ParameterCharts/components/Charts/LineChart.js +1 -1
  1120. package/components/ParameterCharts/components/Charts/options.js +1 -1
  1121. package/components/ParameterCharts/components/DataLoadingIndicator.js +1 -1
  1122. package/components/ParameterCharts/components/SingleChannelTrackSettings.js +1 -1
  1123. package/components/ParameterCharts/components/Tooltip/CursorPositioner.js +1 -1
  1124. package/components/ParameterCharts/components/Tooltip/Tooltip.js +1 -1
  1125. package/components/ParameterCharts/components/TraceHeader.js +1 -1
  1126. package/components/ParameterCharts/components/TraceSelect.js +1 -1
  1127. package/components/ParameterCharts/components/TraceSettings.js +1 -1
  1128. package/components/ParameterCharts/components/Track.js +1 -1
  1129. package/components/ParameterCharts/components/TrackSettings.js +1 -1
  1130. package/components/ParameterCharts/constants.js +1 -1
  1131. package/components/ParameterCharts/utils/dataParser.js +1 -1
  1132. package/components/PinnableFilters/PinnableFilters.js +1 -1
  1133. package/components/PinnableFilters/components/FiltersToggler.js +1 -1
  1134. package/components/PinnableFilters/components/PinAppSwitch.js +1 -1
  1135. package/components/PinnableFilters/constants.js +1 -1
  1136. package/components/PinnableFilters/effects/index.js +1 -1
  1137. package/components/PinnableFilters/utils.js +1 -1
  1138. package/components/Popover/Popover.js +1 -1
  1139. package/components/Popper/Popper.js +1 -1
  1140. package/components/PostInput/PostInput.js +1 -1
  1141. package/components/PostPreviewDialog/index.js +1 -1
  1142. package/components/PriceInput/FormattedNumber.js +1 -1
  1143. package/components/PriceInput/PriceInput.js +1 -1
  1144. package/components/RangeSlider/constants.js +1 -1
  1145. package/components/RangeSlider/inputs/FromInput.js +1 -1
  1146. package/components/RangeSlider/inputs/ToInput.js +1 -1
  1147. package/components/RangeSlider/strategies/horizontal.js +1 -1
  1148. package/components/RangeSlider/strategies/vertical.js +1 -1
  1149. package/components/RangeSlider/utils.js +1 -1
  1150. package/components/RealTimeValuesSidebar/RealTimeValuesBox/RealTimeBoxEditDialog.d.ts.map +1 -1
  1151. package/components/RealTimeValuesSidebar/RealTimeValuesBox/RealTimeBoxEditDialog.js +1 -1
  1152. package/components/RealTimeValuesSidebar/RealTimeValuesBox/RealTimeBoxList.js +1 -1
  1153. package/components/RealTimeValuesSidebar/SidebarFooter.d.ts.map +1 -1
  1154. package/components/RealTimeValuesSidebar/SidebarFooter.js +1 -1
  1155. package/components/Search/Search.d.ts +5 -6
  1156. package/components/Search/Search.d.ts.map +1 -1
  1157. package/components/Search/Search.js +1 -1
  1158. package/components/Search/__tests__/Search.test.d.ts +1 -4
  1159. package/components/Search/__tests__/Search.test.d.ts.map +1 -1
  1160. package/components/Search/components/Groups.js +1 -1
  1161. package/components/Search/components/InputAdornmentLeft.js +1 -1
  1162. package/components/Search/components/Listbox.d.ts +7 -1
  1163. package/components/Search/components/Listbox.js +1 -1
  1164. package/components/Search/components/Paper.js +1 -1
  1165. package/components/Search/components/RecentSearches.js +1 -1
  1166. package/components/Search/context/index.d.ts.map +1 -1
  1167. package/components/Search/context/index.js +1 -1
  1168. package/components/SearchInput/index.js +1 -1
  1169. package/components/SettingEditors/DropdownEditor/index.js +1 -1
  1170. package/components/SlateFormattedText/Constants.js +1 -1
  1171. package/components/SlateFormattedText/Elements/ImageElement/ImageElement.js +1 -1
  1172. package/components/SlateFormattedText/Elements/VideoElement/VideoElement.js +1 -1
  1173. package/components/SlateFormattedText/RenderElements.js +1 -1
  1174. package/components/SlateFormattedText/SlateFormattedText.js +1 -1
  1175. package/components/SlateFormattedText/utils.js +1 -1
  1176. package/components/StageDesignVActual/ComparisonBar/ComparisonBar.js +1 -1
  1177. package/components/StageDesignVActual/ComparisonBar/utils.js +1 -1
  1178. package/components/StageDesignVActual/ComparisonHeader.js +1 -1
  1179. package/components/StageDesignVActual/ComparisonRow.js +1 -1
  1180. package/components/StageDesignVActual/ElementsComparison/ElementsComparison.js +1 -1
  1181. package/components/StageDesignVActual/ElementsComparison/utils.js +1 -1
  1182. package/components/StatusBadge/styles.js +1 -1
  1183. package/components/Stepper/constants.js +1 -1
  1184. package/components/StyledMenuItem/index.js +1 -1
  1185. package/components/Table/TableCell/TableCell.js +1 -1
  1186. package/components/Table/TableContainer/TableContainer.js +1 -1
  1187. package/components/Table/TableSortLabel/TableSortLabel.js +1 -1
  1188. package/components/Table/TableToolbar/TableToolbar.js +1 -1
  1189. package/components/Tabs/Tab.js +1 -1
  1190. package/components/Template/TemplatePopover/Styles.js +1 -1
  1191. package/components/Template/TemplatePopover/index.js +1 -1
  1192. package/components/Template/TemplateSharingDialog/ChipSelector.js +1 -1
  1193. package/components/Template/TemplateSharingDialog/UsersChipSelector.js +1 -1
  1194. package/components/Template/TemplateSharingDialog/index.js +1 -1
  1195. package/components/TextField/effects/index.js +1 -1
  1196. package/components/TextField/index.js +1 -1
  1197. package/components/TextLink/index.js +1 -1
  1198. package/components/TracesEditModal/TracesEditModal.js +1 -1
  1199. package/components/TracesEditModal/TracesEditModalContainer.js +1 -1
  1200. package/components/TruncatedText/index.js +1 -1
  1201. package/components/Typography.js +1 -1
  1202. package/components/UserCard/index.js +1 -1
  1203. package/components/UserCardPopover.js +1 -1
  1204. package/components/UserMention/constants.js +1 -1
  1205. package/components/UserMention/index.js +1 -1
  1206. package/components/UserMention/utils/index.js +1 -1
  1207. package/components/VirtualizedTable/CustomizeColumnsDialog.js +1 -1
  1208. package/components/VirtualizedTable/DraggableList.js +1 -1
  1209. package/components/VirtualizedTable/VirtualizedTable.d.ts.map +1 -1
  1210. package/components/VirtualizedTable/VirtualizedTable.js +1 -1
  1211. package/components/VirtualizedTable/index.js +1 -1
  1212. package/components/WellSummary/ActivitySummaryChart.js +1 -1
  1213. package/components/WellSummary/FracWirelineTimeChart.js +1 -1
  1214. package/components/WellSummary/WellSummaryItemLabel.js +1 -1
  1215. package/components/WellSummary/WellSummaryItemTitle.js +1 -1
  1216. package/components/WellSummary/WellSummaryItemValue.js +1 -1
  1217. package/components/WellSummary/effects/useWellSummaryData.js +1 -1
  1218. package/components/WellSummary/utils.js +1 -1
  1219. package/config/highcharts/highcharts-contour.js +1 -1
  1220. package/config/mapbox/index.js +1 -1
  1221. package/config/theme/accordionOverrides.js +1 -1
  1222. package/config/theme/buttonOverrides.js +1 -1
  1223. package/config/theme/checkboxOverrides.js +1 -1
  1224. package/config/theme/chipOverrides.js +1 -1
  1225. package/config/theme/dateTimePickerThemeOverrides.js +1 -1
  1226. package/config/theme/fabOverrides.js +1 -1
  1227. package/config/theme/index.js +1 -1
  1228. package/config/theme/radioOverrides.js +1 -1
  1229. package/config/theme/tableOverrides.js +1 -1
  1230. package/config/theme/textFieldOverrides.js +1 -1
  1231. package/config/theme/toggleButtonsGroupOverrides.js +1 -1
  1232. package/constants/accuracy.js +1 -1
  1233. package/constants/alerts.js +1 -1
  1234. package/constants/appPackages.js +1 -1
  1235. package/constants/apps.js +1 -1
  1236. package/constants/assetTypes.js +1 -1
  1237. package/constants/bha.js +1 -1
  1238. package/constants/casing.js +1 -1
  1239. package/constants/completion.js +1 -1
  1240. package/constants/componentsSettings.js +1 -1
  1241. package/constants/corvaCompanyId.js +1 -1
  1242. package/constants/dateTimeFormat.js +1 -1
  1243. package/constants/devcenter.js +1 -1
  1244. package/constants/drillstring.js +1 -1
  1245. package/constants/feed.js +1 -1
  1246. package/constants/goals.js +1 -1
  1247. package/constants/localStorageKeys.js +1 -1
  1248. package/constants/mixpanel.js +1 -1
  1249. package/constants/notifications.js +1 -1
  1250. package/constants/rigActivity.js +1 -1
  1251. package/constants/segment.js +1 -1
  1252. package/constants/sizes.js +1 -1
  1253. package/constants/subscriptions.js +1 -1
  1254. package/constants/theme.js +1 -1
  1255. package/constants/wellSummary.js +1 -1
  1256. package/effects/useDevCenterApp.js +1 -1
  1257. package/effects/useEscPress.js +1 -1
  1258. package/effects/useResizeObserver.js +1 -1
  1259. package/effects/useSharedDCStore.js +1 -1
  1260. package/effects/useSignedURL.js +1 -1
  1261. package/effects/useSubscriptions.js +1 -1
  1262. package/hocs/withAssetEditorLockHOC.js +1 -1
  1263. package/hocs/withMUIProvidersHOC.js +1 -1
  1264. package/package.json +2 -3
  1265. package/permissions/PermissionsContext.js +1 -1
  1266. package/permissions/ProvidePermissions.js +1 -1
  1267. package/permissions/constants/abilities.js +1 -1
  1268. package/permissions/constants/index.js +1 -1
  1269. package/permissions/usePermissions.js +1 -1
  1270. package/permissions/useProvidePermissions.js +1 -1
  1271. package/permissions/utils.js +1 -1
  1272. package/permissions/withPermissionsHOC.js +1 -1
  1273. package/styles/typography/index.js +1 -1
  1274. package/utils/DrillstringUtils.js +1 -1
  1275. package/utils/FluidCheckUtils.js +1 -1
  1276. package/utils/StageDesignVActualUtils.js +1 -1
  1277. package/utils/__tests__/fixtures/convert.fixture.d.ts.map +1 -1
  1278. package/utils/accuracy.js +1 -1
  1279. package/utils/alerts.js +1 -1
  1280. package/utils/apps.js +1 -1
  1281. package/utils/audio.js +1 -1
  1282. package/utils/bha.d.ts.map +1 -1
  1283. package/utils/bha.js +1 -1
  1284. package/utils/casing/conversion.js +1 -1
  1285. package/utils/casing/validation.js +1 -1
  1286. package/utils/chartSeries.js +1 -1
  1287. package/utils/completion.js +1 -1
  1288. package/utils/components.js +1 -1
  1289. package/utils/constants/units.js +1 -1
  1290. package/utils/convert.js +1 -1
  1291. package/utils/convertKeys.js +1 -1
  1292. package/utils/csvExport.js +1 -1
  1293. package/utils/dashboardReports.js +1 -1
  1294. package/utils/delay.js +1 -1
  1295. package/utils/devcenter.js +1 -1
  1296. package/utils/devcenterToasts.js +1 -1
  1297. package/utils/drillstring/conversion.js +1 -1
  1298. package/utils/drillstring/schematic.js +1 -1
  1299. package/utils/drillstring/validation.js +1 -1
  1300. package/utils/env.js +1 -1
  1301. package/utils/feed.js +1 -1
  1302. package/utils/fileExtension.js +1 -1
  1303. package/utils/formatting.js +1 -1
  1304. package/utils/ga.js +1 -1
  1305. package/utils/goals.js +1 -1
  1306. package/utils/index.js +1 -1
  1307. package/utils/jsonaDataFormatter.js +1 -1
  1308. package/utils/lasParser.js +1 -1
  1309. package/utils/localStorage.js +1 -1
  1310. package/utils/main.js +1 -1
  1311. package/utils/mapUnits.js +1 -1
  1312. package/utils/mapbox.js +1 -1
  1313. package/utils/metrics/index.js +1 -1
  1314. package/utils/metrics/metricsConfig.js +1 -1
  1315. package/utils/metrics/utils.js +1 -1
  1316. package/utils/mobileDetect.js +1 -1
  1317. package/utils/nativeMessages.js +1 -1
  1318. package/utils/notificationToasts.js +1 -1
  1319. package/utils/notifications.js +1 -1
  1320. package/utils/permissions.js +1 -1
  1321. package/utils/reports.js +1 -1
  1322. package/utils/resolveWellHubSlug.js +1 -1
  1323. package/utils/sharedDCStore.js +1 -1
  1324. package/utils/themeVariables.js +1 -1
  1325. package/utils/time.js +1 -1
  1326. package/utils/torqueAndHookloadUtils.js +1 -1
  1327. package/components/DevCenter/DevCenterAppContainer/components/__tests__/AppSettingsDialog.test.d.ts +0 -2
  1328. package/components/DevCenter/DevCenterAppContainer/components/__tests__/AppSettingsDialog.test.d.ts.map +0 -1
  1329. package/components/ErrorBoundary/DevCenterAppErrorView/__tests__/DevCenterAppErrorView.snapshot.test.d.ts +0 -2
  1330. package/components/ErrorBoundary/DevCenterAppErrorView/__tests__/DevCenterAppErrorView.snapshot.test.d.ts.map +0 -1
@@ -1 +1 @@
1
- import{__assign as i}from'./../../../ext-esm/tslib/tslib.es6.js';import{jsxs as t,jsx as l}from"react/jsx-runtime";function e(e){var C=e.width,r=void 0===C?36:C,a=e.height,o=void 0===a?36:a,p=e.className,n=e["data-testid"];return t("svg",i({"data-testid":"".concat(void 0===n?"DrillingAppIcon":n,"_drillingFe"),width:r,height:o,className:p,viewBox:"0 0 320 320",fill:"none",xmlns:"http://www.w3.org/2000/svg"},{children:[t("g",i({"clip-path":"url(#clip0_2127_3259)"},{children:[l("path",{d:"M160 10.7879C77.5916 10.7879 10.7864 77.593 10.7864 160.001C10.7864 242.41 77.5916 309.215 160 309.215C242.408 309.215 309.213 242.41 309.213 160.001C309.213 77.593 242.408 10.7879 160 10.7879Z",fill:"url(#paint0_linear_2127_3259)"}),l("path",{d:"M226.25 0H93.75C42 0 0 42 0 93.75V226.25C0 278 42 320 93.75 320H226.25C278 320 320 278 320 226.25V93.75C320 42 278 0 226.25 0ZM160.5 299C83.75 299 21.5 236.75 21.5 160C21.5 83.25 83.75 21 160.5 21C237.25 21 299.5 83.25 299.5 160C299.5 236.75 237.25 299 160.5 299Z",fill:"url(#paint1_linear_2127_3259)"}),l("path",{d:"M160.499 18.5C141.499 18.5 122.749 22.25 105.499 29.75C88.7493 37 73.4993 47 60.4993 60C47.4993 73 37.2493 88.25 30.2493 105C22.7493 122.5 18.9993 141 18.9993 160C18.9993 179 22.7493 197.75 29.9993 215C37.2493 231.75 47.2493 247 60.2493 260C73.2493 273 88.4993 283.25 105.249 290.25C122.749 297.75 141.249 301.5 160.249 301.5C179.249 301.5 197.999 297.75 215.249 290.25C231.999 283 247.249 273 260.249 260C273.249 247 283.499 231.75 290.499 215C297.999 197.5 301.749 179 301.749 160C301.749 141 297.999 122.25 290.499 105C283.249 88.25 273.249 73 260.249 60C247.249 47 231.999 36.75 215.249 29.75C198.249 22.25 179.499 18.5 160.499 18.5ZM160.499 21C237.249 21 299.499 83.25 299.499 160C299.499 236.75 237.249 299 160.499 299C83.7493 299 21.4993 236.75 21.4993 160C21.4993 83.25 83.7493 21 160.499 21Z",fill:"url(#paint2_linear_2127_3259)"}),l("g",i({"clip-path":"url(#clip1_2127_3259)"},{children:t("g",i({"clip-path":"url(#clip2_2127_3259)"},{children:[l("path",{d:"M234.017 105.374H199.532V95.5781C199.532 86.882 192.436 79.7852 183.739 79.7852H85.7832C77.0871 79.7852 69.9902 86.882 69.9902 95.5781V198.732C69.9902 207.428 77.0871 214.525 85.7832 214.525H94.7792C96.2785 214.525 97.5779 213.326 97.5779 211.726C97.5779 210.127 96.3785 208.927 94.7792 208.927H85.7832C80.1857 208.927 75.5877 204.33 75.5877 198.732V131.762H115.07V224.321C115.07 233.017 122.167 240.114 130.863 240.114H234.017C242.713 240.114 249.81 233.017 249.81 224.321V121.167C249.81 112.471 242.713 105.374 234.017 105.374ZM244.212 121.167V151.753H120.668V128.963V121.167C120.668 115.569 125.266 110.971 130.863 110.971H196.734H233.917C239.714 110.871 244.212 115.469 244.212 121.167ZM75.6877 126.164V95.6781C75.6877 90.0806 80.2856 85.4826 85.8831 85.4826H183.839C189.437 85.4826 194.035 90.0806 194.035 95.6781V105.474H130.863C122.167 105.474 115.07 112.571 115.07 121.267V126.364H75.6877V126.164ZM120.668 224.221V157.151H155.252V234.416H130.863C125.266 234.516 120.668 229.918 120.668 224.221ZM234.017 234.516H160.75V157.251H244.312V224.321C244.212 229.918 239.714 234.516 234.017 234.516Z",fill:"white"}),l("path",{d:"M146.256 124.664C142.958 124.664 140.259 127.363 140.259 130.661C140.259 133.96 142.958 136.659 146.256 136.659C149.555 136.659 152.254 133.96 152.254 130.661C152.154 127.363 149.555 124.664 146.256 124.664Z",fill:"white"}),l("path",{d:"M166.047 124.664C162.749 124.664 160.05 127.363 160.05 130.661C160.05 133.96 162.749 136.659 166.047 136.659C169.346 136.659 172.045 133.96 172.045 130.661C172.045 127.363 169.346 124.664 166.047 124.664Z",fill:"white"}),l("path",{d:"M185.839 124.664C182.54 124.664 179.841 127.363 179.841 130.661C179.841 133.96 182.54 136.659 185.839 136.659C189.137 136.659 191.836 133.96 191.836 130.661C191.836 127.363 189.137 124.664 185.839 124.664Z",fill:"white"}),l("path",{d:"M220.323 172.945H182.44C180.941 172.945 179.641 174.145 179.641 175.744C179.641 177.343 180.841 178.543 182.44 178.543H220.323C221.822 178.543 223.122 177.343 223.122 175.744C223.122 174.145 221.822 172.945 220.323 172.945Z",fill:"white"}),l("path",{d:"M220.323 203.629H182.44C180.941 203.629 179.641 204.828 179.641 206.428C179.641 208.027 180.841 209.226 182.44 209.226H220.323C221.822 209.226 223.122 208.027 223.122 206.428C223.122 204.828 221.822 203.629 220.323 203.629Z",fill:"white"})]}))}))]})),t("defs",{children:[t("linearGradient",i({id:"paint0_linear_2127_3259",x1:"309.213",y1:"161.991",x2:"10.7864",y2:"161.991",gradientUnits:"userSpaceOnUse"},{children:[l("stop",{"stop-color":"#00D5BE"}),l("stop",{offset:"1","stop-color":"#003D61"})]})),t("linearGradient",i({id:"paint1_linear_2127_3259",x1:"160",y1:"442.496",x2:"160",y2:"122.496",gradientUnits:"userSpaceOnUse"},{children:[l("stop",{"stop-color":"#D1D1D1"}),l("stop",{offset:"0.1978","stop-color":"#DBDBDC"}),l("stop",{offset:"0.6835","stop-color":"#F0F0F1"}),l("stop",{offset:"1","stop-color":"#F8F7F9"})]})),t("linearGradient",i({id:"paint2_linear_2127_3259",x1:"157.612",y1:"18.4177",x2:"163.391",y2:"301.574",gradientUnits:"userSpaceOnUse"},{children:[l("stop",{"stop-color":"#BFBFBF"}),l("stop",{offset:"0.9816","stop-color":"#F8F7F9"})]})),l("clipPath",i({id:"clip0_2127_3259"},{children:l("rect",{width:"320",height:"320",fill:"white"})})),l("clipPath",i({id:"clip1_2127_3259"},{children:l("rect",{width:"224",height:"224",fill:"white",transform:"translate(48 48)"})})),l("clipPath",i({id:"clip2_2127_3259"},{children:l("rect",{width:"223.9",height:"223.9",fill:"white",transform:"translate(48 48)"})}))]})]}))}export{e as default};
1
+ import{__assign as i}from'./../../../ext-esm/tslib/tslib.es6.js';import{jsxs as t,jsx as l}from"react/jsx-runtime";function C(C){var e=C.width,r=void 0===e?36:e,a=C.height,o=void 0===a?36:a,n=C.className,p=C["data-testid"];return t("svg",i({"data-testid":"".concat(void 0===p?"DrillingAppIcon":p,"_drillingFe"),width:r,height:o,className:n,viewBox:"0 0 320 320",fill:"none",xmlns:"http://www.w3.org/2000/svg"},{children:[t("g",i({clipPath:"url(#clip0_2127_3259)"},{children:[l("path",{d:"M160 10.7879C77.5916 10.7879 10.7864 77.593 10.7864 160.001C10.7864 242.41 77.5916 309.215 160 309.215C242.408 309.215 309.213 242.41 309.213 160.001C309.213 77.593 242.408 10.7879 160 10.7879Z",fill:"url(#paint0_linear_2127_3259)"}),l("path",{d:"M226.25 0H93.75C42 0 0 42 0 93.75V226.25C0 278 42 320 93.75 320H226.25C278 320 320 278 320 226.25V93.75C320 42 278 0 226.25 0ZM160.5 299C83.75 299 21.5 236.75 21.5 160C21.5 83.25 83.75 21 160.5 21C237.25 21 299.5 83.25 299.5 160C299.5 236.75 237.25 299 160.5 299Z",fill:"url(#paint1_linear_2127_3259)"}),l("path",{d:"M160.499 18.5C141.499 18.5 122.749 22.25 105.499 29.75C88.7493 37 73.4993 47 60.4993 60C47.4993 73 37.2493 88.25 30.2493 105C22.7493 122.5 18.9993 141 18.9993 160C18.9993 179 22.7493 197.75 29.9993 215C37.2493 231.75 47.2493 247 60.2493 260C73.2493 273 88.4993 283.25 105.249 290.25C122.749 297.75 141.249 301.5 160.249 301.5C179.249 301.5 197.999 297.75 215.249 290.25C231.999 283 247.249 273 260.249 260C273.249 247 283.499 231.75 290.499 215C297.999 197.5 301.749 179 301.749 160C301.749 141 297.999 122.25 290.499 105C283.249 88.25 273.249 73 260.249 60C247.249 47 231.999 36.75 215.249 29.75C198.249 22.25 179.499 18.5 160.499 18.5ZM160.499 21C237.249 21 299.499 83.25 299.499 160C299.499 236.75 237.249 299 160.499 299C83.7493 299 21.4993 236.75 21.4993 160C21.4993 83.25 83.7493 21 160.499 21Z",fill:"url(#paint2_linear_2127_3259)"}),l("g",i({clipPath:"url(#clip1_2127_3259)"},{children:t("g",i({clipPath:"url(#clip2_2127_3259)"},{children:[l("path",{d:"M234.017 105.374H199.532V95.5781C199.532 86.882 192.436 79.7852 183.739 79.7852H85.7832C77.0871 79.7852 69.9902 86.882 69.9902 95.5781V198.732C69.9902 207.428 77.0871 214.525 85.7832 214.525H94.7792C96.2785 214.525 97.5779 213.326 97.5779 211.726C97.5779 210.127 96.3785 208.927 94.7792 208.927H85.7832C80.1857 208.927 75.5877 204.33 75.5877 198.732V131.762H115.07V224.321C115.07 233.017 122.167 240.114 130.863 240.114H234.017C242.713 240.114 249.81 233.017 249.81 224.321V121.167C249.81 112.471 242.713 105.374 234.017 105.374ZM244.212 121.167V151.753H120.668V128.963V121.167C120.668 115.569 125.266 110.971 130.863 110.971H196.734H233.917C239.714 110.871 244.212 115.469 244.212 121.167ZM75.6877 126.164V95.6781C75.6877 90.0806 80.2856 85.4826 85.8831 85.4826H183.839C189.437 85.4826 194.035 90.0806 194.035 95.6781V105.474H130.863C122.167 105.474 115.07 112.571 115.07 121.267V126.364H75.6877V126.164ZM120.668 224.221V157.151H155.252V234.416H130.863C125.266 234.516 120.668 229.918 120.668 224.221ZM234.017 234.516H160.75V157.251H244.312V224.321C244.212 229.918 239.714 234.516 234.017 234.516Z",fill:"white"}),l("path",{d:"M146.256 124.664C142.958 124.664 140.259 127.363 140.259 130.661C140.259 133.96 142.958 136.659 146.256 136.659C149.555 136.659 152.254 133.96 152.254 130.661C152.154 127.363 149.555 124.664 146.256 124.664Z",fill:"white"}),l("path",{d:"M166.047 124.664C162.749 124.664 160.05 127.363 160.05 130.661C160.05 133.96 162.749 136.659 166.047 136.659C169.346 136.659 172.045 133.96 172.045 130.661C172.045 127.363 169.346 124.664 166.047 124.664Z",fill:"white"}),l("path",{d:"M185.839 124.664C182.54 124.664 179.841 127.363 179.841 130.661C179.841 133.96 182.54 136.659 185.839 136.659C189.137 136.659 191.836 133.96 191.836 130.661C191.836 127.363 189.137 124.664 185.839 124.664Z",fill:"white"}),l("path",{d:"M220.323 172.945H182.44C180.941 172.945 179.641 174.145 179.641 175.744C179.641 177.343 180.841 178.543 182.44 178.543H220.323C221.822 178.543 223.122 177.343 223.122 175.744C223.122 174.145 221.822 172.945 220.323 172.945Z",fill:"white"}),l("path",{d:"M220.323 203.629H182.44C180.941 203.629 179.641 204.828 179.641 206.428C179.641 208.027 180.841 209.226 182.44 209.226H220.323C221.822 209.226 223.122 208.027 223.122 206.428C223.122 204.828 221.822 203.629 220.323 203.629Z",fill:"white"})]}))}))]})),t("defs",{children:[t("linearGradient",i({id:"paint0_linear_2127_3259",x1:"309.213",y1:"161.991",x2:"10.7864",y2:"161.991",gradientUnits:"userSpaceOnUse"},{children:[l("stop",{stopColor:"#00D5BE"}),l("stop",{offset:"1",stopColor:"#003D61"})]})),t("linearGradient",i({id:"paint1_linear_2127_3259",x1:"160",y1:"442.496",x2:"160",y2:"122.496",gradientUnits:"userSpaceOnUse"},{children:[l("stop",{stopColor:"#D1D1D1"}),l("stop",{offset:"0.1978",stopColor:"#DBDBDC"}),l("stop",{offset:"0.6835",stopColor:"#F0F0F1"}),l("stop",{offset:"1",stopColor:"#F8F7F9"})]})),t("linearGradient",i({id:"paint2_linear_2127_3259",x1:"157.612",y1:"18.4177",x2:"163.391",y2:"301.574",gradientUnits:"userSpaceOnUse"},{children:[l("stop",{stopColor:"#BFBFBF"}),l("stop",{offset:"0.9816",stopColor:"#F8F7F9"})]})),l("clipPath",i({id:"clip0_2127_3259"},{children:l("rect",{width:"320",height:"320",fill:"white"})})),l("clipPath",i({id:"clip1_2127_3259"},{children:l("rect",{width:"224",height:"224",fill:"white",transform:"translate(48 48)"})})),l("clipPath",i({id:"clip2_2127_3259"},{children:l("rect",{width:"223.9",height:"223.9",fill:"white",transform:"translate(48 48)"})}))]})]}))}export{C as default};
@@ -1 +1 @@
1
- import{SEGMENTS as e}from"../../constants/segment.js";import t from"./assets/CompletionAppIcon.js";import c from"./assets/CompletionAppIconBe.js";import i from"./assets/DrillingAppIcon.js";import n from"./assets/DrillingAppIconBe.js";import a from"./assets/NoSegmentAppIcon.js";var s="/static/media/3f1e09e6e814329ccfc22c5f2fb49320.png";function o(s){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"ui";if(!s||!s.length)return a;var r="ui"===o,p=s[0];return p===e.COMPLETION?r?t:c:p===e.DRILLING?r?i:n:a}function r(t){var c=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"ui";if(!t||!t.length)return s;var i="ui"===c,n=t[0];return n===e.COMPLETION?i?"/static/media/747c045c9381addbc4c6aecd531ccbff.png":"/static/media/9f235cc0306a992ec6aecee01ad6956b.png":n===e.DRILLING?i?"/static/media/dad8511026615181e47069625c14a00d.png":"/static/media/cc3725c7d2b2258f38e3e25e49ce0a53.png":s}export{r as getAppIcon,o as getIconComponentBySegment};
1
+ import{SEGMENTS as t}from"../../constants/segment.js";import e from"./assets/CompletionAppIcon.js";import c from"./assets/CompletionAppIconBe.js";import n from"./assets/DrillingAppIcon.js";import i from"./assets/DrillingAppIconBe.js";import s from"./assets/NoSegmentAppIcon.js";const o="/static/media/3f1e09e6e814329ccfc22c5f2fb49320.png";function a(o){let a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"ui";if(!o||!o.length)return s;const p="ui"===a,r=o[0];return r===t.COMPLETION?p?e:c:r===t.DRILLING?p?n:i:s}function p(e){let c=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"ui";if(!e||!e.length)return o;const n="ui"===c,i=e[0];return i===t.COMPLETION?n?"/static/media/747c045c9381addbc4c6aecd531ccbff.png":"/static/media/9f235cc0306a992ec6aecee01ad6956b.png":i===t.DRILLING?n?"/static/media/dad8511026615181e47069625c14a00d.png":"/static/media/cc3725c7d2b2258f38e3e25e49ce0a53.png":o}export{p as getAppIcon,a as getIconComponentBySegment};
@@ -1 +1 @@
1
- {"version":3,"file":"AppVersionsSelect.d.ts","sourceRoot":"","sources":["../../../src/components/AppVersionsSelect/AppVersionsSelect.js"],"names":[],"mappings":"AAqCO;;;;;;;;gBAoJN"}
1
+ {"version":3,"file":"AppVersionsSelect.d.ts","sourceRoot":"","sources":["../../../src/components/AppVersionsSelect/AppVersionsSelect.js"],"names":[],"mappings":"AAqCO;;;;;;;;gBAyJN"}
@@ -1 +1 @@
1
- import e from"@babel/runtime/helpers/objectWithoutProperties";import t from"@babel/runtime/helpers/defineProperty";import r from"@babel/runtime/helpers/slicedToArray";import{useState as n,useMemo as a,useEffect as o}from"react";import{string as s,func as i}from"prop-types";import{isEmpty as l,maxBy as c}from"lodash";import p from"classnames";import{makeStyles as u,Grid as d,FormControl as m,InputLabel as b,Select as f,ListSubheader as v,MenuItem as g}from"@material-ui/core";import"../../permissions/PermissionsContext.js";import{PERMISSIONS as h}from"../../permissions/constants/index.js";import{withPermissionsHOC as j}from"../../permissions/withPermissionsHOC.js";import"@babel/runtime/helpers/asyncToGenerator";import"@babel/runtime/regenerator";import"../../clients/jsonApi/index.js";import"../../permissions/ProvidePermissions.js";import P from"../TruncatedText/index.js";import"../../constants/goals.js";import"../../constants/segment.js";import"../../constants/alerts.js";import"../../constants/apps.js";import"../../constants/drillstring.js";import"../../constants/completion.js";import{PACKAGE_STATUSES as O,PACKAGE_LABELS as A,TEXT_FOR_PACKAGE_LABELS as y}from"../../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 E from"./effects/index.js";import{jsx as D,jsxs as S}from"react/jsx-runtime";var _=["appId"],R=["canReadAppPackages"];function k(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function w(e){for(var r=1;r<arguments.length;r++){var n=null!=arguments[r]?arguments[r]:{};r%2?k(Object(n),!0).forEach((function(r){t(e,r,n[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):k(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var C=O,L=A,T=y,x=u((function(e){return{select:{width:250,margin:"8px 0"},menuListRoot:{maxWidth:580},group:{fontStyle:"italic",fontWeight:"bold",fontSize:"12px",color:"#999",backgroundColor:e.palette.background.b9}}})),B=function(e){var s=e.className,i=e.value,u=e.onChange,h=e.isLoading,j=e.disabled,O=e.error,A=e.packages,y=x(),E=n(i),_=r(E,2),R=_[0],k=_[1],w=a((function(){var e,r={},n=(t(e={},L.PROD,{label:"Stable Release - no stable version",value:L.PROD,disabled:!0}),t(e,L.BETA,{label:"Beta - no beta version",value:L.BETA,disabled:!0}),t(e,L.DEV,{label:"Dev - no dev version",value:L.DEV,disabled:!0}),e),a=[];return A.filter((function(e){return e.status!==C.FAILURE})).forEach((function(e){var t=e.version,o=e.package_code_version,s=e.notes,i=e.label,l=e.status,c="v".concat(o||t);if(i){var p=n[i];p.label="".concat(T[i]," ").concat(c," ").concat(s?"- ".concat(s):""),p.disabled=!1,r[p.value]=e}else r[t]=e,a.push({label:"".concat(c," ").concat(s?"- ".concat(s):""),value:t,status:l})})),{labeled:Object.values(n),unlabeled:a,packageByValue:r}}),[A]),B=w.labeled,V=w.unlabeled,I=w.packageByValue,G=function(e){return u(e,I[e])},M=A.some((function(e){return!e.label})),F=!l(A);return o((function(){if(F&&!i){var e=B.find((function(e){return!e.disabled}))||c(V.filter((function(e){return e.status===C.PUBLISHED})),"value");k(null==e?void 0:e.value),G(null==e?void 0:e.value)}}),[B,V]),h||O?null:D(d,{children:S(m,{className:p(y.select,s),children:[D(b,{shrink:!(!i&&!R),htmlFor:"appVersion",children:"App Version"}),S(f,{"data-testid":"".concat("DC_versionSelect","_dropdown"),value:i||R,onChange:function(e){return G(e.target.value)},disabled:h||j,label:"App Version",inputProps:{name:"appVersion",id:"appVersion"},MenuProps:{MenuListProps:{classes:{root:y.menuListRoot}}},children:[M&&D(v,{className:y.group,children:"Labelled Versions (When selected always shows current Stable Release, Beta or Dev version)"}),B.map((function(e){var t=e.label,r=e.value,n=e.disabled;return D(g,{"data-testid":"".concat("DC_versionSelect","_option_").concat(t,"MenuItem"),value:r,disabled:n,children:t})})),M&&D(v,{className:y.group,children:"Other versions (App will always show selected version until version is deleted)"}),V.map((function(e){var t=e.label,r=e.value;return D(g,{"data-testid":"".concat("DC_versionSelect","_option_").concat(t,"MenuItem"),value:r,children:D(P,{children:t})})}))]})]})})};B.defaultProps={disabled:!1,error:null,isLoading:!1,packages:[],value:null};var V=function(t){var r=t.appId,n=e(t,_),a=E(r,{status:[C.DRAFT,C.PUBLISHED],order:"desc",sort:"created_at"});return D(B,w(w({},n),a))};V.propTypes={value:s,onChange:i.isRequired,appId:s.isRequired},V.defaultProps={value:null};var I=j({canReadAppPackages:function(e){var t=e.appId;return h.getCanReadAppPackages(t)}},{loader:null})((function(t){var r=t.canReadAppPackages,n=e(t,R);return r&&D(V,w({},n))}));export{B as AppVersionsSelectView,I as default};
1
+ import{useState as e,useMemo as s,useEffect as t}from"react";import{string as a,func as o}from"prop-types";import{isEmpty as r,maxBy as n}from"lodash";import l from"classnames";import{makeStyles as i,Grid as p,FormControl as d,InputLabel as c,Select as u,ListSubheader as m,MenuItem as v}from"@material-ui/core";import"../../permissions/PermissionsContext.js";import{PERMISSIONS as b}from"../../permissions/constants/index.js";import{withPermissionsHOC as g}from"../../permissions/withPermissionsHOC.js";import"query-string";import"../../clients/api/apiCore.js";import"../../clients/constants.js";import"../../permissions/ProvidePermissions.js";import f from"../TruncatedText/index.js";import"../../constants/goals.js";import"../../constants/segment.js";import"../../constants/alerts.js";import"../../constants/apps.js";import"../../constants/drillstring.js";import"../../constants/completion.js";import*as h from"../../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 j from"./effects/index.js";import{jsx as P,jsxs as A}from"react/jsx-runtime";const{PACKAGE_STATUSES:_,PACKAGE_LABELS:E,TEXT_FOR_PACKAGE_LABELS:C}=h,R=i((e=>({select:{width:250,margin:"8px 0"},menuListRoot:{maxWidth:580},group:{fontStyle:"italic",fontWeight:"bold",fontSize:"12px",color:"#999",backgroundColor:e.palette.background.b9}}))),S=a=>{let{className:o,value:i,onChange:b,isLoading:g,disabled:h,error:j,packages:S}=a;const L=R(),[k,D]=e(i),{labeled:x,unlabeled:B,packageByValue:T}=s((()=>{const e={},s={[E.PROD]:{label:"Stable Release - no stable version",value:E.PROD,disabled:!0},[E.BETA]:{label:"Beta - no beta version",value:E.BETA,disabled:!0},[E.DEV]:{label:"Dev - no dev version",value:E.DEV,disabled:!0}},t=[];return S.filter((e=>e.status!==_.FAILURE)).forEach((a=>{const{version:o,package_code_version:r,notes:n,label:l,status:i}=a,p=`v${r||o}`;if(l){const t=s[l];t.label=`${C[l]} ${p} ${n?`- ${n}`:""}`,t.disabled=!1,e[t.value]=a}else e[o]=a,t.push({label:`${p} ${n?`- ${n}`:""}`,value:o,status:i})})),{labeled:Object.values(s),unlabeled:t,packageByValue:e}}),[S]),V=e=>b(e,T[e]),$=S.some((e=>!e.label)),w=!r(S);return t((()=>{if(w&&!i){const e=x.find((e=>!e.disabled))||n(B.filter((e=>e.status===_.PUBLISHED)),"value");D(null==e?void 0:e.value),V(null==e?void 0:e.value)}}),[x,B]),g||j?null:P(p,{children:A(d,{className:l(L.select,o),children:[P(c,{shrink:!(!i&&!k),htmlFor:"appVersion",children:"App Version"}),A(u,{"data-testid":"DC_versionSelect_dropdown",value:i||k,onChange:e=>V(e.target.value),disabled:g||h,label:"App Version",inputProps:{name:"appVersion",id:"appVersion"},MenuProps:{MenuListProps:{classes:{root:L.menuListRoot}}},children:[$&&P(m,{className:L.group,children:"Labelled Versions (When selected always shows current Stable Release, Beta or Dev version)"}),x.map((e=>{let{label:s,value:t,disabled:a}=e;return P(v,{"data-testid":`DC_versionSelect_option_${s}MenuItem`,value:t,disabled:a,children:s},t)})),$&&P(m,{className:L.group,children:"Other versions (App will always show selected version until version is deleted)"}),B.map((e=>{let{label:s,value:t}=e;return P(v,{"data-testid":`DC_versionSelect_option_${s}MenuItem`,value:t,children:P(f,{children:s})},t)}))]})]})})};S.defaultProps={disabled:!1,error:null,isLoading:!1,packages:[],value:null};const L=e=>{let{appId:s,...t}=e;const a=j(s,{status:[_.DRAFT,_.PUBLISHED],order:"desc",sort:"created_at"});return P(S,{...t,...a})};L.propTypes={value:a,onChange:o.isRequired,appId:a.isRequired},L.defaultProps={value:null};var k=g({canReadAppPackages:e=>{let{appId:s}=e;return b.getCanReadAppPackages(s)}},{loader:null})((e=>{let{canReadAppPackages:s,...t}=e;return s&&P(L,{...t})}));export{S as AppVersionsSelectView,k as default};
@@ -1 +1 @@
1
- import r from"@babel/runtime/helpers/asyncToGenerator";import e from"@babel/runtime/helpers/slicedToArray";import n from"@babel/runtime/regenerator";import{useState as a,useEffect as t}from"react";import o from"jsona";import{getAppPackages as i}from"../../../clients/jsonApi/index.js";var s=new o,c=function(o,c){var p=a({isLoading:!0,packages:[],error:null}),u=e(p,2),l=u[0],m=u[1];return t((function(){var e;(e=r(n.mark((function r(){var e;return n.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,i(o,c);case 3:e=r.sent,m({isLoading:!1,packages:s.deserialize(e),error:null}),r.next=10;break;case 7:r.prev=7,r.t0=r.catch(0),m({isLoading:!1,packages:[],error:r.t0});case 10:case"end":return r.stop()}}),r,null,[[0,7]])}))),function(){return e.apply(this,arguments)})()}),[o]),l};export{c as default};
1
+ import{useState as r,useEffect as o}from"react";import a from"jsona";import{getAppPackages as n}from"../../../clients/jsonApi/index.js";const e=new a,i=(a,i)=>{const[s,t]=r({isLoading:!0,packages:[],error:null});return o((()=>{!async function(){try{const r=await n(a,i);t({isLoading:!1,packages:e.deserialize(r),error:null})}catch(r){t({isLoading:!1,packages:[],error:r})}}()}),[a]),s};export{i as default};
@@ -34,7 +34,7 @@ declare const _default: import("react").ComponentType<Pick<Pick<Pick<{
34
34
  isMultiple: PropTypes.Requireable<boolean>;
35
35
  appKey: PropTypes.Requireable<string>;
36
36
  queryParams: PropTypes.Requireable<PropTypes.InferProps<{}>>;
37
- }>, "label" | "appKey" | "companyId" | "data-testid" | "classes" | "onChange" | "disabled" | "disableClearable" | "assetType" | "parentAssetType" | "parentAssetId" | "queryParams" | "currentValue" | "isNullable" | "isMultiple" | "errorText"> & Pick<{
37
+ }>, "label" | "appKey" | "companyId" | "data-testid" | "classes" | "onChange" | "disabled" | "disableClearable" | "isNullable" | "assetType" | "parentAssetType" | "parentAssetId" | "queryParams" | "currentValue" | "isMultiple" | "errorText"> & Pick<{
38
38
  "data-testid": any;
39
39
  appKey: any;
40
40
  assetType: any;
@@ -60,14 +60,14 @@ declare const _default: import("react").ComponentType<Pick<Pick<Pick<{
60
60
  'data-testid'?: string;
61
61
  disabled?: boolean;
62
62
  disableClearable?: boolean;
63
+ isNullable?: boolean;
63
64
  parentAssetType?: string;
64
65
  parentAssetId?: number;
65
66
  queryParams?: PropTypes.InferProps<{}>;
66
67
  currentValue?: NonNullable<number | number[]>;
67
- isNullable?: boolean;
68
68
  isMultiple?: boolean;
69
69
  errorText?: string;
70
- } & {}, "label" | "appKey" | "companyId" | "data-testid" | "onChange" | "disabled" | "disableClearable" | "assetType" | "parentAssetType" | "parentAssetId" | "queryParams" | "assetFields" | "currentValue" | "isNullable" | "isMultiple" | "errorText" | "autocompleteProps"> & import("@material-ui/core").StyledComponentProps<"option" | "listbox" | "root" | "formControl" | "inputRoot" | "searchIcon" | "popupIndicator" | "noOptions">>;
70
+ } & {}, "label" | "appKey" | "companyId" | "data-testid" | "onChange" | "disabled" | "disableClearable" | "isNullable" | "assetType" | "parentAssetType" | "parentAssetId" | "queryParams" | "assetFields" | "currentValue" | "isMultiple" | "errorText" | "autocompleteProps"> & import("@material-ui/core").StyledComponentProps<"option" | "listbox" | "root" | "formControl" | "inputRoot" | "searchIcon" | "popupIndicator" | "noOptions">>;
71
71
  export default _default;
72
72
  import PropTypes from "prop-types";
73
73
  //# sourceMappingURL=AssetEditorAutocomplete.d.ts.map
@@ -1 +1 @@
1
- import e from"@babel/runtime/helpers/slicedToArray";import t from"@babel/runtime/helpers/defineProperty";import r from"@babel/runtime/helpers/objectWithoutProperties";import{forwardRef as n,useState as o,useEffect as i,useMemo as a}from"react";import l from"prop-types";import{debounce as s,identity as p}from"lodash";import{List as d,withStyles as u,Typography as c,FormControl as m,InputLabel as f,Tooltip as b,Chip as y,FormHelperText as g,TextField as h,InputAdornment as v}from"@material-ui/core";import{Search as O}from"@material-ui/icons";import{Autocomplete as x}from"@material-ui/lab";import T from"../TruncatedText/index.js";import{PER_PAGE as P,SCROLL_THRESHOLD as I}from"./constants.js";import{useAssetAutoCompleteSelectData as C}from"./effects/index.js";import{jsxs as j,jsx as A}from"react/jsx-runtime";var S=["children","loading","hasMore"];function M(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function q(e){for(var r=1;r<arguments.length;r++){var n=null!=arguments[r]?arguments[r]:{};r%2?M(Object(n),!0).forEach((function(r){t(e,r,n[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):M(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var w="DC_SingleAssetEditorAutocomplete",L={paddingLeft:"16px",height:36,listStyleType:"none",display:"flex",alignItems:"center"},D=function(e){var t=e.text;return A("li",{style:L,children:A(c,{variant:"body2",color:"textSecondary",children:void 0===t?"Loading...":t})},"loading")},N=n((function(e,t){var n=e.children,o=e.loading,i=e.hasMore,a=r(e,S);return j(d,q(q({},a),{},{ref:t,role:"listbox",children:[n,(i||o)&&A(D,{})]}))})),R=function(t){var r,n=t["data-testid"],l=t.appKey,d=t.assetType,u=t.classes,c=t.companyId,S=t.currentValue,M=t.disabled,L=t.disableClearable,R=t.errorText,V=t.isMultiple,E=t.isNullable,K=t.label,_=t.onChange,k=t.parentAssetId,z=t.parentAssetType,H=t.queryParams,B=t.autocompleteProps,F=void 0===B?{}:B,W=t.assetFields,G=o(V?[]:null),J=e(G,2),Q=J[0],U=J[1],X=o(""),Y=e(X,2),Z=Y[0],$=Y[1],ee=o(""),te=e(ee,2),re=te[0],ne=te[1],oe=o(!1),ie=e(oe,2),ae=ie[0],le=ie[1],se=o(1),pe=e(se,2),de=pe[0],ue=pe[1],ce=o(!0),me=e(ce,2),fe=me[0],be=me[1];i((function(){U(V?[]:null),ue(1),le(!1)}),[d]);var ye=C({appKey:l,assetType:d,companyId:c,currentValue:S,isMultiple:V,parentAssetId:k,parentAssetType:z,scrollPage:de,searchText:Z,setCurrentOption:U,queryParams:H,assetFields:W}),ge=ye.assets,he=ye.loading;i((function(){var e=ge.length>=P*de;be(e)}),[ge,de]);var ve=a((function(){return s((function(e){ue(1),$(e)}),200)}),[]),Oe=a((function(){return s((function(){return ue((function(e){return e+1}))}),250)}),[]),xe={endAdornment:u.endAdornment,inputRoot:u.inputRoot,listbox:u.listbox,noOptions:u.noOptions,option:u.option,popupIndicator:u.popupIndicator,root:u.root};return j(m,{disabled:M,error:!!R,className:u.formControl,children:[!E&&A(f,{shrink:!0,children:K}),A(b,{title:null!==(r=null==Q?void 0:Q.name)&&void 0!==r?r:"",children:A(x,q(q({disabled:M,blurOnSelect:!0,classes:xe,clearOnBlur:!0,clearOnEscape:!0,"data-testid":n,disableClearable:L,filterOptions:p,getOptionLabel:function(e){return null==e?void 0:e.name},getOptionSelected:function(e,t){return e&&t&&e.id===t.id},inputValue:ae?re:(null==Q?void 0:Q.name)||"",ListboxComponent:N,ListboxProps:{onScroll:function(e){if(fe&&!he){var t=e.currentTarget;t.scrollTop+t.clientHeight>t.scrollHeight-I&&Oe()}},loading:he,hasMore:fe},options:ge,onChange:function(e,t){var r;U(t),_(V?t.map((function(e){return e.id})):null!==(r=null==t?void 0:t.id)&&void 0!==r?r:null,t)},onClose:function(){ne(""),$(""),le(!1),ue(1)},onInputChange:function(e,t,r){"input"===r?(ne(t),le(!0),ve(t)):$("")},noOptionsText:A(D,{text:he?"Loading...":"No options"}),renderInput:function(e){return A(h,q(q({},e),{},{variant:"standard",placeholder:"Search for asset..."},!V&&{InputProps:q(q({},e.InputProps),{},{startAdornment:A(v,{children:A(O,{className:u.searchIcon})})})}))},renderOption:function(e){var t=e.id,r=e.name;return A(T,{"data-testid":"".concat(w,"_option_").concat(r,"MenuItem"),children:V&&S.includes(t)?"".concat(r," (already selected)"):r},t)},value:Q,multiple:V},V&&{renderTags:function(e,t){return e.map((function(e,r){return A(y,q({label:null==e?void 0:e.name},t({index:r})),e.id)}))},getOptionDisabled:function(e){return S.includes(e.id)}}),F))}),A(g,{children:R})]})};R.defaultProps={label:"Choose An Asset",currentValue:void 0,disableClearable:!0,isNullable:!1,parentAssetId:void 0,parentAssetType:void 0,companyId:void 0,errorText:"","data-testid":"".concat(w,"_autoComplete"),disabled:!1,isMultiple:!1,appKey:null,queryParams:{}},R.propTypes={label:l.string,currentValue:l.oneOfType([l.number,l.arrayOf(l.number)]),isNullable:l.bool,onChange:l.func.isRequired,classes:l.shape({}).isRequired,disableClearable:l.bool,parentAssetId:l.number,parentAssetType:l.string,companyId:l.number,assetType:l.string.isRequired,errorText:l.string,"data-testid":l.string,disabled:l.bool,isMultiple:l.bool,appKey:l.string,queryParams:l.shape({})};var V=u((function(e){return{formControl:{},listbox:{maxHeight:350},root:{fontSize:16},inputRoot:{paddingTop:16,padding:"8px 0",paddingBottom:0,width:350,fontSize:16},popupIndicator:{display:"none"},option:{paddingLeft:"16px !important",height:36,"&[aria-disabled=true]":{color:e.palette.primary.text9,opacity:1,backgroundColor:"unset"}},noOptions:{padding:0},searchIcon:{fontSize:"20px !important"}}}))(R);export{V as default};
1
+ import{forwardRef as e,useState as t,useEffect as o,useMemo as r}from"react";import n from"prop-types";import{debounce as a,identity as i}from"lodash";import{List as l,withStyles as s,Typography as p,FormControl as d,InputLabel as u,Tooltip as c,Chip as m,FormHelperText as b,TextField as g,InputAdornment as h}from"@material-ui/core";import{Search as y}from"@material-ui/icons";import{Autocomplete as f}from"@material-ui/lab";import x from"../TruncatedText/index.js";import{PER_PAGE as T,SCROLL_THRESHOLD as I}from"./constants.js";import{useAssetAutoCompleteSelectData as C}from"./effects/index.js";import{jsxs as A,jsx as O}from"react/jsx-runtime";const v="DC_SingleAssetEditorAutocomplete",P={paddingLeft:"16px",height:36,listStyleType:"none",display:"flex",alignItems:"center"},S=e=>{let{text:t="Loading..."}=e;return O("li",{style:P,children:O(p,{variant:"body2",color:"textSecondary",children:t})},"loading")},q=e(((e,t)=>{let{children:o,loading:r,hasMore:n,...a}=e;return A(l,{...a,ref:t,role:"listbox",children:[o,(n||r)&&O(S,{})]})})),L=e=>{let{"data-testid":n,appKey:l,assetType:s,classes:p,companyId:P,currentValue:L,disabled:M,disableClearable:N,errorText:R,isMultiple:V,isNullable:j,label:K,onChange:$,parentAssetId:_,parentAssetType:z,queryParams:H,autocompleteProps:k={},assetFields:B}=e;const[D,E]=t(V?[]:null),[F,w]=t(""),[G,J]=t(""),[Q,U]=t(!1),[W,X]=t(1),[Y,Z]=t(!0);o((()=>{E(V?[]:null),X(1),U(!1)}),[s]);const{assets:ee,loading:te}=C({appKey:l,assetType:s,companyId:P,currentValue:L,isMultiple:V,parentAssetId:_,parentAssetType:z,scrollPage:W,searchText:F,setCurrentOption:E,queryParams:H,assetFields:B});o((()=>{const e=ee.length>=T*W;Z(e)}),[ee,W]);const oe=r((()=>a((e=>{X(1),w(e)}),200)),[]),re=r((()=>a((()=>X((e=>e+1))),250)),[]),ne={endAdornment:p.endAdornment,inputRoot:p.inputRoot,listbox:p.listbox,noOptions:p.noOptions,option:p.option,popupIndicator:p.popupIndicator,root:p.root};return A(d,{disabled:M,error:!!R,className:p.formControl,children:[!j&&O(u,{shrink:!0,children:K}),O(c,{title:(null==D?void 0:D.name)??"",children:O(f,{disabled:M,blurOnSelect:!0,classes:ne,clearOnBlur:!0,clearOnEscape:!0,"data-testid":n,disableClearable:N,filterOptions:i,getOptionLabel:e=>null==e?void 0:e.name,getOptionSelected:(e,t)=>e&&t&&e.id===t.id,inputValue:Q?G:(null==D?void 0:D.name)||"",ListboxComponent:q,ListboxProps:{onScroll:e=>{if(!Y||te)return;const t=e.currentTarget;t.scrollTop+t.clientHeight>t.scrollHeight-I&&re()},loading:te,hasMore:Y},options:ee,onChange:(e,t)=>{E(t),$(V?t.map((e=>{let{id:t}=e;return t})):(null==t?void 0:t.id)??null,t)},onClose:()=>{J(""),w(""),U(!1),X(1)},onInputChange:(e,t,o)=>{"input"===o?(J(t),U(!0),oe(t)):w("")},noOptionsText:O(S,{text:te?"Loading...":"No options"}),renderInput:e=>O(g,{...e,variant:"standard",placeholder:"Search for asset...",...!V&&{InputProps:{...e.InputProps,startAdornment:O(h,{children:O(y,{className:p.searchIcon})})}}}),renderOption:e=>{let{id:t,name:o}=e;return O(x,{"data-testid":`${v}_option_${o}MenuItem`,children:V&&L.includes(t)?`${o} (already selected)`:o},t)},value:D,multiple:V,...V&&{renderTags:(e,t)=>e.map(((e,o)=>O(m,{label:null==e?void 0:e.name,...t({index:o})},e.id))),getOptionDisabled:e=>L.includes(e.id)},...k})}),O(b,{children:R})]})};L.defaultProps={label:"Choose An Asset",currentValue:void 0,disableClearable:!0,isNullable:!1,parentAssetId:void 0,parentAssetType:void 0,companyId:void 0,errorText:"","data-testid":`${v}_autoComplete`,disabled:!1,isMultiple:!1,appKey:null,queryParams:{}},L.propTypes={label:n.string,currentValue:n.oneOfType([n.number,n.arrayOf(n.number)]),isNullable:n.bool,onChange:n.func.isRequired,classes:n.shape({}).isRequired,disableClearable:n.bool,parentAssetId:n.number,parentAssetType:n.string,companyId:n.number,assetType:n.string.isRequired,errorText:n.string,"data-testid":n.string,disabled:n.bool,isMultiple:n.bool,appKey:n.string,queryParams:n.shape({})};var M=s((e=>({formControl:{},listbox:{maxHeight:350},root:{fontSize:16},inputRoot:{paddingTop:16,padding:"8px 0",paddingBottom:0,width:350,fontSize:16},popupIndicator:{display:"none"},option:{paddingLeft:"16px !important",height:36,"&[aria-disabled=true]":{color:e.palette.primary.text9,opacity:1,backgroundColor:"unset"}},noOptions:{padding:0},searchIcon:{fontSize:"20px !important"}})))(L);export{M as default};
@@ -19,14 +19,14 @@ declare const _default: import("react").ComponentType<Pick<Pick<PropTypes.InferP
19
19
  appKey?: string;
20
20
  'data-testid'?: string;
21
21
  defaultValue?: any;
22
+ isNullable?: boolean;
22
23
  parentAssetType?: string;
23
24
  parentAssetId?: number;
24
25
  currentValue?: NonNullable<string | number>;
25
- isNullable?: boolean;
26
26
  appType?: PropTypes.InferProps<{
27
27
  constants: PropTypes.Requireable<PropTypes.InferProps<{}>>;
28
28
  }>;
29
- } & {}, "label" | "appKey" | "data-testid" | "onChange" | "defaultValue" | "assetType" | "parentAssetType" | "parentAssetId" | "currentValue" | "isNullable" | "appType"> & import("@material-ui/core").StyledComponentProps<"progress" | "select" | "selectMenu" | "menuItem">>;
29
+ } & {}, "label" | "appKey" | "data-testid" | "onChange" | "defaultValue" | "isNullable" | "assetType" | "parentAssetType" | "parentAssetId" | "currentValue" | "appType"> & import("@material-ui/core").StyledComponentProps<"progress" | "select" | "selectMenu" | "menuItem">>;
30
30
  export default _default;
31
31
  import PropTypes from "prop-types";
32
32
  //# sourceMappingURL=SingleAssetEditor.d.ts.map
@@ -1 +1 @@
1
- import e from"prop-types";import{withStyles as t,FormControl as a,InputLabel as s,Select as r,MenuItem as n,CircularProgress as i}from"@material-ui/core";import l from"../TruncatedText/index.js";import{useAssetSelectData as p}from"./effects/index.js";import{jsxs as d,jsx as u}from"react/jsx-runtime";var o="DC_SingleAssetEditor",c=function(e){var t=e.appKey,c=e.label,m=e.currentValue,h=e.defaultValue,y=e.isNullable,f=e.onChange,g=e.classes,v=e.parentAssetId,A=e.assetType,T=e.parentAssetType,b=p({appKey:t,assetId:m,assetType:A,parentAssetId:v,parentAssetType:T}),I=b.assets,N=b.loading,x=m||h;return d("div",{children:[d(a,{disabled:N,children:[!y&&u(s,{shrink:!!x,children:c}),d(r,{"data-testid":e["data-testid"],value:x,onChange:function(e){return f(e.target.value)},className:g.select,MenuProps:{className:g.selectMenu},children:[y&&u(n,{"data-testid":"".concat(o,"_noActiveAssetMenuItem"),value:h,className:g.menuItem,children:"No active asset"},"empty item"),I.map((function(e){var t=(null==e?void 0:e.name)||"";return u(n,{"data-testid":"".concat(o,"_option_").concat(t,"MenuItem"),value:Number(e.id),className:g.menuItem,children:u(l,{children:t})},e.id)}))]})]}),N&&u(i,{"data-testid":"".concat(o,"_CircularProgress"),size:20,className:g.progress})]})};c.propTypes={classes:e.shape({}).isRequired,appType:e.shape({constants:e.shape({})}),currentValue:e.oneOfType([e.number,e.string]),defaultValue:e.any,onChange:e.func.isRequired,label:e.string,isNullable:e.bool,parentAssetId:e.number,parentAssetType:e.string,assetType:e.string.isRequired,"data-testid":e.string,appKey:e.string},c.defaultProps={label:"Choose An Asset",currentValue:"",defaultValue:"",appType:void 0,isNullable:!1,parentAssetId:void 0,parentAssetType:void 0,"data-testid":"".concat(o,"_autoComplete"),appKey:null};var m=t({progress:{margin:"0 15px"},select:{width:350},selectMenu:{maxHeight:350},menuItem:{width:350}})(c);export{o as PAGE_NAME,m as default};
1
+ import e from"prop-types";import{withStyles as t,FormControl as s,InputLabel as a,Select as r,MenuItem as n,CircularProgress as i}from"@material-ui/core";import l from"../TruncatedText/index.js";import{useAssetSelectData as p}from"./effects/index.js";import{jsxs as d,jsx as u}from"react/jsx-runtime";const o="DC_SingleAssetEditor",m=e=>{const{appKey:t,label:m,currentValue:c,defaultValue:h,isNullable:y,onChange:g,classes:f,parentAssetId:A,assetType:T,parentAssetType:v}=e,{assets:b,loading:I}=p({appKey:t,assetId:c,assetType:T,parentAssetId:A,parentAssetType:v}),N=c||h;return d("div",{children:[d(s,{disabled:I,children:[!y&&u(a,{shrink:!!N,children:m}),d(r,{"data-testid":e["data-testid"],value:N,onChange:e=>g(e.target.value),className:f.select,MenuProps:{className:f.selectMenu},children:[y&&u(n,{"data-testid":`${o}_noActiveAssetMenuItem`,value:h,className:f.menuItem,children:"No active asset"},"empty item"),b.map((e=>{const t=(null==e?void 0:e.name)||"";return u(n,{"data-testid":`${o}_option_${t}MenuItem`,value:Number(e.id),className:f.menuItem,children:u(l,{children:t})},e.id)}))]})]}),I&&u(i,{"data-testid":`${o}_CircularProgress`,size:20,className:f.progress})]})};m.propTypes={classes:e.shape({}).isRequired,appType:e.shape({constants:e.shape({})}),currentValue:e.oneOfType([e.number,e.string]),defaultValue:e.any,onChange:e.func.isRequired,label:e.string,isNullable:e.bool,parentAssetId:e.number,parentAssetType:e.string,assetType:e.string.isRequired,"data-testid":e.string,appKey:e.string},m.defaultProps={label:"Choose An Asset",currentValue:"",defaultValue:"",appType:void 0,isNullable:!1,parentAssetId:void 0,parentAssetType:void 0,"data-testid":`${o}_autoComplete`,appKey:null};var c=t({progress:{margin:"0 15px"},select:{width:350},selectMenu:{maxHeight:350},menuItem:{width:350}})(m);export{o as PAGE_NAME,c as default};
@@ -1 +1 @@
1
- var r=200,a=400;export{r as PER_PAGE,a as SCROLL_THRESHOLD};
1
+ const o=200,t=400;export{o as PER_PAGE,t as SCROLL_THRESHOLD};
@@ -4,7 +4,7 @@ export function useAssetSelectData({ appKey, assetType, assetId, parentAssetType
4
4
  assetId: any;
5
5
  parentAssetType: any;
6
6
  parentAssetId: any;
7
- queryParams: any;
7
+ queryParams?: any;
8
8
  }): {
9
9
  assets: any[];
10
10
  loading: boolean;
@@ -1 +1 @@
1
- import e from"@babel/runtime/helpers/asyncToGenerator";import r from"@babel/runtime/helpers/slicedToArray";import t from"@babel/runtime/helpers/defineProperty";import n from"@babel/runtime/helpers/toConsumableArray";import a from"@babel/runtime/regenerator";import{useState as o,useEffect as s,useRef as i}from"react";import{isEmpty as p}from"lodash";import"uuid";import"lodash/set";import"lodash/get";import"lodash/unset";import"moment";import{mapAssetGetRequest as c,getAssets as u}from"../../../clients/jsonApi/index.js";import"../../../clients/subscriptions.js";import"../../../clients/api/apiCore.js";import"../../../clients/constants.js";import{PER_PAGE as l}from"../constants.js";function m(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 f(e){for(var r=1;r<arguments.length;r++){var n=null!=arguments[r]?arguments[r]:{};r%2?m(Object(n),!0).forEach((function(r){t(e,r,n[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):m(Object(n)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))}))}return e}var d=function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return{sort:"name",order:"asc",fields:["".concat(e,".name"),"".concat(e,".asset_id")].concat(n(r))}},y=function(e){var r,t,n;return f(f({},e.attributes),{},{id:+e.id,programId:+(null===(r=e.relationships)||void 0===r||null===(t=r.program)||void 0===t||null===(n=t.data)||void 0===n?void 0:n.id)})};function b(n){var i=n.appKey,p=n.assetType,u=n.assetId,l=n.parentAssetType,m=n.parentAssetId,b=n.queryParams,h=o([]),v=r(h,2),g=v[0],O=v[1],j=o(!0),x=r(j,2),w=x[0],P=x[1];return s((function(){function r(){return(r=e(a.mark((function e(){var r;return a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,c(p)(f(f(f({},d(p)),{},t({per_page:1e4},l,m),i&&{app_key:i}),b));case 2:r=e.sent,O(r.data.map(y)),P(!1);case 5:case"end":return e.stop()}}),e)})))).apply(this,arguments)}P(!0),function(){r.apply(this,arguments)}()}),[p,u,l,m,i]),{assets:g,loading:w}}function h(t){var n=t.appKey,m=t.assetType,b=t.companyId,h=t.currentValue,v=t.isMultiple,g=t.parentAssetId,O=t.parentAssetType,j=t.scrollPage,x=t.searchText,w=t.setCurrentOption,P=t.queryParams,k=t.assetFields,A=o([]),T=r(A,2),I=T[0],_=T[1],D=o(!1),C=r(D,2),q=C[0],E=C[1],K=i(),S=i();return s((function(){function r(){return(r=e(a.mark((function e(){var r;return a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,c(m)(f(f({},d(m,k)),{},{ids:v?h:[h]},P));case 2:if(r=e.sent,!p(r.data)){e.next=7;break}return e.next=6,u(f(f({},d(m,k)),{},{ids:v?h:[h]},P));case 6:r=e.sent;case 7:w((function(){if(v)return r.data.map(y);var e=r.data[0];return e?y(e):null}));case 8:case"end":return e.stop()}}),e)})))).apply(this,arguments)}(v?h.length:h)&&function(){r.apply(this,arguments)}()}),[]),s((function(){function r(){return(r=e(a.mark((function e(){var r,t,o,s,i;return a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,E(!0),r={per_page:l,page:j},O&&g&&(r[O]=g),b&&(r.company=b),x&&(r.search=x),n&&(r.app_key=n),t=c(m)(f(f(f({},d(m,k)),r),P)),S.current=t,e.next=11,t;case 11:if(o=e.sent,S.current===t){e.next=14;break}return e.abrupt("return");case 14:s=o.data.map(y),i=K.current!==m||1===j,_(i?s:function(e){return e.concat(s)}),K.current=m,e.next=23;break;case 20:e.prev=20,e.t0=e.catch(0),console.error(e.t0);case 23:E(!1);case 24:case"end":return e.stop()}}),e,null,[[0,20]])})))).apply(this,arguments)}!function(){r.apply(this,arguments)}()}),[m,O,g,b,x,j,n]),{assets:I,loading:q}}export{h as useAssetAutoCompleteSelectData,b as useAssetSelectData};
1
+ import{useState as t,useEffect as e,useRef as s}from"react";import{isEmpty as a}from"lodash";import"uuid";import"lodash/set";import"lodash/get";import"lodash/unset";import"moment";import{mapAssetGetRequest as r,getAssets as n}from"../../../clients/jsonApi/index.js";import"../../../clients/subscriptions.js";import"../../../clients/api/apiCore.js";import"../../../clients/constants.js";import{PER_PAGE as o}from"../constants.js";const i=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return{sort:"name",order:"asc",fields:[`${t}.name`,`${t}.asset_id`,...e]}},p=t=>{var e,s,a;return{...t.attributes,id:+t.id,programId:+(null===(e=t.relationships)||void 0===e||null===(s=e.program)||void 0===s||null===(a=s.data)||void 0===a?void 0:a.id)}};function c(s){let{appKey:a,assetType:n,assetId:o,parentAssetType:c,parentAssetId:l,queryParams:d=null}=s;const[u,m]=t([]),[y,f]=t(!0);return e((()=>{f(!0),async function(){const t=await r(n)({...i(n),per_page:1e4,[c]:l,...a&&{app_key:a},...d});m(t.data.map(p)),f(!1)}()}),[n,o,c,l,a]),{assets:u,loading:y}}function l(c){let{appKey:l,assetType:d,companyId:u,currentValue:m,isMultiple:y,parentAssetId:f,parentAssetType:g,scrollPage:h,searchText:j,setCurrentOption:v,queryParams:A,assetFields:I}=c;const[T,_]=t([]),[w,x]=t(!1),P=s(),b=s();return e((()=>{(y?m.length:m)&&async function(){let t=await r(d)({...i(d,I),ids:y?m:[m],...A});a(t.data)&&(t=await n({...i(d,I),ids:y?m:[m],...A})),v((()=>{if(y)return t.data.map(p);const e=t.data[0];return e?p(e):null}))}()}),[]),e((()=>{!async function(){try{x(!0);const t={per_page:o,page:h};g&&f&&(t[g]=f),u&&(t.company=u),j&&(t.search=j),l&&(t.app_key=l);const e=r(d)({...i(d,I),...t,...A});b.current=e;const s=await e;if(b.current!==e)return;const a=s.data.map(p),n=P.current!==d||1===h;_(n?a:t=>t.concat(a)),P.current=d}catch(t){console.error(t)}x(!1)}()}),[d,g,f,u,j,h,l]),{assets:T,loading:w}}export{l as useAssetAutoCompleteSelectData,c as useAssetSelectData};
@@ -1 +1 @@
1
- import e from"@babel/runtime/helpers/defineProperty";import t from"@babel/runtime/helpers/slicedToArray";import{useState as a}from"react";import s from"prop-types";import{get as l,capitalize as r}from"lodash";import{Button as o}from"@material-ui/core";import i from"./AssetEditors.css.js";import n from"./SingleAssetEditor.js";import p from"./AssetEditorAutocomplete.js";import{jsxs as c,jsx as u}from"react/jsx-runtime";var d="DC_AppSettingsAssetEditor",m=function(s){var m=s.appKey,y=s.appType,A=s.defaultValue,f=s.isNullable,b=s.label,h=s.onSettingsChange,g=s.settings,C=l(y,["primaryAsset","assetType","type"]),T=l(y,["primaryAsset","assetType","id"]),v=l(y,["primaryAsset","autocompleteSelect"]),N=l(y,["secondaryAsset","assetType","type"]),V=l(y,["secondaryAsset","assetType","id"]),K=l(y,["secondaryAsset","autocompleteSelect"]),_=l(g,T),E=a(_||A),S=t(E,2),j=S[0],q=S[1],R=a(l(g,V)),k=t(R,2),x=k[0],B=k[1],D=a(!(!N||x)),I=t(D,2),P=I[0],U=I[1],W=a(!(!N||!x)),w=t(W,2),z=w[0],F=w[1],G=function(t){B(t),h(e({},V,t))},H=function(t){q(t),B(null),F(!1),U(!!N);var a=e({},T,t);V&&(a[V]=null),h(a)};return c("div",{className:i.main,children:[u("div",{className:i.title,children:"Active Asset"}),c("div",{className:i.editor,children:[v?u(p,{appKey:m,assetType:C,currentValue:j,"data-testid":"".concat(d,"_primaryAssetEditorAutocomplete"),defaultValue:A,disableClearable:!f,isNullable:f,label:b,onChange:H}):u(n,{appKey:m,assetType:C,currentValue:j,"data-testid":"".concat(d,"_primaryAutoComplete"),defaultValue:A,isNullable:f,label:b,onChange:H}),P&&u(o,{"data-testid":"".concat(d,"_changeWellButton"),color:"primary",onClick:function(){F(!0),U(!1)},disabled:!_,children:"Change ".concat(r(N))}),!P&&z&&u(o,{"data-testid":"".concat(d,"_useDefaultButton"),color:"secondary",onClick:function(){B(null),F(!1),U(!!N),h(e({},V,null))},children:"Use active asset"})]}),z&&u("div",{className:i.editor,children:K?u(p,{appKey:m,assetType:N,currentValue:x,"data-testid":"".concat(d,"_secondaryAssetEditorAutocomplete"),defaultValue:A,disableClearable:!1,isNullable:f,label:"Active ".concat(r(N)),onChange:G,parentAssetId:j,parentAssetType:C}):u(n,{"data-testid":"".concat(d,"_secondaryAutoComplete"),onChange:G,defaultValue:A,currentValue:x,isNullable:f,label:"Active ".concat(r(N)),assetType:N,parentAssetId:j,parentAssetType:C,appKey:m})})]})};m.defaultProps={label:"Choose An Asset",isNullable:!1,defaultValue:void 0,appKey:null},m.propTypes={settings:s.shape({}).isRequired,appType:s.shape({}).isRequired,defaultValue:s.any,onSettingsChange:s.func.isRequired,label:s.string,isNullable:s.bool,appKey:s.string};export{m as default};
1
+ import{useState as e}from"react";import t from"prop-types";import{get as a,capitalize as s}from"lodash";import{Button as l}from"@material-ui/core";import r from"./AssetEditors.css.js";import i from"./SingleAssetEditor.js";import o from"./AssetEditorAutocomplete.js";import{jsxs as p,jsx as n}from"react/jsx-runtime";const d="DC_AppSettingsAssetEditor",u=t=>{let{appKey:u,appType:c,defaultValue:m,isNullable:y,label:A,onSettingsChange:b,settings:f}=t;const h=a(c,["primaryAsset","assetType","type"]),g=a(c,["primaryAsset","assetType","id"]),C=a(c,["primaryAsset","autocompleteSelect"]),T=a(c,["secondaryAsset","assetType","type"]),N=a(c,["secondaryAsset","assetType","id"]),V=a(c,["secondaryAsset","autocompleteSelect"]),v=a(f,g),[$,K]=e(v||m),[_,E]=e(a(f,N)),[S,j]=e(!(!T||_)),[q,R]=e(!(!T||!_)),k=e=>{E(e),b({[N]:e})},x=e=>{K(e),E(null),R(!1),j(!!T);const t={[g]:e};N&&(t[N]=null),b(t)};return p("div",{className:r.main,children:[n("div",{className:r.title,children:"Active Asset"}),p("div",{className:r.editor,children:[C?n(o,{appKey:u,assetType:h,currentValue:$,"data-testid":`${d}_primaryAssetEditorAutocomplete`,defaultValue:m,disableClearable:!y,isNullable:y,label:A,onChange:x}):n(i,{appKey:u,assetType:h,currentValue:$,"data-testid":`${d}_primaryAutoComplete`,defaultValue:m,isNullable:y,label:A,onChange:x}),S&&n(l,{"data-testid":`${d}_changeWellButton`,color:"primary",onClick:()=>{R(!0),j(!1)},disabled:!v,children:`Change ${s(T)}`}),!S&&q&&n(l,{"data-testid":`${d}_useDefaultButton`,color:"secondary",onClick:()=>{E(null),R(!1),j(!!T),b({[N]:null})},children:"Use active asset"})]}),q&&n("div",{className:r.editor,children:V?n(o,{appKey:u,assetType:T,currentValue:_,"data-testid":`${d}_secondaryAssetEditorAutocomplete`,defaultValue:m,disableClearable:!1,isNullable:y,label:`Active ${s(T)}`,onChange:k,parentAssetId:$,parentAssetType:h}):n(i,{"data-testid":`${d}_secondaryAutoComplete`,onChange:k,defaultValue:m,currentValue:_,isNullable:y,label:`Active ${s(T)}`,assetType:T,parentAssetId:$,parentAssetType:h,appKey:u})})]})};u.defaultProps={label:"Choose An Asset",isNullable:!1,defaultValue:void 0,appKey:null},u.propTypes={settings:t.shape({}).isRequired,appType:t.shape({}).isRequired,defaultValue:t.any,onSettingsChange:t.func.isRequired,label:t.string,isNullable:t.bool,appKey:t.string};export{u as default};
@@ -1 +1 @@
1
- import e from"@babel/runtime/helpers/defineProperty";import t from"@babel/runtime/helpers/objectWithoutProperties";import r from"classnames";import{makeStyles as o,Tooltip as i}from"@material-ui/core";import{InfoOutlined as a}from"@material-ui/icons";import{SwitchControlComponent as n}from"../../SwitchControl/index.js";import{jsx as c,jsxs as s}from"react/jsx-runtime";var l=["isChecked","title","className"];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}var m=o((function(e){var t=e.palette;return{root:{marginBottom:"-2px",marginTop:"-8px",marginLeft:"-9px",width:"fit-content"},title:{display:"flex",alignItems:"center"},infoIcon:{marginLeft:4,color:t.primary.text6,"&:hover":{color:t.primary.contrastText}}}})),f=function(o){var f=o.isChecked,u=o.title,b=o.className,h=t(o,l),O=m();return c(n,function(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}({className:r(O.root,b),size:"small",rightLabel:s("span",{className:O.title,children:[u,c(i,{title:"A separate app will be placed on the dashboard for each asset chosen",placement:"bottom-start",children:c(a,{fontSize:"small",className:O.infoIcon})})]}),color:"primary",checked:f},h))};f.defaultProps={title:"Multiple Assets"};export{f as default};
1
+ import t from"classnames";import{makeStyles as e,Tooltip as r}from"@material-ui/core";import{InfoOutlined as o}from"@material-ui/icons";import{SwitchControlComponent as a}from"../../SwitchControl/index.js";import{jsx as i,jsxs as l}from"react/jsx-runtime";const s=e((t=>{let{palette:e}=t;return{root:{marginBottom:"-2px",marginTop:"-8px",marginLeft:"-9px",width:"fit-content"},title:{display:"flex",alignItems:"center"},infoIcon:{marginLeft:4,color:e.primary.text6,"&:hover":{color:e.primary.contrastText}}}})),m=e=>{let{isChecked:m,title:n,className:c,...p}=e;const f=s();return i(a,{className:t(f.root,c),size:"small",rightLabel:l("span",{className:f.title,children:[n,i(r,{title:"A separate app will be placed on the dashboard for each asset chosen",placement:"bottom-start",children:i(o,{fontSize:"small",className:f.infoIcon})})]}),color:"primary",checked:m,...p})};m.defaultProps={title:"Multiple Assets"};export{m as default};
@@ -1 +1 @@
1
- import t from"@babel/runtime/helpers/slicedToArray";import e from"prop-types";import{useState as o,useCallback as s}from"react";import{debounce as n}from"lodash";import{makeStyles as a,Chip as r}from"@material-ui/core";import i from"../../Search/Search.js";import"../../Search/components/Listbox.js";import"../../Search/components/Paper.js";import"../../Search/components/RecentSearches.js";import p from"../../Search/components/InputAdornmentLeft.js";import l from"../../Search/components/Groups.js";import{usePrimaryAssetSelectData as c}from"../effects/index.js";import{ACTIVE_STATUS as u}from"../constants.js";import m from"./SelectItem.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 d}from"../../../constants/assetTypes.js";import"../../../utils/env.js";import"../../GradientManager/configuration/constants.js";import{jsx as g}from"react/jsx-runtime";var h=a({paper:{boxShadow:"0px 3px 10px 0px #00000066"},listbox:{maxHeight:210,"& .MuiAutocomplete-option":{padding:"0px 0px 0px 16px"}},option:{padding:"6px 0","&:hover":{backgroundColor:"initial"}},groupChip:{height:32,padding:0},activeChip:{fontWeight:500,backgroundColor:"#75DB29",color:"#212121",fontSize:10,cursor:"pointer",height:12,textTransform:"uppercase",marginRight:12,letterSpacing:1}}),f=function(e){var a=e["data-testid"],f=e.appKey,j=e.assetFields,b=e.assetType,C=e.company,x=e.currentOption,A=e.currentValue,v=e.defaultValue,I=e.disableClearable,S=e.disabled,y=e.groups,R=e.isNullable,G=e.isRequiredAssetId,F=e.label,P=e.multiple,T=e.onActiveAssetIdChange,O=e.onChange,N=e.onGroupChange,V=e.onGroupReset,k=e.onInputReset,L=e.placeholder,M=e.selectedGroup,q=e.setCurrentOption,H=o(""),K=t(H,2),_=K[0],w=K[1],z=b===d.rig.type?"Search Rig...":"Search Pad / Frac Fleet...",B=h(),D=c({appKey:f,assetType:b,company:C,groups:y,isRequiredAssetId:G,assetFields:j,selectedGroup:M,currentValue:A,setCurrentOption:q,onActiveAssetIdChange:T}),E=D.assets,W=D.loading,J=s(n((function(t){w(t)}),200),[]);return g(i,{classes:{paper:B.paper,listbox:B.listbox,groupChip:B.groupChip},defaultValue:v,disableClearable:I,disabled:S,isNullable:R,loading:W,onGroupChange:N,onGroupReset:V,placeholder:L||z,selectedGroup:M,onChange:function(t,e){O(e)},"data-testid":a,multiple:P,onInputChange:J,onInputReset:function(){k(),q(null)},TextFieldProps:{label:F,value:_,endAdornment:(null==x?void 0:x.status)===u&&g(r,{"data-not-migrated-muichip":!0,className:B.activeChip,label:"Active"})},isHiddenAllOption:!0,value:x,options:E,renderCustomOption:function(t,e){var o=t.status,s=t.name,n=t.id,r=e.selected;return g(m,{className:B.option,assetName:s,multiple:P,selected:r,value:n,status:o&&u,"data-testid":"".concat(a,"_option_").concat(s,"MenuItem")},n)},getOptionLabel:function(t){return t.name||""},GroupsComponent:l,groups:y,InputProps:{startAdornment:g(p,{})}})};f.propTypes={assetFields:e.array,"data-testid":e.string,onInputReset:e.func,onActiveAssetIdChange:e.func,placeholder:e.string},f.defaultProps={assetFields:[],"data-testid":"PrimaryAssetEditorAutocomplete",onInputReset:function(){},onActiveAssetIdChange:function(){},placeholder:null};export{f as default};
1
+ import e from"prop-types";import{useState as t,useCallback as s}from"react";import{debounce as o}from"lodash";import{makeStyles as a,Chip as n}from"@material-ui/core";import r from"../../Search/Search.js";import"../../Search/components/Listbox.js";import"../../Search/components/Paper.js";import"../../Search/components/RecentSearches.js";import p from"../../Search/components/InputAdornmentLeft.js";import i from"../../Search/components/Groups.js";import{usePrimaryAssetSelectData as l}from"../effects/index.js";import{ACTIVE_STATUS as c}from"../constants.js";import m from"./SelectItem.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 d}from"../../../constants/assetTypes.js";import"../../../utils/env.js";import"../../GradientManager/configuration/constants.js";import{jsx as u}from"react/jsx-runtime";const g=a({paper:{boxShadow:"0px 3px 10px 0px #00000066"},listbox:{maxHeight:210,"& .MuiAutocomplete-option":{padding:"0px 0px 0px 16px"}},option:{padding:"6px 0","&:hover":{backgroundColor:"initial"}},groupChip:{height:32,padding:0},activeChip:{fontWeight:500,backgroundColor:"#75DB29",color:"#212121",fontSize:10,cursor:"pointer",height:12,textTransform:"uppercase",marginRight:12,letterSpacing:1}}),h=e=>{let{"data-testid":a,appKey:h,assetFields:f,assetType:j,company:C,currentOption:b,currentValue:x,defaultValue:A,disableClearable:I,disabled:S,groups:v,isNullable:y,isRequiredAssetId:R,label:G,multiple:F,onActiveAssetIdChange:P,onChange:O,onGroupChange:T,onGroupReset:N,onInputReset:V,placeholder:k,selectedGroup:L,setCurrentOption:M}=e;const[q,H]=t(""),K=j===d.rig.type?"Search Rig...":"Search Pad / Frac Fleet...",$=g(),{assets:_,loading:w}=l({appKey:h,assetType:j,company:C,groups:v,isRequiredAssetId:R,assetFields:f,selectedGroup:L,currentValue:x,setCurrentOption:M,onActiveAssetIdChange:P}),z=s(o((e=>{H(e)}),200),[]);return u(r,{classes:{paper:$.paper,listbox:$.listbox,groupChip:$.groupChip},defaultValue:A,disableClearable:I,disabled:S,isNullable:y,loading:w,onGroupChange:T,onGroupReset:N,placeholder:k||K,selectedGroup:L,onChange:(e,t)=>{O(t)},"data-testid":a,multiple:F,onInputChange:z,onInputReset:()=>{V(),M(null)},TextFieldProps:{label:G,value:q,endAdornment:(null==b?void 0:b.status)===c&&u(n,{"data-not-migrated-muichip":!0,className:$.activeChip,label:"Active"})},isHiddenAllOption:!0,value:b,options:_,renderCustomOption:(e,t)=>{let{status:s,name:o,id:n}=e,{selected:r}=t;return u(m,{className:$.option,assetName:o,multiple:F,selected:r,value:n,status:s&&c,"data-testid":`${a}_option_${o}MenuItem`},n)},getOptionLabel:e=>e.name||"",GroupsComponent:i,groups:v,InputProps:{startAdornment:u(p,{})}})};h.propTypes={assetFields:e.array,"data-testid":e.string,onInputReset:e.func,onActiveAssetIdChange:e.func,placeholder:e.string},h.defaultProps={assetFields:[],"data-testid":"PrimaryAssetEditorAutocomplete",onInputReset:()=>{},onActiveAssetIdChange:()=>{},placeholder:null};export{h as default};
@@ -1 +1 @@
1
- import t from"@babel/runtime/helpers/slicedToArray";import e from"prop-types";import{useState as o,useEffect as s,useMemo as n}from"react";import{debounce as r}from"lodash";import{makeStyles as a,Chip as i}from"@material-ui/core";import p from"../../Search/Search.js";import"../../Search/components/Listbox.js";import"../../Search/components/Paper.js";import"../../Search/components/RecentSearches.js";import l from"../../Search/components/InputAdornmentLeft.js";import c from"../../Search/components/Groups.js";import{usePrimaryAssetSelectData as u}from"../effects/usePrimaryAssetSelectData.js";import{ACTIVE_STATUS as m}from"../constants.js";import d from"./SelectItem.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 g}from"../../../constants/assetTypes.js";import"../../../utils/env.js";import"../../GradientManager/configuration/constants.js";import{PER_PAGE as f}from"../../AssetEditor/constants.js";import{jsx as h}from"react/jsx-runtime";var b=a({paper:{boxShadow:"0px 3px 10px 0px #00000066"},listbox:{maxHeight:210,"& .MuiAutocomplete-option":{padding:"0px 0px 0px 16px"}},option:{padding:"6px 0","&:hover":{backgroundColor:"initial"}},groupChip:{height:32,padding:0},activeChip:{fontWeight:500,backgroundColor:"#75DB29",color:"#212121",fontSize:10,cursor:"pointer",height:12,textTransform:"uppercase",marginRight:12,letterSpacing:1}}),j=function(e){var a=e.placeholder,j=e.label,A=e["data-testid"],C=e.appKey,x=e.assetFields,v=e.assetType,S=e.company,I=e.currentOption,y=e.currentValue,P=e.defaultValue,R=e.disableClearable,G=e.disabled,T=e.groups,F=e.isDrillingPlatformApp,O=e.isNullable,N=e.isRequiredAssetId,V=e.multiple,k=e.onActiveAssetIdChange,D=e.onChange,H=e.onGroupChange,L=e.onGroupReset,M=e.onInputReset,q=e.selectedGroup,E=e.setCurrentOption,K=o(""),_=t(K,2),w=_[0],z=_[1],B=o(1),W=t(B,2),J=W[0],Q=W[1],U=o(!0),X=t(U,2),Y=X[0],Z=X[1],$=v===g.rig.type?"Search Rig...":"Search Pad / Frac Fleet...",tt=b(),et=u({isDrillingPlatformApp:F,searchValue:w,scrollPage:J,appKey:C,assetType:v,company:S,groups:T,isRequiredAssetId:N,assetFields:x,selectedGroup:q,currentValue:y,setCurrentOption:E,onActiveAssetIdChange:k}),ot=et.assets,st=et.loading;s((function(){var t=ot.length>=f*J;Z(t)}),[ot,J]);var nt=n((function(){return r((function(t,e){"input"===e&&(Q(1),z(t))}),200)}),[]),rt=n((function(){return r((function(){return Q((function(t){return t+1}))}),250)}),[]);return h(p,{classes:{paper:tt.paper,listbox:tt.listbox,groupChip:tt.groupChip},defaultValue:P,disableClearable:R||G,disabled:G,isNullable:O,loading:st,onGroupChange:H,placeholder:a||$,selectedGroup:q,onGroupReset:L,onChange:function(t,e){D(e)},"data-testid":A,multiple:V,onInputChangeCallback:nt,onInputReset:function(){M(),E(null)},TextFieldProps:{label:j,value:w,endAdornment:(null==I?void 0:I.status)===m&&h(i,{"data-not-migrated-muichip":!0,className:tt.activeChip,label:"Active"})},ListboxProps:{onScroll:function(t){if(Y&&!st){var e=t.currentTarget;e.scrollTop+e.clientHeight>e.scrollHeight-800&&rt()}}},isHiddenAllOption:!0,value:I,options:ot,renderCustomOption:function(t,e){var o=t.status,s=t.name,n=t.id,r=e.selected;return h(d,{className:tt.option,assetName:s,multiple:V,selected:r,value:n,status:o&&m,"data-testid":"".concat(A,"_option_").concat(s,"MenuItem")},n)},getOptionLabel:function(t){return t.name||""},GroupsComponent:c,groups:T,InputProps:{startAdornment:h(l,{})}})};j.propTypes={assetFields:e.array,"data-testid":e.string,onInputReset:e.func,onActiveAssetIdChange:e.func,placeholder:e.string},j.defaultProps={assetFields:[],"data-testid":"PrimaryAssetEditorAutocomplete",onInputReset:function(){},onActiveAssetIdChange:function(){},placeholder:null};export{j as default};
1
+ import t from"prop-types";import{useState as e,useEffect as s,useMemo as o}from"react";import{debounce as r}from"lodash";import{makeStyles as a,Chip as n}from"@material-ui/core";import p from"../../Search/Search.js";import"../../Search/components/Listbox.js";import"../../Search/components/Paper.js";import"../../Search/components/RecentSearches.js";import i from"../../Search/components/InputAdornmentLeft.js";import l from"../../Search/components/Groups.js";import{usePrimaryAssetSelectData as c}from"../effects/usePrimaryAssetSelectData.js";import{ACTIVE_STATUS as m}from"../constants.js";import u from"./SelectItem.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 d}from"../../../constants/assetTypes.js";import"../../../utils/env.js";import"../../GradientManager/configuration/constants.js";import{PER_PAGE as g}from"../../AssetEditor/constants.js";import{jsx as h}from"react/jsx-runtime";const f=a({paper:{boxShadow:"0px 3px 10px 0px #00000066"},listbox:{maxHeight:210,"& .MuiAutocomplete-option":{padding:"0px 0px 0px 16px"}},option:{padding:"6px 0","&:hover":{backgroundColor:"initial"}},groupChip:{height:32,padding:0},activeChip:{fontWeight:500,backgroundColor:"#75DB29",color:"#212121",fontSize:10,cursor:"pointer",height:12,textTransform:"uppercase",marginRight:12,letterSpacing:1}}),j=t=>{let{placeholder:a,label:j,"data-testid":C,appKey:b,assetFields:A,assetType:x,company:S,currentOption:I,currentValue:v,defaultValue:y,disableClearable:P,disabled:R,groups:G,isDrillingPlatformApp:T,isNullable:F,isRequiredAssetId:O,multiple:N,onActiveAssetIdChange:V,onChange:k,onGroupChange:D,onGroupReset:H,onInputReset:L,selectedGroup:M,setCurrentOption:q}=t;const[E,K]=e(""),[$,_]=e(1),[w,z]=e(!0),B=x===d.rig.type?"Search Rig...":"Search Pad / Frac Fleet...",W=f(),{assets:J,loading:Q}=c({isDrillingPlatformApp:T,searchValue:E,scrollPage:$,appKey:b,assetType:x,company:S,groups:G,isRequiredAssetId:O,assetFields:A,selectedGroup:M,currentValue:v,setCurrentOption:q,onActiveAssetIdChange:V});s((()=>{const t=J.length>=g*$;z(t)}),[J,$]);const U=o((()=>r(((t,e)=>{"input"===e&&(_(1),K(t))}),200)),[]),X=o((()=>r((()=>_((t=>t+1))),250)),[]);return h(p,{classes:{paper:W.paper,listbox:W.listbox,groupChip:W.groupChip},defaultValue:y,disableClearable:P||R,disabled:R,isNullable:F,loading:Q,onGroupChange:D,placeholder:a||B,selectedGroup:M,onGroupReset:H,onChange:(t,e)=>{k(e)},"data-testid":C,multiple:N,onInputChangeCallback:U,onInputReset:()=>{L(),q(null)},TextFieldProps:{label:j,value:E,endAdornment:(null==I?void 0:I.status)===m&&h(n,{"data-not-migrated-muichip":!0,className:W.activeChip,label:"Active"})},ListboxProps:{onScroll:t=>{if(!w||Q)return;const e=t.currentTarget;e.scrollTop+e.clientHeight>e.scrollHeight-800&&X()}},isHiddenAllOption:!0,value:I,options:J,renderCustomOption:(t,e)=>{let{status:s,name:o,id:r}=t,{selected:a}=e;return h(u,{className:W.option,assetName:o,multiple:N,selected:a,value:r,status:s&&m,"data-testid":`${C}_option_${o}MenuItem`},r)},getOptionLabel:t=>t.name||"",GroupsComponent:l,groups:G,InputProps:{startAdornment:h(i,{})}})};j.propTypes={assetFields:t.array,"data-testid":t.string,onInputReset:t.func,onActiveAssetIdChange:t.func,placeholder:t.string},j.defaultProps={assetFields:[],"data-testid":"PrimaryAssetEditorAutocomplete",onInputReset:()=>{},onActiveAssetIdChange:()=>{},placeholder:null};export{j as default};
@@ -1 +1 @@
1
- import e from"@babel/runtime/helpers/toConsumableArray";import t from"prop-types";import{capitalize as s}from"lodash";import{makeStyles as a,FormControl as r,InputLabel as n,Select as i,CircularProgress as o}from"@material-ui/core";import{useSecondaryAssetSelectData as l}from"../effects/index.js";import d from"./SelectItem.js";import{ACTIVE_STATUS as u,ACTIVE_ASSET_ID as p,DEFAULT_ASSET_TYPE as c,ACTIVE_ASSETS_ID as m}from"../constants.js";import{jsxs as f,jsx as v}from"react/jsx-runtime";var y="DC_SingleAssetEditor",A=a((function(e){return{container:{position:"relative"},select:{display:"flex",alignItems:"center",justifyContent:"space-between",paddingBottom:0},formControl:{marginTop:16,width:"100%","& .MuiInput-underline.Mui-disabled, & .MuiFilledInput-underline.Mui-disabled":{"&::before":{borderBottom:"1px solid #808080"}}},selectValue:function(t){return{padding:0,color:t.disabled?e.palette.primary.text7:e.palette.primary.contrastText,"&:hover":{backgroundColor:"initial"}}},activeAssets:{color:"#9E9E9E",padding:"8px 0 6px"},progress:{position:"absolute",right:20,bottom:4},noActiveAsset:{color:"#9E9E9E",padding:"8px 0 6px"}}})),g=function(t){var a=t.appKey,g=t.primaryAssetLabel,b=t.isRequiredAssetId,h=t.secondaryAssetLabel,I=t.company,T=t.currentValue,x=t.defaultValue,C=t.onChange,N=t.disabled,V=t.parentAssetId,E=t.assetType,j=t.parentAssetType,F=t.assetFields,M=t.activeWellId,_=t.isDrillingPlatformApp,q=l({appKey:a,assetId:T,assetType:_?c:E,company:I,parentAssetId:V,parentAssetType:j,isRequiredAssetId:b,assetFields:F,activeWellId:M}),K=q.assets,R=q.loading,P=A({disabled:N}),W=T||x,k=K.some((function(e){return e.status===u})),w=s(E),B=[{name:"Active ".concat(w),id:p}].concat(e(K));return f("div",{className:P.container,children:[f(r,{className:P.formControl,disabled:R,children:[v(n,{shrink:!!W,children:h}),v(i,{"data-testid":t["data-testid"],classes:{select:P.select},value:W,disabled:N,onChange:function(e){var t=e.target,s=t.value===p?{id:p}:null==K?void 0:K.find((function(e){return e.id===t.value}));C(s)},fullWidth:!0,renderValue:function(e){if(e===m)return v("span",{className:P.activeAssets,children:"Active ".concat(w,"s")});if(e===p&&!k)return v("span",{className:P.noActiveAsset,children:"".concat(g," has No Active ").concat(h)});if(e===p&&k){var t=K.find((function(e){return e.status===u}));return v(d,{className:P.selectValue,assetName:t.name,status:t.status})}var s=K.find((function(t){return t.id===e}));return v(d,{className:P.selectValue,assetName:null==s?void 0:s.name,status:null==s?void 0:s.status})},children:B.map((function(e){var t=e.id,s=e.name,a=e.status,r=s||"";return v(d,{assetName:r,"data-testid":"".concat(y,"_option_").concat(r,"MenuItem"),value:t,status:a},t)}))})]}),R&&v(o,{"data-testid":"".concat(y,"_CircularProgress"),size:20,className:P.progress})]})};g.propTypes={appType:t.shape({constants:t.shape({})}),currentValue:t.oneOfType([t.number,t.string]),defaultValue:t.any,onChange:t.func.isRequired,parentAssetId:t.number,parentAssetType:t.string,assetType:t.string.isRequired,"data-testid":t.string,appKey:t.string,assetFields:t.array},g.defaultProps={currentValue:"",defaultValue:"",appType:void 0,parentAssetId:void 0,parentAssetType:void 0,"data-testid":"".concat(y,"_autoComplete"),appKey:null,assetFields:[]};export{y as PAGE_NAME,g as default};
1
+ import e from"prop-types";import{capitalize as t}from"lodash";import{makeStyles as s,FormControl as a,InputLabel as i,Select as r,CircularProgress as n}from"@material-ui/core";import{useSecondaryAssetSelectData as l}from"../effects/index.js";import d from"./SelectItem.js";import{ACTIVE_STATUS as o,ACTIVE_ASSET_ID as p,ACTIVE_ASSETS_ID as u,DEFAULT_ASSET_TYPE as c}from"../constants.js";import{jsxs as m,jsx as f}from"react/jsx-runtime";const y="DC_SingleAssetEditor",g=s((e=>({container:{position:"relative"},select:{display:"flex",alignItems:"center",justifyContent:"space-between",paddingBottom:0},formControl:{marginTop:16,width:"100%","& .MuiInput-underline.Mui-disabled, & .MuiFilledInput-underline.Mui-disabled":{"&::before":{borderBottom:"1px solid #808080"}}},selectValue:t=>{let{disabled:s}=t;return{padding:0,color:s?e.palette.primary.text7:e.palette.primary.contrastText,"&:hover":{backgroundColor:"initial"}}},activeAssets:{color:"#9E9E9E",padding:"8px 0 6px"},progress:{position:"absolute",right:20,bottom:4},noActiveAsset:{color:"#9E9E9E",padding:"8px 0 6px"}}))),A=e=>{const{appKey:s,primaryAssetLabel:A,isRequiredAssetId:v,secondaryAssetLabel:h,company:b,currentValue:I,defaultValue:T,onChange:x,disabled:N,parentAssetId:C,assetType:V,parentAssetType:$,assetFields:E,activeWellId:j,isDrillingPlatformApp:F}=e,{assets:M,loading:_}=l({appKey:s,assetId:I,assetType:F?c:V,company:b,parentAssetId:C,parentAssetType:$,isRequiredAssetId:v,assetFields:E,activeWellId:j}),q=g({disabled:N}),K=I||T,R=M.some((e=>e.status===o)),P=t(V),W=[{name:`Active ${P}`,id:p},...M];return m("div",{className:q.container,children:[m(a,{className:q.formControl,disabled:_,children:[f(i,{shrink:!!K,children:h}),f(r,{"data-testid":e["data-testid"],classes:{select:q.select},value:K,disabled:N,onChange:e=>{let{target:t}=e;const s=t.value===p?{id:p}:null==M?void 0:M.find((e=>e.id===t.value));x(s)},fullWidth:!0,renderValue:e=>{if(e===u)return f("span",{className:q.activeAssets,children:`Active ${P}s`});if(e===p&&!R)return f("span",{className:q.noActiveAsset,children:`${A} has No Active ${h}`});if(e===p&&R){const e=M.find((e=>e.status===o));return f(d,{className:q.selectValue,assetName:e.name,status:e.status})}const t=M.find((t=>t.id===e));return f(d,{className:q.selectValue,assetName:null==t?void 0:t.name,status:null==t?void 0:t.status})},children:W.map((e=>{let{id:t,name:s,status:a}=e;const i=s||"";return f(d,{assetName:i,"data-testid":`${y}_option_${i}MenuItem`,value:t,status:a},t)}))})]}),_&&f(n,{"data-testid":`${y}_CircularProgress`,size:20,className:q.progress})]})};A.propTypes={appType:e.shape({constants:e.shape({})}),currentValue:e.oneOfType([e.number,e.string]),defaultValue:e.any,onChange:e.func.isRequired,parentAssetId:e.number,parentAssetType:e.string,assetType:e.string.isRequired,"data-testid":e.string,appKey:e.string,assetFields:e.array},A.defaultProps={currentValue:"",defaultValue:"",appType:void 0,parentAssetId:void 0,parentAssetType:void 0,"data-testid":`${y}_autoComplete`,appKey:null,assetFields:[]};export{y as PAGE_NAME,A as default};
@@ -1 +1 @@
1
- import e from"@babel/runtime/helpers/defineProperty";import t from"@babel/runtime/helpers/slicedToArray";import r from"@babel/runtime/helpers/objectWithoutProperties";import{useState as i}from"react";import a from"prop-types";import o from"classnames";import{makeStyles as n,Chip as s,Tooltip as c,Checkbox as l,MenuItem as p}from"@material-ui/core";import{CheckBoxOutlineBlank as m,CheckBox as d}from"@material-ui/icons";import{ACTIVE_STATUS as u}from"../constants.js";import f from"../../MiddleTruncate/MiddleTruncate.js";import{jsxs as b,jsx as h}from"react/jsx-runtime";var y=["data-testid","value","className","assetName","status","multiple","selected"];function g(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,i)}return r}function j(t){for(var r=1;r<arguments.length;r++){var i=null!=arguments[r]?arguments[r]:{};r%2?g(Object(i),!0).forEach((function(r){e(t,r,i[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):g(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}var O=n({menuItem:{display:"flex",justifyContent:"space-between",width:"100%",height:36,paddingBottom:0,paddingTop:0},option:{display:"flex",alignItems:"center",justifyContent:"space-between"},itemContent:{width:"100%",display:"flex",alignItems:"center",justifyContent:"space-between"},activeChip:{fontWeight:500,backgroundColor:"#75DB29",color:"#212121",fontSize:10,cursor:"pointer",height:12,textTransform:"uppercase",marginRight:12,letterSpacing:1}}),v=function(e){var a=e["data-testid"],n=e.value,g=e.className,v=e.assetName,w=e.status,P=e.multiple,x=e.selected,N=r(e,y),C=i(null),T=t(C,2),I=T[0],S=T[1],k=!!I,D=O(),z=b("div",{className:D.itemContent,children:[h(f,{onTruncate:function(e){S(e)},truncatedText:I,maxWidth:380,children:v}),w===u&&h(s,{"data-not-migrated-muichip":!0,className:D.activeChip,label:"Active"})]});return h(c,{title:k?v:"",children:P?b("div",{className:o(D.option),children:[h(l,{disableRipple:!0,icon:h(m,{style:{fontSize:20}}),className:D.checkbox,checkedIcon:h(d,{style:{fontSize:20}}),checked:x}),z]}):h(p,j(j({"data-testid":a,value:n,className:o(D.menuItem,g)},N),{},{children:z}))})};v.propTypes={"data-testid":a.string},v.defaultProps={"data-testid":"MenuItem"};export{v as default};
1
+ import{useState as e}from"react";import t from"prop-types";import i from"classnames";import{makeStyles as a,Chip as n,Tooltip as o,Checkbox as s,MenuItem as r}from"@material-ui/core";import{CheckBoxOutlineBlank as c,CheckBox as l}from"@material-ui/icons";import{ACTIVE_STATUS as m}from"../constants.js";import d from"../../MiddleTruncate/MiddleTruncate.js";import{jsxs as p,jsx as u}from"react/jsx-runtime";const f=a({menuItem:{display:"flex",justifyContent:"space-between",width:"100%",height:36,paddingBottom:0,paddingTop:0},option:{display:"flex",alignItems:"center",justifyContent:"space-between"},itemContent:{width:"100%",display:"flex",alignItems:"center",justifyContent:"space-between"},activeChip:{fontWeight:500,backgroundColor:"#75DB29",color:"#212121",fontSize:10,cursor:"pointer",height:12,textTransform:"uppercase",marginRight:12,letterSpacing:1}}),h=t=>{let{"data-testid":a,value:h,className:g,assetName:y,status:x,multiple:C,selected:b,...v}=t;const[N,T]=e(null),j=!!N,I=f(),w=p("div",{className:I.itemContent,children:[u(d,{onTruncate:e=>{T(e)},truncatedText:N,maxWidth:380,children:y}),x===m&&u(n,{"data-not-migrated-muichip":!0,className:I.activeChip,label:"Active"})]});return u(o,{title:j?y:"",children:C?p("div",{className:i(I.option),children:[u(s,{disableRipple:!0,icon:u(c,{style:{fontSize:20}}),className:I.checkbox,checkedIcon:u(l,{style:{fontSize:20}}),checked:b}),w]}):u(r,{"data-testid":a,value:h,className:i(I.menuItem,g),...v,children:w})})};h.propTypes={"data-testid":t.string},h.defaultProps={"data-testid":"MenuItem"};export{h as default};
@@ -1 +1 @@
1
- var e="active",s="activeAsset",t="activeAssets",a="asset";export{t as ACTIVE_ASSETS_ID,s as ACTIVE_ASSET_ID,e as ACTIVE_STATUS,a as DEFAULT_ASSET_TYPE};
1
+ const s="active",t="activeAsset",e="activeAssets",a="asset";export{e as ACTIVE_ASSETS_ID,t as ACTIVE_ASSET_ID,s as ACTIVE_STATUS,a as DEFAULT_ASSET_TYPE};
@@ -1 +1 @@
1
- import t from"@babel/runtime/helpers/toConsumableArray";import e from"@babel/runtime/helpers/defineProperty";import r from"@babel/runtime/helpers/asyncToGenerator";import n from"@babel/runtime/helpers/slicedToArray";import s from"@babel/runtime/regenerator";import{useState as o,useEffect as a,useRef as i}from"react";import{isEmpty as p}from"lodash";import"uuid";import"lodash/set";import"lodash/get";import"lodash/unset";import"moment";import{mapAssetGetRequest as c}from"../../../clients/jsonApi/index.js";import"../../../clients/subscriptions.js";import"../../../clients/api/apiCore.js";import"../../../clients/constants.js";import{jsonaDataFormatter as u}from"../../../utils/jsonaDataFormatter.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 l}from"../../../constants/assetTypes.js";import"../../../utils/env.js";import"../../GradientManager/configuration/constants.js";import{formatAsset as m,sortAsset as f,getRequestOptions as d}from"../utils/index.js";function y(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function j(t){for(var r=1;r<arguments.length;r++){var n=null!=arguments[r]?arguments[r]:{};r%2?y(Object(n),!0).forEach((function(r){e(t,r,n[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):y(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function b(t){var i=t.appKey,p=t.assetType,l=t.assetId,y=t.company,b=t.parentAssetType,h=t.parentAssetId,g=t.queryParams,v=t.assetFields,O=t.activeWellId,A=t.isRequiredAssetId,I=o([]),P=n(I,2),w=P[0],x=P[1],T=o(!0),k=n(T,2),_=k[0],q=k[1];return a((function(){function t(){return(t=r(s.mark((function t(){var r,n;return s.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,c(p)(j(j(j({},d(p,v)),{},e({per_page:1e4,company:"all"!==y?y:null},b,h),i&&{app_key:i}),g));case 2:r=t.sent,n=u.deserialize(r),x(n.map((function(t){return m({asset:t,activeWellId:O,isRequiredAssetId:A})})).sort(f)),q(!1);case 6:case"end":return t.stop()}}),t)})))).apply(this,arguments)}q(!0),function(){t.apply(this,arguments)}()}),[p,l,b,h,i,O,y]),{assets:w,loading:_}}function h(e){var y,b=e.appKey,h=e.assetType,g=e.company,v=e.groups,O=e.isRequiredAssetId,A=e.parentAssetId,I=e.parentAssetType,P=e.searchText,w=e.assetFields,x=e.currentValue,T=e.setCurrentOption,k=e.onActiveAssetIdChange,_=o([]),q=n(_,2),D=q[0],C=q[1],R=o(!1),E=n(R,2),F=E[0],W=E[1],z=i(null),G=(y=r(s.mark((function e(r){var n,o,a,i,y,v,_,q;return s.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,n=(null==r?void 0:r.type)||h,W(!0),o={per_page:1e4},I&&A&&(o[I]=A),g&&"all"!==g&&(o.company=g),P&&(o.search=P),b&&(o.app_key=b),z.current=g,a=n===l.pad.type?[].concat(t(w),["pad.active","pad.parent_frac_fleet_id","pad.current"]):w,i=c(n)(j(j({},d(n,a)),o)),e.next=13,i;case 13:y=e.sent,v=u.deserialize(y),_=v.map((function(t){return m({asset:t,group:null==r?void 0:r.name,isRequiredAssetId:O,isPrimaryAsset:!0})})).sort(f),z.current===g&&C((function(e){return[].concat(t(e),t(_))})),x&&n===h&&(q=_.find((function(t){return x===t.id||t.assetId&&x===t.assetId})),p(q)||T(q),n===l.rig.type&&k(null==q?void 0:q.activeWellId)),e.next=23;break;case 20:e.prev=20,e.t0=e.catch(0),console.error(e.t0);case 23:return e.prev=23,W(!1),e.finish(23);case 26:case"end":return e.stop()}}),e,null,[[0,20,23,26]])}))),function(t){return y.apply(this,arguments)});return a((function(){g&&C([])}),[g]),a((function(){v?v.forEach((function(t){G(t)})):G()}),[h,I,A,g,b,null==v?void 0:v.length]),{assets:D,loading:F}}export{h as usePrimaryAssetSelectData,b as useSecondaryAssetSelectData};
1
+ import{useState as s,useEffect as t,useRef as e}from"react";import{isEmpty as a}from"lodash";import"uuid";import"lodash/set";import"lodash/get";import"lodash/unset";import"moment";import{mapAssetGetRequest as n}from"../../../clients/jsonApi/index.js";import"../../../clients/subscriptions.js";import"../../../clients/api/apiCore.js";import"../../../clients/constants.js";import{jsonaDataFormatter as o}from"../../../utils/jsonaDataFormatter.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 i}from"../../../constants/assetTypes.js";import"../../../utils/env.js";import"../../GradientManager/configuration/constants.js";import{getRequestOptions as r,formatAsset as p,sortAsset as c}from"../utils/index.js";function l(e){let{appKey:a,assetType:i,assetId:l,company:m,parentAssetType:d,parentAssetId:u,queryParams:y,assetFields:j,activeWellId:f,isRequiredAssetId:g}=e;const[I,A]=s([]),[h,v]=s(!0);return t((()=>{v(!0),async function(){const s=await n(i)({...r(i,j),per_page:1e4,company:"all"!==m?m:null,[d]:u,...a&&{app_key:a},...y}),t=o.deserialize(s);A(t.map((s=>p({asset:s,activeWellId:f,isRequiredAssetId:g}))).sort(c)),v(!1)}()}),[i,l,d,u,a,f,m]),{assets:I,loading:h}}function m(l){let{appKey:m,assetType:d,company:u,groups:y,isRequiredAssetId:j,parentAssetId:f,parentAssetType:g,searchText:I,assetFields:A,currentValue:h,setCurrentOption:v,onActiveAssetIdChange:_}=l;const[T,q]=s([]),[x,R]=s(!1),k=e(null),C=async s=>{try{const t=(null==s?void 0:s.type)||d;R(!0);const e={per_page:1e4};g&&f&&(e[g]=f),u&&"all"!==u&&(e.company=u),I&&(e.search=I),m&&(e.app_key=m),k.current=u;const l=t===i.pad.type?[...A,"pad.active","pad.parent_frac_fleet_id","pad.current"]:A,y=n(t)({...r(t,l),...e}),T=await y,x=o.deserialize(T).map((t=>p({asset:t,group:null==s?void 0:s.name,isRequiredAssetId:j,isPrimaryAsset:!0}))).sort(c);if(k.current===u&&q((s=>[...s,...x])),h&&t===d){const s=x.find((s=>h===s.id||s.assetId&&h===s.assetId));a(s)||v(s),t===i.rig.type&&_(null==s?void 0:s.activeWellId)}}catch(s){console.error(s)}finally{R(!1)}};return t((()=>{u&&q([])}),[u]),t((()=>{y?y.forEach((s=>{C(s)})):C()}),[d,g,f,u,m,null==y?void 0:y.length]),{assets:T,loading:x}}export{m as usePrimaryAssetSelectData,l as useSecondaryAssetSelectData};
@@ -1 +1 @@
1
- {"version":3,"file":"usePrimaryAssetSelectData.d.ts","sourceRoot":"","sources":["../../../../src/components/AssetEditorV2/effects/usePrimaryAssetSelectData.js"],"names":[],"mappings":"AAQA;;;;;;;;;;;;;;;;;;EAgIC"}
1
+ {"version":3,"file":"usePrimaryAssetSelectData.d.ts","sourceRoot":"","sources":["../../../../src/components/AssetEditorV2/effects/usePrimaryAssetSelectData.js"],"names":[],"mappings":"AAQA;;;;;;;;;;;;;;;;;;EA8HC"}
@@ -1 +1 @@
1
- import t from"@babel/runtime/helpers/defineProperty";import e from"@babel/runtime/helpers/asyncToGenerator";import r from"@babel/runtime/helpers/toConsumableArray";import n from"@babel/runtime/helpers/slicedToArray";import s from"@babel/runtime/regenerator";import{useState as o,useRef as i,useEffect as a}from"react";import{uniqBy as p,isEmpty as c}from"lodash";import"uuid";import"lodash/set";import"lodash/get";import"lodash/unset";import"moment";import{mapAssetGetRequest as l,getAssets as u}from"../../../clients/jsonApi/index.js";import"../../../clients/subscriptions.js";import"../../../clients/api/apiCore.js";import"../../../clients/constants.js";import{jsonaDataFormatter as m}from"../../../utils/jsonaDataFormatter.js";import{PER_PAGE as f}from"../../AssetEditor/constants.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 d}from"../../../constants/assetTypes.js";import"../../../utils/env.js";import"../../GradientManager/configuration/constants.js";import{formatAsset as j,sortAsset as b,getRequestOptions as y}from"../utils/index.js";function g(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function h(e){for(var r=1;r<arguments.length;r++){var n=null!=arguments[r]?arguments[r]:{};r%2?g(Object(n),!0).forEach((function(r){t(e,r,n[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):g(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function v(t){var g,v,O=t.appKey,A=t.assetType,P=t.company,w=t.groups,x=t.isRequiredAssetId,D=t.parentAssetId,k=t.parentAssetType,I=t.searchValue,T=t.assetFields,_=t.currentValue,C=t.setCurrentOption,E=t.scrollPage,q=t.onActiveAssetIdChange,R=t.isDrillingPlatformApp,z=o([]),F=n(z,2),G=F[0],S=F[1],V=o(!1),K=n(V,2),M=K[0],N=K[1],W=i(null),B=A===d.pad.type?[].concat(r(T),["pad.active","pad.parent_frac_fleet_id"]):T,H=(g=e(s.mark((function t(e){var n,o,i,a,c,u;return s.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,n=(null==e?void 0:e.type)||A,N(!0),o={per_page:f,page:E},k&&D&&(o[k]=D),P&&"all"!==P&&(o.company=P),I&&(o.search=I),O&&(o.app_key=O),W.current=P,i=l(n)(h(h({},y(n,B)),o)),t.next=12,i;case 12:a=t.sent,c=m.deserialize(a),u=c.map((function(t){return j({asset:t,group:null==e?void 0:e.name,isRequiredAssetId:x,isPrimaryAsset:!0,isDrillingPlatformApp:R})})).sort(b),W.current===P&&S((function(t){return p([].concat(r(t),r(u)),"id")})),t.next=21;break;case 18:t.prev=18,t.t0=t.catch(0),console.error(t.t0);case 21:return t.prev=21,N(!1),t.finish(21);case 24:case"end":return t.stop()}}),t,null,[[0,18,21,24]])}))),function(t){return g.apply(this,arguments)}),J=(v=e(s.mark((function t(){var e,r,n,o,i,a,p;return s.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,l(A)(h(h({},y(A,B)),{},{ids:_}));case 2:if(e=t.sent,!c(e.data)){t.next=7;break}return t.next=6,u(h(h({},y(A,B)),{},{ids:_}));case 6:e=t.sent;case 7:r=m.deserialize(e),n=j({asset:r[0],isPrimaryAsset:!0,isRequiredAssetId:x,isDrillingPlatformApp:R}),C(n),A===d.rig.type&&(p=R?Number(null===(o=e)||void 0===o||null===(i=o.included)||void 0===i||null===(a=i[0])||void 0===a?void 0:a.id):(null==n?void 0:n.activeWellId)||null,q(p));case 11:case"end":return t.stop()}}),t)}))),function(){return v.apply(this,arguments)});return a((function(){P&&S([])}),[P]),a((function(){w?w.forEach((function(t){H(t)})):H()}),[A,k,D,P,O,null==w?void 0:w.length,I,E]),a((function(){_&&J()}),[]),{assets:G,loading:M}}export{v as usePrimaryAssetSelectData};
1
+ import{useState as s,useRef as t,useEffect as i}from"react";import{map as o,uniqBy as e,isEmpty as r}from"lodash";import"uuid";import"lodash/set";import"lodash/get";import"lodash/unset";import"moment";import{mapAssetGetRequest as n,getAssets as a}from"../../../clients/jsonApi/index.js";import"../../../clients/subscriptions.js";import"../../../clients/api/apiCore.js";import"../../../clients/constants.js";import{jsonaDataFormatter as p}from"../../../utils/jsonaDataFormatter.js";import{PER_PAGE as l}from"../../AssetEditor/constants.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 c}from"../../../constants/assetTypes.js";import"../../../utils/env.js";import"../../GradientManager/configuration/constants.js";import{getRequestOptions as m,formatAsset as d,sortAsset as u}from"../utils/index.js";function j(j){let{appKey:f,assetType:g,company:y,groups:A,isRequiredAssetId:v,parentAssetId:h,parentAssetType:P,searchValue:I,assetFields:_,currentValue:D,setCurrentOption:b,scrollPage:q,onActiveAssetIdChange:w,isDrillingPlatformApp:x}=j;const[C,R]=s([]),[T,k]=s(!1),z=t(null),E=g===c.pad.type?[..._,"pad.active","pad.parent_frac_fleet_id"]:_,F=async s=>{try{const t=(null==s?void 0:s.type)||g;k(!0);const i={per_page:l,page:q};P&&h&&(i[P]=h),y&&"all"!==y&&(i.company=y),I&&(i.search=I),f&&(i.app_key=f),z.current=y;const r=n(t)({...m(t,E),...i}),a=await r,c=p.deserialize(a),j=o(c,(t=>d({asset:t,group:null==s?void 0:s.name,isRequiredAssetId:v,isPrimaryAsset:!0,isDrillingPlatformApp:x}))).sort(u);z.current===y&&R((s=>e([...s,...j],"id")))}catch(s){console.error(s)}finally{k(!1)}};return i((()=>{y&&R([])}),[y]),i((()=>{A?A.forEach((s=>{F(s)})):F()}),[g,P,h,y,f,null==A?void 0:A.length,I,q]),i((()=>{D&&(async()=>{let s=await n(g)({...m(g,E),ids:D});r(s.data)&&(s=await a({...m(g,E),ids:D}));const t=p.deserialize(s),i=d({asset:t[0],isPrimaryAsset:!0,isRequiredAssetId:v,isDrillingPlatformApp:x});if(b(i),g===c.rig.type){var o,e,l;const t=x?Number(null===(o=s)||void 0===o||null===(e=o.included)||void 0===e||null===(l=e[0])||void 0===l?void 0:l.id):(null==i?void 0:i.activeWellId)||null;w(t)}})()}),[]),{assets:C,loading:T}}export{j as usePrimaryAssetSelectData};
@@ -61,9 +61,9 @@ declare namespace AppSettingsAssetEditor {
61
61
  export { isVisibleMultipleAssetsToggle_1 as isVisibleMultipleAssetsToggle };
62
62
  const isDisabledSecondaryAssetSelect_1: PropTypes.Requireable<boolean>;
63
63
  export { isDisabledSecondaryAssetSelect_1 as isDisabledSecondaryAssetSelect };
64
- const primaryAssetFields_1: PropTypes.Requireable<PropTypes.InferProps<{}>>;
64
+ const primaryAssetFields_1: PropTypes.Requireable<PropTypes.InferProps<{}>[]>;
65
65
  export { primaryAssetFields_1 as primaryAssetFields };
66
- const secondaryAssetFields_1: PropTypes.Requireable<PropTypes.InferProps<{}>>;
66
+ const secondaryAssetFields_1: PropTypes.Requireable<PropTypes.InferProps<{}>[]>;
67
67
  export { secondaryAssetFields_1 as secondaryAssetFields };
68
68
  const secondaryAssetHelpText_1: PropTypes.Requireable<NonNullable<string | PropTypes.ReactElementLike>>;
69
69
  export { secondaryAssetHelpText_1 as secondaryAssetHelpText };
@@ -1 +1 @@
1
- import e from"@babel/runtime/helpers/toConsumableArray";import t from"@babel/runtime/helpers/defineProperty";import s from"@babel/runtime/helpers/slicedToArray";import{useState as a,useEffect as r}from"react";import n from"prop-types";import{get as i,isEmpty as l,noop as o}from"lodash";import p from"classnames";import{makeStyles as d}from"@material-ui/core";import c from"./components/PrimaryAssetSelect.js";import u from"./components/SecondaryAssetSelect.js";import"./components/SelectItem.js";import m from"./components/MultipleAssetsToggle.js";import y from"./components/PrimaryAssetSelectV2.js";import{ACTIVE_ASSETS_ID as f,ACTIVE_ASSET_ID as g}from"./constants.js";import"../../constants/goals.js";import{PAD_GROUP as b,FRAC_FLEET_GROUP as A}from"../../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 v}from"../../constants/assetTypes.js";import"../../utils/env.js";import"../GradientManager/configuration/constants.js";import{getPrimaryAssetFields as h}from"./utils/index.js";import{jsxs as j,jsx as I,Fragment as T}from"react/jsx-runtime";function O(e,t){var s=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),s.push.apply(s,a)}return s}function S(e){for(var s=1;s<arguments.length;s++){var a=null!=arguments[s]?arguments[s]:{};s%2?O(Object(a),!0).forEach((function(s){t(e,s,a[s])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):O(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}var C=d({title:{fontWeight:400,fontSize:20,margin:"24px 0 16px"}}),P=function(n){var o=n.appKey,d=n.appType,O=n.className,P=n.company,D=n.defaultValue,V=n.secondaryDefaultValue,F=n.disabled,N=n.isHiddenTitle,x=n.isNullable,R=n.label,w=n.onSettingsChange,_=n.primaryAssetFields,q=n.secondaryAssetFields,E=n.isExtendedSelect,H=n.isRequiredAssetId,K=n.settings,L=n.isVisibleMultipleAssetsToggle,M=n.assetsLimit,k=n.isDisabledSecondaryAssetSelect,G=n.isDrillingPlatformApp,W=n.secondaryAssetHelpText,z=n.onChange,B=i(d,["primaryAsset","assetType","type"]),J=i(d,["primaryAsset","assetType","id"]),Q=i(d,["primaryAsset","assetType","label"]),U=i(d,["primaryAsset","groups"]),X=i(d,["secondaryAsset","assetType","type"]),Y=i(d,["secondaryAsset","assetType","id"]),Z=i(d,["secondaryAsset","assetType","label"]),$=i(K,J),ee=$?Number($):null,te=i(K,Y)?Number(i(K,Y)):V||null,se=a({id:ee||D}),ae=s(se,2),re=ae[0],ne=ae[1],ie=a(te),le=s(ie,2),oe=le[0],pe=le[1],de=a(!1),ce=s(de,2),ue=ce[0],me=ce[1],ye=a(),fe=s(ye,2),ge=fe[0],be=fe[1],Ae=a(!1),ve=s(Ae,2),he=ve[0],je=ve[1],Ie=C(),Te=B===v.rig.type?y:c,Oe=G&&null!=re&&re.assetId?null==re?void 0:re.assetId:null==re?void 0:re.id,Se=function(){var e,s=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};ne(s),pe(null),me(!1);var a=(t(e={},J,null),t(e,Y,null),t(e,"assets",null),e);w(a)},Ce=he?Boolean(re.length)&&!ue:(null==re?void 0:re.id)&&!ue;return r((function(){l(K)&&Se(he&&[])}),[K]),j("div",{className:p(Ie.main,O),children:[!N&&I("div",{className:Ie.title,children:"Asset"}),L&&I(m,{onChange:function(e){var t=e.target;je(t.checked),Se(t.checked&&[])}}),I(Te,{appKey:o,assetType:B,company:P,currentOption:re,currentValue:null==re?void 0:re.id,"data-testid":"".concat("DC_AppSettingsAssetEditor","_primaryAssetEditorAutocomplete"),defaultValue:D,disableClearable:!x,disabled:F,isNullable:x,isRequiredAssetId:H,label:R,multiple:he,onChange:function(s){if(z({primary:s}),he)!function(s){var a,r;if(!(s.length>M)){var n=(null===(a=s[0])||void 0===a?void 0:a.group)===b.name,i=(null===(r=s[0])||void 0===r?void 0:r.group)===A.name,l=1===s.length&&n,o=1===s.length&&i;if(l?(me(!0),be(b)):o&&be(A),n){ne(s);var p=null==s?void 0:s.reduce((function(t,s){var a=s.parentFracFleetId,r=s.id,n={fracFleetId:a,padId:r};return E&&(n.assetId=a,n.replacedPadId=r),a?[].concat(e(t),[n]):t}),[]);w({assets:p})}else{ne(s);var d=s.reduce((function(s,a){var r=t({},"".concat(a.type,"Id"),a.id);return H&&(r.assetId=a.assetId),E&&(r.assetId=a.assetId||a.id),[].concat(e(s),[r])}),[]);w({assets:d})}}}(s);else{var a=s.id,r=s.type,n=s.parentFracFleetId;if(a)if(r!==v.pad.type){ne(s),pe(null);var i=t({},J,a);H&&(i.assetId=s.assetId),Y&&(i[Y]=null),w(i),me(!1)}else{var l;ne(s),me(!0),pe(a);var o=(t(l={},v.frac_fleet.id,Number(n)),t(l,v.pad.id,a),l);w(o)}}},setCurrentOption:ne,selectedGroup:ge,onGroupChange:function(e){be(e),Se(he&&[])},onGroupReset:function(){be(null),Se(he&&[])},groups:U,onInputReset:Se,onActiveAssetIdChange:function(e){ne((function(t){return S(S({},t),{},{activeWellId:e})}))},isDrillingPlatformApp:G,assetFields:h(B,_,G)}),Ce&&j(T,{children:[W,I(u,{assetFields:X===v.pad.type?[].concat(e(q),["pad.active","pad.current"]):q,activeWellId:null==re?void 0:re.activeWellId,appKey:o,assetType:X,company:P,currentValue:oe,"data-testid":"".concat("DC_AppSettingsAssetEditor","_secondaryAutoComplete"),defaultValue:he?f:g,disabled:he||k||F,isDrillingPlatformApp:G,isNullable:x,isRequiredAssetId:H,onChange:function(e){var s=e.id,a=e.assetId,r=e.name;z({secondary:{name:r}}),pe(s);var n=s===g?null:s,i=t({},Y,n);H&&X===v.well.type?w(S(S({},i),{},{replacedAssetId:G?n:a})):w(i)},parentAssetId:Oe,parentAssetType:G?"parent_asset_id":B,primaryAssetLabel:Q,secondaryAssetLabel:Z})]})]})};P.defaultProps={assetsLimit:null,label:"Choose An Asset",isNullable:!1,defaultValue:void 0,secondaryDefaultValue:void 0,isHiddenTitle:!1,appKey:null,isVisibleMultipleAssetsToggle:!1,isDisabledSecondaryAssetSelect:!1,primaryAssetFields:[],secondaryAssetFields:[],secondaryAssetHelpText:null,onChange:o},P.propTypes={assetsLimit:n.number,settings:n.shape({}).isRequired,appType:n.shape({}).isRequired,defaultValue:n.any,secondaryDefaultValue:n.any,onSettingsChange:n.func.isRequired,label:n.string,isNullable:n.bool,isHiddenTitle:n.bool,appKey:n.string,isVisibleMultipleAssetsToggle:n.bool,isDisabledSecondaryAssetSelect:n.bool,primaryAssetFields:n.shape({}),secondaryAssetFields:n.shape({}),secondaryAssetHelpText:n.oneOfType([n.element,n.string]),onChange:n.func};export{P as default};
1
+ import{useState as e,useEffect as s}from"react";import t from"prop-types";import{get as a,isEmpty as l,noop as i}from"lodash";import n from"classnames";import{makeStyles as r}from"@material-ui/core";import o from"./components/PrimaryAssetSelect.js";import d from"./components/SecondaryAssetSelect.js";import"./components/SelectItem.js";import p from"./components/MultipleAssetsToggle.js";import c from"./components/PrimaryAssetSelectV2.js";import{ACTIVE_ASSETS_ID as u,ACTIVE_ASSET_ID as m}from"./constants.js";import"../../constants/goals.js";import{PAD_GROUP as y,FRAC_FLEET_GROUP as g}from"../../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 A}from"../../constants/assetTypes.js";import"../../utils/env.js";import"../GradientManager/configuration/constants.js";import{getPrimaryAssetFields as f}from"./utils/index.js";import{jsxs as b,jsx as h,Fragment as I}from"react/jsx-runtime";const v=r({title:{fontWeight:400,fontSize:20,margin:"24px 0 16px"}}),T=t=>{let{appKey:i,appType:r,className:T,company:j,defaultValue:S,secondaryDefaultValue:C,disabled:V,isHiddenTitle:F,isNullable:D,label:N,onSettingsChange:x,primaryAssetFields:P,secondaryAssetFields:R,isExtendedSelect:_,isRequiredAssetId:q,settings:H,isVisibleMultipleAssetsToggle:K,assetsLimit:L,isDisabledSecondaryAssetSelect:M,isDrillingPlatformApp:O,secondaryAssetHelpText:E,onChange:G}=t;const W=a(r,["primaryAsset","assetType","type"]),k=a(r,["primaryAsset","assetType","id"]),w=a(r,["primaryAsset","assetType","label"]),z=a(r,["primaryAsset","groups"]),B=a(r,["secondaryAsset","assetType","type"]),$=a(r,["secondaryAsset","assetType","id"]),J=a(r,["secondaryAsset","assetType","label"]),Q=a(H,k),U=Q?Number(Q):null,X=a(H,$)?Number(a(H,$)):C||null,[Y,Z]=e({id:U||S}),[ee,se]=e(X),[te,ae]=e(!1),[le,ie]=e(),[ne,re]=e(!1),oe=v(),de=W===A.rig.type?c:o,pe=O&&null!=Y&&Y.assetId?null==Y?void 0:Y.assetId:null==Y?void 0:Y.id,ce=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Z(e),se(null),ae(!1);const s={[k]:null,[$]:null,assets:null};x(s)},ue=ne?Boolean(Y.length)&&!te:(null==Y?void 0:Y.id)&&!te;return s((()=>{l(H)&&ce(ne&&[])}),[H]),b("div",{className:n(oe.main,T),children:[!F&&h("div",{className:oe.title,children:"Asset"}),K&&h(p,{onChange:e=>{let{target:s}=e;re(s.checked),ce(s.checked&&[])}}),h(de,{appKey:i,assetType:W,company:j,currentOption:Y,currentValue:null==Y?void 0:Y.id,"data-testid":"DC_AppSettingsAssetEditor_primaryAssetEditorAutocomplete",defaultValue:S,disableClearable:!D,disabled:V,isNullable:D,isRequiredAssetId:q,label:N,multiple:ne,onChange:e=>{if(G({primary:e}),ne)return void(e=>{var s,t;if(e.length>L)return;const a=(null===(s=e[0])||void 0===s?void 0:s.group)===y.name,l=(null===(t=e[0])||void 0===t?void 0:t.group)===g.name,i=1===e.length&&a,n=1===e.length&&l;if(i?(ae(!0),ie(y)):n&&ie(g),a){Z(e);const s=null==e?void 0:e.reduce(((e,s)=>{let{parentFracFleetId:t,id:a}=s;const l={fracFleetId:t,padId:a};return _&&(l.assetId=t,l.replacedPadId=a),t?[...e,l]:e}),[]);return void x({assets:s})}Z(e);const r=e.reduce(((e,s)=>{const t={[`${s.type}Id`]:s.id};return q&&(t.assetId=s.assetId),_&&(t.assetId=s.assetId||s.id),[...e,t]}),[]);x({assets:r})})(e);const{id:s,type:t,parentFracFleetId:a}=e;if(!s)return;if(t===A.pad.type){Z(e),ae(!0),se(s);const t={[A.frac_fleet.id]:Number(a),[A.pad.id]:s};return void x(t)}Z(e),se(null);const l={[k]:s};q&&(l.assetId=e.assetId),$&&(l[$]=null),x(l),ae(!1)},setCurrentOption:Z,selectedGroup:le,onGroupChange:e=>{ie(e),ce(ne&&[])},onGroupReset:()=>{ie(null),ce(ne&&[])},groups:z,onInputReset:ce,onActiveAssetIdChange:e=>{Z((s=>({...s,activeWellId:e})))},isDrillingPlatformApp:O,assetFields:f(W,P,O)}),ue&&b(I,{children:[E,h(d,{assetFields:B===A.pad.type?[...R,"pad.active","pad.current"]:R,activeWellId:null==Y?void 0:Y.activeWellId,appKey:i,assetType:B,company:j,currentValue:ee,"data-testid":"DC_AppSettingsAssetEditor_secondaryAutoComplete",defaultValue:ne?u:m,disabled:ne||M||V,isDrillingPlatformApp:O,isNullable:D,isRequiredAssetId:q,onChange:e=>{let{id:s,assetId:t,name:a}=e;G({secondary:{name:a}}),se(s);const l=s===m?null:s,i={[$]:l};q&&B===A.well.type?x({...i,replacedAssetId:O?l:t}):x(i)},parentAssetId:pe,parentAssetType:O?"parent_asset_id":W,primaryAssetLabel:w,secondaryAssetLabel:J})]})]})};T.defaultProps={assetsLimit:null,label:"Choose An Asset",isNullable:!1,defaultValue:void 0,secondaryDefaultValue:void 0,isHiddenTitle:!1,appKey:null,isVisibleMultipleAssetsToggle:!1,isDisabledSecondaryAssetSelect:!1,primaryAssetFields:[],secondaryAssetFields:[],secondaryAssetHelpText:null,onChange:i},T.propTypes={assetsLimit:t.number,settings:t.shape({}).isRequired,appType:t.shape({}).isRequired,defaultValue:t.any,secondaryDefaultValue:t.any,onSettingsChange:t.func.isRequired,label:t.string,isNullable:t.bool,isHiddenTitle:t.bool,appKey:t.string,isVisibleMultipleAssetsToggle:t.bool,isDisabledSecondaryAssetSelect:t.bool,primaryAssetFields:t.arrayOf(t.shape({})),secondaryAssetFields:t.arrayOf(t.shape({})),secondaryAssetHelpText:t.oneOfType([t.element,t.string]),onChange:t.func};export{T as default};
@@ -7,8 +7,8 @@ export function getRequestOptions(assetType: any, assetFields?: any[]): {
7
7
  };
8
8
  export function formatAsset({ asset, group, activeWellId, isRequiredAssetId, isPrimaryAsset, isDrillingPlatformApp, }: {
9
9
  asset: any;
10
- group: any;
11
- activeWellId: any;
10
+ group?: any;
11
+ activeWellId?: any;
12
12
  isRequiredAssetId: any;
13
13
  isPrimaryAsset: any;
14
14
  isDrillingPlatformApp: any;
@@ -1 +1 @@
1
- import t from"@babel/runtime/helpers/toConsumableArray";import"lodash";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 s}from"../../../constants/assetTypes.js";import"../../../utils/env.js";import"../../GradientManager/configuration/constants.js";import{DEFAULT_ASSET_TYPE as e,ACTIVE_STATUS as n}from"../constants.js";var a=function(s){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return{sort:"name",order:"asc",fields:["".concat(s,".name"),"".concat(s,".status")].concat(t(e))}},r=function(t){var a=t.asset,r=t.group,i=t.activeWellId,o=t.isRequiredAssetId,l=t.isPrimaryAsset,c=t.isDrillingPlatformApp;if(!a)return null;var p,u,m={id:+a.assetId||+a.id,type:a.type,name:a.name};(o&&(m.id=+a.id,m.assetId=+a.assetId),r&&(m.group=r),a.type===s.rig.type)&&(m.activeWellId=Number(null===(p=a.activeWell)||void 0===p?void 0:p.id)||null,c&&(m.activeWellId=Number(null===(u=a.activeWell)||void 0===u?void 0:u.assetId)||null));return a.type!==s.well.type&&a.type!==e||(m.status=Number(a.id)===i?n:null),a.type===s.pad.type&&(m.parentFracFleetId=a.parentFracFleetId,m.status=a.active&&a.current?n:null,l&&!a.parentFracFleetId&&(m.status=null)),m},i=function(t){return t.status===n?-1:1},o=function(e,n,a){var r=e===s.rig.type?[].concat(t(n),["rig.active_well"]):n;return a?[].concat(t(r),["rig.active_child"]):r};export{r as formatAsset,o as getPrimaryAssetFields,a as getRequestOptions,i as sortAsset};
1
+ import"lodash";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 t}from"../../../constants/assetTypes.js";import"../../../utils/env.js";import"../../GradientManager/configuration/constants.js";import{DEFAULT_ASSET_TYPE as s,ACTIVE_STATUS as e}from"../constants.js";const n=function(t){let s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return{sort:"name",order:"asc",fields:[`${t}.name`,`${t}.status`,...s]}},a=n=>{let{asset:a,group:i=null,activeWellId:r=null,isRequiredAssetId:o,isPrimaryAsset:l,isDrillingPlatformApp:p}=n;if(!a)return null;const c={id:+a.assetId||+a.id,type:a.type,name:a.name};var d,u;(o&&(c.id=+a.id,c.assetId=+a.assetId),i&&(c.group=i),a.type===t.rig.type)&&(c.activeWellId=Number(null===(d=a.activeWell)||void 0===d?void 0:d.id)||null,p&&(c.activeWellId=Number(null===(u=a.activeWell)||void 0===u?void 0:u.assetId)||null));return a.type!==t.well.type&&a.type!==s||(c.status=Number(a.id)===r?e:null),a.type===t.pad.type&&(c.parentFracFleetId=a.parentFracFleetId,c.status=a.active&&a.current?e:null,l&&!a.parentFracFleetId&&(c.status=null)),c},i=t=>t.status===e?-1:1,r=(s,e,n)=>{const a=s===t.rig.type?[...e,"rig.active_well"]:e;return n?[...a,"rig.active_child"]:a};export{a as formatAsset,r as getPrimaryAssetFields,n as getRequestOptions,i as sortAsset};