@corva/ui 0.89.0-7 → 0.89.0-9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (722) hide show
  1. package/cjs-bundle/clients/api/apiCore.js +1 -1
  2. package/cjs-bundle/components/AddComment/Popover.js +1 -1
  3. package/cjs-bundle/components/AddComment/Popup.js +1 -1
  4. package/cjs-bundle/components/AddComment/components/Content.js +1 -1
  5. package/cjs-bundle/components/AdvancedSlider/Handle.js +1 -1
  6. package/cjs-bundle/components/Annotations/components/AnnotationsList/components/AddAnnotationForm/index.js +1 -1
  7. package/cjs-bundle/components/Annotations/components/AnnotationsList/components/Annotation/index.js +1 -1
  8. package/cjs-bundle/components/Annotations/components/AnnotationsList/components/AnnotationComments/index.js +1 -1
  9. package/cjs-bundle/components/Annotations/components/AnnotationsList/components/AnnotationInput/index.js +1 -1
  10. package/cjs-bundle/components/Annotations/components/AnnotationsList/index.js +1 -1
  11. package/cjs-bundle/components/Annotations/components/LastAnnotation/index.js +1 -1
  12. package/cjs-bundle/components/AppIcon/utils.js +1 -1
  13. package/cjs-bundle/components/AppVersionsSelect/AppVersionsSelect.js +1 -1
  14. package/cjs-bundle/components/AssetEditor/effects/index.js +1 -1
  15. package/cjs-bundle/components/AssetEditor/index.js +1 -1
  16. package/cjs-bundle/components/AssetEditorV2/components/SecondaryAssetSelect.js +1 -1
  17. package/cjs-bundle/components/AssetEditorV2/effects/index.js +1 -1
  18. package/cjs-bundle/components/AssetEditorV2/effects/usePrimaryAssetSelectData.js +1 -1
  19. package/cjs-bundle/components/AssetEditorV2/index.js +1 -1
  20. package/cjs-bundle/components/AssetEditorV2/utils/index.js +1 -1
  21. package/cjs-bundle/components/Attachment/index.js +1 -1
  22. package/cjs-bundle/components/BICOffsetPickerDialog/components/Map/Map.js +1 -1
  23. package/cjs-bundle/components/BICOffsetPickerDialog/components/WellSection/index.js +1 -1
  24. package/cjs-bundle/components/BICOffsetPickerDialog/index.js +1 -1
  25. package/cjs-bundle/components/Breadcrumbs/index.js +1 -1
  26. package/cjs-bundle/components/Casing/CasingTable/index.js +1 -1
  27. package/cjs-bundle/components/Casing/CasingTableV2/CasingTableV2.js +1 -1
  28. package/cjs-bundle/components/Casing/CasingTableV2/components/CasingJoints/Browser.js +1 -1
  29. package/cjs-bundle/components/Casing/CasingTableV2/components/CasingJoints/Editor.js +1 -1
  30. package/cjs-bundle/components/Casing/CasingTableV2/components/Component.js +1 -1
  31. package/cjs-bundle/components/Casing/CasingTableV2/components/DrillPipe/Browser.js +1 -1
  32. package/cjs-bundle/components/Casing/CasingTableV2/components/DrillPipe/Editor.js +1 -1
  33. package/cjs-bundle/components/Casing/CasingTableV2/components/EditComponentDialog.js +1 -1
  34. package/cjs-bundle/components/Casing/CasingTile/CasingTile.js +1 -1
  35. package/cjs-bundle/components/Chart/components/buttons/ChartTypeButton.js +1 -1
  36. package/cjs-bundle/components/Chart/components/buttons/DragToZoomButton.js +1 -1
  37. package/cjs-bundle/components/Chart/components/buttons/HideAxesButton.js +1 -1
  38. package/cjs-bundle/components/Chart/components/buttons/PanButton.js +1 -1
  39. package/cjs-bundle/components/Chart/components/buttons/ResetZoomButton.js +1 -1
  40. package/cjs-bundle/components/Chart/components/buttons/ZoomInButton.js +1 -1
  41. package/cjs-bundle/components/Chart/components/buttons/ZoomOutButton.js +1 -1
  42. package/cjs-bundle/components/Chart/utils.js +1 -1
  43. package/cjs-bundle/components/ChartActionsList/ChartActionsList.js +1 -1
  44. package/cjs-bundle/components/CollapsableSidebar.js +1 -1
  45. package/cjs-bundle/components/ColorPicker/PaletteChromePicker/PaletteChromePicker.js +1 -1
  46. package/cjs-bundle/components/Comment/index.js +1 -1
  47. package/cjs-bundle/components/CommentInput/index.js +1 -1
  48. package/cjs-bundle/components/CommentsInfo/index.js +1 -1
  49. package/cjs-bundle/components/DevCenter/AppHeader/AppHeader.js +1 -1
  50. package/cjs-bundle/components/DevCenter/AppsDataProvider/effects/dataResolvers.js +1 -1
  51. package/cjs-bundle/components/DevCenter/AppsDataProvider/effects/useAppsData.js +1 -1
  52. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/DevCenterAppContainer.js +1 -1
  53. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/AppInfoMessage/AppInfoMessage.js +1 -1
  54. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/AppSettingsDialog.js +1 -1
  55. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/NonPriorityMenus/NonPriorityMenus.js +1 -1
  56. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/PriorityMenus/PriorityMenus.js +1 -1
  57. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/RestoreAppSizeButton/index.js +1 -1
  58. package/cjs-bundle/components/DevCenter/IsolatedDevCenterAppContainer/DevCenterAppZoidComponent.js +1 -1
  59. package/cjs-bundle/components/DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedApp.js +1 -1
  60. package/cjs-bundle/components/DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedAppPage.js +1 -1
  61. package/cjs-bundle/components/DocumentViewer/DocumentViewer.js +1 -1
  62. package/cjs-bundle/components/Drillstring/BHAComponentDetail/index.js +1 -1
  63. package/cjs-bundle/components/Drillstring/BHAComponentsTable/BHAComponentsTable.js +1 -1
  64. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Agitator/Browser.js +1 -1
  65. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Agitator/Editor.js +1 -1
  66. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Bit/Browser.js +1 -1
  67. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Bit/Editor.js +1 -1
  68. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Component.js +1 -1
  69. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/DrillCollar/Browser.js +1 -1
  70. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/DrillCollar/Editor.js +1 -1
  71. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/DrillPipe/Browser.js +1 -1
  72. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/DrillPipe/Editor.js +1 -1
  73. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/EditComponentDialog.js +1 -1
  74. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Jar/Browser.js +1 -1
  75. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Jar/Editor.js +1 -1
  76. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Lwd/Browser.js +1 -1
  77. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Lwd/Editor.js +1 -1
  78. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Lwd/Measurement.js +1 -1
  79. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Mwd/Browser.js +1 -1
  80. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Mwd/Editor.js +1 -1
  81. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/NozzleSize/index.js +1 -1
  82. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Pdm/Browser.js +1 -1
  83. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Pdm/Editor.js +1 -1
  84. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/PressureLoss/index.js +1 -1
  85. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Rss/Browser.js +1 -1
  86. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Rss/Editor.js +1 -1
  87. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/SortableComponent.js +1 -1
  88. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Stabilizer/Browser.js +1 -1
  89. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Stabilizer/Editor.js +1 -1
  90. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Sub/Browser.js +1 -1
  91. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Sub/Editor.js +1 -1
  92. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Suggestions/Suggestions.js +1 -1
  93. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Ur/Browser.js +1 -1
  94. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Ur/Editor.js +1 -1
  95. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/shared/ConfirmationPopup.js +1 -1
  96. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/shared/InputText.js +1 -1
  97. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/shared/SelectField.js +1 -1
  98. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/shared/SharedEditorElements.js +1 -1
  99. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/shared/StaticField.js +1 -1
  100. package/cjs-bundle/components/Drillstring/BHAList/BHAList.js +1 -1
  101. package/cjs-bundle/components/Drillstring/BHATable/index.js +1 -1
  102. package/cjs-bundle/components/Drillstring/BHATile/BHATile.js +1 -1
  103. package/cjs-bundle/components/Drillstring/DrillstringDetail/DrillstringDetail.js +1 -1
  104. package/cjs-bundle/components/EmbeddedApp/DevCenterEmbeddedApp.js +1 -1
  105. package/cjs-bundle/components/EmbeddedApp/EmbeddedApp.js +1 -1
  106. package/cjs-bundle/components/ErrorBoundary/DevCenterAppErrorView/DevCenterAppErrorView.js +1 -1
  107. package/cjs-bundle/components/FeedItem/FeedItem.js +1 -1
  108. package/cjs-bundle/components/FeedItem/FeedItemEditProvider/FeedItemEditModal.js +1 -1
  109. package/cjs-bundle/components/FeedItem/FeedItemEditProvider/FeedItemEditProvider.js +1 -1
  110. package/cjs-bundle/components/FeedItem/components/Content.js +1 -1
  111. package/cjs-bundle/components/FeedItem/components/Icon.js +1 -1
  112. package/cjs-bundle/components/FeedItem/editModals/DvdCommentEdit/DvdCommentEdit.js +1 -1
  113. package/cjs-bundle/components/FeedItem/feedItemTypes/AppAnnotationFeedItem/index.js +1 -1
  114. package/cjs-bundle/components/FeedItem/feedItemTypes/BhaFeedItem/BhaFeedItem.js +1 -1
  115. package/cjs-bundle/components/FeedItem/feedItemTypes/LessonsLearnedFeedItem/index.js +1 -1
  116. package/cjs-bundle/components/FeedItem/feedItemTypes/StageOverviewFeedItem/components/Stages/Stages.js +1 -1
  117. package/cjs-bundle/components/FeedItem/feedItemTypes/StageOverviewFeedItem/index.js +1 -1
  118. package/cjs-bundle/components/FeedItem/feedItemTypes/SurveyStationFeedItem/index.js +1 -1
  119. package/cjs-bundle/components/FeedItem/feedItemTypes/WellPlanFeedItem/index.js +1 -1
  120. package/cjs-bundle/components/FilePreview/index.js +1 -1
  121. package/cjs-bundle/components/GoogleDocsViewer/index.js +1 -1
  122. package/cjs-bundle/components/HeaderLayout/effects/index.js +1 -1
  123. package/cjs-bundle/components/InfiniteList/index.js +1 -1
  124. package/cjs-bundle/components/OffsetWellPickerV2/OffsetWellPickerDialog.js +1 -1
  125. package/cjs-bundle/components/OffsetWellPickerV2/components/Filter/NonEngineeredWellsSwitch.js +1 -1
  126. package/cjs-bundle/components/OffsetWellPickerV2/components/Filter/SidetrackSwitch.js +1 -1
  127. package/cjs-bundle/components/OffsetWellPickerV2/components/Filter/ToggleMapButton.js +1 -1
  128. package/cjs-bundle/components/OffsetWellPickerV2/components/Filter/index.js +1 -1
  129. package/cjs-bundle/components/OffsetWellPickerV2/components/Map/Map.js +1 -1
  130. package/cjs-bundle/components/OffsetWellPickerV2/components/Table/MetricsAddMenu.js +1 -1
  131. package/cjs-bundle/components/OffsetWellPickerV2/components/Table/index.js +1 -1
  132. package/cjs-bundle/components/OffsetWellPickerV2/effects/index.js +1 -1
  133. package/cjs-bundle/components/OffsetWellPickerV2/utils/apiCalls.js +1 -1
  134. package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/components/Filter/SidetrackSwitch.js +1 -1
  135. package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/components/Filter/index.js +1 -1
  136. package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/components/Map/Map.js +1 -1
  137. package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/MetricsAddMenu.js +1 -1
  138. package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/index.js +1 -1
  139. package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/effects/index.js +1 -1
  140. package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/index.js +1 -1
  141. package/cjs-bundle/components/OffsetWellPickerV3/components/OffsetWellSelectionView/index.js +1 -1
  142. package/cjs-bundle/components/OffsetWellPickerV3/components/TabSelection/ToggleMapButton.js +1 -1
  143. package/cjs-bundle/components/OffsetWellPickerV3/components/TabSelection/index.js +1 -1
  144. package/cjs-bundle/components/OffsetWellPickerV3/components/WellHubView/index.js +1 -1
  145. package/cjs-bundle/components/OffsetWellPickerV3/components/shared/OffsetWellTableHead.js +1 -1
  146. package/cjs-bundle/components/OffsetWellPickerV3/index.js +1 -1
  147. package/cjs-bundle/components/OffsetWellPickerV3/utils/apiCalls.js +1 -1
  148. package/cjs-bundle/components/OffsetWellPickerV4/OffsetWellPickerV4.js +1 -1
  149. package/cjs-bundle/components/OffsetWellPickerV4/components/AppHeader/AppHeader.js +1 -1
  150. package/cjs-bundle/components/OffsetWellPickerV4/components/CustomInfoIcon/CustomInfoIcon.js +1 -1
  151. package/cjs-bundle/components/OffsetWellPickerV4/components/Filter/Filter.js +1 -1
  152. package/cjs-bundle/components/OffsetWellPickerV4/components/Filter/RadiusInput.js +1 -1
  153. package/cjs-bundle/components/OffsetWellPickerV4/components/OffsetWellsTable/AdvancedSearch/AssetResultSection.js +1 -1
  154. package/cjs-bundle/components/OffsetWellPickerV4/components/OffsetWellsTable/MetricsSelect.js +1 -1
  155. package/cjs-bundle/components/OffsetWellPickerV4/components/OffsetWellsTable/MetricsSettingMenu.js +1 -1
  156. package/cjs-bundle/components/OffsetWellPickerV4/components/OffsetWellsTable/OffsetWellsTable.js +1 -1
  157. package/cjs-bundle/components/OffsetWellPickerV4/components/OffsetWellsTable/OffsetWellsTableHead.js +1 -1
  158. package/cjs-bundle/components/OffsetWellPickerV4/components/OffsetWellsTable/OffsetWellsTableRow.js +1 -1
  159. package/cjs-bundle/components/OffsetWellPickerV4/components/Toolbar/Toolbar.js +1 -1
  160. package/cjs-bundle/components/OffsetWellPickerV4/effects/useAdvancedWells.js +1 -1
  161. package/cjs-bundle/components/OffsetWellPickerV4/utils/apiCalls.js +1 -1
  162. package/cjs-bundle/components/OffsetWellPickerV4/utils/index.js +1 -1
  163. package/cjs-bundle/components/PadModeSelect/PadModeSelect.js +1 -1
  164. package/cjs-bundle/components/PadOffsetsPicker/StagesSelector.js +1 -1
  165. package/cjs-bundle/components/PadOffsetsPickerV2/PadOffsetsPickerV2.js +1 -1
  166. package/cjs-bundle/components/ParameterCharts/AddEditTrack.js +1 -1
  167. package/cjs-bundle/components/ParameterCharts/ParameterCharts.js +1 -1
  168. package/cjs-bundle/components/ParameterCharts/components/ChartContainer.js +1 -1
  169. package/cjs-bundle/components/ParameterCharts/components/SingleChannelTrackSettings.js +1 -1
  170. package/cjs-bundle/components/ParameterCharts/components/Tooltip/Tooltip.js +1 -1
  171. package/cjs-bundle/components/ParameterCharts/components/TraceHeader.js +1 -1
  172. package/cjs-bundle/components/ParameterCharts/components/TraceSettings.js +1 -1
  173. package/cjs-bundle/components/ParameterCharts/components/Track.js +1 -1
  174. package/cjs-bundle/components/ParameterCharts/components/TrackSettings.js +1 -1
  175. package/cjs-bundle/components/PinnableFilters/effects/index.js +1 -1
  176. package/cjs-bundle/components/PostInput/PostInput.js +1 -1
  177. package/cjs-bundle/components/PostPreviewDialog/index.js +1 -1
  178. package/cjs-bundle/components/Search/Search.js +1 -1
  179. package/cjs-bundle/components/Search/components/Paper.js +1 -1
  180. package/cjs-bundle/components/StageDesignVActual/ComparisonBar/ComparisonBar.js +1 -1
  181. package/cjs-bundle/components/StageDesignVActual/ComparisonRow.js +1 -1
  182. package/cjs-bundle/components/StageDesignVActual/ElementsComparison/ElementsComparison.js +1 -1
  183. package/cjs-bundle/components/Template/TemplateSharingDialog/UsersChipSelector.js +1 -1
  184. package/cjs-bundle/components/Template/TemplateSharingDialog/index.js +1 -1
  185. package/cjs-bundle/components/TracesEditModal/TracesEditModal.js +1 -1
  186. package/cjs-bundle/components/TracesEditModal/TracesEditModalContainer.js +1 -1
  187. package/cjs-bundle/components/UserCard/index.js +1 -1
  188. package/cjs-bundle/components/UserMention/index.js +1 -1
  189. package/cjs-bundle/components/UserMention/utils/index.js +1 -1
  190. package/cjs-bundle/components/WellSummary/ActivitySummaryChart.js +1 -1
  191. package/cjs-bundle/components/WellSummary/effects/useWellSummaryData.js +1 -1
  192. package/cjs-bundle/config/theme/index.js +1 -1
  193. package/cjs-bundle/effects/useSubscriptions.js +1 -1
  194. package/cjs-bundle/permissions/useProvidePermissions.js +1 -1
  195. package/cjs-bundle/permissions/withPermissionsHOC.js +1 -1
  196. package/cjs-bundle/utils/casing/conversion.js +1 -1
  197. package/cjs-bundle/utils/filePreview.js +1 -1
  198. package/cjs-bundle/utils/index.js +1 -1
  199. package/clients/api/apiCore.js +1 -1
  200. package/components/AddComment/Popover.js +1 -1
  201. package/components/AddComment/Popup.d.ts.map +1 -1
  202. package/components/AddComment/Popup.js +1 -1
  203. package/components/AddComment/components/Content.js +1 -1
  204. package/components/AdvancedSlider/AdvancedSlider.d.ts.map +1 -1
  205. package/components/AdvancedSlider/Handle.d.ts.map +1 -1
  206. package/components/AdvancedSlider/Handle.js +1 -1
  207. package/components/AdvancedSlider/styles/handleStyles.d.ts +1 -1
  208. package/components/AdvancedSlider/styles/handleStyles.d.ts.map +1 -1
  209. package/components/Annotations/components/AnnotationsList/components/AddAnnotationForm/index.js +1 -1
  210. package/components/Annotations/components/AnnotationsList/components/Annotation/index.js +1 -1
  211. package/components/Annotations/components/AnnotationsList/components/AnnotationComments/index.js +1 -1
  212. package/components/Annotations/components/AnnotationsList/components/AnnotationInput/index.d.ts +1 -1
  213. package/components/Annotations/components/AnnotationsList/components/AnnotationInput/index.js +1 -1
  214. package/components/Annotations/components/AnnotationsList/index.d.ts +2 -2
  215. package/components/Annotations/components/AnnotationsList/index.js +1 -1
  216. package/components/Annotations/components/LastAnnotation/index.js +1 -1
  217. package/components/AppIcon/utils.js +1 -1
  218. package/components/AppVersionsSelect/AppVersionsSelect.d.ts.map +1 -1
  219. package/components/AppVersionsSelect/AppVersionsSelect.js +1 -1
  220. package/components/AppVersionsSelect/effects/index.d.ts.map +1 -1
  221. package/components/AssetEditor/AssetEditorAutocomplete.d.ts +4 -4
  222. package/components/AssetEditor/SingleAssetEditor.d.ts +3 -3
  223. package/components/AssetEditor/SingleAssetEditor.d.ts.map +1 -1
  224. package/components/AssetEditor/effects/index.d.ts.map +1 -1
  225. package/components/AssetEditor/effects/index.js +1 -1
  226. package/components/AssetEditor/index.js +1 -1
  227. package/components/AssetEditorV2/components/MultipleAssetsToggle.d.ts.map +1 -1
  228. package/components/AssetEditorV2/components/PrimaryAssetSelect.d.ts.map +1 -1
  229. package/components/AssetEditorV2/components/PrimaryAssetSelectV2.d.ts.map +1 -1
  230. package/components/AssetEditorV2/components/SecondaryAssetSelect.d.ts.map +1 -1
  231. package/components/AssetEditorV2/components/SecondaryAssetSelect.js +1 -1
  232. package/components/AssetEditorV2/components/SelectItem.d.ts.map +1 -1
  233. package/components/AssetEditorV2/effects/index.d.ts.map +1 -1
  234. package/components/AssetEditorV2/effects/index.js +1 -1
  235. package/components/AssetEditorV2/effects/usePrimaryAssetSelectData.d.ts.map +1 -1
  236. package/components/AssetEditorV2/effects/usePrimaryAssetSelectData.js +1 -1
  237. package/components/AssetEditorV2/index.d.ts.map +1 -1
  238. package/components/AssetEditorV2/index.js +1 -1
  239. package/components/AssetEditorV2/utils/index.d.ts.map +1 -1
  240. package/components/AssetEditorV2/utils/index.js +1 -1
  241. package/components/AssetsMultipleSelector/AssetsMultipleSelector.d.ts.map +1 -1
  242. package/components/Attachment/index.d.ts +3 -3
  243. package/components/Attachment/index.js +1 -1
  244. package/components/Autocomplete/Autocomplete.d.ts.map +1 -1
  245. package/components/Avatar/index.d.ts +4 -4
  246. package/components/BICOffsetPickerDialog/components/Map/Map.d.ts.map +1 -1
  247. package/components/BICOffsetPickerDialog/components/Map/Map.js +1 -1
  248. package/components/BICOffsetPickerDialog/components/Map/index.d.ts.map +1 -1
  249. package/components/BICOffsetPickerDialog/components/WellSection/AutoCompleteAssetSearch/AssetResultSection.d.ts.map +1 -1
  250. package/components/BICOffsetPickerDialog/components/WellSection/AutoCompleteAssetSearch/AssetTypesSection.d.ts.map +1 -1
  251. package/components/BICOffsetPickerDialog/components/WellSection/NumberCircle.d.ts +1 -1
  252. package/components/BICOffsetPickerDialog/components/WellSection/NumberCircle.d.ts.map +1 -1
  253. package/components/BICOffsetPickerDialog/components/WellSection/SectionItem.d.ts.map +1 -1
  254. package/components/BICOffsetPickerDialog/components/WellSection/index.d.ts.map +1 -1
  255. package/components/BICOffsetPickerDialog/components/WellSection/index.js +1 -1
  256. package/components/BICOffsetPickerDialog/index.js +1 -1
  257. package/components/Breadcrumbs/index.d.ts.map +1 -1
  258. package/components/Breadcrumbs/index.js +1 -1
  259. package/components/Button/components/Button/index.d.ts +1 -1
  260. package/components/Button/components/LiveButton/styles.d.ts +1 -1
  261. package/components/Casing/CasingTable/index.js +1 -1
  262. package/components/Casing/CasingTableV2/CasingTableV2.d.ts.map +1 -1
  263. package/components/Casing/CasingTableV2/CasingTableV2.js +1 -1
  264. package/components/Casing/CasingTableV2/components/CasingJoints/Browser.d.ts.map +1 -1
  265. package/components/Casing/CasingTableV2/components/CasingJoints/Browser.js +1 -1
  266. package/components/Casing/CasingTableV2/components/CasingJoints/Editor.d.ts.map +1 -1
  267. package/components/Casing/CasingTableV2/components/CasingJoints/Editor.js +1 -1
  268. package/components/Casing/CasingTableV2/components/Component.d.ts.map +1 -1
  269. package/components/Casing/CasingTableV2/components/Component.js +1 -1
  270. package/components/Casing/CasingTableV2/components/DrillPipe/Browser.d.ts.map +1 -1
  271. package/components/Casing/CasingTableV2/components/DrillPipe/Browser.js +1 -1
  272. package/components/Casing/CasingTableV2/components/DrillPipe/Editor.d.ts.map +1 -1
  273. package/components/Casing/CasingTableV2/components/DrillPipe/Editor.js +1 -1
  274. package/components/Casing/CasingTableV2/components/EditComponentDialog.js +1 -1
  275. package/components/Casing/CasingTableV2/components/Header.d.ts.map +1 -1
  276. package/components/Casing/CasingTile/CasingTile.d.ts.map +1 -1
  277. package/components/Casing/CasingTile/CasingTile.js +1 -1
  278. package/components/Chart/components/AxisDropdown.d.ts.map +1 -1
  279. package/components/Chart/components/ChartButton.d.ts.map +1 -1
  280. package/components/Chart/components/ChartButtons.d.ts.map +1 -1
  281. package/components/Chart/components/ChartSelect.d.ts.map +1 -1
  282. package/components/Chart/components/ChartWrapper.d.ts.map +1 -1
  283. package/components/Chart/components/buttons/ChartTypeButton.d.ts.map +1 -1
  284. package/components/Chart/components/buttons/ChartTypeButton.js +1 -1
  285. package/components/Chart/components/buttons/DragToZoomButton.d.ts.map +1 -1
  286. package/components/Chart/components/buttons/DragToZoomButton.js +1 -1
  287. package/components/Chart/components/buttons/HideAxesButton.d.ts.map +1 -1
  288. package/components/Chart/components/buttons/HideAxesButton.js +1 -1
  289. package/components/Chart/components/buttons/PanButton.d.ts.map +1 -1
  290. package/components/Chart/components/buttons/PanButton.js +1 -1
  291. package/components/Chart/components/buttons/ResetZoomButton.d.ts.map +1 -1
  292. package/components/Chart/components/buttons/ResetZoomButton.js +1 -1
  293. package/components/Chart/components/buttons/ZoomInButton.d.ts.map +1 -1
  294. package/components/Chart/components/buttons/ZoomInButton.js +1 -1
  295. package/components/Chart/components/buttons/ZoomOutButton.d.ts.map +1 -1
  296. package/components/Chart/components/buttons/ZoomOutButton.js +1 -1
  297. package/components/Chart/effects/useChartModifier.d.ts.map +1 -1
  298. package/components/Chart/effects/useZoom.d.ts.map +1 -1
  299. package/components/Chart/options.d.ts.map +1 -1
  300. package/components/Chart/utils.d.ts.map +1 -1
  301. package/components/Chart/utils.js +1 -1
  302. package/components/ChartActionsList/ChartActionsList.d.ts +1 -1
  303. package/components/ChartActionsList/ChartActionsList.js +1 -1
  304. package/components/Chip/index.d.ts +1 -1
  305. package/components/CollapsableSidebar.d.ts +2 -2
  306. package/components/CollapsableSidebar.js +1 -1
  307. package/components/ColorPicker/PaletteChromePicker/PaletteChromePicker.js +1 -1
  308. package/components/Comment/index.d.ts +3 -3
  309. package/components/Comment/index.js +1 -1
  310. package/components/CommentInput/index.d.ts +2 -2
  311. package/components/CommentInput/index.js +1 -1
  312. package/components/CommentsInfo/index.js +1 -1
  313. package/components/ConfirmationDialog.d.ts +5 -5
  314. package/components/ContextMenuItem/index.d.ts.map +1 -1
  315. package/components/CopyToClipboard/CopyToClipboard.d.ts.map +1 -1
  316. package/components/DevCenter/AppHeader/AppHeader.d.ts.map +1 -1
  317. package/components/DevCenter/AppHeader/AppHeader.js +1 -1
  318. package/components/DevCenter/AppHeader/AppHeaderStyles.d.ts +1 -1
  319. package/components/DevCenter/AppsDataProvider/AppsDataProvider.d.ts.map +1 -1
  320. package/components/DevCenter/AppsDataProvider/effects/__tests__/mocks/assetDashboard/wellAssetDashboard/appWithDefaultSettings.d.ts.map +1 -1
  321. package/components/DevCenter/AppsDataProvider/effects/dataResolvers.d.ts.map +1 -1
  322. package/components/DevCenter/AppsDataProvider/effects/dataResolvers.js +1 -1
  323. package/components/DevCenter/AppsDataProvider/effects/useAppsData.js +1 -1
  324. package/components/DevCenter/DevCenterAppContainer/DevCenterAppContainer.d.ts.map +1 -1
  325. package/components/DevCenter/DevCenterAppContainer/DevCenterAppContainer.js +1 -1
  326. package/components/DevCenter/DevCenterAppContainer/components/AnnotationsButton/AnnotationsButton.d.ts.map +1 -1
  327. package/components/DevCenter/DevCenterAppContainer/components/AppInfoMessage/AppInfoMessage.js +1 -1
  328. package/components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/AppSettingsDialog.d.ts.map +1 -1
  329. package/components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/AppSettingsDialog.js +1 -1
  330. package/components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/styles.d.ts +1 -1
  331. package/components/DevCenter/DevCenterAppContainer/components/FullscreenButton/FullscreenButton.d.ts.map +1 -1
  332. package/components/DevCenter/DevCenterAppContainer/components/NonPriorityMenus/NonPriorityMenus.d.ts.map +1 -1
  333. package/components/DevCenter/DevCenterAppContainer/components/NonPriorityMenus/NonPriorityMenus.js +1 -1
  334. package/components/DevCenter/DevCenterAppContainer/components/PriorityMenus/PriorityMenus.d.ts.map +1 -1
  335. package/components/DevCenter/DevCenterAppContainer/components/PriorityMenus/PriorityMenus.js +1 -1
  336. package/components/DevCenter/DevCenterAppContainer/components/RestoreAppSizeButton/index.d.ts.map +1 -1
  337. package/components/DevCenter/DevCenterAppContainer/components/RestoreAppSizeButton/index.js +1 -1
  338. package/components/DevCenter/DevCenterAppContainer/effects/useAnnotationsData.d.ts.map +1 -1
  339. package/components/DevCenter/DevCenterRouterContext/effects/useDevCenterRouter.d.ts.map +1 -1
  340. package/components/DevCenter/IsolatedDevCenterAppContainer/DevCenterAppZoidComponent.js +1 -1
  341. package/components/DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedApp.d.ts.map +1 -1
  342. package/components/DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedApp.js +1 -1
  343. package/components/DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedAppPage.js +1 -1
  344. package/components/DevCenter/SideBar/SideBar.d.ts +3 -3
  345. package/components/DocumentViewer/DocumentViewer.d.ts.map +1 -1
  346. package/components/DocumentViewer/DocumentViewer.js +1 -1
  347. package/components/Drillstring/BHAComponentDetail/index.d.ts.map +1 -1
  348. package/components/Drillstring/BHAComponentDetail/index.js +1 -1
  349. package/components/Drillstring/BHAComponentsTable/BHAComponentsTable.d.ts.map +1 -1
  350. package/components/Drillstring/BHAComponentsTable/BHAComponentsTable.js +1 -1
  351. package/components/Drillstring/BHAComponentsTable/components/Agitator/Browser.d.ts.map +1 -1
  352. package/components/Drillstring/BHAComponentsTable/components/Agitator/Browser.js +1 -1
  353. package/components/Drillstring/BHAComponentsTable/components/Agitator/Editor.d.ts.map +1 -1
  354. package/components/Drillstring/BHAComponentsTable/components/Agitator/Editor.js +1 -1
  355. package/components/Drillstring/BHAComponentsTable/components/Bit/Browser.d.ts.map +1 -1
  356. package/components/Drillstring/BHAComponentsTable/components/Bit/Browser.js +1 -1
  357. package/components/Drillstring/BHAComponentsTable/components/Bit/Editor.d.ts.map +1 -1
  358. package/components/Drillstring/BHAComponentsTable/components/Bit/Editor.js +1 -1
  359. package/components/Drillstring/BHAComponentsTable/components/Component.d.ts +1 -1
  360. package/components/Drillstring/BHAComponentsTable/components/Component.d.ts.map +1 -1
  361. package/components/Drillstring/BHAComponentsTable/components/Component.js +1 -1
  362. package/components/Drillstring/BHAComponentsTable/components/DrillCollar/Browser.d.ts.map +1 -1
  363. package/components/Drillstring/BHAComponentsTable/components/DrillCollar/Browser.js +1 -1
  364. package/components/Drillstring/BHAComponentsTable/components/DrillCollar/Editor.d.ts.map +1 -1
  365. package/components/Drillstring/BHAComponentsTable/components/DrillCollar/Editor.js +1 -1
  366. package/components/Drillstring/BHAComponentsTable/components/DrillPipe/Browser.d.ts.map +1 -1
  367. package/components/Drillstring/BHAComponentsTable/components/DrillPipe/Browser.js +1 -1
  368. package/components/Drillstring/BHAComponentsTable/components/DrillPipe/Editor.d.ts.map +1 -1
  369. package/components/Drillstring/BHAComponentsTable/components/DrillPipe/Editor.js +1 -1
  370. package/components/Drillstring/BHAComponentsTable/components/EditComponentDialog.js +1 -1
  371. package/components/Drillstring/BHAComponentsTable/components/Header.d.ts.map +1 -1
  372. package/components/Drillstring/BHAComponentsTable/components/Jar/Browser.d.ts.map +1 -1
  373. package/components/Drillstring/BHAComponentsTable/components/Jar/Browser.js +1 -1
  374. package/components/Drillstring/BHAComponentsTable/components/Jar/Editor.d.ts.map +1 -1
  375. package/components/Drillstring/BHAComponentsTable/components/Jar/Editor.js +1 -1
  376. package/components/Drillstring/BHAComponentsTable/components/Lwd/Browser.d.ts.map +1 -1
  377. package/components/Drillstring/BHAComponentsTable/components/Lwd/Browser.js +1 -1
  378. package/components/Drillstring/BHAComponentsTable/components/Lwd/Editor.d.ts.map +1 -1
  379. package/components/Drillstring/BHAComponentsTable/components/Lwd/Editor.js +1 -1
  380. package/components/Drillstring/BHAComponentsTable/components/Lwd/Measurement.d.ts.map +1 -1
  381. package/components/Drillstring/BHAComponentsTable/components/Lwd/Measurement.js +1 -1
  382. package/components/Drillstring/BHAComponentsTable/components/Mwd/Browser.d.ts.map +1 -1
  383. package/components/Drillstring/BHAComponentsTable/components/Mwd/Browser.js +1 -1
  384. package/components/Drillstring/BHAComponentsTable/components/Mwd/Editor.d.ts.map +1 -1
  385. package/components/Drillstring/BHAComponentsTable/components/Mwd/Editor.js +1 -1
  386. package/components/Drillstring/BHAComponentsTable/components/NozzleSize/index.d.ts.map +1 -1
  387. package/components/Drillstring/BHAComponentsTable/components/NozzleSize/index.js +1 -1
  388. package/components/Drillstring/BHAComponentsTable/components/Pdm/Browser.d.ts.map +1 -1
  389. package/components/Drillstring/BHAComponentsTable/components/Pdm/Browser.js +1 -1
  390. package/components/Drillstring/BHAComponentsTable/components/Pdm/Editor.d.ts.map +1 -1
  391. package/components/Drillstring/BHAComponentsTable/components/Pdm/Editor.js +1 -1
  392. package/components/Drillstring/BHAComponentsTable/components/PressureLoss/index.d.ts.map +1 -1
  393. package/components/Drillstring/BHAComponentsTable/components/PressureLoss/index.js +1 -1
  394. package/components/Drillstring/BHAComponentsTable/components/Rss/Browser.d.ts.map +1 -1
  395. package/components/Drillstring/BHAComponentsTable/components/Rss/Browser.js +1 -1
  396. package/components/Drillstring/BHAComponentsTable/components/Rss/Editor.d.ts.map +1 -1
  397. package/components/Drillstring/BHAComponentsTable/components/Rss/Editor.js +1 -1
  398. package/components/Drillstring/BHAComponentsTable/components/SortableComponent.js +1 -1
  399. package/components/Drillstring/BHAComponentsTable/components/Stabilizer/Browser.d.ts.map +1 -1
  400. package/components/Drillstring/BHAComponentsTable/components/Stabilizer/Browser.js +1 -1
  401. package/components/Drillstring/BHAComponentsTable/components/Stabilizer/Editor.d.ts.map +1 -1
  402. package/components/Drillstring/BHAComponentsTable/components/Stabilizer/Editor.js +1 -1
  403. package/components/Drillstring/BHAComponentsTable/components/Sub/Browser.d.ts.map +1 -1
  404. package/components/Drillstring/BHAComponentsTable/components/Sub/Browser.js +1 -1
  405. package/components/Drillstring/BHAComponentsTable/components/Sub/Editor.d.ts.map +1 -1
  406. package/components/Drillstring/BHAComponentsTable/components/Sub/Editor.js +1 -1
  407. package/components/Drillstring/BHAComponentsTable/components/Suggestions/Suggestions.d.ts.map +1 -1
  408. package/components/Drillstring/BHAComponentsTable/components/Suggestions/Suggestions.js +1 -1
  409. package/components/Drillstring/BHAComponentsTable/components/Ur/Browser.d.ts.map +1 -1
  410. package/components/Drillstring/BHAComponentsTable/components/Ur/Browser.js +1 -1
  411. package/components/Drillstring/BHAComponentsTable/components/Ur/Editor.d.ts.map +1 -1
  412. package/components/Drillstring/BHAComponentsTable/components/Ur/Editor.js +1 -1
  413. package/components/Drillstring/BHAComponentsTable/components/shared/CancelButton.d.ts.map +1 -1
  414. package/components/Drillstring/BHAComponentsTable/components/shared/ConfirmationPopup.d.ts.map +1 -1
  415. package/components/Drillstring/BHAComponentsTable/components/shared/ConfirmationPopup.js +1 -1
  416. package/components/Drillstring/BHAComponentsTable/components/shared/InputText.d.ts.map +1 -1
  417. package/components/Drillstring/BHAComponentsTable/components/shared/InputText.js +1 -1
  418. package/components/Drillstring/BHAComponentsTable/components/shared/SaveButton.d.ts.map +1 -1
  419. package/components/Drillstring/BHAComponentsTable/components/shared/SelectField.d.ts.map +1 -1
  420. package/components/Drillstring/BHAComponentsTable/components/shared/SelectField.js +1 -1
  421. package/components/Drillstring/BHAComponentsTable/components/shared/SharedEditorElements.d.ts.map +1 -1
  422. package/components/Drillstring/BHAComponentsTable/components/shared/SharedEditorElements.js +1 -1
  423. package/components/Drillstring/BHAComponentsTable/components/shared/StaticField.d.ts.map +1 -1
  424. package/components/Drillstring/BHAComponentsTable/components/shared/StaticField.js +1 -1
  425. package/components/Drillstring/BHAComponentsTable/components/utils/calculation.d.ts.map +1 -1
  426. package/components/Drillstring/BHAList/BHAList.d.ts.map +1 -1
  427. package/components/Drillstring/BHAList/BHAList.js +1 -1
  428. package/components/Drillstring/BHASchematic.d.ts.map +1 -1
  429. package/components/Drillstring/BHATable/index.d.ts.map +1 -1
  430. package/components/Drillstring/BHATable/index.js +1 -1
  431. package/components/Drillstring/BHATile/BHATile.d.ts.map +1 -1
  432. package/components/Drillstring/BHATile/BHATile.js +1 -1
  433. package/components/Drillstring/BHATileIcon.d.ts.map +1 -1
  434. package/components/Drillstring/BhaIndicator/BhaIndicator.d.ts +1 -1
  435. package/components/Drillstring/BhaIndicator/BhaIndicator.d.ts.map +1 -1
  436. package/components/Drillstring/DrillstringDetail/DrillstringDetail.d.ts.map +1 -1
  437. package/components/Drillstring/DrillstringDetail/DrillstringDetail.js +1 -1
  438. package/components/EditableItem/EditableItemWithBadge/index.d.ts.map +1 -1
  439. package/components/EmbeddedApp/DevCenterEmbeddedApp.js +1 -1
  440. package/components/EmbeddedApp/EmbeddedApp.js +1 -1
  441. package/components/EmbeddedApp/components/AppInfo.d.ts.map +1 -1
  442. package/components/EmojiIconButton.d.ts.map +1 -1
  443. package/components/EmptyState/styles.d.ts +1 -1
  444. package/components/EmptyView/EmptyAppView/components/ErrorSubtitleWithIntercomLink.d.ts.map +1 -1
  445. package/components/ErrorBoundary/DevCenterAppErrorView/DevCenterAppErrorView.d.ts.map +1 -1
  446. package/components/ErrorBoundary/DevCenterAppErrorView/DevCenterAppErrorView.js +1 -1
  447. package/components/FeedItem/FeedItem.d.ts.map +1 -1
  448. package/components/FeedItem/FeedItem.js +1 -1
  449. package/components/FeedItem/FeedItemEditProvider/FeedItemEditModal.js +1 -1
  450. package/components/FeedItem/FeedItemEditProvider/FeedItemEditProvider.d.ts +1 -1
  451. package/components/FeedItem/FeedItemEditProvider/FeedItemEditProvider.d.ts.map +1 -1
  452. package/components/FeedItem/FeedItemEditProvider/FeedItemEditProvider.js +1 -1
  453. package/components/FeedItem/components/Actions.d.ts.map +1 -1
  454. package/components/FeedItem/components/AvatarIcon.d.ts.map +1 -1
  455. package/components/FeedItem/components/Content.d.ts.map +1 -1
  456. package/components/FeedItem/components/Content.js +1 -1
  457. package/components/FeedItem/components/FeedComments.d.ts.map +1 -1
  458. package/components/FeedItem/components/Icon.js +1 -1
  459. package/components/FeedItem/components/RigAndWell.d.ts.map +1 -1
  460. package/components/FeedItem/editModals/DvdCommentEdit/DvdCommentEdit.d.ts.map +1 -1
  461. package/components/FeedItem/editModals/DvdCommentEdit/DvdCommentEdit.js +1 -1
  462. package/components/FeedItem/editModals/HookloadCommentEdit/HookloadCommentEdit.d.ts.map +1 -1
  463. package/components/FeedItem/editModals/NptLessonsCommentEdit/NptLessonsCommentEdit.d.ts.map +1 -1
  464. package/components/FeedItem/editModals/PCCommentEdit/PCCommentEdit.d.ts.map +1 -1
  465. package/components/FeedItem/feedItemTypes/AlertFeedItem.d.ts.map +1 -1
  466. package/components/FeedItem/feedItemTypes/AppAnnotationFeedItem/index.d.ts.map +1 -1
  467. package/components/FeedItem/feedItemTypes/AppAnnotationFeedItem/index.js +1 -1
  468. package/components/FeedItem/feedItemTypes/BhaFeedItem/BhaFeedItem.js +1 -1
  469. package/components/FeedItem/feedItemTypes/BhaFeedItem/components/BhaSchematic.d.ts.map +1 -1
  470. package/components/FeedItem/feedItemTypes/CompletionDailyCostFeedItem.d.ts.map +1 -1
  471. package/components/FeedItem/feedItemTypes/CompletionNptFeedItem.d.ts.map +1 -1
  472. package/components/FeedItem/feedItemTypes/CompletionOperationSummaryFeedItem.d.ts.map +1 -1
  473. package/components/FeedItem/feedItemTypes/CompletionOperationalNoteFeedItem.d.ts.map +1 -1
  474. package/components/FeedItem/feedItemTypes/DepthCommentFeedItem.d.ts.map +1 -1
  475. package/components/FeedItem/feedItemTypes/DrillerMemoFeedItem.d.ts.map +1 -1
  476. package/components/FeedItem/feedItemTypes/DrillingDailyCostFeedItem.d.ts.map +1 -1
  477. package/components/FeedItem/feedItemTypes/DrillingOperationSummaryFeedItem.d.ts.map +1 -1
  478. package/components/FeedItem/feedItemTypes/DrillingOperationalNoteFeedItem.d.ts.map +1 -1
  479. package/components/FeedItem/feedItemTypes/FluidReportFeedItem.d.ts.map +1 -1
  480. package/components/FeedItem/feedItemTypes/GeosteeringFeedItem.d.ts +1 -1
  481. package/components/FeedItem/feedItemTypes/GeosteeringFeedItem.d.ts.map +1 -1
  482. package/components/FeedItem/feedItemTypes/LessonsLearnedFeedItem/index.js +1 -1
  483. package/components/FeedItem/feedItemTypes/NptFeedItem.d.ts.map +1 -1
  484. package/components/FeedItem/feedItemTypes/PCCommentFeedItem.d.ts.map +1 -1
  485. package/components/FeedItem/feedItemTypes/PostFeedItem.d.ts.map +1 -1
  486. package/components/FeedItem/feedItemTypes/StageOverviewFeedItem/components/NoData.d.ts.map +1 -1
  487. package/components/FeedItem/feedItemTypes/StageOverviewFeedItem/components/PredictionsItem.d.ts.map +1 -1
  488. package/components/FeedItem/feedItemTypes/StageOverviewFeedItem/components/Stages/Stages.d.ts.map +1 -1
  489. package/components/FeedItem/feedItemTypes/StageOverviewFeedItem/components/Stages/Stages.js +1 -1
  490. package/components/FeedItem/feedItemTypes/StageOverviewFeedItem/components/Stages/utils.d.ts.map +1 -1
  491. package/components/FeedItem/feedItemTypes/StageOverviewFeedItem/index.d.ts.map +1 -1
  492. package/components/FeedItem/feedItemTypes/StageOverviewFeedItem/index.js +1 -1
  493. package/components/FeedItem/feedItemTypes/SurveyStationFeedItem/components/Warning.d.ts.map +1 -1
  494. package/components/FeedItem/feedItemTypes/SurveyStationFeedItem/index.d.ts.map +1 -1
  495. package/components/FeedItem/feedItemTypes/SurveyStationFeedItem/index.js +1 -1
  496. package/components/FeedItem/feedItemTypes/TracesMemoFeedItem.d.ts.map +1 -1
  497. package/components/FeedItem/feedItemTypes/WellPlanFeedItem/constants.d.ts.map +1 -1
  498. package/components/FeedItem/feedItemTypes/WellPlanFeedItem/index.d.ts.map +1 -1
  499. package/components/FeedItem/feedItemTypes/WellPlanFeedItem/index.js +1 -1
  500. package/components/FilePreview/index.d.ts +1 -1
  501. package/components/FilePreview/index.js +1 -1
  502. package/components/FileTypeIcon.d.ts.map +1 -1
  503. package/components/FileUploadIconButton.d.ts.map +1 -1
  504. package/components/FilesLoader/Icons/FileIcon.d.ts.map +1 -1
  505. package/components/FilesLoader/effects/useUploadingFile.d.ts.map +1 -1
  506. package/components/FilesLoader/useStyles.d.ts.map +1 -1
  507. package/components/FolderMenuItem/index.d.ts.map +1 -1
  508. package/components/FolderMenuItemWithLinks/index.d.ts.map +1 -1
  509. package/components/GoogleDocsViewer/index.d.ts.map +1 -1
  510. package/components/GoogleDocsViewer/index.js +1 -1
  511. package/components/GoogleDocsViewer/styles.d.ts +1 -1
  512. package/components/HeaderLayout/effects/index.d.ts.map +1 -1
  513. package/components/HeaderLayout/effects/index.js +1 -1
  514. package/components/Icons/GppGoodIcon.d.ts.map +1 -1
  515. package/components/Icons/RecommendationIcon.d.ts.map +1 -1
  516. package/components/Icons/SendIcon.d.ts.map +1 -1
  517. package/components/ImageViewer/index.d.ts.map +1 -1
  518. package/components/InfiniteList/index.d.ts.map +1 -1
  519. package/components/InfiniteList/index.js +1 -1
  520. package/components/KeyboardDateTimePicker.d.ts.map +1 -1
  521. package/components/MenuItem/index.d.ts.map +1 -1
  522. package/components/MiddleTruncate/MiddleTruncate.d.ts.map +1 -1
  523. package/components/NewDocumentViewer/styles.d.ts +1 -1
  524. package/components/OffsetWellMap/WellTooltip.d.ts.map +1 -1
  525. package/components/OffsetWellPickerV2/OffsetWellPickerDialog.js +1 -1
  526. package/components/OffsetWellPickerV2/components/Filter/MultiSelect.d.ts.map +1 -1
  527. package/components/OffsetWellPickerV2/components/Filter/NonEngineeredWellsSwitch.js +1 -1
  528. package/components/OffsetWellPickerV2/components/Filter/SidetrackSwitch.js +1 -1
  529. package/components/OffsetWellPickerV2/components/Filter/ToggleMapButton.js +1 -1
  530. package/components/OffsetWellPickerV2/components/Filter/index.d.ts.map +1 -1
  531. package/components/OffsetWellPickerV2/components/Filter/index.js +1 -1
  532. package/components/OffsetWellPickerV2/components/Map/Map.d.ts.map +1 -1
  533. package/components/OffsetWellPickerV2/components/Map/Map.js +1 -1
  534. package/components/OffsetWellPickerV2/components/Map/index.d.ts.map +1 -1
  535. package/components/OffsetWellPickerV2/components/Map/popupGenerator.d.ts.map +1 -1
  536. package/components/OffsetWellPickerV2/components/Table/MetricsAddMenu.js +1 -1
  537. package/components/OffsetWellPickerV2/components/Table/MetricsSelect.d.ts +2 -2
  538. package/components/OffsetWellPickerV2/components/Table/index.d.ts +1 -1
  539. package/components/OffsetWellPickerV2/components/Table/index.d.ts.map +1 -1
  540. package/components/OffsetWellPickerV2/components/Table/index.js +1 -1
  541. package/components/OffsetWellPickerV2/effects/index.d.ts.map +1 -1
  542. package/components/OffsetWellPickerV2/effects/index.js +1 -1
  543. package/components/OffsetWellPickerV2/utils/apiCalls.js +1 -1
  544. package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Filter/SidetrackSwitch.d.ts.map +1 -1
  545. package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Filter/SidetrackSwitch.js +1 -1
  546. package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Filter/index.js +1 -1
  547. package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Map/Map.d.ts.map +1 -1
  548. package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Map/Map.js +1 -1
  549. package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Map/popupGenerator.d.ts.map +1 -1
  550. package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Map/utils.d.ts.map +1 -1
  551. package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/AutoCompleteAssetSearch/AssetResultSection.d.ts.map +1 -1
  552. package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/AutoCompleteAssetSearch/AssetTypesSection.d.ts.map +1 -1
  553. package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/MetricsAddMenu.js +1 -1
  554. package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/MetricsSelect.d.ts +1 -1
  555. package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/index.d.ts.map +1 -1
  556. package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/index.js +1 -1
  557. package/components/OffsetWellPickerV3/components/CustomSelectionView/effects/index.d.ts.map +1 -1
  558. package/components/OffsetWellPickerV3/components/CustomSelectionView/effects/index.js +1 -1
  559. package/components/OffsetWellPickerV3/components/CustomSelectionView/index.d.ts.map +1 -1
  560. package/components/OffsetWellPickerV3/components/CustomSelectionView/index.js +1 -1
  561. package/components/OffsetWellPickerV3/components/OffsetWellSelectionView/index.d.ts.map +1 -1
  562. package/components/OffsetWellPickerV3/components/OffsetWellSelectionView/index.js +1 -1
  563. package/components/OffsetWellPickerV3/components/TabSelection/ToggleMapButton.js +1 -1
  564. package/components/OffsetWellPickerV3/components/TabSelection/index.d.ts.map +1 -1
  565. package/components/OffsetWellPickerV3/components/TabSelection/index.js +1 -1
  566. package/components/OffsetWellPickerV3/components/WellHubView/index.d.ts.map +1 -1
  567. package/components/OffsetWellPickerV3/components/WellHubView/index.js +1 -1
  568. package/components/OffsetWellPickerV3/components/shared/OffsetWellTableHead.d.ts.map +1 -1
  569. package/components/OffsetWellPickerV3/components/shared/OffsetWellTableHead.js +1 -1
  570. package/components/OffsetWellPickerV3/index.js +1 -1
  571. package/components/OffsetWellPickerV3/utils/apiCalls.d.ts.map +1 -1
  572. package/components/OffsetWellPickerV3/utils/apiCalls.js +1 -1
  573. package/components/OffsetWellPickerV4/OffsetWellPickerV4.js +1 -1
  574. package/components/OffsetWellPickerV4/components/AppHeader/AppHeader.d.ts.map +1 -1
  575. package/components/OffsetWellPickerV4/components/AppHeader/AppHeader.js +1 -1
  576. package/components/OffsetWellPickerV4/components/CustomInfoIcon/CustomInfoIcon.d.ts.map +1 -1
  577. package/components/OffsetWellPickerV4/components/CustomInfoIcon/CustomInfoIcon.js +1 -1
  578. package/components/OffsetWellPickerV4/components/Filter/Filter.d.ts.map +1 -1
  579. package/components/OffsetWellPickerV4/components/Filter/Filter.js +1 -1
  580. package/components/OffsetWellPickerV4/components/Filter/PeriodSelect.d.ts.map +1 -1
  581. package/components/OffsetWellPickerV4/components/Filter/RadiusInput.d.ts +2 -2
  582. package/components/OffsetWellPickerV4/components/Filter/RadiusInput.d.ts.map +1 -1
  583. package/components/OffsetWellPickerV4/components/Filter/RadiusInput.js +1 -1
  584. package/components/OffsetWellPickerV4/components/Filter/SingleSelect.d.ts.map +1 -1
  585. package/components/OffsetWellPickerV4/components/Filter/WellSection.d.ts.map +1 -1
  586. package/components/OffsetWellPickerV4/components/OffsetWellsTable/AdvancedSearch/AssetResultSection.d.ts.map +1 -1
  587. package/components/OffsetWellPickerV4/components/OffsetWellsTable/AdvancedSearch/AssetResultSection.js +1 -1
  588. package/components/OffsetWellPickerV4/components/OffsetWellsTable/AdvancedSearch/AssetTypesSection.d.ts.map +1 -1
  589. package/components/OffsetWellPickerV4/components/OffsetWellsTable/AdvancedSearch/AutoCompleteAssetSearch.d.ts +1 -1
  590. package/components/OffsetWellPickerV4/components/OffsetWellsTable/AdvancedSearch/AutoCompleteAssetSearch.d.ts.map +1 -1
  591. package/components/OffsetWellPickerV4/components/OffsetWellsTable/MetricsSelect.d.ts.map +1 -1
  592. package/components/OffsetWellPickerV4/components/OffsetWellsTable/MetricsSelect.js +1 -1
  593. package/components/OffsetWellPickerV4/components/OffsetWellsTable/MetricsSettingMenu.d.ts.map +1 -1
  594. package/components/OffsetWellPickerV4/components/OffsetWellsTable/MetricsSettingMenu.js +1 -1
  595. package/components/OffsetWellPickerV4/components/OffsetWellsTable/OffsetWellsTable.js +1 -1
  596. package/components/OffsetWellPickerV4/components/OffsetWellsTable/OffsetWellsTableHead.js +1 -1
  597. package/components/OffsetWellPickerV4/components/OffsetWellsTable/OffsetWellsTableRow.js +1 -1
  598. package/components/OffsetWellPickerV4/components/Toolbar/Toolbar.d.ts.map +1 -1
  599. package/components/OffsetWellPickerV4/components/Toolbar/Toolbar.js +1 -1
  600. package/components/OffsetWellPickerV4/constants.d.ts.map +1 -1
  601. package/components/OffsetWellPickerV4/effects/useAdvancedWells.d.ts.map +1 -1
  602. package/components/OffsetWellPickerV4/effects/useAdvancedWells.js +1 -1
  603. package/components/OffsetWellPickerV4/effects/useAssetsData.d.ts.map +1 -1
  604. package/components/OffsetWellPickerV4/effects/useBicWells.d.ts.map +1 -1
  605. package/components/OffsetWellPickerV4/effects/useFetchWells.d.ts.map +1 -1
  606. package/components/OffsetWellPickerV4/effects/useFilterOptions.d.ts.map +1 -1
  607. package/components/OffsetWellPickerV4/effects/useFilteredWells.d.ts.map +1 -1
  608. package/components/OffsetWellPickerV4/effects/useSortedWells.d.ts.map +1 -1
  609. package/components/OffsetWellPickerV4/effects/useTableColumns.d.ts.map +1 -1
  610. package/components/OffsetWellPickerV4/utils/apiCalls.d.ts.map +1 -1
  611. package/components/OffsetWellPickerV4/utils/apiCalls.js +1 -1
  612. package/components/OffsetWellPickerV4/utils/index.d.ts.map +1 -1
  613. package/components/OffsetWellPickerV4/utils/index.js +1 -1
  614. package/components/OffsetWellPickerV4/utils/timePeriod.d.ts.map +1 -1
  615. package/components/PadModeSelect/PadModeSelect.d.ts +1 -1
  616. package/components/PadModeSelect/PadModeSelect.d.ts.map +1 -1
  617. package/components/PadModeSelect/PadModeSelect.js +1 -1
  618. package/components/PadModeSelect/utils.d.ts.map +1 -1
  619. package/components/PadOffsetsPicker/OffsetAssetChip.d.ts.map +1 -1
  620. package/components/PadOffsetsPicker/OffsetAssetsListExpander.d.ts.map +1 -1
  621. package/components/PadOffsetsPicker/PadOffsetsPicker.d.ts.map +1 -1
  622. package/components/PadOffsetsPicker/StagesSelector.d.ts.map +1 -1
  623. package/components/PadOffsetsPicker/StagesSelector.js +1 -1
  624. package/components/PadOffsetsPickerV2/PadOffsetsPickerV2.d.ts.map +1 -1
  625. package/components/PadOffsetsPickerV2/PadOffsetsPickerV2.js +1 -1
  626. package/components/ParameterCharts/AddEditTrack.d.ts +2 -2
  627. package/components/ParameterCharts/AddEditTrack.js +1 -1
  628. package/components/ParameterCharts/ParameterCharts.d.ts.map +1 -1
  629. package/components/ParameterCharts/ParameterCharts.js +1 -1
  630. package/components/ParameterCharts/components/ChartContainer.js +1 -1
  631. package/components/ParameterCharts/components/Charts/LineChart.d.ts.map +1 -1
  632. package/components/ParameterCharts/components/DataLoadingIndicator.d.ts +1 -1
  633. package/components/ParameterCharts/components/SingleChannelTrackSettings.js +1 -1
  634. package/components/ParameterCharts/components/Tooltip/Tooltip.js +1 -1
  635. package/components/ParameterCharts/components/TraceHeader.js +1 -1
  636. package/components/ParameterCharts/components/TraceSettings.js +1 -1
  637. package/components/ParameterCharts/components/Track.d.ts.map +1 -1
  638. package/components/ParameterCharts/components/Track.js +1 -1
  639. package/components/ParameterCharts/components/TrackSettings.d.ts +1 -1
  640. package/components/ParameterCharts/components/TrackSettings.js +1 -1
  641. package/components/ParameterCharts/constants.d.ts.map +1 -1
  642. package/components/PinnableFilters/effects/index.js +1 -1
  643. package/components/PostInput/PostInput.d.ts.map +1 -1
  644. package/components/PostInput/PostInput.js +1 -1
  645. package/components/PostPreviewDialog/index.d.ts +2 -2
  646. package/components/PostPreviewDialog/index.js +1 -1
  647. package/components/Search/Search.d.ts.map +1 -1
  648. package/components/Search/Search.js +1 -1
  649. package/components/Search/components/Groups.d.ts.map +1 -1
  650. package/components/Search/components/InputAdornmentLeft.d.ts.map +1 -1
  651. package/components/Search/components/Listbox.d.ts +1 -1
  652. package/components/Search/components/Paper.d.ts.map +1 -1
  653. package/components/Search/components/Paper.js +1 -1
  654. package/components/Search/styles.d.ts +1 -1
  655. package/components/SlateFormattedText/RenderElements.d.ts.map +1 -1
  656. package/components/StageDesignVActual/ComparisonBar/ComparisonBar.js +1 -1
  657. package/components/StageDesignVActual/ComparisonRow.js +1 -1
  658. package/components/StageDesignVActual/ElementsComparison/ElementsComparison.js +1 -1
  659. package/components/Stepper/Step/styles.d.ts +1 -1
  660. package/components/Table/TableCell/TableCell.d.ts.map +1 -1
  661. package/components/Table/TablePagination/TablePagination.d.ts +5 -5
  662. package/components/Table/TableSortLabel/TableSortLabel.d.ts.map +1 -1
  663. package/components/Template/TemplatePopover/index.d.ts.map +1 -1
  664. package/components/Template/TemplateSharingDialog/UsersChipSelector.d.ts.map +1 -1
  665. package/components/Template/TemplateSharingDialog/UsersChipSelector.js +1 -1
  666. package/components/Template/TemplateSharingDialog/index.js +1 -1
  667. package/components/TracesEditModal/TracesEditModal.js +1 -1
  668. package/components/TracesEditModal/TracesEditModalContainer.d.ts.map +1 -1
  669. package/components/TracesEditModal/TracesEditModalContainer.js +1 -1
  670. package/components/TruncatedText/index.d.ts.map +1 -1
  671. package/components/Typography.d.ts +27 -27
  672. package/components/UserCard/index.d.ts +2 -2
  673. package/components/UserCard/index.js +1 -1
  674. package/components/UserCardPopover.d.ts +2 -2
  675. package/components/UserMention/index.js +1 -1
  676. package/components/UserMention/utils/index.d.ts.map +1 -1
  677. package/components/UserMention/utils/index.js +1 -1
  678. package/components/VirtualizedTable/VirtualizedTable.d.ts +3 -3
  679. package/components/WellSummary/ActivitySummaryChart.js +1 -1
  680. package/components/WellSummary/FracWirelineTimeChart.d.ts.map +1 -1
  681. package/components/WellSummary/WellSummaryItemValue.d.ts +1 -1
  682. package/components/WellSummary/WellSummaryItemValue.d.ts.map +1 -1
  683. package/components/WellSummary/effects/useWellSummaryData.d.ts.map +1 -1
  684. package/components/WellSummary/effects/useWellSummaryData.js +1 -1
  685. package/components/WellSummary/utils.d.ts.map +1 -1
  686. package/config/mapbox/index.d.ts.map +1 -1
  687. package/config/theme/index.js +1 -1
  688. package/effects/useDevCenterApp.d.ts.map +1 -1
  689. package/effects/useSignedURL.d.ts.map +1 -1
  690. package/effects/useSubscriptions.d.ts.map +1 -1
  691. package/effects/useSubscriptions.js +1 -1
  692. package/exampleApp/ChartActionsListExample.d.ts.map +1 -1
  693. package/exampleApp/ParameterChartExample.d.ts.map +1 -1
  694. package/hocs/withAssetEditorLockHOC.d.ts.map +1 -1
  695. package/hocs/withMUIProvidersHOC.d.ts.map +1 -1
  696. package/index.d.ts.map +1 -1
  697. package/package.json +2 -2
  698. package/permissions/ProvidePermissions.d.ts.map +1 -1
  699. package/permissions/constants/index.d.ts.map +1 -1
  700. package/permissions/useProvidePermissions.d.ts.map +1 -1
  701. package/permissions/useProvidePermissions.js +1 -1
  702. package/permissions/withPermissionsHOC.d.ts.map +1 -1
  703. package/permissions/withPermissionsHOC.js +1 -1
  704. package/utils/FluidCheckUtils.d.ts.map +1 -1
  705. package/utils/accuracy.d.ts +1 -1
  706. package/utils/bha.d.ts.map +1 -1
  707. package/utils/casing/conversion.js +1 -1
  708. package/utils/casing/validation.d.ts.map +1 -1
  709. package/utils/devcenterToasts.d.ts.map +1 -1
  710. package/utils/drillstring/conversion.d.ts.map +1 -1
  711. package/utils/drillstring/validation.d.ts.map +1 -1
  712. package/utils/feed.d.ts.map +1 -1
  713. package/utils/filePreview.d.ts.map +1 -1
  714. package/utils/filePreview.js +1 -1
  715. package/utils/index.d.ts.map +1 -1
  716. package/utils/index.js +1 -1
  717. package/utils/main.d.ts.map +1 -1
  718. package/utils/mapbox.d.ts +1 -1
  719. package/utils/mapbox.d.ts.map +1 -1
  720. package/utils/metrics/metricsConfig.d.ts.map +1 -1
  721. package/utils/metrics/utils.d.ts.map +1 -1
  722. package/utils/notificationToasts.d.ts.map +1 -1
@@ -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" | "disabled" | "onChange" | "disableClearable" | "isNullable" | "assetType" | "parentAssetType" | "parentAssetId" | "queryParams" | "currentValue" | "isMultiple" | "errorText"> & Pick<{
37
+ }>, "data-testid" | "label" | "classes" | "disabled" | "onChange" | "appKey" | "companyId" | "disableClearable" | "isNullable" | "assetType" | "parentAssetType" | "parentAssetId" | "queryParams" | "currentValue" | "isMultiple" | "errorText"> & Pick<{
38
38
  "data-testid": any;
39
39
  appKey: any;
40
40
  assetType: any;
@@ -54,11 +54,11 @@ declare const _default: import("react").ComponentType<Pick<Pick<Pick<{
54
54
  autocompleteProps?: {};
55
55
  assetFields: any;
56
56
  }, "assetFields" | "autocompleteProps">, "classes" | "onChange" | "assetType" | "assetFields" | "autocompleteProps"> & {
57
+ 'data-testid'?: string;
57
58
  label?: string;
59
+ disabled?: boolean;
58
60
  appKey?: string;
59
61
  companyId?: number;
60
- 'data-testid'?: string;
61
- disabled?: boolean;
62
62
  disableClearable?: boolean;
63
63
  isNullable?: boolean;
64
64
  parentAssetType?: string;
@@ -67,7 +67,7 @@ declare const _default: import("react").ComponentType<Pick<Pick<Pick<{
67
67
  currentValue?: NonNullable<number | number[]>;
68
68
  isMultiple?: boolean;
69
69
  errorText?: string;
70
- } & {}, "label" | "appKey" | "companyId" | "data-testid" | "disabled" | "onChange" | "disableClearable" | "isNullable" | "assetType" | "parentAssetType" | "parentAssetId" | "queryParams" | "assetFields" | "currentValue" | "isMultiple" | "errorText" | "autocompleteProps"> & import("@material-ui/core").StyledComponentProps<"option" | "listbox" | "root" | "formControl" | "inputRoot" | "popupIndicator" | "searchIcon" | "noOptions">>;
70
+ } & {}, "data-testid" | "label" | "disabled" | "onChange" | "appKey" | "companyId" | "disableClearable" | "isNullable" | "assetType" | "parentAssetType" | "parentAssetId" | "queryParams" | "assetFields" | "currentValue" | "isMultiple" | "errorText" | "autocompleteProps"> & import("@material-ui/core").StyledComponentProps<"option" | "listbox" | "root" | "formControl" | "popupIndicator" | "searchIcon" | "inputRoot" | "noOptions">>;
71
71
  export default _default;
72
72
  import PropTypes from "prop-types";
73
73
  //# sourceMappingURL=AssetEditorAutocomplete.d.ts.map
@@ -15,10 +15,10 @@ declare const _default: import("react").ComponentType<Pick<Pick<PropTypes.InferP
15
15
  'data-testid': PropTypes.Requireable<string>;
16
16
  appKey: PropTypes.Requireable<string>;
17
17
  }>, "classes" | "onChange" | "assetType"> & {
18
- label?: string;
19
- appKey?: string;
20
18
  'data-testid'?: string;
19
+ label?: string;
21
20
  defaultValue?: any;
21
+ appKey?: string;
22
22
  isNullable?: boolean;
23
23
  parentAssetType?: string;
24
24
  parentAssetId?: number;
@@ -26,7 +26,7 @@ declare const _default: import("react").ComponentType<Pick<Pick<PropTypes.InferP
26
26
  appType?: PropTypes.InferProps<{
27
27
  constants: PropTypes.Requireable<PropTypes.InferProps<{}>>;
28
28
  }>;
29
- } & {}, "label" | "appKey" | "data-testid" | "defaultValue" | "onChange" | "isNullable" | "assetType" | "parentAssetType" | "parentAssetId" | "currentValue" | "appType"> & import("@material-ui/core").StyledComponentProps<"progress" | "select" | "menuItem" | "selectMenu">>;
29
+ } & {}, "data-testid" | "label" | "defaultValue" | "onChange" | "appKey" | "isNullable" | "assetType" | "parentAssetType" | "parentAssetId" | "currentValue" | "appType"> & import("@material-ui/core").StyledComponentProps<"progress" | "select" | "menuItem" | "selectMenu">>;
30
30
  export default _default;
31
31
  import PropTypes from "prop-types";
32
32
  //# sourceMappingURL=SingleAssetEditor.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SingleAssetEditor.d.ts","sourceRoot":"","sources":["../../../src/components/AssetEditor/SingleAssetEditor.js"],"names":[],"mappings":"AAeA,+CAAgD"}
1
+ {"version":3,"file":"SingleAssetEditor.d.ts","sourceRoot":"","sources":["../../../src/components/AssetEditor/SingleAssetEditor.js"],"names":[],"mappings":"AAcA,+CAAgD"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/AssetEditor/effects/index.js"],"names":[],"mappings":"AAkBA;;;;;;;;;;EA4BC;AAED;;;;;;;;;;;;;;;;EAqFC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/AssetEditor/effects/index.js"],"names":[],"mappings":"AAmBA;;;;;;;;;;EA4BC;AAED;;;;;;;;;;;;;;;;EAqFC"}
@@ -1 +1 @@
1
- import e from"@babel/runtime/helpers/asyncToGenerator";import t from"@babel/runtime/helpers/slicedToArray";import r from"@babel/runtime/helpers/defineProperty";import n from"@babel/runtime/helpers/toConsumableArray";import a from"@babel/runtime/regenerator";import{useState as s,useEffect as o,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"../../../clients/sso/auth0.js";import"../../../clients/sso/oauth2.js";import{PER_PAGE as l}from"../constants.js";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 f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?m(Object(n),!0).forEach((function(t){r(e,t,n[t])})):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 d=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return{sort:"name",order:"asc",fields:["".concat(e,".name"),"".concat(e,".asset_id")].concat(n(t))}},y=function(e){var t,r,n;return f(f({},e.attributes),{},{id:+e.id,programId:+(null===(t=e.relationships)||void 0===t||null===(r=t.program)||void 0===r||null===(n=r.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=void 0===b?null:b,v=s([]),g=t(v,2),j=g[0],O=g[1],x=s(!0),w=t(x,2),P=w[0],k=w[1];return o((function(){function t(){return(t=e(a.mark((function e(){var t;return a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,c(p)(f(f(f({},d(p)),{},r({per_page:1e4},l,m),i&&{app_key:i}),h));case 2:t=e.sent,O(t.data.map(y)),k(!1);case 5:case"end":return e.stop()}}),e)})))).apply(this,arguments)}k(!0),function(){t.apply(this,arguments)}()}),[p,u,l,m,i]),{assets:j,loading:P}}function h(r){var n=r.appKey,m=r.assetType,b=r.companyId,h=r.currentValue,v=r.isMultiple,g=r.parentAssetId,j=r.parentAssetType,O=r.scrollPage,x=r.searchText,w=r.setCurrentOption,P=r.queryParams,k=r.assetFields,A=s([]),T=t(A,2),I=T[0],_=T[1],D=s(!1),C=t(D,2),q=C[0],E=C[1],K=i(),S=i();return o((function(){function t(){return(t=e(a.mark((function e(){var t;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(t=e.sent,!p(t.data)){e.next=7;break}return e.next=6,u(f(f({},d(m,k)),{},{ids:v?h:[h]},P));case 6:t=e.sent;case 7:w((function(){if(v)return t.data.map(y);var e=t.data[0];return e?y(e):null}));case 8:case"end":return e.stop()}}),e)})))).apply(this,arguments)}(v?h.length:h)&&function(){t.apply(this,arguments)}()}),[]),o((function(){function t(){return(t=e(a.mark((function e(){var t,r,s,o,i;return a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,E(!0),t={per_page:l,page:O},j&&g&&(t[j]=g),b&&(t.company=b),x&&(t.search=x),n&&(t.app_key=n),r=c(m)(f(f(f({},d(m,k)),t),P)),S.current=r,e.next=11,r;case 11:if(s=e.sent,S.current===r){e.next=14;break}return e.abrupt("return");case 14:o=s.data.map(y),i=K.current!==m||1===O,_(i?o:function(e){return e.concat(o)}),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(){t.apply(this,arguments)}()}),[m,j,g,b,x,O,n]),{assets:I,loading:q}}export{h as useAssetAutoCompleteSelectData,b as useAssetSelectData};
1
+ import e from"@babel/runtime/helpers/asyncToGenerator";import t from"@babel/runtime/helpers/slicedToArray";import r from"@babel/runtime/helpers/defineProperty";import n from"@babel/runtime/helpers/toConsumableArray";import a from"@babel/runtime/regenerator";import{useState as s,useEffect as o,useRef as i}from"react";import{isEmpty as p}from"lodash";import{PER_PAGE as c}from"../constants.js";import"uuid";import"lodash/set";import"lodash/get";import"lodash/unset";import"moment";import{mapAssetGetRequest as u,getAssets as l}from"../../../clients/jsonApi/index.js";import"../../../clients/subscriptions.js";import"../../../clients/api/apiCore.js";import"../../../clients/constants.js";import"../../../clients/sso/auth0.js";import"../../../clients/sso/oauth2.js";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 f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?m(Object(n),!0).forEach((function(t){r(e,t,n[t])})):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 d=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return{sort:"name",order:"asc",fields:["".concat(e,".name"),"".concat(e,".asset_id")].concat(n(t))}},y=function(e){var t,r,n;return f(f({},e.attributes),{},{id:+e.id,programId:+(null===(t=e.relationships)||void 0===t||null===(r=t.program)||void 0===r||null===(n=r.data)||void 0===n?void 0:n.id)})};function b(n){var i=n.appKey,p=n.assetType,c=n.assetId,l=n.parentAssetType,m=n.parentAssetId,b=n.queryParams,h=void 0===b?null:b,v=s([]),g=t(v,2),j=g[0],O=g[1],x=s(!0),w=t(x,2),P=w[0],k=w[1];return o((function(){function t(){return(t=e(a.mark((function e(){var t;return a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,u(p)(f(f(f({},d(p)),{},r({per_page:1e4},l,m),i&&{app_key:i}),h));case 2:t=e.sent,O(t.data.map(y)),k(!1);case 5:case"end":return e.stop()}}),e)})))).apply(this,arguments)}k(!0),function(){t.apply(this,arguments)}()}),[p,c,l,m,i]),{assets:j,loading:P}}function h(r){var n=r.appKey,m=r.assetType,b=r.companyId,h=r.currentValue,v=r.isMultiple,g=r.parentAssetId,j=r.parentAssetType,O=r.scrollPage,x=r.searchText,w=r.setCurrentOption,P=r.queryParams,k=r.assetFields,A=s([]),T=t(A,2),I=T[0],_=T[1],D=s(!1),C=t(D,2),q=C[0],E=C[1],K=i(),S=i();return o((function(){function t(){return(t=e(a.mark((function e(){var t;return a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,u(m)(f(f({},d(m,k)),{},{ids:v?h:[h]},P));case 2:if(t=e.sent,!p(t.data)){e.next=7;break}return e.next=6,l(f(f({},d(m,k)),{},{ids:v?h:[h]},P));case 6:t=e.sent;case 7:w((function(){if(v)return t.data.map(y);var e=t.data[0];return e?y(e):null}));case 8:case"end":return e.stop()}}),e)})))).apply(this,arguments)}(v?h.length:h)&&function(){t.apply(this,arguments)}()}),[]),o((function(){function t(){return(t=e(a.mark((function e(){var t,r,s,o,i;return a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,E(!0),t={per_page:c,page:O},j&&g&&(t[j]=g),b&&(t.company=b),x&&(t.search=x),n&&(t.app_key=n),r=u(m)(f(f(f({},d(m,k)),t),P)),S.current=r,e.next=11,r;case 11:if(s=e.sent,S.current===r){e.next=14;break}return e.abrupt("return");case 14:o=s.data.map(y),i=K.current!==m||1===O,_(i?o:function(e){return e.concat(o)}),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(){t.apply(this,arguments)}()}),[m,j,g,b,x,O,n]),{assets:I,loading:q}}export{h as useAssetAutoCompleteSelectData,b 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 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"./SingleAssetEditor.js";import n from"./AssetEditorAutocomplete.js";import p from"./AssetEditors.css.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:p.main,children:[u("div",{className:p.title,children:"Active Asset"}),c("div",{className:p.editor,children:[v?u(n,{appKey:m,assetType:C,currentValue:j,"data-testid":"".concat(d,"_primaryAssetEditorAutocomplete"),defaultValue:A,disableClearable:!f,isNullable:f,label:b,onChange:H}):u(i,{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:p.editor,children:K?u(n,{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(i,{"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 +1 @@
1
- {"version":3,"file":"MultipleAssetsToggle.d.ts","sourceRoot":"","sources":["../../../../src/components/AssetEditorV2/components/MultipleAssetsToggle.js"],"names":[],"mappings":";AAkBA;;;;;gBAuBC"}
1
+ {"version":3,"file":"MultipleAssetsToggle.d.ts","sourceRoot":"","sources":["../../../../src/components/AssetEditorV2/components/MultipleAssetsToggle.js"],"names":[],"mappings":";AAmBA;;;;;gBAuBC"}
@@ -1 +1 @@
1
- {"version":3,"file":"PrimaryAssetSelect.d.ts","sourceRoot":"","sources":["../../../../src/components/AssetEditorV2/components/PrimaryAssetSelect.js"],"names":[],"mappings":";AA4CA;;;;;;;;;;;;;;;;;;;;;;;;gBA+GC"}
1
+ {"version":3,"file":"PrimaryAssetSelect.d.ts","sourceRoot":"","sources":["../../../../src/components/AssetEditorV2/components/PrimaryAssetSelect.js"],"names":[],"mappings":";AA+CA;;;;;;;;;;;;;;;;;;;;;;;;gBA+GC"}
@@ -1 +1 @@
1
- {"version":3,"file":"PrimaryAssetSelectV2.d.ts","sourceRoot":"","sources":["../../../../src/components/AssetEditorV2/components/PrimaryAssetSelectV2.js"],"names":[],"mappings":";AA6CA;;;;;;;;;;;;;;;;;;;;;;;;;gBA6IC"}
1
+ {"version":3,"file":"PrimaryAssetSelectV2.d.ts","sourceRoot":"","sources":["../../../../src/components/AssetEditorV2/components/PrimaryAssetSelectV2.js"],"names":[],"mappings":";AAgDA;;;;;;;;;;;;;;;;;;;;;;;;;gBA6IC"}
@@ -1 +1 @@
1
- {"version":3,"file":"SecondaryAssetSelect.d.ts","sourceRoot":"","sources":["../../../../src/components/AssetEditorV2/components/SecondaryAssetSelect.js"],"names":[],"mappings":"AAQA,+CAAgD;;AAoDhD,+DAkHC"}
1
+ {"version":3,"file":"SecondaryAssetSelect.d.ts","sourceRoot":"","sources":["../../../../src/components/AssetEditorV2/components/SecondaryAssetSelect.js"],"names":[],"mappings":"AASA,+CAAgD;;AAoDhD,+DAkHC"}
@@ -1 +1 @@
1
- import e from"@babel/runtime/helpers/toConsumableArray";import t from"prop-types";import{capitalize as a}from"lodash";import{makeStyles as s,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 p,ACTIVE_ASSET_ID as c,DEFAULT_ASSET_TYPE as u,ACTIVE_ASSETS_ID as m}from"../constants.js";import{jsxs as f,jsx as v}from"react/jsx-runtime";var y="DC_SingleAssetEditor",g=s((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{cursor:"pointer",padding:0,color:t.disabled?e.palette.primary.text7:e.palette.primary.contrastText,"&:hover":{backgroundColor:"initial"}}},option:function(t){return{cursor:"pointer",padding:"0px 0px 0px 16px",color:t.disabled?e.palette.primary.text7:e.palette.primary.contrastText,"&:hover":{backgroundColor:"rgba(255, 255, 255, 0.16)"}}},activeAssets:{color:"#9E9E9E",padding:"8px 0 6px"},progress:{position:"absolute",right:20,bottom:4},noActiveAsset:{color:"#9E9E9E",padding:"8px 0 6px"}}})),A=function(t){var s=t.appKey,A=t.primaryAssetLabel,b=t.isRequiredAssetId,h=t.secondaryAssetLabel,x=t.company,I=t.currentValue,T=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:s,assetId:I,assetType:_?u:E,company:x,parentAssetId:V,parentAssetType:j,isRequiredAssetId:b,assetFields:F,activeWellId:M}),K=q.assets,R=q.loading,k=g({disabled:N}),P=I||T,W=K.some((function(e){return e.status===p})),w=a(E),B=[{name:"Active ".concat(w),id:c}].concat(e(K));return f("div",{className:k.container,children:[f(r,{className:k.formControl,disabled:R,children:[v(n,{shrink:!!P,children:h}),v(i,{"data-testid":t["data-testid"],classes:{select:k.select},value:P,disabled:N,onChange:function(e){var t=e.target,a=t.value===c?{id:c}:null==K?void 0:K.find((function(e){return e.id===t.value}));C(a)},fullWidth:!0,renderValue:function(e){if(e===m)return v("span",{className:k.activeAssets,children:"Active ".concat(w,"s")});if(e===c&&!W)return v("span",{className:k.noActiveAsset,children:"".concat(A," has No Active ").concat(h)});if(e===c&&W){var t=K.find((function(e){return e.status===p}));return v(d,{className:k.selectValue,assetName:t.name,status:t.status})}var a=K.find((function(t){return t.id===e}));return v(d,{className:k.selectValue,assetName:null==a?void 0:a.name,status:null==a?void 0:a.status})},children:B.map((function(e){var t=e.id,a=e.name,s=e.status,r=a||"";return v(d,{className:k.option,assetName:r,"data-testid":"".concat(y,"_option_").concat(r,"MenuItem"),value:t,status:s},t)}))})]}),R&&v(o,{"data-testid":"".concat(y,"_CircularProgress"),size:20,className:k.progress})]})};A.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},A.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,A as default};
1
+ import e from"@babel/runtime/helpers/toConsumableArray";import t from"prop-types";import{capitalize as a}from"lodash";import{makeStyles as s,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{ACTIVE_STATUS as d,ACTIVE_ASSET_ID as p,DEFAULT_ASSET_TYPE as c,ACTIVE_ASSETS_ID as u}from"../constants.js";import m from"./SelectItem.js";import{jsxs as f,jsx as v}from"react/jsx-runtime";var y="DC_SingleAssetEditor",g=s((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{cursor:"pointer",padding:0,color:t.disabled?e.palette.primary.text7:e.palette.primary.contrastText,"&:hover":{backgroundColor:"initial"}}},option:function(t){return{cursor:"pointer",padding:"0px 0px 0px 16px",color:t.disabled?e.palette.primary.text7:e.palette.primary.contrastText,"&:hover":{backgroundColor:"rgba(255, 255, 255, 0.16)"}}},activeAssets:{color:"#9E9E9E",padding:"8px 0 6px"},progress:{position:"absolute",right:20,bottom:4},noActiveAsset:{color:"#9E9E9E",padding:"8px 0 6px"}}})),A=function(t){var s=t.appKey,A=t.primaryAssetLabel,b=t.isRequiredAssetId,h=t.secondaryAssetLabel,x=t.company,I=t.currentValue,T=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:s,assetId:I,assetType:_?c:E,company:x,parentAssetId:V,parentAssetType:j,isRequiredAssetId:b,assetFields:F,activeWellId:M}),K=q.assets,R=q.loading,k=g({disabled:N}),P=I||T,W=K.some((function(e){return e.status===d})),w=a(E),B=[{name:"Active ".concat(w),id:p}].concat(e(K));return f("div",{className:k.container,children:[f(r,{className:k.formControl,disabled:R,children:[v(n,{shrink:!!P,children:h}),v(i,{"data-testid":t["data-testid"],classes:{select:k.select},value:P,disabled:N,onChange:function(e){var t=e.target,a=t.value===p?{id:p}:null==K?void 0:K.find((function(e){return e.id===t.value}));C(a)},fullWidth:!0,renderValue:function(e){if(e===u)return v("span",{className:k.activeAssets,children:"Active ".concat(w,"s")});if(e===p&&!W)return v("span",{className:k.noActiveAsset,children:"".concat(A," has No Active ").concat(h)});if(e===p&&W){var t=K.find((function(e){return e.status===d}));return v(m,{className:k.selectValue,assetName:t.name,status:t.status})}var a=K.find((function(t){return t.id===e}));return v(m,{className:k.selectValue,assetName:null==a?void 0:a.name,status:null==a?void 0:a.status})},children:B.map((function(e){var t=e.id,a=e.name,s=e.status,r=a||"";return v(m,{className:k.option,assetName:r,"data-testid":"".concat(y,"_option_").concat(r,"MenuItem"),value:t,status:s},t)}))})]}),R&&v(o,{"data-testid":"".concat(y,"_CircularProgress"),size:20,className:k.progress})]})};A.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},A.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,A as default};
@@ -1 +1 @@
1
- {"version":3,"file":"SelectItem.d.ts","sourceRoot":"","sources":["../../../../src/components/AssetEditorV2/components/SelectItem.js"],"names":[],"mappings":";AA4CA,wGAgEE"}
1
+ {"version":3,"file":"SelectItem.d.ts","sourceRoot":"","sources":["../../../../src/components/AssetEditorV2/components/SelectItem.js"],"names":[],"mappings":";AA8CA,wGAgEE"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/AssetEditorV2/effects/index.js"],"names":[],"mappings":"AAOA;;;;;;;;;;;;;;EAuCC;AAED;;;;;;;;;;;;;;;;EAwFC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/AssetEditorV2/effects/index.js"],"names":[],"mappings":"AASA;;;;;;;;;;;;;;EAuCC;AAED;;;;;;;;;;;;;;;;EAwFC"}
@@ -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 s from"@babel/runtime/helpers/slicedToArray";import n from"@babel/runtime/regenerator";import{useState as o,useEffect as i,useRef as a}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"../../../clients/sso/auth0.js";import"../../../clients/sso/oauth2.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 s=Object.getOwnPropertySymbols(t);e&&(s=s.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,s)}return r}function j(t){for(var r=1;r<arguments.length;r++){var s=null!=arguments[r]?arguments[r]:{};r%2?y(Object(s),!0).forEach((function(r){e(t,r,s[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(s)):y(Object(s)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(s,e))}))}return t}function b(t){var a=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=s(I,2),w=P[0],x=P[1],T=o(!0),k=s(T,2),_=k[0],q=k[1];return i((function(){function t(){return(t=r(n.mark((function t(){var r,s;return n.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),a&&{app_key:a}),g));case 2:r=t.sent,s=u.deserialize(r),x(s.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,a,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=s(_,2),D=q[0],C=q[1],R=o(!1),E=s(R,2),F=E[0],W=E[1],z=a(null),G=(y=r(n.mark((function e(r){var s,o,i,a,y,v,_,q;return n.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,s=(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,i=s===l.pad.type?[].concat(t(w),["pad.active","pad.parent_frac_fleet_id","pad.current"]):w,a=c(s)(j(j({},d(s,i)),o)),e.next=13,a;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})})).filter(Boolean).sort(f),z.current===g&&C((function(e){return[].concat(t(e),t(_))})),x&&s===h&&(q=_.find((function(t){return x===t.id||t.assetId&&x===t.assetId})),p(q)||T(q),s===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 i((function(){g&&C([])}),[g]),i((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 t from"@babel/runtime/helpers/toConsumableArray";import e from"@babel/runtime/helpers/defineProperty";import r from"@babel/runtime/helpers/asyncToGenerator";import s from"@babel/runtime/helpers/slicedToArray";import n from"@babel/runtime/regenerator";import{useState as o,useEffect as i,useRef as a}from"react";import{isEmpty as p}from"lodash";import{formatAsset as c,sortAsset as u,getRequestOptions as l}from"../utils/index.js";import"uuid";import"lodash/set";import"lodash/get";import"lodash/unset";import"moment";import{mapAssetGetRequest as m}from"../../../clients/jsonApi/index.js";import"../../../clients/subscriptions.js";import"../../../clients/api/apiCore.js";import"../../../clients/constants.js";import"../../../clients/sso/auth0.js";import"../../../clients/sso/oauth2.js";import{jsonaDataFormatter as f}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 d}from"../../../constants/assetTypes.js";import"../../../utils/env.js";import"../../GradientManager/configuration/constants.js";function y(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);e&&(s=s.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,s)}return r}function j(t){for(var r=1;r<arguments.length;r++){var s=null!=arguments[r]?arguments[r]:{};r%2?y(Object(s),!0).forEach((function(r){e(t,r,s[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(s)):y(Object(s)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(s,e))}))}return t}function b(t){var a=t.appKey,p=t.assetType,d=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=s(I,2),w=P[0],x=P[1],T=o(!0),k=s(T,2),_=k[0],q=k[1];return i((function(){function t(){return(t=r(n.mark((function t(){var r,s;return n.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,m(p)(j(j(j({},l(p,v)),{},e({per_page:1e4,company:"all"!==y?y:null},b,h),a&&{app_key:a}),g));case 2:r=t.sent,s=f.deserialize(r),x(s.map((function(t){return c({asset:t,activeWellId:O,isRequiredAssetId:A})})).sort(u)),q(!1);case 6:case"end":return t.stop()}}),t)})))).apply(this,arguments)}q(!0),function(){t.apply(this,arguments)}()}),[p,d,b,h,a,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=s(_,2),D=q[0],C=q[1],R=o(!1),E=s(R,2),F=E[0],W=E[1],z=a(null),G=(y=r(n.mark((function e(r){var s,o,i,a,y,v,_,q;return n.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,s=(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,i=s===d.pad.type?[].concat(t(w),["pad.active","pad.parent_frac_fleet_id","pad.current"]):w,a=m(s)(j(j({},l(s,i)),o)),e.next=13,a;case 13:y=e.sent,v=f.deserialize(y),_=v.map((function(t){return c({asset:t,group:null==r?void 0:r.name,isRequiredAssetId:O,isPrimaryAsset:!0})})).filter(Boolean).sort(u),z.current===g&&C((function(e){return[].concat(t(e),t(_))})),x&&s===h&&(q=_.find((function(t){return x===t.id||t.assetId&&x===t.assetId})),p(q)||T(q),s===d.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 i((function(){g&&C([])}),[g]),i((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 +1 @@
1
- {"version":3,"file":"usePrimaryAssetSelectData.d.ts","sourceRoot":"","sources":["../../../../src/components/AssetEditorV2/effects/usePrimaryAssetSelectData.js"],"names":[],"mappings":"AAQA;;;;;;;;;;;;;;;;;;EA8HC"}
1
+ {"version":3,"file":"usePrimaryAssetSelectData.d.ts","sourceRoot":"","sources":["../../../../src/components/AssetEditorV2/effects/usePrimaryAssetSelectData.js"],"names":[],"mappings":"AAUA;;;;;;;;;;;;;;;;;;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 s from"@babel/runtime/helpers/slicedToArray";import n from"@babel/runtime/regenerator";import{useState as o,useRef as i,useEffect as a}from"react";import{map as p,uniqBy as c,isEmpty as l}from"lodash";import"uuid";import"lodash/set";import"lodash/get";import"lodash/unset";import"moment";import{mapAssetGetRequest as u,getAssets as m}from"../../../clients/jsonApi/index.js";import"../../../clients/subscriptions.js";import"../../../clients/api/apiCore.js";import"../../../clients/constants.js";import"../../../clients/sso/auth0.js";import"../../../clients/sso/oauth2.js";import{jsonaDataFormatter as f}from"../../../utils/jsonaDataFormatter.js";import{PER_PAGE as d}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 j}from"../../../constants/assetTypes.js";import"../../../utils/env.js";import"../../GradientManager/configuration/constants.js";import{formatAsset as b,sortAsset as y,getRequestOptions as g}from"../utils/index.js";function h(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);e&&(s=s.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,s)}return r}function v(e){for(var r=1;r<arguments.length;r++){var s=null!=arguments[r]?arguments[r]:{};r%2?h(Object(s),!0).forEach((function(r){t(e,r,s[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(s)):h(Object(s)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(s,t))}))}return e}function O(t){var h,O,A=t.appKey,P=t.assetType,w=t.company,x=t.groups,D=t.isRequiredAssetId,k=t.parentAssetId,I=t.parentAssetType,T=t.searchValue,_=t.assetFields,C=t.currentValue,E=t.setCurrentOption,q=t.scrollPage,R=t.onActiveAssetIdChange,z=t.isDrillingPlatformApp,F=o([]),G=s(F,2),S=G[0],V=G[1],K=o(!1),M=s(K,2),N=M[0],W=M[1],B=i(null),H=P===j.pad.type?[].concat(r(_),["pad.active","pad.parent_frac_fleet_id"]):_,J=(h=e(n.mark((function t(e){var s,o,i,a,l,m;return n.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,s=(null==e?void 0:e.type)||P,W(!0),o={per_page:d,page:q},I&&k&&(o[I]=k),w&&"all"!==w&&(o.company=w),T&&(o.search=T),A&&(o.app_key=A),B.current=w,i=u(s)(v(v({},g(s,H)),o)),t.next=12,i;case 12:a=t.sent,l=f.deserialize(a),m=p(l,(function(t){return b({asset:t,group:null==e?void 0:e.name,isRequiredAssetId:D,isPrimaryAsset:!0,isDrillingPlatformApp:z})})).sort(y),B.current===w&&V((function(t){return c([].concat(r(t),r(m)),"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,W(!1),t.finish(21);case 24:case"end":return t.stop()}}),t,null,[[0,18,21,24]])}))),function(t){return h.apply(this,arguments)}),L=(O=e(n.mark((function t(){var e,r,s,o,i,a,p;return n.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,u(P)(v(v({},g(P,H)),{},{ids:C}));case 2:if(e=t.sent,!l(e.data)){t.next=7;break}return t.next=6,m(v(v({},g(P,H)),{},{ids:C}));case 6:e=t.sent;case 7:r=f.deserialize(e),s=b({asset:r[0],isPrimaryAsset:!0,isRequiredAssetId:D,isDrillingPlatformApp:z}),E(s),P===j.rig.type&&(p=z?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==s?void 0:s.activeWellId)||null,R(p));case 11:case"end":return t.stop()}}),t)}))),function(){return O.apply(this,arguments)});return a((function(){w&&V([])}),[w]),a((function(){x?x.forEach((function(t){J(t)})):J()}),[P,I,k,w,A,null==x?void 0:x.length,T,q]),a((function(){C&&L()}),[]),{assets:S,loading:N}}export{O as usePrimaryAssetSelectData};
1
+ import t from"@babel/runtime/helpers/defineProperty";import e from"@babel/runtime/helpers/asyncToGenerator";import r from"@babel/runtime/helpers/toConsumableArray";import s from"@babel/runtime/helpers/slicedToArray";import n from"@babel/runtime/regenerator";import{useState as o,useRef as i,useEffect as a}from"react";import{map as p,uniqBy as c,isEmpty as l}from"lodash";import{formatAsset as u,sortAsset as m,getRequestOptions as f}from"../utils/index.js";import"uuid";import"lodash/set";import"lodash/get";import"lodash/unset";import"moment";import{mapAssetGetRequest as d,getAssets as j}from"../../../clients/jsonApi/index.js";import"../../../clients/subscriptions.js";import"../../../clients/api/apiCore.js";import"../../../clients/constants.js";import"../../../clients/sso/auth0.js";import"../../../clients/sso/oauth2.js";import{jsonaDataFormatter as b}from"../../../utils/jsonaDataFormatter.js";import{PER_PAGE as y}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 g}from"../../../constants/assetTypes.js";import"../../../utils/env.js";import"../../GradientManager/configuration/constants.js";function h(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);e&&(s=s.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,s)}return r}function v(e){for(var r=1;r<arguments.length;r++){var s=null!=arguments[r]?arguments[r]:{};r%2?h(Object(s),!0).forEach((function(r){t(e,r,s[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(s)):h(Object(s)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(s,t))}))}return e}function O(t){var h,O,A=t.appKey,P=t.assetType,w=t.company,x=t.groups,D=t.isRequiredAssetId,k=t.parentAssetId,I=t.parentAssetType,T=t.searchValue,_=t.assetFields,C=t.currentValue,E=t.setCurrentOption,q=t.scrollPage,R=t.onActiveAssetIdChange,z=t.isDrillingPlatformApp,F=o([]),G=s(F,2),S=G[0],V=G[1],K=o(!1),M=s(K,2),N=M[0],W=M[1],B=i(null),H=P===g.pad.type?[].concat(r(_),["pad.active","pad.parent_frac_fleet_id"]):_,J=(h=e(n.mark((function t(e){var s,o,i,a,l,j;return n.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,s=(null==e?void 0:e.type)||P,W(!0),o={per_page:y,page:q},I&&k&&(o[I]=k),w&&"all"!==w&&(o.company=w),T&&(o.search=T),A&&(o.app_key=A),B.current=w,i=d(s)(v(v({},f(s,H)),o)),t.next=12,i;case 12:a=t.sent,l=b.deserialize(a),j=p(l,(function(t){return u({asset:t,group:null==e?void 0:e.name,isRequiredAssetId:D,isPrimaryAsset:!0,isDrillingPlatformApp:z})})).sort(m),B.current===w&&V((function(t){return c([].concat(r(t),r(j)),"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,W(!1),t.finish(21);case 24:case"end":return t.stop()}}),t,null,[[0,18,21,24]])}))),function(t){return h.apply(this,arguments)}),L=(O=e(n.mark((function t(){var e,r,s,o,i,a,p;return n.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,d(P)(v(v({},f(P,H)),{},{ids:C}));case 2:if(e=t.sent,!l(e.data)){t.next=7;break}return t.next=6,j(v(v({},f(P,H)),{},{ids:C}));case 6:e=t.sent;case 7:r=b.deserialize(e),s=u({asset:r[0],isPrimaryAsset:!0,isRequiredAssetId:D,isDrillingPlatformApp:z}),E(s),P===g.rig.type&&(p=z?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==s?void 0:s.activeWellId)||null,R(p));case 11:case"end":return t.stop()}}),t)}))),function(){return O.apply(this,arguments)});return a((function(){w&&V([])}),[w]),a((function(){x?x.forEach((function(t){J(t)})):J()}),[P,I,k,w,A,null==x?void 0:x.length,T,q]),a((function(){C&&L()}),[]),{assets:S,loading:N}}export{O as usePrimaryAssetSelectData};
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/AssetEditorV2/index.js"],"names":[],"mappings":";AAoBA;;;;;;;;;;;;;;;;;;;;;;;gBAgQC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/AssetEditorV2/index.js"],"names":[],"mappings":";AAqBA;;;;;;;;;;;;;;;;;;;;;;;gBAgQC"}
@@ -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.arrayOf(n.shape({})),secondaryAssetFields:n.arrayOf(n.shape({})),secondaryAssetHelpText:n.oneOfType([n.element,n.string]),onChange:n.func};export{P as default};
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{getPrimaryAssetFields as b}from"./utils/index.js";import"../../constants/goals.js";import{PAD_GROUP as A,FRAC_FLEET_GROUP as v}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 h}from"../../constants/assetTypes.js";import"../../utils/env.js";import"../GradientManager/configuration/constants.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===h.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)===A.name,i=(null===(r=s[0])||void 0===r?void 0:r.group)===v.name,l=1===s.length&&n,o=1===s.length&&i;if(l?(me(!0),be(A)):o&&be(v),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!==h.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={},h.frac_fleet.id,Number(n)),t(l,h.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:b(B,_,G)}),Ce&&j(T,{children:[W,I(u,{assetFields:X===h.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===h.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.arrayOf(n.shape({})),secondaryAssetFields:n.arrayOf(n.shape({})),secondaryAssetHelpText:n.oneOfType([n.element,n.string]),onChange:n.func};export{P as default};
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/AssetEditorV2/utils/index.js"],"names":[],"mappings":"AAIO,yDAUN;AAEM,2DAUN;AAEM;;;;EAIL;AAEK;;;;;;;;;;;EA0CN;AAEM,6CAAkE;AAElE,gHAON"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/AssetEditorV2/utils/index.js"],"names":[],"mappings":"AAMO,yDAUN;AAEM,2DAUN;AAEM;;;;EAIL;AAEK;;;;;;;;;;;EA0CN;AAEM,6CAAkE;AAElE,gHAON"}
@@ -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=void 0===r?null:r,o=t.activeWellId,l=void 0===o?null:o,c=t.isRequiredAssetId,p=t.isPrimaryAsset,u=t.isDrillingPlatformApp;if(!a)return null;var d,m,v={id:+a.assetId||+a.id,type:a.type,name:a.name};(c&&(v.id=+a.id,v.assetId=+a.assetId),i&&(v.group=i),a.type===s.rig.type)&&(v.activeWellId=Number(null===(d=a.activeWell)||void 0===d?void 0:d.id)||null,u&&(v.activeWellId=Number(null===(m=a.activeWell)||void 0===m?void 0:m.assetId)||null));return a.type!==s.well.type&&a.type!==e||(v.status=Number(a.id)===l?n:null),a.type===s.pad.type&&(v.parentFracFleetId=a.parentFracFleetId,v.status=a.active&&a.current?n:null,p&&!a.parentFracFleetId&&(v.status=null)),v},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 t from"@babel/runtime/helpers/toConsumableArray";import"lodash";import{DEFAULT_ASSET_TYPE as s,ACTIVE_STATUS as e}from"../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 n}from"../../../constants/assetTypes.js";import"../../../utils/env.js";import"../../GradientManager/configuration/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=void 0===r?null:r,o=t.activeWellId,l=void 0===o?null:o,c=t.isRequiredAssetId,p=t.isPrimaryAsset,u=t.isDrillingPlatformApp;if(!a)return null;var d,m,v={id:+a.assetId||+a.id,type:a.type,name:a.name};(c&&(v.id=+a.id,v.assetId=+a.assetId),i&&(v.group=i),a.type===n.rig.type)&&(v.activeWellId=Number(null===(d=a.activeWell)||void 0===d?void 0:d.id)||null,u&&(v.activeWellId=Number(null===(m=a.activeWell)||void 0===m?void 0:m.assetId)||null));return a.type!==n.well.type&&a.type!==s||(v.status=Number(a.id)===l?e:null),a.type===n.pad.type&&(v.parentFracFleetId=a.parentFracFleetId,v.status=a.active&&a.current?e:null,p&&!a.parentFracFleetId&&(v.status=null)),v},i=function(t){return t.status===e?-1:1},o=function(s,e,a){var r=s===n.rig.type?[].concat(t(e),["rig.active_well"]):e;return a?[].concat(t(r),["rig.active_child"]):r};export{r as formatAsset,o as getPrimaryAssetFields,a as getRequestOptions,i as sortAsset};
@@ -1 +1 @@
1
- {"version":3,"file":"AssetsMultipleSelector.d.ts","sourceRoot":"","sources":["../../../src/components/AssetsMultipleSelector/AssetsMultipleSelector.js"],"names":[],"mappings":";AAkCA,mFA6KE"}
1
+ {"version":3,"file":"AssetsMultipleSelector.d.ts","sourceRoot":"","sources":["../../../src/components/AssetsMultipleSelector/AssetsMultipleSelector.js"],"names":[],"mappings":";AAmCA,mFA6KE"}
@@ -7,12 +7,12 @@ declare const _default: import("react").ComponentType<Pick<Pick<PropTypes.InferP
7
7
  classes: PropTypes.Validator<NonNullable<PropTypes.InferProps<{}>>>;
8
8
  small: PropTypes.Requireable<boolean>;
9
9
  }>, "classes" | "attachmentUrl"> & {
10
- size?: string;
11
10
  small?: boolean;
12
- fileName?: string;
13
11
  displayName?: string;
12
+ size?: string;
13
+ fileName?: string;
14
14
  attachmentSize?: number;
15
- } & {}, "size" | "small" | "fileName" | "displayName" | "attachmentUrl" | "attachmentSize"> & import("@material-ui/core").StyledComponentProps<"caption" | "dialog" | "fileName" | "titleContainer" | "imageIconRoot" | "nativeDialog" | "dialogRoot" | "downloadIcon" | "disabledPreview" | "unavailableFileIcon" | "unavailableFileName">>;
15
+ } & {}, "small" | "displayName" | "size" | "fileName" | "attachmentUrl" | "attachmentSize"> & import("@material-ui/core").StyledComponentProps<"caption" | "dialog" | "fileName" | "titleContainer" | "imageIconRoot" | "nativeDialog" | "dialogRoot" | "downloadIcon" | "disabledPreview" | "unavailableFileIcon" | "unavailableFileName">>;
16
16
  export default _default;
17
17
  import PropTypes from "prop-types";
18
18
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- import e from"@babel/runtime/helpers/slicedToArray";import{useState as t,useCallback as a}from"react";import i from"prop-types";import o from"react-player";import s from"classnames";import{withStyles as n}from"@material-ui/core/styles";import{Typography as l}from"@material-ui/core";import r from"@material-ui/icons/Image";import m from"@material-ui/icons/Fullscreen";import c from"@material-ui/core/colors/grey";import p from"../FileTypeIcon.js";import d from"../ImageViewer/index.js";import h from"../IconButton/index.js";import{isNativeDetected as u}from"../../utils/mobileDetect.js";import{getIsImage as f,getIsVideo as g}from"../../utils/fileExtension.js";import{getIsPreviewUnavailable as v}from"../../utils/filePreview.js";import{DownloadIcon as b}from"../../icons/iconParkIcons.js";import"../../icons/customIcons/icons/AddMessage.js";import"../../icons/customIcons/icons/Attention.js";import"../../icons/customIcons/icons/Collapse.js";import"../../icons/customIcons/icons/Expand.js";import"../../icons/customIcons/icons/FolderClosed.js";import"../../icons/customIcons/icons/FolderOpened.js";import"../../icons/customIcons/icons/GreaterOrEqual.js";import"../../icons/customIcons/icons/LessOrEqual.js";import"../../icons/customIcons/icons/Search.js";import"../../icons/customIcons/icons/Wellhub.js";import"../../icons/customIcons/icons/MultiRuler.js";import"@babel/runtime/helpers/asyncToGenerator";import"@babel/runtime/helpers/defineProperty";import"@babel/runtime/regenerator";import"querystring";import"uuid/v1";import"lodash";import"../../clients/jsonApi/index.js";import"../../clients/subscriptions.js";import"../../constants/goals.js";import"../../constants/segment.js";import"../../constants/alerts.js";import"../../constants/apps.js";import"../../constants/drillstring.js";import"../../constants/completion.js";import"../../constants/appPackages.js";import"../../constants/notifications.js";import"../../constants/feed.js";import"../../constants/bha.js";import"../../utils/env.js";import"../GradientManager/configuration/constants.js";import N from"../../effects/useSignedURL.js";import"../../utils/index.js";import"uuid";import"jsona";import"../StatusBadge/constants.js";import"@babel/runtime/helpers/toConsumableArray";import"lodash/set";import"lodash/get";import"lodash/unset";import"moment";import"../../clients/api/apiCore.js";import"../../clients/constants.js";import"../../clients/sso/auth0.js";import"../../clients/sso/oauth2.js";import j from"../../utils/main.js";import w from"../NewDocumentViewer/NewDocumentViewer.js";import{UnavailableFileIcon as I}from"../NewDocumentViewer/icons/UnavailableFileIcon.js";import x from"./styles.css.js";import{jsx as y,jsxs as A,Fragment as F}from"react/jsx-runtime";var P=c[200],W=c[400],z={label:"small",value:135},C={label:"medium",value:300},L={fileImage:function(e,t){return{maxWidth:"100%",borderRadius:4,overflow:"hidden",maxHeight:t===z.label?z.value:C.value,display:e?"initial":"none",cursor:"pointer"}},fileDownloadWrapper:{padding:"10px 10px 10px 5px",border:"1px solid #616161",borderRadius:3,maxWidth:500,width:"75%"},imagePlaceholder:{position:"relative",backgroundColor:P,borderRadius:3,marginTop:10,height:135,width:135}},D=function(e){var t=N(e.attachmentFileName)||e.attachmentUrl;return A(F,{children:[A("div",{onClick:e.openLightbox,className:x.cAttachmentImg,children:[y("img",{"data-testid":"".concat("Attachment","_image"),src:t,style:L.fileImage(e.imageIsLoaded,e.size),alt:"Attachment",onLoad:e.setImageIsLoaded}),y("div",{"data-testid":"".concat("Attachment","_button"),className:x.cAttachmentImgPreviwBtn,children:y(m,{})})]}),!e.imageIsLoaded&&y("div",{style:L.imagePlaceholder,children:y(r,{"data-testid":"".concat("Attachment","_placeholder"),className:e.classes.imageIconRoot,htmlColor:W,fontSize:"large"})}),e.lightboxIsOpen&&y(d,{mainSrc:t,imagePadding:50,onAfterOpen:e.handleLightboxOpen,onCloseRequest:e.handleLightboxClose})]})},R=function(e){var t=j.getFileNameWithExtensionFromPath(e.displayName||e.attachmentUrl),a=N(e.attachmentFileName),i=v(t);return A("div",{className:x.cAttachmentFileWrapper,children:[A("div",{className:s(x.cAttachmentFileDownloadWrapper,i&&e.classes.disabledPreview),style:L.fileDownloadWrapper,onClick:function(){i||e.openPreview()},children:[i?y(I,{className:e.classes.unavailableFileIcon}):y(p,{fileName:e.displayName||e.attachmentUrl,className:x.cAttachmentFileDownloadWrapperFileIcon,size:e.small?25:50}),A("div",{className:e.classes.titleContainer,children:[i&&y("div",{className:e.classes.caption,children:"Preview unavailable"}),y("div",{"data-testid":"".concat("Attachment","_name"),className:s(x.cAttachmentFileDownloadWrapperFileName,i&&e.classes.fileName),children:y(l,{variant:"subtitle2",noWrap:!0,className:e.classes.unavailableFileName,children:t})})]}),y(w,{fileUrl:a,classes:{root:e.classes.dialogRoot,paper:u?e.classes.nativeDialog:e.classes.dialog},fileName:t,fileSize:e.attachmentSize,onClose:e.closePreview,open:e.previewIsOpen})]}),y("a",{download:e.displayName,href:a,className:x.cAttachmentFileDownloadWrapperForm,children:y(h,{"data-testid":"".concat("Attachment","_downloadButton"),className:e.classes.downloadIcon,type:"submit",children:y(b,{size:24,className:e.classes.downloadIcon})})})]})};function S(i){var s=t(!1),n=e(s,2),l=n[0],r=n[1],m=t(!1),c=e(m,2),p=c[0],d=c[1],h=t(!1),v=e(h,2),b=v[0],j=v[1],w=i.displayName||i.attachmentUrl||i.fileName,I=f(w),A=g(w),F=N(!i.attachmentUrl&&i.fileName),P=i.attachmentUrl||F,W=a((function(e){return e.preventDefault()}),[]);return I?y("div",{className:x.cAttachment,children:y(D,{size:i.size,openLightbox:function(){return d(!0)},attachmentFileName:i.fileName,attachmentUrl:i.attachmentUrl,setImageIsLoaded:function(){return r(!0)},imageIsLoaded:l,lightboxIsOpen:p,handleLightboxOpen:function(){u&&document.documentElement.addEventListener("touchmove",W,{passive:!1})},handleLightboxClose:function(){u&&document.documentElement.removeEventListener("touchmove",W),d(!1)},classes:i.classes})}):A&&o.canPlay(P)?y("div",{className:x.cAttachment,children:y(o,{"data-testid":"".concat("Attachment","_player"),className:x.cAttachmentReactPlayer,url:P,config:{file:{attributes:{preload:"metadata"}}},controls:!0,height:i.size===z.label?z.value:C.value,width:null})}):y("div",{className:x.cAttachment,children:y(R,{attachmentUrl:P,attachmentFileName:i.fileName,attachmentSize:i.attachmentSize,displayName:i.displayName,openPreview:function(){return j(!0)},closePreview:function(e){e.stopPropagation(),j(!1)},previewIsOpen:b,classes:i.classes,small:i.small})})}S.propTypes={attachmentUrl:i.string.isRequired,attachmentSize:i.number,displayName:i.string,fileName:i.string,size:i.oneOf([z.label,C.label]),classes:i.shape({}).isRequired,small:i.bool},S.defaultProps={displayName:null,fileName:null,attachmentSize:void 0,size:C.label,small:!1};var U=n((function(e){return{imageIconRoot:{position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)"},dialog:{width:"95%",height:"95%",maxWidth:"100%",position:"relative"},nativeDialog:{width:"100%",height:"100%",maxWidth:"100%",maxHeight:"100%",margin:0},dialogRoot:{backgroundColor:"rgba(0, 0, 0, 0.85)"},fileName:{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",fontWeight:400},downloadIcon:{color:e.palette.primary.text3},disabledPreview:{backgroundColor:e.palette.primary.text9},unavailableFileIcon:{marginRight:12,minWidth:32},titleContainer:{display:"flex",flexDirection:"column",width:"100%"},caption:{fontSize:12,fontWeight:400,width:"fit-content"},unavailableFileName:{fontSize:12,fontWeight:400}}}))(S);export{U as default};
1
+ import e from"@babel/runtime/helpers/slicedToArray";import{useState as t,useCallback as a}from"react";import i from"prop-types";import o from"react-player";import s from"classnames";import{withStyles as n}from"@material-ui/core/styles";import{Typography as l}from"@material-ui/core";import r from"@material-ui/icons/Image";import m from"@material-ui/icons/Fullscreen";import c from"@material-ui/core/colors/grey";import p from"../NewDocumentViewer/NewDocumentViewer.js";import{UnavailableFileIcon as d}from"../NewDocumentViewer/icons/UnavailableFileIcon.js";import h from"./styles.css.js";import u from"../FileTypeIcon.js";import f from"../ImageViewer/index.js";import g from"../IconButton/index.js";import{isNativeDetected as v}from"../../utils/mobileDetect.js";import{getIsImage as b,getIsVideo as N}from"../../utils/fileExtension.js";import{getIsPreviewUnavailable as j}from"../../utils/filePreview.js";import{DownloadIcon as w}from"../../icons/iconParkIcons.js";import"../../icons/customIcons/icons/AddMessage.js";import"../../icons/customIcons/icons/Attention.js";import"../../icons/customIcons/icons/Collapse.js";import"../../icons/customIcons/icons/Expand.js";import"../../icons/customIcons/icons/FolderClosed.js";import"../../icons/customIcons/icons/FolderOpened.js";import"../../icons/customIcons/icons/GreaterOrEqual.js";import"../../icons/customIcons/icons/LessOrEqual.js";import"../../icons/customIcons/icons/Search.js";import"../../icons/customIcons/icons/Wellhub.js";import"../../icons/customIcons/icons/MultiRuler.js";import"@babel/runtime/helpers/asyncToGenerator";import"@babel/runtime/helpers/defineProperty";import"@babel/runtime/regenerator";import"querystring";import"uuid/v1";import"lodash";import"../../clients/subscriptions.js";import"../../clients/jsonApi/index.js";import"../../constants/goals.js";import"../../constants/segment.js";import"../../constants/alerts.js";import"../../constants/apps.js";import"../../constants/drillstring.js";import"../../constants/completion.js";import"../../constants/appPackages.js";import"../../constants/notifications.js";import"../../constants/feed.js";import"../../constants/bha.js";import"../../utils/env.js";import"../GradientManager/configuration/constants.js";import I from"../../effects/useSignedURL.js";import"../../utils/index.js";import"uuid";import"jsona";import"../StatusBadge/constants.js";import"@babel/runtime/helpers/toConsumableArray";import"lodash/set";import"lodash/get";import"lodash/unset";import"moment";import"../../clients/api/apiCore.js";import"../../clients/constants.js";import"../../clients/sso/auth0.js";import"../../clients/sso/oauth2.js";import x from"../../utils/main.js";import{jsx as y,jsxs as A,Fragment as F}from"react/jsx-runtime";var P=c[200],W=c[400],z={label:"small",value:135},C={label:"medium",value:300},L={fileImage:function(e,t){return{maxWidth:"100%",borderRadius:4,overflow:"hidden",maxHeight:t===z.label?z.value:C.value,display:e?"initial":"none",cursor:"pointer"}},fileDownloadWrapper:{padding:"10px 10px 10px 5px",border:"1px solid #616161",borderRadius:3,maxWidth:500,width:"75%"},imagePlaceholder:{position:"relative",backgroundColor:P,borderRadius:3,marginTop:10,height:135,width:135}},D=function(e){var t=I(e.attachmentFileName)||e.attachmentUrl;return A(F,{children:[A("div",{onClick:e.openLightbox,className:h.cAttachmentImg,children:[y("img",{"data-testid":"".concat("Attachment","_image"),src:t,style:L.fileImage(e.imageIsLoaded,e.size),alt:"Attachment",onLoad:e.setImageIsLoaded}),y("div",{"data-testid":"".concat("Attachment","_button"),className:h.cAttachmentImgPreviwBtn,children:y(m,{})})]}),!e.imageIsLoaded&&y("div",{style:L.imagePlaceholder,children:y(r,{"data-testid":"".concat("Attachment","_placeholder"),className:e.classes.imageIconRoot,htmlColor:W,fontSize:"large"})}),e.lightboxIsOpen&&y(f,{mainSrc:t,imagePadding:50,onAfterOpen:e.handleLightboxOpen,onCloseRequest:e.handleLightboxClose})]})},R=function(e){var t=x.getFileNameWithExtensionFromPath(e.displayName||e.attachmentUrl),a=I(e.attachmentFileName),i=j(t);return A("div",{className:h.cAttachmentFileWrapper,children:[A("div",{className:s(h.cAttachmentFileDownloadWrapper,i&&e.classes.disabledPreview),style:L.fileDownloadWrapper,onClick:function(){i||e.openPreview()},children:[i?y(d,{className:e.classes.unavailableFileIcon}):y(u,{fileName:e.displayName||e.attachmentUrl,className:h.cAttachmentFileDownloadWrapperFileIcon,size:e.small?25:50}),A("div",{className:e.classes.titleContainer,children:[i&&y("div",{className:e.classes.caption,children:"Preview unavailable"}),y("div",{"data-testid":"".concat("Attachment","_name"),className:s(h.cAttachmentFileDownloadWrapperFileName,i&&e.classes.fileName),children:y(l,{variant:"subtitle2",noWrap:!0,className:e.classes.unavailableFileName,children:t})})]}),y(p,{fileUrl:a,classes:{root:e.classes.dialogRoot,paper:v?e.classes.nativeDialog:e.classes.dialog},fileName:t,fileSize:e.attachmentSize,onClose:e.closePreview,open:e.previewIsOpen})]}),y("a",{download:e.displayName,href:a,className:h.cAttachmentFileDownloadWrapperForm,children:y(g,{"data-testid":"".concat("Attachment","_downloadButton"),className:e.classes.downloadIcon,type:"submit",children:y(w,{size:24,className:e.classes.downloadIcon})})})]})};function S(i){var s=t(!1),n=e(s,2),l=n[0],r=n[1],m=t(!1),c=e(m,2),p=c[0],d=c[1],u=t(!1),f=e(u,2),g=f[0],j=f[1],w=i.displayName||i.attachmentUrl||i.fileName,x=b(w),A=N(w),F=I(!i.attachmentUrl&&i.fileName),P=i.attachmentUrl||F,W=a((function(e){return e.preventDefault()}),[]);return x?y("div",{className:h.cAttachment,children:y(D,{size:i.size,openLightbox:function(){return d(!0)},attachmentFileName:i.fileName,attachmentUrl:i.attachmentUrl,setImageIsLoaded:function(){return r(!0)},imageIsLoaded:l,lightboxIsOpen:p,handleLightboxOpen:function(){v&&document.documentElement.addEventListener("touchmove",W,{passive:!1})},handleLightboxClose:function(){v&&document.documentElement.removeEventListener("touchmove",W),d(!1)},classes:i.classes})}):A&&o.canPlay(P)?y("div",{className:h.cAttachment,children:y(o,{"data-testid":"".concat("Attachment","_player"),className:h.cAttachmentReactPlayer,url:P,config:{file:{attributes:{preload:"metadata"}}},controls:!0,height:i.size===z.label?z.value:C.value,width:null})}):y("div",{className:h.cAttachment,children:y(R,{attachmentUrl:P,attachmentFileName:i.fileName,attachmentSize:i.attachmentSize,displayName:i.displayName,openPreview:function(){return j(!0)},closePreview:function(e){e.stopPropagation(),j(!1)},previewIsOpen:g,classes:i.classes,small:i.small})})}S.propTypes={attachmentUrl:i.string.isRequired,attachmentSize:i.number,displayName:i.string,fileName:i.string,size:i.oneOf([z.label,C.label]),classes:i.shape({}).isRequired,small:i.bool},S.defaultProps={displayName:null,fileName:null,attachmentSize:void 0,size:C.label,small:!1};var U=n((function(e){return{imageIconRoot:{position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)"},dialog:{width:"95%",height:"95%",maxWidth:"100%",position:"relative"},nativeDialog:{width:"100%",height:"100%",maxWidth:"100%",maxHeight:"100%",margin:0},dialogRoot:{backgroundColor:"rgba(0, 0, 0, 0.85)"},fileName:{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",fontWeight:400},downloadIcon:{color:e.palette.primary.text3},disabledPreview:{backgroundColor:e.palette.primary.text9},unavailableFileIcon:{marginRight:12,minWidth:32},titleContainer:{display:"flex",flexDirection:"column",width:"100%"},caption:{fontSize:12,fontWeight:400,width:"fit-content"},unavailableFileName:{fontSize:12,fontWeight:400}}}))(S);export{U as default};
@@ -1 +1 @@
1
- {"version":3,"file":"Autocomplete.d.ts","sourceRoot":"","sources":["../../../src/components/Autocomplete/Autocomplete.js"],"names":[],"mappings":";AAyCA;;;;;;;;;;gBA4FC"}
1
+ {"version":3,"file":"Autocomplete.d.ts","sourceRoot":"","sources":["../../../src/components/Autocomplete/Autocomplete.js"],"names":[],"mappings":";AA0CA;;;;;;;;;;gBA4FC"}
@@ -59,7 +59,7 @@ declare const _default: import("react").ComponentType<Pick<Pick<Pick<PropTypes.I
59
59
  classes: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
60
60
  avatar: PropTypes.Requireable<string>;
61
61
  }>>>;
62
- }, "size" | "className" | "data-testid" | "displayName" | "classes" | "alt" | "showTooltip" | "imgSrc">>>, "size" | "className" | "data-testid" | "displayName" | "classes" | "alt" | "showTooltip" | "imgSrc"> & Pick<PropTypes.InferProps<{
62
+ }, "className" | "data-testid" | "displayName" | "classes" | "size" | "alt" | "showTooltip" | "imgSrc">>>, "className" | "data-testid" | "displayName" | "classes" | "size" | "alt" | "showTooltip" | "imgSrc"> & Pick<PropTypes.InferProps<{
63
63
  displayName: PropTypes.Requireable<string>;
64
64
  showTooltip: PropTypes.Requireable<boolean>;
65
65
  size: PropTypes.Requireable<number>;
@@ -92,14 +92,14 @@ declare const _default: import("react").ComponentType<Pick<Pick<Pick<PropTypes.I
92
92
  classes: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
93
93
  avatar: PropTypes.Requireable<string>;
94
94
  }>>>;
95
- }, "size" | "className" | "data-testid" | "displayName" | "classes" | "alt" | "showTooltip" | "imgSrc">>>, never>, "classes"> & {
96
- size?: number;
95
+ }, "className" | "data-testid" | "displayName" | "classes" | "size" | "alt" | "showTooltip" | "imgSrc">>>, never>, "classes"> & {
97
96
  className?: string;
98
97
  'data-testid'?: string;
99
98
  displayName?: string;
99
+ size?: number;
100
100
  alt?: string;
101
101
  showTooltip?: boolean;
102
102
  imgSrc?: string;
103
- } & {}, "size" | "className" | "data-testid" | "displayName" | "alt" | "showTooltip" | "imgSrc"> & import("@material-ui/core/styles").StyledComponentProps<"avatar">>;
103
+ } & {}, "className" | "data-testid" | "displayName" | "size" | "alt" | "showTooltip" | "imgSrc"> & import("@material-ui/core/styles").StyledComponentProps<"avatar">>;
104
104
  export default _default;
105
105
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Map.d.ts","sourceRoot":"","sources":["../../../../../src/components/BICOffsetPickerDialog/components/Map/Map.js"],"names":[],"mappings":";;AAgCA;;;;;;;;gBA+JC;;;;;;;;;;;;;;;;;;;;;;;;;;AAjLD,kDAA2C;AAC3C,0CAAmC"}
1
+ {"version":3,"file":"Map.d.ts","sourceRoot":"","sources":["../../../../../src/components/BICOffsetPickerDialog/components/Map/Map.js"],"names":[],"mappings":";;AAkCA;;;;;;;;gBA+JC;;;;;;;;;;;;;;;;;;;;;;;;;;AAjLD,kDAA2C;AAC3C,0CAAmC"}
@@ -1 +1 @@
1
- import{memo as r,useRef as e,useMemo as t,useEffect as o,createElement as n}from"react";import l from"react-dom";import u from"prop-types";import c from"mapbox.js";import{get as i}from"lodash";import{mapbox as a}from"../../../../utils/index.js";import{usePrevious as s}from"../../effects/index.js";import f from"./Map.css.js";import{jsx as m}from"react/jsx-runtime";var d=a.isValidCoordinates,p=[29.749907,-95.358421];function h(r){var u=r.subjectWell,a=r.wells,h=r.offsetWells,v=r.radius,b=r.subjectWellMarkerSize,k=r.wellMarkerSize,y=r.coordsDataPath,g=e(null),j=e(null),x=e(null),C=e(null),M=s(a),W=t((function(){return u&&i(u,y)}),[u,y]);o((function(){g.current=c.mapbox.map(g.current,null,{attributionControl:!1,scrollWheelZoom:!1,zoomControl:!1}).setView(p,1),c.control.zoom({position:"bottomright"}).addTo(g.current),c.mapbox.styleLayer("mapbox://styles/mapbox/dark-v9").addTo(g.current)}),[]),o((function(){g.current&&(j.current&&g.current.removeLayer(j.current),W?(j.current=c.circle(W,1609.34*v,{stroke:!1,fill:!0,fillOpacity:.2,fillColor:"#03BCD4",className:"circle_500"}),j.current.addTo(g.current)):j.current=null)}),[v,W]);return o((function(){if(g.current){g.current.closePopup(),x.current&&x.current.removeFrom(g.current);var r=h.map((function(r){return r.id})),e=[];a.forEach((function(t){var o=i(t,y);if(o&&d(o)){var a=u&&u.id===t.id,s=r.includes(t.id),f=a?b:k,p=a||s?1:.3,h=c.circleMarker(o,{radius:f,stroke:!1,fill:!0,fillOpacity:p,fillColor:"#FFC107",className:"circle_500"});h.addEventListener("mouseover",(function(){var r=document.createElement("div"),u=n((function(r){var e=r.well;return m("div",{style:{color:"#fff",background:"##414141"},children:m("span",{style:{fontSize:"11px",lineHeight:"16px"},children:i(e,"name")})})}),{well:t});l.render(u,r),c.popup().setLatLng(o).setContent(r).openOn(g.current),function(r,e,t){C.current=c.circleMarker(e,{radius:3*t,stroke:!1,fill:!0,fillOpacity:.2,fillColor:"#FFC107",className:"circle_highlight"}),C.current.addEventListener("mouseout",(function(){x.current.removeFrom(g.current),x.current=c.featureGroup(r),x.current.addTo(g.current),g.current.closePopup()}));var o=r.concat(C.current);x.current=c.featureGroup(o),x.current.addTo(g.current)}(e,o,f)})),e.push(h)}})),e.length&&(x.current=c.featureGroup(e),x.current.addTo(g.current)),setTimeout((function(){j.current&&j.current.bringToBack(),g.current&&x.current&&a!==M&&g.current.fitBounds(x.current.getBounds())}),500)}}),[u,a,h]),m("div",{className:f.map,children:m("div",{className:f.mapMain,ref:g})})}h.propTypes={subjectWell:u.shape({id:u.number,formation:u.string}),wells:u.arrayOf(u.shape({})).isRequired,offsetWells:u.arrayOf(u.shape({})),radius:u.number.isRequired,subjectWellMarkerSize:u.number,wellMarkerSize:u.number,coordsDataPath:u.string},h.defaultProps={subjectWell:null,subjectWellMarkerSize:8,wellMarkerSize:5,coordsDataPath:"settings.top_hole.coordinates",offsetWells:null};var v=r(h);export{v as default};
1
+ import{memo as r,useRef as e,useMemo as t,useEffect as o,createElement as n}from"react";import l from"react-dom";import u from"prop-types";import c from"mapbox.js";import{get as i}from"lodash";import{usePrevious as a}from"../../effects/index.js";import s from"./Map.css.js";import{mapbox as f}from"../../../../utils/index.js";import{jsx as m}from"react/jsx-runtime";var d=f.isValidCoordinates,p=[29.749907,-95.358421];function h(r){var u=r.subjectWell,f=r.wells,h=r.offsetWells,v=r.radius,b=r.subjectWellMarkerSize,k=r.wellMarkerSize,y=r.coordsDataPath,g=e(null),j=e(null),x=e(null),C=e(null),M=a(f),W=t((function(){return u&&i(u,y)}),[u,y]);o((function(){g.current=c.mapbox.map(g.current,null,{attributionControl:!1,scrollWheelZoom:!1,zoomControl:!1}).setView(p,1),c.control.zoom({position:"bottomright"}).addTo(g.current),c.mapbox.styleLayer("mapbox://styles/mapbox/dark-v9").addTo(g.current)}),[]),o((function(){g.current&&(j.current&&g.current.removeLayer(j.current),W?(j.current=c.circle(W,1609.34*v,{stroke:!1,fill:!0,fillOpacity:.2,fillColor:"#03BCD4",className:"circle_500"}),j.current.addTo(g.current)):j.current=null)}),[v,W]);return o((function(){if(g.current){g.current.closePopup(),x.current&&x.current.removeFrom(g.current);var r=h.map((function(r){return r.id})),e=[];f.forEach((function(t){var o=i(t,y);if(o&&d(o)){var a=u&&u.id===t.id,s=r.includes(t.id),f=a?b:k,p=a||s?1:.3,h=c.circleMarker(o,{radius:f,stroke:!1,fill:!0,fillOpacity:p,fillColor:"#FFC107",className:"circle_500"});h.addEventListener("mouseover",(function(){var r=document.createElement("div"),u=n((function(r){var e=r.well;return m("div",{style:{color:"#fff",background:"##414141"},children:m("span",{style:{fontSize:"11px",lineHeight:"16px"},children:i(e,"name")})})}),{well:t});l.render(u,r),c.popup().setLatLng(o).setContent(r).openOn(g.current),function(r,e,t){C.current=c.circleMarker(e,{radius:3*t,stroke:!1,fill:!0,fillOpacity:.2,fillColor:"#FFC107",className:"circle_highlight"}),C.current.addEventListener("mouseout",(function(){x.current.removeFrom(g.current),x.current=c.featureGroup(r),x.current.addTo(g.current),g.current.closePopup()}));var o=r.concat(C.current);x.current=c.featureGroup(o),x.current.addTo(g.current)}(e,o,f)})),e.push(h)}})),e.length&&(x.current=c.featureGroup(e),x.current.addTo(g.current)),setTimeout((function(){j.current&&j.current.bringToBack(),g.current&&x.current&&f!==M&&g.current.fitBounds(x.current.getBounds())}),500)}}),[u,f,h]),m("div",{className:s.map,children:m("div",{className:s.mapMain,ref:g})})}h.propTypes={subjectWell:u.shape({id:u.number,formation:u.string}),wells:u.arrayOf(u.shape({})).isRequired,offsetWells:u.arrayOf(u.shape({})),radius:u.number.isRequired,subjectWellMarkerSize:u.number,wellMarkerSize:u.number,coordsDataPath:u.string},h.defaultProps={subjectWell:null,subjectWellMarkerSize:8,wellMarkerSize:5,coordsDataPath:"settings.top_hole.coordinates",offsetWells:null};var v=r(h);export{v as default};
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/BICOffsetPickerDialog/components/Map/index.js"],"names":[],"mappings":";;AAOA;;;;;;gBAcC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/BICOffsetPickerDialog/components/Map/index.js"],"names":[],"mappings":";;AAQA;;;;;;gBAcC"}
@@ -1 +1 @@
1
- {"version":3,"file":"AssetResultSection.d.ts","sourceRoot":"","sources":["../../../../../../src/components/BICOffsetPickerDialog/components/WellSection/AutoCompleteAssetSearch/AssetResultSection.js"],"names":[],"mappings":";AAoEA;;;;;;gBAkFC"}
1
+ {"version":3,"file":"AssetResultSection.d.ts","sourceRoot":"","sources":["../../../../../../src/components/BICOffsetPickerDialog/components/WellSection/AutoCompleteAssetSearch/AssetResultSection.js"],"names":[],"mappings":";AAmEA;;;;;;gBAkFC"}
@@ -1 +1 @@
1
- {"version":3,"file":"AssetTypesSection.d.ts","sourceRoot":"","sources":["../../../../../../src/components/BICOffsetPickerDialog/components/WellSection/AutoCompleteAssetSearch/AssetTypesSection.js"],"names":[],"mappings":";AA2BA;;gBAoBC"}
1
+ {"version":3,"file":"AssetTypesSection.d.ts","sourceRoot":"","sources":["../../../../../../src/components/BICOffsetPickerDialog/components/WellSection/AutoCompleteAssetSearch/AssetTypesSection.js"],"names":[],"mappings":";AA0BA;;gBAoBC"}
@@ -1,5 +1,5 @@
1
1
  export default NumberCircle;
2
- declare function NumberCircle({ bgColor, textColor, width, height, fontSize, children, "data-testid": dataTestId }: {
2
+ declare function NumberCircle({ bgColor, textColor, width, height, fontSize, children, "data-testid": dataTestId, }: {
3
3
  bgColor: any;
4
4
  textColor: any;
5
5
  width: any;
@@ -1 +1 @@
1
- {"version":3,"file":"NumberCircle.d.ts","sourceRoot":"","sources":["../../../../../src/components/BICOffsetPickerDialog/components/WellSection/NumberCircle.js"],"names":[],"mappings":";AAEA;;;;;;;;gBAuBC"}
1
+ {"version":3,"file":"NumberCircle.d.ts","sourceRoot":"","sources":["../../../../../src/components/BICOffsetPickerDialog/components/WellSection/NumberCircle.js"],"names":[],"mappings":";AAEA;;;;;;;;gBA4BC"}
@@ -1 +1 @@
1
- {"version":3,"file":"SectionItem.d.ts","sourceRoot":"","sources":["../../../../../src/components/BICOffsetPickerDialog/components/WellSection/SectionItem.js"],"names":[],"mappings":";;AAuEA;;;;;;gBA4DC"}
1
+ {"version":3,"file":"SectionItem.d.ts","sourceRoot":"","sources":["../../../../../src/components/BICOffsetPickerDialog/components/WellSection/SectionItem.js"],"names":[],"mappings":";;AAuEA;;;;;;gBAyDC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/BICOffsetPickerDialog/components/WellSection/index.js"],"names":[],"mappings":";;AAgEA;;;;;;gBA4IC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/BICOffsetPickerDialog/components/WellSection/index.js"],"names":[],"mappings":";;AAiEA;;;;;;gBA4IC"}
@@ -1 +1 @@
1
- import e from"@babel/runtime/helpers/toConsumableArray";import t from"@babel/runtime/helpers/defineProperty";import{memo as n}from"react";import{string as r,arrayOf as o,shape as i,func as a}from"prop-types";import c from"classnames";import{makeStyles as l,Typography as s,Accordion as d,AccordionSummary as m,AccordionDetails as p,List as u}from"@material-ui/core";import{ExpandMore as f}from"@material-ui/icons";import"../../../../utils/index.js";import h from"./AssetSearch.js";import w from"./SectionItem.js";import y from"./WellListItem.js";import{jsxs as x,jsx as b}from"react/jsx-runtime";import{showSuccessNotification as g}from"../../../../utils/notificationToasts.js";function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function S(e){for(var n=1;n<arguments.length;n++){var r=null!=arguments[n]?arguments[n]:{};n%2?v(Object(r),!0).forEach((function(n){t(e,n,r[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):v(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var j=l((function(e){return{content:{width:"472px",marginTop:"24px"},sectionItem:{display:"flex",flexDirection:"row",justifyContent:"space-between",alignItems:"center",padding:"8px",fontSize:"12px",fontWeight:"normal",color:e.palette.primary.text6,borderTop:"1px solid ".concat(e.palette.primary.text8),"&:last-child":{borderBottom:"1px solid ".concat(e.palette.primary.text8)}},disabledSectionItem:{color:e.palette.primary.text8},wellList:{width:"100%",margin:0,padding:0},searchContainer:{display:"flex",justifyContent:"space-between",marginBottom:"24px",alignItems:"center"},advancedSearch:{fontSize:"14px",fontWeight:500,color:"#03BCD4",cursor:"pointer","&:hover":{textDecoration:"underline"}}}}));function O(t){var n=t.company,r=t.wellSections,o=t.getWellName,i=t.onChangeWellSections,a=t.onExploreMode,l=j(),v=function(e,t){var n=r.find((function(t){return t.name===e.name})).wells.map((function(e){return e.id})),o=r.map((function(e){var r=e.wells.map((function(e){return n.includes(e.id)?S(S({},e),{},{checked:t}):S({},e)}));return S(S({},e),{},{wells:r})}));i(o)},O=function(e){var t=r.map((function(t){return t.name===e.name?S(S({},t),{},{expanded:!t.expanded}):t}));i(t)},C=function(e){var t=r.map((function(t){var n=t.wells.map((function(t){return t.id===e.id?S(S({},t),{},{checked:!t.checked}):t}));return S(S({},t),{},{wells:n})}));i(t)},N=function(e){v(e,!0)},I=function(e){v(e,!1)};return x("div",{className:l.content,children:[x("div",{className:l.searchContainer,children:[b(h,{company:+n,onClickAsset:function(t,n){var o=r.map((function(r){if("Search Results"===r.name){var o=e(r.wells);return r.wells.find((function(e){return e.id===t}))||o.push({id:t,checked:!0,name:n,kind:"manual"}),S(S({},r),{},{wells:o})}return S(S({},r),{},{wells:r.wells.map((function(e){return e.id===t?S(S({},e),{},{checked:!0}):e}))})}));i(o),g("Offset well successfully added!")},onExploreMode:a}),b(s,{"data-testid":"".concat("WellSection","_advancedSearch"),className:l.advancedSearch,onClick:function(){a()},children:"Advanced Search"})]}),(r||[]).map((function(e){return 0===e.wells.length?b("div",{className:c(l.sectionItem,l.disabledSectionItem),children:b(w,{section:e,disabled:!0})},"empty-".concat(e.name)):b("div",{className:l.sectionItem,children:x(d,{expanded:e.expanded,onChange:function(){return O(e)},children:[b(m,{expandIcon:b(f,{}),style:{width:"100%"},children:b(w,{section:e,onExpandCollapse:O,onSelectAll:N,onClearAll:I})}),b(p,{children:b(u,{dense:!0,className:l.wellList,children:e.wells.map((function(t){return b(y,{well:t,wellName:o(e.wells,t.id),rigName:t.rigName,onToggleWell:C},"well-".concat(e.name,"-").concat(t.id))}))})})]})},"section-".concat(e.name))}))]})}O.propTypes={company:r.isRequired,wellSections:o(i({})),getWellName:a.isRequired,onChangeWellSections:a.isRequired,onExploreMode:a.isRequired},O.defaultProps={wellSections:[]};var C=n(O);export{C as default};
1
+ import e from"@babel/runtime/helpers/toConsumableArray";import t from"@babel/runtime/helpers/defineProperty";import{memo as n}from"react";import{string as r,arrayOf as o,shape as i,func as a}from"prop-types";import c from"classnames";import{makeStyles as l,Typography as s,Accordion as d,AccordionSummary as m,AccordionDetails as p,List as u}from"@material-ui/core";import{ExpandMore as f}from"@material-ui/icons";import h from"./AssetSearch.js";import w from"./SectionItem.js";import y from"./WellListItem.js";import"../../../../utils/index.js";import{jsxs as x,jsx as b}from"react/jsx-runtime";import{showSuccessNotification as g}from"../../../../utils/notificationToasts.js";function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function S(e){for(var n=1;n<arguments.length;n++){var r=null!=arguments[n]?arguments[n]:{};n%2?v(Object(r),!0).forEach((function(n){t(e,n,r[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):v(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var j=l((function(e){return{content:{width:"472px",marginTop:"24px"},sectionItem:{display:"flex",flexDirection:"row",justifyContent:"space-between",alignItems:"center",padding:"8px",fontSize:"12px",fontWeight:"normal",color:e.palette.primary.text6,borderTop:"1px solid ".concat(e.palette.primary.text8),"&:last-child":{borderBottom:"1px solid ".concat(e.palette.primary.text8)}},disabledSectionItem:{color:e.palette.primary.text8},wellList:{width:"100%",margin:0,padding:0},searchContainer:{display:"flex",justifyContent:"space-between",marginBottom:"24px",alignItems:"center"},advancedSearch:{fontSize:"14px",fontWeight:500,color:"#03BCD4",cursor:"pointer","&:hover":{textDecoration:"underline"}}}}));function O(t){var n=t.company,r=t.wellSections,o=t.getWellName,i=t.onChangeWellSections,a=t.onExploreMode,l=j(),v=function(e,t){var n=r.find((function(t){return t.name===e.name})).wells.map((function(e){return e.id})),o=r.map((function(e){var r=e.wells.map((function(e){return n.includes(e.id)?S(S({},e),{},{checked:t}):S({},e)}));return S(S({},e),{},{wells:r})}));i(o)},O=function(e){var t=r.map((function(t){return t.name===e.name?S(S({},t),{},{expanded:!t.expanded}):t}));i(t)},C=function(e){var t=r.map((function(t){var n=t.wells.map((function(t){return t.id===e.id?S(S({},t),{},{checked:!t.checked}):t}));return S(S({},t),{},{wells:n})}));i(t)},N=function(e){v(e,!0)},I=function(e){v(e,!1)};return x("div",{className:l.content,children:[x("div",{className:l.searchContainer,children:[b(h,{company:+n,onClickAsset:function(t,n){var o=r.map((function(r){if("Search Results"===r.name){var o=e(r.wells);return r.wells.find((function(e){return e.id===t}))||o.push({id:t,checked:!0,name:n,kind:"manual"}),S(S({},r),{},{wells:o})}return S(S({},r),{},{wells:r.wells.map((function(e){return e.id===t?S(S({},e),{},{checked:!0}):e}))})}));i(o),g("Offset well successfully added!")},onExploreMode:a}),b(s,{"data-testid":"".concat("WellSection","_advancedSearch"),className:l.advancedSearch,onClick:function(){a()},children:"Advanced Search"})]}),(r||[]).map((function(e){return 0===e.wells.length?b("div",{className:c(l.sectionItem,l.disabledSectionItem),children:b(w,{section:e,disabled:!0})},"empty-".concat(e.name)):b("div",{className:l.sectionItem,children:x(d,{expanded:e.expanded,onChange:function(){return O(e)},children:[b(m,{expandIcon:b(f,{}),style:{width:"100%"},children:b(w,{section:e,onExpandCollapse:O,onSelectAll:N,onClearAll:I})}),b(p,{children:b(u,{dense:!0,className:l.wellList,children:e.wells.map((function(t){return b(y,{well:t,wellName:o(e.wells,t.id),rigName:t.rigName,onToggleWell:C},"well-".concat(e.name,"-").concat(t.id))}))})})]})},"section-".concat(e.name))}))]})}O.propTypes={company:r.isRequired,wellSections:o(i({})),getWellName:a.isRequired,onChangeWellSections:a.isRequired,onExploreMode:a.isRequired},O.defaultProps={wellSections:[]};var C=n(O);export{C as default};