@corva/ui 3.73.0-7 → 3.73.0-8

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 (1103) hide show
  1. package/cjs-bundle/components/AddComment/Popover.js +1 -1
  2. package/cjs-bundle/components/AddComment/Popover.js.map +1 -1
  3. package/cjs-bundle/components/AddComment/Popup.js +1 -1
  4. package/cjs-bundle/components/AddComment/Popup.js.map +1 -1
  5. package/cjs-bundle/components/AddComment/components/Content.js +1 -1
  6. package/cjs-bundle/components/AddComment/components/Content.js.map +1 -1
  7. package/cjs-bundle/components/AnchorsList/AnchorsList.js +1 -1
  8. package/cjs-bundle/components/AnchorsList/AnchorsList.js.map +1 -1
  9. package/cjs-bundle/components/Annotations/components/AnnotationsList/components/AddAnnotationForm/index.js +1 -1
  10. package/cjs-bundle/components/Annotations/components/AnnotationsList/components/AddAnnotationForm/index.js.map +1 -1
  11. package/cjs-bundle/components/Annotations/components/AnnotationsList/components/Annotation/index.js +1 -1
  12. package/cjs-bundle/components/Annotations/components/AnnotationsList/components/Annotation/index.js.map +1 -1
  13. package/cjs-bundle/components/Annotations/components/AnnotationsList/components/AnnotationInput/index.js +1 -1
  14. package/cjs-bundle/components/Annotations/components/AnnotationsList/components/AnnotationInput/index.js.map +1 -1
  15. package/cjs-bundle/components/Annotations/components/AnnotationsList/index.js +1 -1
  16. package/cjs-bundle/components/Annotations/components/AnnotationsList/index.js.map +1 -1
  17. package/cjs-bundle/components/Annotations/components/LastAnnotation/index.js +1 -1
  18. package/cjs-bundle/components/Annotations/components/LastAnnotation/index.js.map +1 -1
  19. package/cjs-bundle/components/AppVersionsSelect/AppVersionsSelect.js +1 -1
  20. package/cjs-bundle/components/AppVersionsSelect/AppVersionsSelect.js.map +1 -1
  21. package/cjs-bundle/components/AssetEditor/AssetEditorAutocomplete.js +1 -1
  22. package/cjs-bundle/components/AssetEditor/AssetEditorAutocomplete.js.map +1 -1
  23. package/cjs-bundle/components/AssetEditor/SingleAssetEditor.js +1 -1
  24. package/cjs-bundle/components/AssetEditor/SingleAssetEditor.js.map +1 -1
  25. package/cjs-bundle/components/AssetEditor/index.js +1 -1
  26. package/cjs-bundle/components/AssetEditor/index.js.map +1 -1
  27. package/cjs-bundle/components/AssetEditorV2/components/MultipleAssetsToggle.js +1 -1
  28. package/cjs-bundle/components/AssetEditorV2/components/MultipleAssetsToggle.js.map +1 -1
  29. package/cjs-bundle/components/AssetEditorV2/components/PrimaryAssetSelect.js +1 -1
  30. package/cjs-bundle/components/AssetEditorV2/components/PrimaryAssetSelect.js.map +1 -1
  31. package/cjs-bundle/components/AssetEditorV2/components/PrimaryAssetSelectV2.js +1 -1
  32. package/cjs-bundle/components/AssetEditorV2/components/PrimaryAssetSelectV2.js.map +1 -1
  33. package/cjs-bundle/components/AssetEditorV2/components/SecondaryAssetSelect.js +1 -1
  34. package/cjs-bundle/components/AssetEditorV2/components/SecondaryAssetSelect.js.map +1 -1
  35. package/cjs-bundle/components/AssetEditorV2/components/SelectItem.js +1 -1
  36. package/cjs-bundle/components/AssetEditorV2/components/SelectItem.js.map +1 -1
  37. package/cjs-bundle/components/AssetEditorV2/index.js +1 -1
  38. package/cjs-bundle/components/AssetEditorV2/index.js.map +1 -1
  39. package/cjs-bundle/components/Attachment/index.js +1 -1
  40. package/cjs-bundle/components/Attachment/index.js.map +1 -1
  41. package/cjs-bundle/components/BICOffsetPickerDialog/components/Map/Map.js +1 -1
  42. package/cjs-bundle/components/BICOffsetPickerDialog/components/Map/Map.js.map +1 -1
  43. package/cjs-bundle/components/BICOffsetPickerDialog/components/Map/index.js +1 -1
  44. package/cjs-bundle/components/BICOffsetPickerDialog/components/Map/index.js.map +1 -1
  45. package/cjs-bundle/components/BICOffsetPickerDialog/components/WellSection/NumberCircle.js +1 -1
  46. package/cjs-bundle/components/BICOffsetPickerDialog/components/WellSection/NumberCircle.js.map +1 -1
  47. package/cjs-bundle/components/BICOffsetPickerDialog/components/WellSection/SectionItem.js +1 -1
  48. package/cjs-bundle/components/BICOffsetPickerDialog/components/WellSection/SectionItem.js.map +1 -1
  49. package/cjs-bundle/components/BICOffsetPickerDialog/components/WellSection/index.js +1 -1
  50. package/cjs-bundle/components/BICOffsetPickerDialog/components/WellSection/index.js.map +1 -1
  51. package/cjs-bundle/components/BICOffsetPickerDialog/index.js +1 -1
  52. package/cjs-bundle/components/BICOffsetPickerDialog/index.js.map +1 -1
  53. package/cjs-bundle/components/Button/components/Button/index.js +1 -1
  54. package/cjs-bundle/components/Button/components/Button/index.js.map +1 -1
  55. package/cjs-bundle/components/Casing/CasingComponentIcon.js +1 -1
  56. package/cjs-bundle/components/Casing/CasingComponentIcon.js.map +1 -1
  57. package/cjs-bundle/components/Casing/CasingTableV2/CasingTableV2.js +1 -1
  58. package/cjs-bundle/components/Casing/CasingTableV2/CasingTableV2.js.map +1 -1
  59. package/cjs-bundle/components/Casing/CasingTableV2/components/CasingJoints/Editor.js +1 -1
  60. package/cjs-bundle/components/Casing/CasingTableV2/components/CasingJoints/Editor.js.map +1 -1
  61. package/cjs-bundle/components/Casing/CasingTableV2/components/Component.js +1 -1
  62. package/cjs-bundle/components/Casing/CasingTableV2/components/Component.js.map +1 -1
  63. package/cjs-bundle/components/Casing/CasingTableV2/components/DrillPipe/Editor.js +1 -1
  64. package/cjs-bundle/components/Casing/CasingTableV2/components/DrillPipe/Editor.js.map +1 -1
  65. package/cjs-bundle/components/Casing/CasingTile/CasingTile.js +1 -1
  66. package/cjs-bundle/components/Casing/CasingTile/CasingTile.js.map +1 -1
  67. package/cjs-bundle/components/Chart/components/ChartWrapper.js +1 -1
  68. package/cjs-bundle/components/Chart/components/ChartWrapper.js.map +1 -1
  69. package/cjs-bundle/components/Chart/components/buttons/ChartTypeButton.js +1 -1
  70. package/cjs-bundle/components/Chart/components/buttons/ChartTypeButton.js.map +1 -1
  71. package/cjs-bundle/components/Chart/components/buttons/DragToZoomButton.js +1 -1
  72. package/cjs-bundle/components/Chart/components/buttons/DragToZoomButton.js.map +1 -1
  73. package/cjs-bundle/components/Chart/components/buttons/HideAxesButton.js +1 -1
  74. package/cjs-bundle/components/Chart/components/buttons/HideAxesButton.js.map +1 -1
  75. package/cjs-bundle/components/Chart/components/buttons/PanButton.js +1 -1
  76. package/cjs-bundle/components/Chart/components/buttons/PanButton.js.map +1 -1
  77. package/cjs-bundle/components/Chart/components/buttons/ResetZoomButton.js +1 -1
  78. package/cjs-bundle/components/Chart/components/buttons/ResetZoomButton.js.map +1 -1
  79. package/cjs-bundle/components/Chart/components/buttons/ZoomInButton.js +1 -1
  80. package/cjs-bundle/components/Chart/components/buttons/ZoomInButton.js.map +1 -1
  81. package/cjs-bundle/components/Chart/components/buttons/ZoomOutButton.js +1 -1
  82. package/cjs-bundle/components/Chart/components/buttons/ZoomOutButton.js.map +1 -1
  83. package/cjs-bundle/components/CollapsableSidebar.js +1 -1
  84. package/cjs-bundle/components/CollapsableSidebar.js.map +1 -1
  85. package/cjs-bundle/components/CollapsibleContent.js +1 -1
  86. package/cjs-bundle/components/CollapsibleContent.js.map +1 -1
  87. package/cjs-bundle/components/ColorPicker/PaletteChromePicker/Palette/Palette.js +1 -1
  88. package/cjs-bundle/components/ColorPicker/PaletteChromePicker/Palette/Palette.js.map +1 -1
  89. package/cjs-bundle/components/CommentWrapper.js +1 -1
  90. package/cjs-bundle/components/CommentWrapper.js.map +1 -1
  91. package/cjs-bundle/components/CommentsInfo/index.js +1 -1
  92. package/cjs-bundle/components/CommentsInfo/index.js.map +1 -1
  93. package/cjs-bundle/components/CustomSelect/index.js +1 -1
  94. package/cjs-bundle/components/CustomSelect/index.js.map +1 -1
  95. package/cjs-bundle/components/DatePicker/index.js +1 -1
  96. package/cjs-bundle/components/DatePicker/index.js.map +1 -1
  97. package/cjs-bundle/components/DateTimePicker/index.js +1 -1
  98. package/cjs-bundle/components/DateTimePicker/index.js.map +1 -1
  99. package/cjs-bundle/components/DevCenter/AppHeader/AppHeader.js +1 -1
  100. package/cjs-bundle/components/DevCenter/AppHeader/AppHeader.js.map +1 -1
  101. package/cjs-bundle/components/DevCenter/AppHeader/PadMode.js +1 -1
  102. package/cjs-bundle/components/DevCenter/AppHeader/PadMode.js.map +1 -1
  103. package/cjs-bundle/components/DevCenter/AppsDataProvider/AppsDataProvider.js +1 -1
  104. package/cjs-bundle/components/DevCenter/AppsDataProvider/AppsDataProvider.js.map +1 -1
  105. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/AppInfoMessage/AppInfoMessage.js.map +1 -1
  106. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/AppSettingsDialog.js +1 -1
  107. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/AppSettingsDialog.js.map +1 -1
  108. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/DevCenterAppView/DevCenterAppView.js +1 -1
  109. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/DevCenterAppView/DevCenterAppView.js.map +1 -1
  110. package/cjs-bundle/components/DevCenter/DevCenterRouterContext/UniversalLink/UniversalLink.js +1 -1
  111. package/cjs-bundle/components/DevCenter/DevCenterRouterContext/UniversalLink/UniversalLink.js.map +1 -1
  112. package/cjs-bundle/components/DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedApp.js +1 -1
  113. package/cjs-bundle/components/DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedApp.js.map +1 -1
  114. package/cjs-bundle/components/DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedAppPage.js +1 -1
  115. package/cjs-bundle/components/DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedAppPage.js.map +1 -1
  116. package/cjs-bundle/components/DevCenter/NavigationBar/NavigationBar.js +1 -1
  117. package/cjs-bundle/components/DevCenter/NavigationBar/NavigationBar.js.map +1 -1
  118. package/cjs-bundle/components/DevCenter/SideBar/SideBar.js +1 -1
  119. package/cjs-bundle/components/DevCenter/SideBar/SideBar.js.map +1 -1
  120. package/cjs-bundle/components/DocumentViewer/DocumentViewer.js +1 -1
  121. package/cjs-bundle/components/DocumentViewer/DocumentViewer.js.map +1 -1
  122. package/cjs-bundle/components/Drillstring/BHAComponentIcon.js +1 -1
  123. package/cjs-bundle/components/Drillstring/BHAComponentIcon.js.map +1 -1
  124. package/cjs-bundle/components/Drillstring/BHAComponentsTable/BHAComponentsTable.js +1 -1
  125. package/cjs-bundle/components/Drillstring/BHAComponentsTable/BHAComponentsTable.js.map +1 -1
  126. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Agitator/Editor.js +1 -1
  127. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Agitator/Editor.js.map +1 -1
  128. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Bit/Editor.js +1 -1
  129. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Bit/Editor.js.map +1 -1
  130. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Component.js +1 -1
  131. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Component.js.map +1 -1
  132. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/DrillCollar/Editor.js +1 -1
  133. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/DrillCollar/Editor.js.map +1 -1
  134. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/DrillPipe/Editor.js +1 -1
  135. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/DrillPipe/Editor.js.map +1 -1
  136. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Jar/Editor.js +1 -1
  137. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Jar/Editor.js.map +1 -1
  138. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Lwd/Editor.js +1 -1
  139. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Lwd/Editor.js.map +1 -1
  140. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Lwd/Measurement.js +1 -1
  141. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Lwd/Measurement.js.map +1 -1
  142. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Mwd/Editor.js +1 -1
  143. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Mwd/Editor.js.map +1 -1
  144. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/NozzleSize/index.js +1 -1
  145. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/NozzleSize/index.js.map +1 -1
  146. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Pdm/Editor.js +1 -1
  147. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Pdm/Editor.js.map +1 -1
  148. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/PressureLoss/index.js +1 -1
  149. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/PressureLoss/index.js.map +1 -1
  150. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Rss/Editor.js +1 -1
  151. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Rss/Editor.js.map +1 -1
  152. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Stabilizer/Editor.js +1 -1
  153. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Stabilizer/Editor.js.map +1 -1
  154. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Sub/Editor.js +1 -1
  155. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Sub/Editor.js.map +1 -1
  156. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Suggestions/Suggestions.js +1 -1
  157. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Suggestions/Suggestions.js.map +1 -1
  158. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Ur/Editor.js +1 -1
  159. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Ur/Editor.js.map +1 -1
  160. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/shared/ConfirmationPopup.js +1 -1
  161. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/shared/ConfirmationPopup.js.map +1 -1
  162. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/shared/ExpandCollapseButton.js +1 -1
  163. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/shared/ExpandCollapseButton.js.map +1 -1
  164. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/shared/FormatedNumber.js +1 -1
  165. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/shared/FormatedNumber.js.map +1 -1
  166. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/shared/InputText.js +1 -1
  167. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/shared/InputText.js.map +1 -1
  168. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/shared/SaveButton.js +1 -1
  169. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/shared/SaveButton.js.map +1 -1
  170. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/shared/SelectField.js +1 -1
  171. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/shared/SelectField.js.map +1 -1
  172. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/shared/SharedEditorElements.js +1 -1
  173. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/shared/SharedEditorElements.js.map +1 -1
  174. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/shared/StaticField.js +1 -1
  175. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/shared/StaticField.js.map +1 -1
  176. package/cjs-bundle/components/Drillstring/BHAList/BHAList.js +1 -1
  177. package/cjs-bundle/components/Drillstring/BHAList/BHAList.js.map +1 -1
  178. package/cjs-bundle/components/Drillstring/BHASchematic.js +1 -1
  179. package/cjs-bundle/components/Drillstring/BHASchematic.js.map +1 -1
  180. package/cjs-bundle/components/Drillstring/BHATile/BHATile.js +1 -1
  181. package/cjs-bundle/components/Drillstring/BHATile/BHATile.js.map +1 -1
  182. package/cjs-bundle/components/Drillstring/BhaIndicator/BhaIndicator.js +1 -1
  183. package/cjs-bundle/components/Drillstring/BhaIndicator/BhaIndicator.js.map +1 -1
  184. package/cjs-bundle/components/Drillstring/DrillstringDetail/DrillstringDetail.js +1 -1
  185. package/cjs-bundle/components/Drillstring/DrillstringDetail/DrillstringDetail.js.map +1 -1
  186. package/cjs-bundle/components/EChartsWrapper/EChartsWrapper.js +1 -1
  187. package/cjs-bundle/components/EChartsWrapper/EChartsWrapper.js.map +1 -1
  188. package/cjs-bundle/components/EditableItem/EditableItem/index.js +1 -1
  189. package/cjs-bundle/components/EditableItem/EditableItem/index.js.map +1 -1
  190. package/cjs-bundle/components/EditableItem/EditableItemWithBadge/index.js +1 -1
  191. package/cjs-bundle/components/EditableItem/EditableItemWithBadge/index.js.map +1 -1
  192. package/cjs-bundle/components/EmbeddedApp/DevCenterEmbeddedApp.js +1 -1
  193. package/cjs-bundle/components/EmbeddedApp/DevCenterEmbeddedApp.js.map +1 -1
  194. package/cjs-bundle/components/EmbeddedApp/EmbeddedApp.js +1 -1
  195. package/cjs-bundle/components/EmbeddedApp/EmbeddedApp.js.map +1 -1
  196. package/cjs-bundle/components/ErrorBoundary/DevCenterAppErrorView/DevCenterAppErrorView.js +1 -1
  197. package/cjs-bundle/components/ErrorBoundary/DevCenterAppErrorView/DevCenterAppErrorView.js.map +1 -1
  198. package/cjs-bundle/components/FailedFileUploading.js +1 -1
  199. package/cjs-bundle/components/FailedFileUploading.js.map +1 -1
  200. package/cjs-bundle/components/FeedItem/FeedItem.js +1 -1
  201. package/cjs-bundle/components/FeedItem/FeedItem.js.map +1 -1
  202. package/cjs-bundle/components/FeedItem/FeedItemEditProvider/FeedItemEditModal.js +1 -1
  203. package/cjs-bundle/components/FeedItem/FeedItemEditProvider/FeedItemEditModal.js.map +1 -1
  204. package/cjs-bundle/components/FeedItem/FeedItemEditProvider/FeedItemEditProvider.js +1 -1
  205. package/cjs-bundle/components/FeedItem/FeedItemEditProvider/FeedItemEditProvider.js.map +1 -1
  206. package/cjs-bundle/components/FeedItem/components/FeedComments.js +1 -1
  207. package/cjs-bundle/components/FeedItem/components/FeedComments.js.map +1 -1
  208. package/cjs-bundle/components/FeedItem/components/LessonsLearnedLeafIcon.js +1 -1
  209. package/cjs-bundle/components/FeedItem/components/LessonsLearnedLeafIcon.js.map +1 -1
  210. package/cjs-bundle/components/FeedItem/feedItemTypes/AlertFeedItem.js +1 -1
  211. package/cjs-bundle/components/FeedItem/feedItemTypes/AlertFeedItem.js.map +1 -1
  212. package/cjs-bundle/components/FeedItem/feedItemTypes/AppAnnotationFeedItem/index.js +1 -1
  213. package/cjs-bundle/components/FeedItem/feedItemTypes/AppAnnotationFeedItem/index.js.map +1 -1
  214. package/cjs-bundle/components/FeedItem/feedItemTypes/SurveyStationFeedItem/components/AccuracyPlan.js +1 -1
  215. package/cjs-bundle/components/FeedItem/feedItemTypes/SurveyStationFeedItem/components/AccuracyPlan.js.map +1 -1
  216. package/cjs-bundle/components/FeedItem/feedItemTypes/WellPlanFeedItem/components/TargetChanges.js +1 -1
  217. package/cjs-bundle/components/FeedItem/feedItemTypes/WellPlanFeedItem/components/TargetChanges.js.map +1 -1
  218. package/cjs-bundle/components/FileTypeIcon.js +1 -1
  219. package/cjs-bundle/components/FileTypeIcon.js.map +1 -1
  220. package/cjs-bundle/components/FilesLoader/FilesLoader.js +1 -1
  221. package/cjs-bundle/components/FilesLoader/FilesLoader.js.map +1 -1
  222. package/cjs-bundle/components/FolderMenuItem/components/FolderIcon.js +1 -1
  223. package/cjs-bundle/components/FolderMenuItem/components/FolderIcon.js.map +1 -1
  224. package/cjs-bundle/components/FolderMenuItem/index.js +1 -1
  225. package/cjs-bundle/components/FolderMenuItem/index.js.map +1 -1
  226. package/cjs-bundle/components/FolderMenuItemWithLinks/index.js +1 -1
  227. package/cjs-bundle/components/FolderMenuItemWithLinks/index.js.map +1 -1
  228. package/cjs-bundle/components/Formula/RootXIcon.js +1 -1
  229. package/cjs-bundle/components/Formula/RootXIcon.js.map +1 -1
  230. package/cjs-bundle/components/GoogleDocsViewer/index.js +1 -1
  231. package/cjs-bundle/components/GoogleDocsViewer/index.js.map +1 -1
  232. package/cjs-bundle/components/IconMenu/index.js +1 -1
  233. package/cjs-bundle/components/IconMenu/index.js.map +1 -1
  234. package/cjs-bundle/components/Icons/AnnotationIcon.js +1 -1
  235. package/cjs-bundle/components/Icons/AnnotationIcon.js.map +1 -1
  236. package/cjs-bundle/components/Icons/AttachIcon.js +1 -1
  237. package/cjs-bundle/components/Icons/AttachIcon.js.map +1 -1
  238. package/cjs-bundle/components/Icons/EmojiIcon.js +1 -1
  239. package/cjs-bundle/components/Icons/EmojiIcon.js.map +1 -1
  240. package/cjs-bundle/components/Icons/RecommendationIcon.js +1 -1
  241. package/cjs-bundle/components/Icons/RecommendationIcon.js.map +1 -1
  242. package/cjs-bundle/components/Icons/SendIcon.js +1 -1
  243. package/cjs-bundle/components/Icons/SendIcon.js.map +1 -1
  244. package/cjs-bundle/components/KeyboardDateTimePicker.js +1 -1
  245. package/cjs-bundle/components/KeyboardDateTimePicker.js.map +1 -1
  246. package/cjs-bundle/components/LabelsCounter/LabelsCounter.js +1 -1
  247. package/cjs-bundle/components/LabelsCounter/LabelsCounter.js.map +1 -1
  248. package/cjs-bundle/components/LoadingIndicator/FullScreenLoadingIndicator.js +1 -1
  249. package/cjs-bundle/components/LoadingIndicator/FullScreenLoadingIndicator.js.map +1 -1
  250. package/cjs-bundle/components/LoadingIndicator/InlineLoadingIndicator.js +1 -1
  251. package/cjs-bundle/components/LoadingIndicator/InlineLoadingIndicator.js.map +1 -1
  252. package/cjs-bundle/components/LoadingIndicator/Loader.js +1 -1
  253. package/cjs-bundle/components/LoadingIndicator/Loader.js.map +1 -1
  254. package/cjs-bundle/components/MiddleTruncate/MiddleTruncate.js +1 -1
  255. package/cjs-bundle/components/MiddleTruncate/MiddleTruncate.js.map +1 -1
  256. package/cjs-bundle/components/OffsetWellButton/OffsetWellButton.js +1 -1
  257. package/cjs-bundle/components/OffsetWellButton/OffsetWellButton.js.map +1 -1
  258. package/cjs-bundle/components/OffsetWellChips/Chip.js +1 -1
  259. package/cjs-bundle/components/OffsetWellChips/Chip.js.map +1 -1
  260. package/cjs-bundle/components/OffsetWellPickerV2/OffsetWellPickerDialog.js +1 -1
  261. package/cjs-bundle/components/OffsetWellPickerV2/OffsetWellPickerDialog.js.map +1 -1
  262. package/cjs-bundle/components/OffsetWellPickerV2/components/Filter/ClearFiltersButton.js +1 -1
  263. package/cjs-bundle/components/OffsetWellPickerV2/components/Filter/ClearFiltersButton.js.map +1 -1
  264. package/cjs-bundle/components/OffsetWellPickerV2/components/Filter/MultiSelect.js +1 -1
  265. package/cjs-bundle/components/OffsetWellPickerV2/components/Filter/MultiSelect.js.map +1 -1
  266. package/cjs-bundle/components/OffsetWellPickerV2/components/Filter/NonEngineeredWellsSwitch.js +1 -1
  267. package/cjs-bundle/components/OffsetWellPickerV2/components/Filter/NonEngineeredWellsSwitch.js.map +1 -1
  268. package/cjs-bundle/components/OffsetWellPickerV2/components/Filter/RadiusInput.js +1 -1
  269. package/cjs-bundle/components/OffsetWellPickerV2/components/Filter/RadiusInput.js.map +1 -1
  270. package/cjs-bundle/components/OffsetWellPickerV2/components/Filter/SidetrackSwitch.js +1 -1
  271. package/cjs-bundle/components/OffsetWellPickerV2/components/Filter/SidetrackSwitch.js.map +1 -1
  272. package/cjs-bundle/components/OffsetWellPickerV2/components/Filter/SingleSelect.js +1 -1
  273. package/cjs-bundle/components/OffsetWellPickerV2/components/Filter/SingleSelect.js.map +1 -1
  274. package/cjs-bundle/components/OffsetWellPickerV2/components/Filter/SubjectWellSearch.js +1 -1
  275. package/cjs-bundle/components/OffsetWellPickerV2/components/Filter/SubjectWellSearch.js.map +1 -1
  276. package/cjs-bundle/components/OffsetWellPickerV2/components/Filter/ToggleMapButton.js +1 -1
  277. package/cjs-bundle/components/OffsetWellPickerV2/components/Filter/ToggleMapButton.js.map +1 -1
  278. package/cjs-bundle/components/OffsetWellPickerV2/components/Filter/index.js +1 -1
  279. package/cjs-bundle/components/OffsetWellPickerV2/components/Filter/index.js.map +1 -1
  280. package/cjs-bundle/components/OffsetWellPickerV2/components/Map/Map.js +1 -1
  281. package/cjs-bundle/components/OffsetWellPickerV2/components/Map/Map.js.map +1 -1
  282. package/cjs-bundle/components/OffsetWellPickerV2/components/Map/index.js +1 -1
  283. package/cjs-bundle/components/OffsetWellPickerV2/components/Map/index.js.map +1 -1
  284. package/cjs-bundle/components/OffsetWellPickerV2/components/Table/MetricsAddMenu.js +1 -1
  285. package/cjs-bundle/components/OffsetWellPickerV2/components/Table/MetricsAddMenu.js.map +1 -1
  286. package/cjs-bundle/components/OffsetWellPickerV2/components/Table/MetricsSelect.js +1 -1
  287. package/cjs-bundle/components/OffsetWellPickerV2/components/Table/MetricsSelect.js.map +1 -1
  288. package/cjs-bundle/components/OffsetWellPickerV2/components/Table/index.js +1 -1
  289. package/cjs-bundle/components/OffsetWellPickerV2/components/Table/index.js.map +1 -1
  290. package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/components/Filter/index.js +1 -1
  291. package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/components/Filter/index.js.map +1 -1
  292. package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/components/Map/Map.js +1 -1
  293. package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/components/Map/Map.js.map +1 -1
  294. package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/components/Map/index.js +1 -1
  295. package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/components/Map/index.js.map +1 -1
  296. package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/MetricsAddMenu.js +1 -1
  297. package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/MetricsAddMenu.js.map +1 -1
  298. package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/index.js +1 -1
  299. package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/index.js.map +1 -1
  300. package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/index.js +1 -1
  301. package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/index.js.map +1 -1
  302. package/cjs-bundle/components/OffsetWellPickerV3/components/OffsetWellSelectionView/index.js +1 -1
  303. package/cjs-bundle/components/OffsetWellPickerV3/components/OffsetWellSelectionView/index.js.map +1 -1
  304. package/cjs-bundle/components/OffsetWellPickerV3/components/TabSelection/ToggleMapButton.js +1 -1
  305. package/cjs-bundle/components/OffsetWellPickerV3/components/TabSelection/ToggleMapButton.js.map +1 -1
  306. package/cjs-bundle/components/OffsetWellPickerV3/components/TabSelection/index.js +1 -1
  307. package/cjs-bundle/components/OffsetWellPickerV3/components/TabSelection/index.js.map +1 -1
  308. package/cjs-bundle/components/OffsetWellPickerV3/components/WellHubView/index.js +1 -1
  309. package/cjs-bundle/components/OffsetWellPickerV3/components/WellHubView/index.js.map +1 -1
  310. package/cjs-bundle/components/OffsetWellPickerV3/components/shared/OffsetWellTableHead.js +1 -1
  311. package/cjs-bundle/components/OffsetWellPickerV3/components/shared/OffsetWellTableHead.js.map +1 -1
  312. package/cjs-bundle/components/OffsetWellPickerV3/index.js +1 -1
  313. package/cjs-bundle/components/OffsetWellPickerV3/index.js.map +1 -1
  314. package/cjs-bundle/components/OffsetWellPickerV5/components/Filter/components/CustomDateFields/CustomDateFields.js +1 -1
  315. package/cjs-bundle/components/OffsetWellPickerV5/components/Filter/components/CustomDateFields/CustomDateFields.js.map +1 -1
  316. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellPickerContent/OffsetWellPickerContent.js +1 -1
  317. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellPickerContent/OffsetWellPickerContent.js.map +1 -1
  318. package/cjs-bundle/components/PadOffsetsPicker/OffsetAssetChip.js +1 -1
  319. package/cjs-bundle/components/PadOffsetsPicker/OffsetAssetChip.js.map +1 -1
  320. package/cjs-bundle/components/PadOffsetsPicker/StagesSelector.js +1 -1
  321. package/cjs-bundle/components/PadOffsetsPicker/StagesSelector.js.map +1 -1
  322. package/cjs-bundle/components/PadOffsetsPickerV2/PadOffsetsPickerV2.js +1 -1
  323. package/cjs-bundle/components/PadOffsetsPickerV2/PadOffsetsPickerV2.js.map +1 -1
  324. package/cjs-bundle/components/ParameterCharts/AddEditTrack.js +1 -1
  325. package/cjs-bundle/components/ParameterCharts/AddEditTrack.js.map +1 -1
  326. package/cjs-bundle/components/ParameterCharts/ParameterCharts.js +1 -1
  327. package/cjs-bundle/components/ParameterCharts/ParameterCharts.js.map +1 -1
  328. package/cjs-bundle/components/ParameterCharts/components/TraceHeader.js +1 -1
  329. package/cjs-bundle/components/ParameterCharts/components/TraceHeader.js.map +1 -1
  330. package/cjs-bundle/components/ParameterCharts/components/TraceSelect.js +1 -1
  331. package/cjs-bundle/components/ParameterCharts/components/TraceSelect.js.map +1 -1
  332. package/cjs-bundle/components/ParameterCharts/components/Track.js +1 -1
  333. package/cjs-bundle/components/ParameterCharts/components/Track.js.map +1 -1
  334. package/cjs-bundle/components/PinnableFilters/PinnableFilters.js +1 -1
  335. package/cjs-bundle/components/PinnableFilters/PinnableFilters.js.map +1 -1
  336. package/cjs-bundle/components/Popover/Popover.js +1 -1
  337. package/cjs-bundle/components/Popover/Popover.js.map +1 -1
  338. package/cjs-bundle/components/Popper/Popper.js +1 -1
  339. package/cjs-bundle/components/Popper/Popper.js.map +1 -1
  340. package/cjs-bundle/components/PostInput/PostInput.js +1 -1
  341. package/cjs-bundle/components/PostInput/PostInput.js.map +1 -1
  342. package/cjs-bundle/components/PriceInput/FormattedNumber.js +1 -1
  343. package/cjs-bundle/components/PriceInput/FormattedNumber.js.map +1 -1
  344. package/cjs-bundle/components/PriceInput/PriceInput.js +1 -1
  345. package/cjs-bundle/components/PriceInput/PriceInput.js.map +1 -1
  346. package/cjs-bundle/components/SearchInput/index.js +1 -1
  347. package/cjs-bundle/components/SearchInput/index.js.map +1 -1
  348. package/cjs-bundle/components/SettingEditors/DropdownEditor/index.js +1 -1
  349. package/cjs-bundle/components/SettingEditors/DropdownEditor/index.js.map +1 -1
  350. package/cjs-bundle/components/SlateFormattedText/Elements/ImageElement/ImageElement.js +1 -1
  351. package/cjs-bundle/components/SlateFormattedText/Elements/ImageElement/ImageElement.js.map +1 -1
  352. package/cjs-bundle/components/SlateFormattedText/SlateFormattedText.js +1 -1
  353. package/cjs-bundle/components/SlateFormattedText/SlateFormattedText.js.map +1 -1
  354. package/cjs-bundle/components/StageDesignVActual/ComparisonBar/ComparisonBar.js +1 -1
  355. package/cjs-bundle/components/StageDesignVActual/ComparisonBar/ComparisonBar.js.map +1 -1
  356. package/cjs-bundle/components/StageDesignVActual/ComparisonHeader.js +1 -1
  357. package/cjs-bundle/components/StageDesignVActual/ComparisonHeader.js.map +1 -1
  358. package/cjs-bundle/components/StageDesignVActual/ComparisonRow.js +1 -1
  359. package/cjs-bundle/components/StageDesignVActual/ComparisonRow.js.map +1 -1
  360. package/cjs-bundle/components/StageDesignVActual/ElementsComparison/ElementsComparison.js +1 -1
  361. package/cjs-bundle/components/StageDesignVActual/ElementsComparison/ElementsComparison.js.map +1 -1
  362. package/cjs-bundle/components/SwitchControl/index.js +1 -1
  363. package/cjs-bundle/components/SwitchControl/index.js.map +1 -1
  364. package/cjs-bundle/components/Template/TemplatePopover/index.js +1 -1
  365. package/cjs-bundle/components/Template/TemplatePopover/index.js.map +1 -1
  366. package/cjs-bundle/components/Template/TemplateSharingDialog/index.js +1 -1
  367. package/cjs-bundle/components/Template/TemplateSharingDialog/index.js.map +1 -1
  368. package/cjs-bundle/components/TracesEditModal/TracesEditModal.js +1 -1
  369. package/cjs-bundle/components/TracesEditModal/TracesEditModal.js.map +1 -1
  370. package/cjs-bundle/components/UserCard/index.js +1 -1
  371. package/cjs-bundle/components/UserCard/index.js.map +1 -1
  372. package/cjs-bundle/components/UserCardPopover.js +1 -1
  373. package/cjs-bundle/components/UserCardPopover.js.map +1 -1
  374. package/cjs-bundle/components/UserMention/index.js +1 -1
  375. package/cjs-bundle/components/UserMention/index.js.map +1 -1
  376. package/cjs-bundle/components/WellSummary/ActivitySummaryChart.js +1 -1
  377. package/cjs-bundle/components/WellSummary/ActivitySummaryChart.js.map +1 -1
  378. package/cjs-bundle/components/WellSummary/FracWirelineTimeChart.js +1 -1
  379. package/cjs-bundle/components/WellSummary/FracWirelineTimeChart.js.map +1 -1
  380. package/cjs-bundle/components/WellSummary/WellSummaryItemLabel.js +1 -1
  381. package/cjs-bundle/components/WellSummary/WellSummaryItemLabel.js.map +1 -1
  382. package/cjs-bundle/componentsV2/WellArchivedMessage/WellArchivedMessage.js +1 -1
  383. package/cjs-bundle/componentsV2/WellArchivedMessage/WellArchivedMessage.js.map +1 -1
  384. package/components/AddComment/Popover.d.ts +9 -15
  385. package/components/AddComment/Popover.d.ts.map +1 -1
  386. package/components/AddComment/Popover.js +1 -1
  387. package/components/AddComment/Popover.js.map +1 -1
  388. package/components/AddComment/Popup.d.ts +8 -16
  389. package/components/AddComment/Popup.d.ts.map +1 -1
  390. package/components/AddComment/Popup.js +1 -1
  391. package/components/AddComment/Popup.js.map +1 -1
  392. package/components/AddComment/components/Content.d.ts +8 -15
  393. package/components/AddComment/components/Content.d.ts.map +1 -1
  394. package/components/AddComment/components/Content.js +1 -1
  395. package/components/AddComment/components/Content.js.map +1 -1
  396. package/components/AnchorsList/AnchorsList.d.ts +0 -4
  397. package/components/AnchorsList/AnchorsList.d.ts.map +1 -1
  398. package/components/AnchorsList/AnchorsList.js +1 -1
  399. package/components/AnchorsList/AnchorsList.js.map +1 -1
  400. package/components/Annotations/components/AnnotationsList/components/AddAnnotationForm/index.js +1 -1
  401. package/components/Annotations/components/AnnotationsList/components/AddAnnotationForm/index.js.map +1 -1
  402. package/components/Annotations/components/AnnotationsList/components/Annotation/index.js +1 -1
  403. package/components/Annotations/components/AnnotationsList/components/Annotation/index.js.map +1 -1
  404. package/components/Annotations/components/AnnotationsList/components/AnnotationInput/index.d.ts +11 -56
  405. package/components/Annotations/components/AnnotationsList/components/AnnotationInput/index.d.ts.map +1 -1
  406. package/components/Annotations/components/AnnotationsList/components/AnnotationInput/index.js +1 -1
  407. package/components/Annotations/components/AnnotationsList/components/AnnotationInput/index.js.map +1 -1
  408. package/components/Annotations/components/AnnotationsList/index.d.ts +18 -22
  409. package/components/Annotations/components/AnnotationsList/index.js +1 -1
  410. package/components/Annotations/components/AnnotationsList/index.js.map +1 -1
  411. package/components/Annotations/components/LastAnnotation/index.js +1 -1
  412. package/components/Annotations/components/LastAnnotation/index.js.map +1 -1
  413. package/components/AppVersionsSelect/AppVersionsSelect.d.ts +7 -16
  414. package/components/AppVersionsSelect/AppVersionsSelect.d.ts.map +1 -1
  415. package/components/AppVersionsSelect/AppVersionsSelect.js +1 -1
  416. package/components/AppVersionsSelect/AppVersionsSelect.js.map +1 -1
  417. package/components/AssetEditor/AssetEditorAutocomplete.d.ts +13 -96
  418. package/components/AssetEditor/AssetEditorAutocomplete.d.ts.map +1 -1
  419. package/components/AssetEditor/AssetEditorAutocomplete.js +1 -1
  420. package/components/AssetEditor/AssetEditorAutocomplete.js.map +1 -1
  421. package/components/AssetEditor/SingleAssetEditor.d.ts +2 -29
  422. package/components/AssetEditor/SingleAssetEditor.js +1 -1
  423. package/components/AssetEditor/SingleAssetEditor.js.map +1 -1
  424. package/components/AssetEditor/index.d.ts +3 -9
  425. package/components/AssetEditor/index.d.ts.map +1 -1
  426. package/components/AssetEditor/index.js +1 -1
  427. package/components/AssetEditor/index.js.map +1 -1
  428. package/components/AssetEditorV2/components/MultipleAssetsToggle.d.ts +3 -8
  429. package/components/AssetEditorV2/components/MultipleAssetsToggle.d.ts.map +1 -1
  430. package/components/AssetEditorV2/components/MultipleAssetsToggle.js +1 -1
  431. package/components/AssetEditorV2/components/MultipleAssetsToggle.js.map +1 -1
  432. package/components/AssetEditorV2/components/PrimaryAssetSelect.d.ts +8 -14
  433. package/components/AssetEditorV2/components/PrimaryAssetSelect.d.ts.map +1 -1
  434. package/components/AssetEditorV2/components/PrimaryAssetSelect.js +1 -1
  435. package/components/AssetEditorV2/components/PrimaryAssetSelect.js.map +1 -1
  436. package/components/AssetEditorV2/components/PrimaryAssetSelectV2.d.ts +8 -14
  437. package/components/AssetEditorV2/components/PrimaryAssetSelectV2.d.ts.map +1 -1
  438. package/components/AssetEditorV2/components/PrimaryAssetSelectV2.js +1 -1
  439. package/components/AssetEditorV2/components/PrimaryAssetSelectV2.js.map +1 -1
  440. package/components/AssetEditorV2/components/SecondaryAssetSelect.d.ts +0 -10
  441. package/components/AssetEditorV2/components/SecondaryAssetSelect.d.ts.map +1 -1
  442. package/components/AssetEditorV2/components/SecondaryAssetSelect.js +1 -1
  443. package/components/AssetEditorV2/components/SecondaryAssetSelect.js.map +1 -1
  444. package/components/AssetEditorV2/components/SelectItem.d.ts.map +1 -1
  445. package/components/AssetEditorV2/components/SelectItem.js +1 -1
  446. package/components/AssetEditorV2/components/SelectItem.js.map +1 -1
  447. package/components/AssetEditorV2/index.d.ts +12 -28
  448. package/components/AssetEditorV2/index.d.ts.map +1 -1
  449. package/components/AssetEditorV2/index.js +1 -1
  450. package/components/AssetEditorV2/index.js.map +1 -1
  451. package/components/Attachment/index.d.ts +2 -16
  452. package/components/Attachment/index.js +1 -1
  453. package/components/Attachment/index.js.map +1 -1
  454. package/components/BICOffsetPickerDialog/components/Map/Map.d.ts +5 -5
  455. package/components/BICOffsetPickerDialog/components/Map/Map.d.ts.map +1 -1
  456. package/components/BICOffsetPickerDialog/components/Map/Map.js +1 -1
  457. package/components/BICOffsetPickerDialog/components/Map/Map.js.map +1 -1
  458. package/components/BICOffsetPickerDialog/components/Map/index.d.ts +3 -3
  459. package/components/BICOffsetPickerDialog/components/Map/index.d.ts.map +1 -1
  460. package/components/BICOffsetPickerDialog/components/Map/index.js +1 -1
  461. package/components/BICOffsetPickerDialog/components/Map/index.js.map +1 -1
  462. package/components/BICOffsetPickerDialog/components/WellSection/NumberCircle.d.ts +4 -10
  463. package/components/BICOffsetPickerDialog/components/WellSection/NumberCircle.d.ts.map +1 -1
  464. package/components/BICOffsetPickerDialog/components/WellSection/NumberCircle.js +1 -1
  465. package/components/BICOffsetPickerDialog/components/WellSection/NumberCircle.js.map +1 -1
  466. package/components/BICOffsetPickerDialog/components/WellSection/SectionItem.d.ts +5 -5
  467. package/components/BICOffsetPickerDialog/components/WellSection/SectionItem.d.ts.map +1 -1
  468. package/components/BICOffsetPickerDialog/components/WellSection/SectionItem.js +1 -1
  469. package/components/BICOffsetPickerDialog/components/WellSection/SectionItem.js.map +1 -1
  470. package/components/BICOffsetPickerDialog/components/WellSection/index.d.ts +2 -2
  471. package/components/BICOffsetPickerDialog/components/WellSection/index.d.ts.map +1 -1
  472. package/components/BICOffsetPickerDialog/components/WellSection/index.js +1 -1
  473. package/components/BICOffsetPickerDialog/components/WellSection/index.js.map +1 -1
  474. package/components/BICOffsetPickerDialog/index.d.ts +5 -12
  475. package/components/BICOffsetPickerDialog/index.d.ts.map +1 -1
  476. package/components/BICOffsetPickerDialog/index.js +1 -1
  477. package/components/BICOffsetPickerDialog/index.js.map +1 -1
  478. package/components/Button/components/Button/index.d.ts.map +1 -1
  479. package/components/Button/components/Button/index.js +1 -1
  480. package/components/Button/components/Button/index.js.map +1 -1
  481. package/components/Casing/CasingComponentIcon.d.ts +2 -6
  482. package/components/Casing/CasingComponentIcon.d.ts.map +1 -1
  483. package/components/Casing/CasingComponentIcon.js +1 -1
  484. package/components/Casing/CasingComponentIcon.js.map +1 -1
  485. package/components/Casing/CasingTableV2/CasingTableV2.d.ts +4 -10
  486. package/components/Casing/CasingTableV2/CasingTableV2.d.ts.map +1 -1
  487. package/components/Casing/CasingTableV2/CasingTableV2.js +1 -1
  488. package/components/Casing/CasingTableV2/CasingTableV2.js.map +1 -1
  489. package/components/Casing/CasingTableV2/components/CasingJoints/Editor.d.ts +2 -2
  490. package/components/Casing/CasingTableV2/components/CasingJoints/Editor.d.ts.map +1 -1
  491. package/components/Casing/CasingTableV2/components/CasingJoints/Editor.js +1 -1
  492. package/components/Casing/CasingTableV2/components/CasingJoints/Editor.js.map +1 -1
  493. package/components/Casing/CasingTableV2/components/Component.d.ts +3 -3
  494. package/components/Casing/CasingTableV2/components/Component.d.ts.map +1 -1
  495. package/components/Casing/CasingTableV2/components/Component.js +1 -1
  496. package/components/Casing/CasingTableV2/components/Component.js.map +1 -1
  497. package/components/Casing/CasingTableV2/components/DrillPipe/Editor.d.ts +2 -2
  498. package/components/Casing/CasingTableV2/components/DrillPipe/Editor.d.ts.map +1 -1
  499. package/components/Casing/CasingTableV2/components/DrillPipe/Editor.js +1 -1
  500. package/components/Casing/CasingTableV2/components/DrillPipe/Editor.js.map +1 -1
  501. package/components/Casing/CasingTile/CasingTile.d.ts +4 -9
  502. package/components/Casing/CasingTile/CasingTile.d.ts.map +1 -1
  503. package/components/Casing/CasingTile/CasingTile.js +1 -1
  504. package/components/Casing/CasingTile/CasingTile.js.map +1 -1
  505. package/components/Chart/components/ChartWrapper.d.ts +4 -8
  506. package/components/Chart/components/ChartWrapper.d.ts.map +1 -1
  507. package/components/Chart/components/ChartWrapper.js +1 -1
  508. package/components/Chart/components/ChartWrapper.js.map +1 -1
  509. package/components/Chart/components/buttons/ChartTypeButton.d.ts +4 -9
  510. package/components/Chart/components/buttons/ChartTypeButton.d.ts.map +1 -1
  511. package/components/Chart/components/buttons/ChartTypeButton.js +1 -1
  512. package/components/Chart/components/buttons/ChartTypeButton.js.map +1 -1
  513. package/components/Chart/components/buttons/DragToZoomButton.d.ts +5 -10
  514. package/components/Chart/components/buttons/DragToZoomButton.d.ts.map +1 -1
  515. package/components/Chart/components/buttons/DragToZoomButton.js +1 -1
  516. package/components/Chart/components/buttons/DragToZoomButton.js.map +1 -1
  517. package/components/Chart/components/buttons/HideAxesButton.d.ts +4 -6
  518. package/components/Chart/components/buttons/HideAxesButton.d.ts.map +1 -1
  519. package/components/Chart/components/buttons/HideAxesButton.js +1 -1
  520. package/components/Chart/components/buttons/HideAxesButton.js.map +1 -1
  521. package/components/Chart/components/buttons/PanButton.d.ts +5 -10
  522. package/components/Chart/components/buttons/PanButton.d.ts.map +1 -1
  523. package/components/Chart/components/buttons/PanButton.js +1 -1
  524. package/components/Chart/components/buttons/PanButton.js.map +1 -1
  525. package/components/Chart/components/buttons/ResetZoomButton.d.ts +5 -11
  526. package/components/Chart/components/buttons/ResetZoomButton.d.ts.map +1 -1
  527. package/components/Chart/components/buttons/ResetZoomButton.js +1 -1
  528. package/components/Chart/components/buttons/ResetZoomButton.js.map +1 -1
  529. package/components/Chart/components/buttons/ZoomInButton.d.ts +5 -9
  530. package/components/Chart/components/buttons/ZoomInButton.d.ts.map +1 -1
  531. package/components/Chart/components/buttons/ZoomInButton.js +1 -1
  532. package/components/Chart/components/buttons/ZoomInButton.js.map +1 -1
  533. package/components/Chart/components/buttons/ZoomOutButton.d.ts +5 -9
  534. package/components/Chart/components/buttons/ZoomOutButton.d.ts.map +1 -1
  535. package/components/Chart/components/buttons/ZoomOutButton.js +1 -1
  536. package/components/Chart/components/buttons/ZoomOutButton.js.map +1 -1
  537. package/components/CollapsableSidebar.d.ts +8 -33
  538. package/components/CollapsableSidebar.d.ts.map +1 -1
  539. package/components/CollapsableSidebar.js +1 -1
  540. package/components/CollapsableSidebar.js.map +1 -1
  541. package/components/CollapsibleContent.d.ts +1 -4
  542. package/components/CollapsibleContent.d.ts.map +1 -1
  543. package/components/CollapsibleContent.js +1 -1
  544. package/components/CollapsibleContent.js.map +1 -1
  545. package/components/ColorPicker/PaletteChromePicker/Palette/Palette.js +1 -1
  546. package/components/ColorPicker/PaletteChromePicker/Palette/Palette.js.map +1 -1
  547. package/components/CommentWrapper.d.ts +12 -16
  548. package/components/CommentWrapper.js +1 -1
  549. package/components/CommentWrapper.js.map +1 -1
  550. package/components/CommentsInfo/index.d.ts +23 -30
  551. package/components/CommentsInfo/index.d.ts.map +1 -1
  552. package/components/CommentsInfo/index.js +1 -1
  553. package/components/CommentsInfo/index.js.map +1 -1
  554. package/components/CustomSelect/index.d.ts +3 -6
  555. package/components/CustomSelect/index.d.ts.map +1 -1
  556. package/components/CustomSelect/index.js +1 -1
  557. package/components/CustomSelect/index.js.map +1 -1
  558. package/components/DatePicker/index.d.ts +1 -5
  559. package/components/DatePicker/index.d.ts.map +1 -1
  560. package/components/DatePicker/index.js +1 -1
  561. package/components/DatePicker/index.js.map +1 -1
  562. package/components/DateTimePicker/index.d.ts +0 -5
  563. package/components/DateTimePicker/index.d.ts.map +1 -1
  564. package/components/DateTimePicker/index.js +1 -1
  565. package/components/DateTimePicker/index.js.map +1 -1
  566. package/components/DevCenter/AppHeader/AppHeader.d.ts +18 -40
  567. package/components/DevCenter/AppHeader/AppHeader.d.ts.map +1 -1
  568. package/components/DevCenter/AppHeader/AppHeader.js +1 -1
  569. package/components/DevCenter/AppHeader/AppHeader.js.map +1 -1
  570. package/components/DevCenter/AppHeader/PadMode.d.ts +4 -14
  571. package/components/DevCenter/AppHeader/PadMode.d.ts.map +1 -1
  572. package/components/DevCenter/AppHeader/PadMode.js +1 -1
  573. package/components/DevCenter/AppHeader/PadMode.js.map +1 -1
  574. package/components/DevCenter/AppsDataProvider/AppsDataProvider.d.ts +1 -5
  575. package/components/DevCenter/AppsDataProvider/AppsDataProvider.d.ts.map +1 -1
  576. package/components/DevCenter/AppsDataProvider/AppsDataProvider.js +1 -1
  577. package/components/DevCenter/AppsDataProvider/AppsDataProvider.js.map +1 -1
  578. package/components/DevCenter/DevCenterAppContainer/components/AppInfoMessage/AppInfoMessage.d.ts +3 -8
  579. package/components/DevCenter/DevCenterAppContainer/components/AppInfoMessage/AppInfoMessage.d.ts.map +1 -1
  580. package/components/DevCenter/DevCenterAppContainer/components/AppInfoMessage/AppInfoMessage.js.map +1 -1
  581. package/components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/AppSettingsDialog.d.ts +5 -11
  582. package/components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/AppSettingsDialog.d.ts.map +1 -1
  583. package/components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/AppSettingsDialog.js +1 -1
  584. package/components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/AppSettingsDialog.js.map +1 -1
  585. package/components/DevCenter/DevCenterAppContainer/components/DevCenterAppView/DevCenterAppView.d.ts +1 -9
  586. package/components/DevCenter/DevCenterAppContainer/components/DevCenterAppView/DevCenterAppView.d.ts.map +1 -1
  587. package/components/DevCenter/DevCenterAppContainer/components/DevCenterAppView/DevCenterAppView.js +1 -1
  588. package/components/DevCenter/DevCenterAppContainer/components/DevCenterAppView/DevCenterAppView.js.map +1 -1
  589. package/components/DevCenter/DevCenterRouterContext/UniversalLink/UniversalLink.d.ts +1 -13
  590. package/components/DevCenter/DevCenterRouterContext/UniversalLink/UniversalLink.d.ts.map +1 -1
  591. package/components/DevCenter/DevCenterRouterContext/UniversalLink/UniversalLink.js +1 -1
  592. package/components/DevCenter/DevCenterRouterContext/UniversalLink/UniversalLink.js.map +1 -1
  593. package/components/DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedApp.d.ts.map +1 -1
  594. package/components/DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedApp.js +1 -1
  595. package/components/DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedApp.js.map +1 -1
  596. package/components/DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedAppPage.d.ts +3 -8
  597. package/components/DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedAppPage.d.ts.map +1 -1
  598. package/components/DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedAppPage.js +1 -1
  599. package/components/DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedAppPage.js.map +1 -1
  600. package/components/DevCenter/NavigationBar/NavigationBar.d.ts +5 -13
  601. package/components/DevCenter/NavigationBar/NavigationBar.d.ts.map +1 -1
  602. package/components/DevCenter/NavigationBar/NavigationBar.js +1 -1
  603. package/components/DevCenter/NavigationBar/NavigationBar.js.map +1 -1
  604. package/components/DevCenter/SideBar/SideBar.d.ts +11 -35
  605. package/components/DevCenter/SideBar/SideBar.d.ts.map +1 -1
  606. package/components/DevCenter/SideBar/SideBar.js +1 -1
  607. package/components/DevCenter/SideBar/SideBar.js.map +1 -1
  608. package/components/DevCenter/icons/CorvaLogoSmall.d.ts +3 -8
  609. package/components/DevCenter/icons/CorvaLogoSmall.d.ts.map +1 -1
  610. package/components/DevCenter/icons/DevCenterIcon.d.ts +3 -8
  611. package/components/DevCenter/icons/DevCenterIcon.d.ts.map +1 -1
  612. package/components/DocumentViewer/DocumentViewer.d.ts +1 -6
  613. package/components/DocumentViewer/DocumentViewer.d.ts.map +1 -1
  614. package/components/DocumentViewer/DocumentViewer.js +1 -1
  615. package/components/DocumentViewer/DocumentViewer.js.map +1 -1
  616. package/components/Drillstring/BHAComponentIcon.d.ts +2 -6
  617. package/components/Drillstring/BHAComponentIcon.d.ts.map +1 -1
  618. package/components/Drillstring/BHAComponentIcon.js +1 -1
  619. package/components/Drillstring/BHAComponentIcon.js.map +1 -1
  620. package/components/Drillstring/BHAComponentsTable/BHAComponentsTable.d.ts +4 -10
  621. package/components/Drillstring/BHAComponentsTable/BHAComponentsTable.d.ts.map +1 -1
  622. package/components/Drillstring/BHAComponentsTable/BHAComponentsTable.js +1 -1
  623. package/components/Drillstring/BHAComponentsTable/BHAComponentsTable.js.map +1 -1
  624. package/components/Drillstring/BHAComponentsTable/components/Agitator/Editor.d.ts +1 -1
  625. package/components/Drillstring/BHAComponentsTable/components/Agitator/Editor.d.ts.map +1 -1
  626. package/components/Drillstring/BHAComponentsTable/components/Agitator/Editor.js +1 -1
  627. package/components/Drillstring/BHAComponentsTable/components/Agitator/Editor.js.map +1 -1
  628. package/components/Drillstring/BHAComponentsTable/components/Bit/Editor.d.ts +1 -1
  629. package/components/Drillstring/BHAComponentsTable/components/Bit/Editor.d.ts.map +1 -1
  630. package/components/Drillstring/BHAComponentsTable/components/Bit/Editor.js +1 -1
  631. package/components/Drillstring/BHAComponentsTable/components/Bit/Editor.js.map +1 -1
  632. package/components/Drillstring/BHAComponentsTable/components/Component.d.ts +3 -3
  633. package/components/Drillstring/BHAComponentsTable/components/Component.d.ts.map +1 -1
  634. package/components/Drillstring/BHAComponentsTable/components/Component.js +1 -1
  635. package/components/Drillstring/BHAComponentsTable/components/Component.js.map +1 -1
  636. package/components/Drillstring/BHAComponentsTable/components/DrillCollar/Editor.d.ts +1 -1
  637. package/components/Drillstring/BHAComponentsTable/components/DrillCollar/Editor.d.ts.map +1 -1
  638. package/components/Drillstring/BHAComponentsTable/components/DrillCollar/Editor.js +1 -1
  639. package/components/Drillstring/BHAComponentsTable/components/DrillCollar/Editor.js.map +1 -1
  640. package/components/Drillstring/BHAComponentsTable/components/DrillPipe/Editor.d.ts +2 -2
  641. package/components/Drillstring/BHAComponentsTable/components/DrillPipe/Editor.d.ts.map +1 -1
  642. package/components/Drillstring/BHAComponentsTable/components/DrillPipe/Editor.js +1 -1
  643. package/components/Drillstring/BHAComponentsTable/components/DrillPipe/Editor.js.map +1 -1
  644. package/components/Drillstring/BHAComponentsTable/components/Jar/Editor.d.ts +1 -1
  645. package/components/Drillstring/BHAComponentsTable/components/Jar/Editor.d.ts.map +1 -1
  646. package/components/Drillstring/BHAComponentsTable/components/Jar/Editor.js +1 -1
  647. package/components/Drillstring/BHAComponentsTable/components/Jar/Editor.js.map +1 -1
  648. package/components/Drillstring/BHAComponentsTable/components/Lwd/Editor.d.ts +1 -1
  649. package/components/Drillstring/BHAComponentsTable/components/Lwd/Editor.d.ts.map +1 -1
  650. package/components/Drillstring/BHAComponentsTable/components/Lwd/Editor.js +1 -1
  651. package/components/Drillstring/BHAComponentsTable/components/Lwd/Editor.js.map +1 -1
  652. package/components/Drillstring/BHAComponentsTable/components/Lwd/Measurement.d.ts +4 -4
  653. package/components/Drillstring/BHAComponentsTable/components/Lwd/Measurement.d.ts.map +1 -1
  654. package/components/Drillstring/BHAComponentsTable/components/Lwd/Measurement.js +1 -1
  655. package/components/Drillstring/BHAComponentsTable/components/Lwd/Measurement.js.map +1 -1
  656. package/components/Drillstring/BHAComponentsTable/components/Mwd/Editor.d.ts +1 -1
  657. package/components/Drillstring/BHAComponentsTable/components/Mwd/Editor.d.ts.map +1 -1
  658. package/components/Drillstring/BHAComponentsTable/components/Mwd/Editor.js +1 -1
  659. package/components/Drillstring/BHAComponentsTable/components/Mwd/Editor.js.map +1 -1
  660. package/components/Drillstring/BHAComponentsTable/components/NozzleSize/index.d.ts +4 -4
  661. package/components/Drillstring/BHAComponentsTable/components/NozzleSize/index.d.ts.map +1 -1
  662. package/components/Drillstring/BHAComponentsTable/components/NozzleSize/index.js +1 -1
  663. package/components/Drillstring/BHAComponentsTable/components/NozzleSize/index.js.map +1 -1
  664. package/components/Drillstring/BHAComponentsTable/components/Pdm/Editor.d.ts +1 -1
  665. package/components/Drillstring/BHAComponentsTable/components/Pdm/Editor.d.ts.map +1 -1
  666. package/components/Drillstring/BHAComponentsTable/components/Pdm/Editor.js +1 -1
  667. package/components/Drillstring/BHAComponentsTable/components/Pdm/Editor.js.map +1 -1
  668. package/components/Drillstring/BHAComponentsTable/components/PressureLoss/index.d.ts +5 -5
  669. package/components/Drillstring/BHAComponentsTable/components/PressureLoss/index.d.ts.map +1 -1
  670. package/components/Drillstring/BHAComponentsTable/components/PressureLoss/index.js +1 -1
  671. package/components/Drillstring/BHAComponentsTable/components/PressureLoss/index.js.map +1 -1
  672. package/components/Drillstring/BHAComponentsTable/components/Rss/Editor.d.ts +1 -1
  673. package/components/Drillstring/BHAComponentsTable/components/Rss/Editor.d.ts.map +1 -1
  674. package/components/Drillstring/BHAComponentsTable/components/Rss/Editor.js +1 -1
  675. package/components/Drillstring/BHAComponentsTable/components/Rss/Editor.js.map +1 -1
  676. package/components/Drillstring/BHAComponentsTable/components/Stabilizer/Editor.d.ts +1 -1
  677. package/components/Drillstring/BHAComponentsTable/components/Stabilizer/Editor.d.ts.map +1 -1
  678. package/components/Drillstring/BHAComponentsTable/components/Stabilizer/Editor.js +1 -1
  679. package/components/Drillstring/BHAComponentsTable/components/Stabilizer/Editor.js.map +1 -1
  680. package/components/Drillstring/BHAComponentsTable/components/Sub/Editor.d.ts +1 -1
  681. package/components/Drillstring/BHAComponentsTable/components/Sub/Editor.d.ts.map +1 -1
  682. package/components/Drillstring/BHAComponentsTable/components/Sub/Editor.js +1 -1
  683. package/components/Drillstring/BHAComponentsTable/components/Sub/Editor.js.map +1 -1
  684. package/components/Drillstring/BHAComponentsTable/components/Suggestions/Suggestions.d.ts +2 -2
  685. package/components/Drillstring/BHAComponentsTable/components/Suggestions/Suggestions.d.ts.map +1 -1
  686. package/components/Drillstring/BHAComponentsTable/components/Suggestions/Suggestions.js +1 -1
  687. package/components/Drillstring/BHAComponentsTable/components/Suggestions/Suggestions.js.map +1 -1
  688. package/components/Drillstring/BHAComponentsTable/components/Ur/Editor.d.ts +1 -1
  689. package/components/Drillstring/BHAComponentsTable/components/Ur/Editor.d.ts.map +1 -1
  690. package/components/Drillstring/BHAComponentsTable/components/Ur/Editor.js +1 -1
  691. package/components/Drillstring/BHAComponentsTable/components/Ur/Editor.js.map +1 -1
  692. package/components/Drillstring/BHAComponentsTable/components/shared/ConfirmationPopup.js +1 -1
  693. package/components/Drillstring/BHAComponentsTable/components/shared/ConfirmationPopup.js.map +1 -1
  694. package/components/Drillstring/BHAComponentsTable/components/shared/ExpandCollapseButton.d.ts +1 -4
  695. package/components/Drillstring/BHAComponentsTable/components/shared/ExpandCollapseButton.d.ts.map +1 -1
  696. package/components/Drillstring/BHAComponentsTable/components/shared/ExpandCollapseButton.js +1 -1
  697. package/components/Drillstring/BHAComponentsTable/components/shared/ExpandCollapseButton.js.map +1 -1
  698. package/components/Drillstring/BHAComponentsTable/components/shared/FormatedNumber.d.ts +3 -8
  699. package/components/Drillstring/BHAComponentsTable/components/shared/FormatedNumber.d.ts.map +1 -1
  700. package/components/Drillstring/BHAComponentsTable/components/shared/FormatedNumber.js +1 -1
  701. package/components/Drillstring/BHAComponentsTable/components/shared/FormatedNumber.js.map +1 -1
  702. package/components/Drillstring/BHAComponentsTable/components/shared/InputText.d.ts +4 -10
  703. package/components/Drillstring/BHAComponentsTable/components/shared/InputText.d.ts.map +1 -1
  704. package/components/Drillstring/BHAComponentsTable/components/shared/InputText.js +1 -1
  705. package/components/Drillstring/BHAComponentsTable/components/shared/InputText.js.map +1 -1
  706. package/components/Drillstring/BHAComponentsTable/components/shared/SaveButton.d.ts +1 -4
  707. package/components/Drillstring/BHAComponentsTable/components/shared/SaveButton.d.ts.map +1 -1
  708. package/components/Drillstring/BHAComponentsTable/components/shared/SaveButton.js +1 -1
  709. package/components/Drillstring/BHAComponentsTable/components/shared/SaveButton.js.map +1 -1
  710. package/components/Drillstring/BHAComponentsTable/components/shared/SelectField.d.ts +3 -8
  711. package/components/Drillstring/BHAComponentsTable/components/shared/SelectField.d.ts.map +1 -1
  712. package/components/Drillstring/BHAComponentsTable/components/shared/SelectField.js +1 -1
  713. package/components/Drillstring/BHAComponentsTable/components/shared/SelectField.js.map +1 -1
  714. package/components/Drillstring/BHAComponentsTable/components/shared/SharedEditorElements.d.ts +1 -4
  715. package/components/Drillstring/BHAComponentsTable/components/shared/SharedEditorElements.d.ts.map +1 -1
  716. package/components/Drillstring/BHAComponentsTable/components/shared/SharedEditorElements.js +1 -1
  717. package/components/Drillstring/BHAComponentsTable/components/shared/SharedEditorElements.js.map +1 -1
  718. package/components/Drillstring/BHAComponentsTable/components/shared/StaticField.d.ts +5 -11
  719. package/components/Drillstring/BHAComponentsTable/components/shared/StaticField.d.ts.map +1 -1
  720. package/components/Drillstring/BHAComponentsTable/components/shared/StaticField.js +1 -1
  721. package/components/Drillstring/BHAComponentsTable/components/shared/StaticField.js.map +1 -1
  722. package/components/Drillstring/BHAList/BHAList.d.ts +5 -12
  723. package/components/Drillstring/BHAList/BHAList.d.ts.map +1 -1
  724. package/components/Drillstring/BHAList/BHAList.js +1 -1
  725. package/components/Drillstring/BHAList/BHAList.js.map +1 -1
  726. package/components/Drillstring/BHASchematic.d.ts +2 -6
  727. package/components/Drillstring/BHASchematic.d.ts.map +1 -1
  728. package/components/Drillstring/BHASchematic.js +1 -1
  729. package/components/Drillstring/BHASchematic.js.map +1 -1
  730. package/components/Drillstring/BHATile/BHATile.d.ts +6 -13
  731. package/components/Drillstring/BHATile/BHATile.d.ts.map +1 -1
  732. package/components/Drillstring/BHATile/BHATile.js +1 -1
  733. package/components/Drillstring/BHATile/BHATile.js.map +1 -1
  734. package/components/Drillstring/BhaIndicator/BhaIndicator.d.ts +1 -4
  735. package/components/Drillstring/BhaIndicator/BhaIndicator.d.ts.map +1 -1
  736. package/components/Drillstring/BhaIndicator/BhaIndicator.js +1 -1
  737. package/components/Drillstring/BhaIndicator/BhaIndicator.js.map +1 -1
  738. package/components/Drillstring/DrillstringDetail/DrillstringDetail.d.ts +0 -3
  739. package/components/Drillstring/DrillstringDetail/DrillstringDetail.d.ts.map +1 -1
  740. package/components/Drillstring/DrillstringDetail/DrillstringDetail.js +1 -1
  741. package/components/Drillstring/DrillstringDetail/DrillstringDetail.js.map +1 -1
  742. package/components/EChartsWrapper/EChartsWrapper.d.ts.map +1 -1
  743. package/components/EChartsWrapper/EChartsWrapper.js +1 -1
  744. package/components/EChartsWrapper/EChartsWrapper.js.map +1 -1
  745. package/components/EditableItem/EditableItem/index.d.ts +0 -8
  746. package/components/EditableItem/EditableItem/index.d.ts.map +1 -1
  747. package/components/EditableItem/EditableItem/index.js +1 -1
  748. package/components/EditableItem/EditableItem/index.js.map +1 -1
  749. package/components/EditableItem/EditableItemWithBadge/index.d.ts +4 -4
  750. package/components/EditableItem/EditableItemWithBadge/index.d.ts.map +1 -1
  751. package/components/EditableItem/EditableItemWithBadge/index.js +1 -1
  752. package/components/EditableItem/EditableItemWithBadge/index.js.map +1 -1
  753. package/components/EmbeddedApp/DevCenterEmbeddedApp.d.ts +3 -10
  754. package/components/EmbeddedApp/DevCenterEmbeddedApp.d.ts.map +1 -1
  755. package/components/EmbeddedApp/DevCenterEmbeddedApp.js +1 -1
  756. package/components/EmbeddedApp/DevCenterEmbeddedApp.js.map +1 -1
  757. package/components/EmbeddedApp/EmbeddedApp.d.ts +1 -20
  758. package/components/EmbeddedApp/EmbeddedApp.d.ts.map +1 -1
  759. package/components/EmbeddedApp/EmbeddedApp.js +1 -1
  760. package/components/EmbeddedApp/EmbeddedApp.js.map +1 -1
  761. package/components/ErrorBoundary/DevCenterAppErrorView/DevCenterAppErrorView.d.ts +0 -3
  762. package/components/ErrorBoundary/DevCenterAppErrorView/DevCenterAppErrorView.d.ts.map +1 -1
  763. package/components/ErrorBoundary/DevCenterAppErrorView/DevCenterAppErrorView.js +1 -1
  764. package/components/ErrorBoundary/DevCenterAppErrorView/DevCenterAppErrorView.js.map +1 -1
  765. package/components/FailedFileUploading.d.ts +2 -5
  766. package/components/FailedFileUploading.js +1 -1
  767. package/components/FailedFileUploading.js.map +1 -1
  768. package/components/FeedItem/FeedItem.js +1 -1
  769. package/components/FeedItem/FeedItem.js.map +1 -1
  770. package/components/FeedItem/FeedItemEditProvider/FeedItemEditModal.d.ts +0 -5
  771. package/components/FeedItem/FeedItemEditProvider/FeedItemEditModal.d.ts.map +1 -1
  772. package/components/FeedItem/FeedItemEditProvider/FeedItemEditModal.js +1 -1
  773. package/components/FeedItem/FeedItemEditProvider/FeedItemEditModal.js.map +1 -1
  774. package/components/FeedItem/FeedItemEditProvider/FeedItemEditProvider.d.ts +5 -10
  775. package/components/FeedItem/FeedItemEditProvider/FeedItemEditProvider.d.ts.map +1 -1
  776. package/components/FeedItem/FeedItemEditProvider/FeedItemEditProvider.js +1 -1
  777. package/components/FeedItem/FeedItemEditProvider/FeedItemEditProvider.js.map +1 -1
  778. package/components/FeedItem/components/FeedComments.js +1 -1
  779. package/components/FeedItem/components/FeedComments.js.map +1 -1
  780. package/components/FeedItem/components/LessonsLearnedLeafIcon.d.ts +2 -6
  781. package/components/FeedItem/components/LessonsLearnedLeafIcon.d.ts.map +1 -1
  782. package/components/FeedItem/components/LessonsLearnedLeafIcon.js +1 -1
  783. package/components/FeedItem/components/LessonsLearnedLeafIcon.js.map +1 -1
  784. package/components/FeedItem/feedItemTypes/AlertFeedItem.d.ts +0 -3
  785. package/components/FeedItem/feedItemTypes/AlertFeedItem.d.ts.map +1 -1
  786. package/components/FeedItem/feedItemTypes/AlertFeedItem.js +1 -1
  787. package/components/FeedItem/feedItemTypes/AlertFeedItem.js.map +1 -1
  788. package/components/FeedItem/feedItemTypes/AppAnnotationFeedItem/index.d.ts +0 -3
  789. package/components/FeedItem/feedItemTypes/AppAnnotationFeedItem/index.d.ts.map +1 -1
  790. package/components/FeedItem/feedItemTypes/AppAnnotationFeedItem/index.js +1 -1
  791. package/components/FeedItem/feedItemTypes/AppAnnotationFeedItem/index.js.map +1 -1
  792. package/components/FeedItem/feedItemTypes/SurveyStationFeedItem/components/AccuracyPlan.d.ts +4 -9
  793. package/components/FeedItem/feedItemTypes/SurveyStationFeedItem/components/AccuracyPlan.d.ts.map +1 -1
  794. package/components/FeedItem/feedItemTypes/SurveyStationFeedItem/components/AccuracyPlan.js +1 -1
  795. package/components/FeedItem/feedItemTypes/SurveyStationFeedItem/components/AccuracyPlan.js.map +1 -1
  796. package/components/FeedItem/feedItemTypes/WellPlanFeedItem/components/TargetChanges.d.ts +1 -4
  797. package/components/FeedItem/feedItemTypes/WellPlanFeedItem/components/TargetChanges.d.ts.map +1 -1
  798. package/components/FeedItem/feedItemTypes/WellPlanFeedItem/components/TargetChanges.js +1 -1
  799. package/components/FeedItem/feedItemTypes/WellPlanFeedItem/components/TargetChanges.js.map +1 -1
  800. package/components/FileTypeIcon.d.ts +1 -5
  801. package/components/FileTypeIcon.d.ts.map +1 -1
  802. package/components/FileTypeIcon.js +1 -1
  803. package/components/FileTypeIcon.js.map +1 -1
  804. package/components/FilesLoader/FilesLoader.d.ts +0 -16
  805. package/components/FilesLoader/FilesLoader.d.ts.map +1 -1
  806. package/components/FilesLoader/FilesLoader.js +1 -1
  807. package/components/FilesLoader/FilesLoader.js.map +1 -1
  808. package/components/FolderMenuItem/components/FolderIcon.d.ts +2 -6
  809. package/components/FolderMenuItem/components/FolderIcon.d.ts.map +1 -1
  810. package/components/FolderMenuItem/components/FolderIcon.js +1 -1
  811. package/components/FolderMenuItem/components/FolderIcon.js.map +1 -1
  812. package/components/FolderMenuItem/index.d.ts +3 -8
  813. package/components/FolderMenuItem/index.d.ts.map +1 -1
  814. package/components/FolderMenuItem/index.js +1 -1
  815. package/components/FolderMenuItem/index.js.map +1 -1
  816. package/components/FolderMenuItemWithLinks/index.d.ts +5 -10
  817. package/components/FolderMenuItemWithLinks/index.d.ts.map +1 -1
  818. package/components/FolderMenuItemWithLinks/index.js +1 -1
  819. package/components/FolderMenuItemWithLinks/index.js.map +1 -1
  820. package/components/Formula/RootXIcon.d.ts +1 -4
  821. package/components/Formula/RootXIcon.d.ts.map +1 -1
  822. package/components/Formula/RootXIcon.js +1 -1
  823. package/components/Formula/RootXIcon.js.map +1 -1
  824. package/components/GoogleDocsViewer/index.d.ts +2 -8
  825. package/components/GoogleDocsViewer/index.d.ts.map +1 -1
  826. package/components/GoogleDocsViewer/index.js +1 -1
  827. package/components/GoogleDocsViewer/index.js.map +1 -1
  828. package/components/IconMenu/index.d.ts +21 -67
  829. package/components/IconMenu/index.d.ts.map +1 -1
  830. package/components/IconMenu/index.js +1 -1
  831. package/components/IconMenu/index.js.map +1 -1
  832. package/components/Icons/AnnotationIcon.d.ts +2 -6
  833. package/components/Icons/AnnotationIcon.d.ts.map +1 -1
  834. package/components/Icons/AnnotationIcon.js +1 -1
  835. package/components/Icons/AnnotationIcon.js.map +1 -1
  836. package/components/Icons/AttachIcon.d.ts +2 -6
  837. package/components/Icons/AttachIcon.d.ts.map +1 -1
  838. package/components/Icons/AttachIcon.js +1 -1
  839. package/components/Icons/AttachIcon.js.map +1 -1
  840. package/components/Icons/EmojiIcon.d.ts +2 -6
  841. package/components/Icons/EmojiIcon.d.ts.map +1 -1
  842. package/components/Icons/EmojiIcon.js +1 -1
  843. package/components/Icons/EmojiIcon.js.map +1 -1
  844. package/components/Icons/RecommendationIcon.d.ts +2 -6
  845. package/components/Icons/RecommendationIcon.d.ts.map +1 -1
  846. package/components/Icons/RecommendationIcon.js +1 -1
  847. package/components/Icons/RecommendationIcon.js.map +1 -1
  848. package/components/Icons/SendIcon.d.ts +2 -6
  849. package/components/Icons/SendIcon.d.ts.map +1 -1
  850. package/components/Icons/SendIcon.js +1 -1
  851. package/components/Icons/SendIcon.js.map +1 -1
  852. package/components/KeyboardDateTimePicker.d.ts +7 -6
  853. package/components/KeyboardDateTimePicker.d.ts.map +1 -1
  854. package/components/KeyboardDateTimePicker.js +1 -1
  855. package/components/KeyboardDateTimePicker.js.map +1 -1
  856. package/components/LabelsCounter/LabelsCounter.d.ts +1 -4
  857. package/components/LabelsCounter/LabelsCounter.d.ts.map +1 -1
  858. package/components/LabelsCounter/LabelsCounter.js +1 -1
  859. package/components/LabelsCounter/LabelsCounter.js.map +1 -1
  860. package/components/LoadingIndicator/FullScreenLoadingIndicator.d.ts +1 -6
  861. package/components/LoadingIndicator/FullScreenLoadingIndicator.d.ts.map +1 -1
  862. package/components/LoadingIndicator/FullScreenLoadingIndicator.js +1 -1
  863. package/components/LoadingIndicator/FullScreenLoadingIndicator.js.map +1 -1
  864. package/components/LoadingIndicator/InlineLoadingIndicator.d.ts +1 -6
  865. package/components/LoadingIndicator/InlineLoadingIndicator.d.ts.map +1 -1
  866. package/components/LoadingIndicator/InlineLoadingIndicator.js +1 -1
  867. package/components/LoadingIndicator/InlineLoadingIndicator.js.map +1 -1
  868. package/components/LoadingIndicator/Loader.d.ts +0 -4
  869. package/components/LoadingIndicator/Loader.d.ts.map +1 -1
  870. package/components/LoadingIndicator/Loader.js +1 -1
  871. package/components/LoadingIndicator/Loader.js.map +1 -1
  872. package/components/MiddleTruncate/MiddleTruncate.d.ts +1 -13
  873. package/components/MiddleTruncate/MiddleTruncate.d.ts.map +1 -1
  874. package/components/MiddleTruncate/MiddleTruncate.js +1 -1
  875. package/components/MiddleTruncate/MiddleTruncate.js.map +1 -1
  876. package/components/OffsetWellButton/OffsetWellButton.d.ts +1 -10
  877. package/components/OffsetWellButton/OffsetWellButton.d.ts.map +1 -1
  878. package/components/OffsetWellButton/OffsetWellButton.js +1 -1
  879. package/components/OffsetWellButton/OffsetWellButton.js.map +1 -1
  880. package/components/OffsetWellChips/Chip.d.ts +1 -11
  881. package/components/OffsetWellChips/Chip.d.ts.map +1 -1
  882. package/components/OffsetWellChips/Chip.js +1 -1
  883. package/components/OffsetWellChips/Chip.js.map +1 -1
  884. package/components/OffsetWellChips/types.d.ts +4 -4
  885. package/components/OffsetWellChips/types.d.ts.map +1 -1
  886. package/components/OffsetWellPickerV2/OffsetWellPickerDialog.d.ts +7 -16
  887. package/components/OffsetWellPickerV2/OffsetWellPickerDialog.d.ts.map +1 -1
  888. package/components/OffsetWellPickerV2/OffsetWellPickerDialog.js +1 -1
  889. package/components/OffsetWellPickerV2/OffsetWellPickerDialog.js.map +1 -1
  890. package/components/OffsetWellPickerV2/components/Filter/ClearFiltersButton.d.ts +1 -4
  891. package/components/OffsetWellPickerV2/components/Filter/ClearFiltersButton.d.ts.map +1 -1
  892. package/components/OffsetWellPickerV2/components/Filter/ClearFiltersButton.js +1 -1
  893. package/components/OffsetWellPickerV2/components/Filter/ClearFiltersButton.js.map +1 -1
  894. package/components/OffsetWellPickerV2/components/Filter/MultiSelect.d.ts +1 -4
  895. package/components/OffsetWellPickerV2/components/Filter/MultiSelect.d.ts.map +1 -1
  896. package/components/OffsetWellPickerV2/components/Filter/MultiSelect.js +1 -1
  897. package/components/OffsetWellPickerV2/components/Filter/MultiSelect.js.map +1 -1
  898. package/components/OffsetWellPickerV2/components/Filter/NonEngineeredWellsSwitch.d.ts +10 -12
  899. package/components/OffsetWellPickerV2/components/Filter/NonEngineeredWellsSwitch.js +1 -1
  900. package/components/OffsetWellPickerV2/components/Filter/NonEngineeredWellsSwitch.js.map +1 -1
  901. package/components/OffsetWellPickerV2/components/Filter/RadiusInput.d.ts +11 -13
  902. package/components/OffsetWellPickerV2/components/Filter/RadiusInput.js +1 -1
  903. package/components/OffsetWellPickerV2/components/Filter/RadiusInput.js.map +1 -1
  904. package/components/OffsetWellPickerV2/components/Filter/SidetrackSwitch.d.ts +10 -12
  905. package/components/OffsetWellPickerV2/components/Filter/SidetrackSwitch.js +1 -1
  906. package/components/OffsetWellPickerV2/components/Filter/SidetrackSwitch.js.map +1 -1
  907. package/components/OffsetWellPickerV2/components/Filter/SingleSelect.d.ts +3 -7
  908. package/components/OffsetWellPickerV2/components/Filter/SingleSelect.d.ts.map +1 -1
  909. package/components/OffsetWellPickerV2/components/Filter/SingleSelect.js +1 -1
  910. package/components/OffsetWellPickerV2/components/Filter/SingleSelect.js.map +1 -1
  911. package/components/OffsetWellPickerV2/components/Filter/SubjectWellSearch.d.ts +1 -1
  912. package/components/OffsetWellPickerV2/components/Filter/SubjectWellSearch.d.ts.map +1 -1
  913. package/components/OffsetWellPickerV2/components/Filter/SubjectWellSearch.js +1 -1
  914. package/components/OffsetWellPickerV2/components/Filter/SubjectWellSearch.js.map +1 -1
  915. package/components/OffsetWellPickerV2/components/Filter/ToggleMapButton.js +1 -1
  916. package/components/OffsetWellPickerV2/components/Filter/ToggleMapButton.js.map +1 -1
  917. package/components/OffsetWellPickerV2/components/Filter/index.d.ts +1 -1
  918. package/components/OffsetWellPickerV2/components/Filter/index.d.ts.map +1 -1
  919. package/components/OffsetWellPickerV2/components/Filter/index.js +1 -1
  920. package/components/OffsetWellPickerV2/components/Filter/index.js.map +1 -1
  921. package/components/OffsetWellPickerV2/components/Map/Map.d.ts +6 -6
  922. package/components/OffsetWellPickerV2/components/Map/Map.d.ts.map +1 -1
  923. package/components/OffsetWellPickerV2/components/Map/Map.js +1 -1
  924. package/components/OffsetWellPickerV2/components/Map/Map.js.map +1 -1
  925. package/components/OffsetWellPickerV2/components/Map/index.d.ts +2 -2
  926. package/components/OffsetWellPickerV2/components/Map/index.d.ts.map +1 -1
  927. package/components/OffsetWellPickerV2/components/Map/index.js +1 -1
  928. package/components/OffsetWellPickerV2/components/Map/index.js.map +1 -1
  929. package/components/OffsetWellPickerV2/components/Table/MetricsAddMenu.d.ts +10 -12
  930. package/components/OffsetWellPickerV2/components/Table/MetricsAddMenu.js +1 -1
  931. package/components/OffsetWellPickerV2/components/Table/MetricsAddMenu.js.map +1 -1
  932. package/components/OffsetWellPickerV2/components/Table/MetricsSelect.d.ts +11 -13
  933. package/components/OffsetWellPickerV2/components/Table/MetricsSelect.js +1 -1
  934. package/components/OffsetWellPickerV2/components/Table/MetricsSelect.js.map +1 -1
  935. package/components/OffsetWellPickerV2/components/Table/index.d.ts +20 -29
  936. package/components/OffsetWellPickerV2/components/Table/index.js +1 -1
  937. package/components/OffsetWellPickerV2/components/Table/index.js.map +1 -1
  938. package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Filter/index.js +1 -1
  939. package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Filter/index.js.map +1 -1
  940. package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Map/Map.d.ts +4 -4
  941. package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Map/Map.d.ts.map +1 -1
  942. package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Map/Map.js +1 -1
  943. package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Map/Map.js.map +1 -1
  944. package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Map/index.d.ts +2 -2
  945. package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Map/index.d.ts.map +1 -1
  946. package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Map/index.js +1 -1
  947. package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Map/index.js.map +1 -1
  948. package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/MetricsAddMenu.js +1 -1
  949. package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/MetricsAddMenu.js.map +1 -1
  950. package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/index.d.ts.map +1 -1
  951. package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/index.js +1 -1
  952. package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/index.js.map +1 -1
  953. package/components/OffsetWellPickerV3/components/CustomSelectionView/index.d.ts +4 -4
  954. package/components/OffsetWellPickerV3/components/CustomSelectionView/index.d.ts.map +1 -1
  955. package/components/OffsetWellPickerV3/components/CustomSelectionView/index.js +1 -1
  956. package/components/OffsetWellPickerV3/components/CustomSelectionView/index.js.map +1 -1
  957. package/components/OffsetWellPickerV3/components/OffsetWellSelectionView/index.js +1 -1
  958. package/components/OffsetWellPickerV3/components/OffsetWellSelectionView/index.js.map +1 -1
  959. package/components/OffsetWellPickerV3/components/TabSelection/ToggleMapButton.js +1 -1
  960. package/components/OffsetWellPickerV3/components/TabSelection/ToggleMapButton.js.map +1 -1
  961. package/components/OffsetWellPickerV3/components/TabSelection/index.js +1 -1
  962. package/components/OffsetWellPickerV3/components/TabSelection/index.js.map +1 -1
  963. package/components/OffsetWellPickerV3/components/WellHubView/index.js +1 -1
  964. package/components/OffsetWellPickerV3/components/WellHubView/index.js.map +1 -1
  965. package/components/OffsetWellPickerV3/components/shared/OffsetWellTableHead.js +1 -1
  966. package/components/OffsetWellPickerV3/components/shared/OffsetWellTableHead.js.map +1 -1
  967. package/components/OffsetWellPickerV3/index.d.ts +7 -16
  968. package/components/OffsetWellPickerV3/index.d.ts.map +1 -1
  969. package/components/OffsetWellPickerV3/index.js +1 -1
  970. package/components/OffsetWellPickerV3/index.js.map +1 -1
  971. package/components/OffsetWellPickerV4/components/Filter/MultiSelect.d.ts +2 -6
  972. package/components/OffsetWellPickerV4/components/Filter/MultiSelect.d.ts.map +1 -1
  973. package/components/OffsetWellPickerV4/components/Filter/PeriodSelect.d.ts +1 -4
  974. package/components/OffsetWellPickerV4/components/Filter/PeriodSelect.d.ts.map +1 -1
  975. package/components/OffsetWellPickerV4/components/Filter/RadiusInput.d.ts +2 -5
  976. package/components/OffsetWellPickerV4/components/Filter/RadiusInput.d.ts.map +1 -1
  977. package/components/OffsetWellPickerV4/components/Filter/SingleSelect.d.ts +2 -6
  978. package/components/OffsetWellPickerV4/components/Filter/SingleSelect.d.ts.map +1 -1
  979. package/components/OffsetWellPickerV4/components/Map/WellsMap.d.ts +2 -6
  980. package/components/OffsetWellPickerV4/components/Map/WellsMap.d.ts.map +1 -1
  981. package/components/OffsetWellPickerV4/components/OffsetWellsTable/SubjectWellMark.d.ts +1 -4
  982. package/components/OffsetWellPickerV4/components/OffsetWellsTable/SubjectWellMark.d.ts.map +1 -1
  983. package/components/OffsetWellPickerV5/components/Filter/components/CustomDateFields/CustomDateFields.js +1 -1
  984. package/components/OffsetWellPickerV5/components/Filter/components/CustomDateFields/CustomDateFields.js.map +1 -1
  985. package/components/OffsetWellPickerV5/components/OffsetWellPickerContent/OffsetWellPickerContent.js +1 -1
  986. package/components/OffsetWellPickerV5/components/OffsetWellPickerContent/OffsetWellPickerContent.js.map +1 -1
  987. package/components/PadOffsetsPicker/OffsetAssetChip.d.ts +5 -11
  988. package/components/PadOffsetsPicker/OffsetAssetChip.d.ts.map +1 -1
  989. package/components/PadOffsetsPicker/OffsetAssetChip.js +1 -1
  990. package/components/PadOffsetsPicker/OffsetAssetChip.js.map +1 -1
  991. package/components/PadOffsetsPicker/StagesSelector.js +1 -1
  992. package/components/PadOffsetsPicker/StagesSelector.js.map +1 -1
  993. package/components/PadOffsetsPickerV2/PadOffsetsPickerV2.js +1 -1
  994. package/components/PadOffsetsPickerV2/PadOffsetsPickerV2.js.map +1 -1
  995. package/components/ParameterCharts/AddEditTrack.d.ts +12 -28
  996. package/components/ParameterCharts/AddEditTrack.js +1 -1
  997. package/components/ParameterCharts/AddEditTrack.js.map +1 -1
  998. package/components/ParameterCharts/ParameterCharts.d.ts +5 -12
  999. package/components/ParameterCharts/ParameterCharts.d.ts.map +1 -1
  1000. package/components/ParameterCharts/ParameterCharts.js +1 -1
  1001. package/components/ParameterCharts/ParameterCharts.js.map +1 -1
  1002. package/components/ParameterCharts/components/TraceHeader.d.ts +13 -89
  1003. package/components/ParameterCharts/components/TraceHeader.d.ts.map +1 -1
  1004. package/components/ParameterCharts/components/TraceHeader.js +1 -1
  1005. package/components/ParameterCharts/components/TraceHeader.js.map +1 -1
  1006. package/components/ParameterCharts/components/TraceSelect.d.ts +12 -18
  1007. package/components/ParameterCharts/components/TraceSelect.js +1 -1
  1008. package/components/ParameterCharts/components/TraceSelect.js.map +1 -1
  1009. package/components/ParameterCharts/components/Track.d.ts +1 -4
  1010. package/components/ParameterCharts/components/Track.d.ts.map +1 -1
  1011. package/components/ParameterCharts/components/Track.js +1 -1
  1012. package/components/ParameterCharts/components/Track.js.map +1 -1
  1013. package/components/PinnableFilters/PinnableFilters.d.ts.map +1 -1
  1014. package/components/PinnableFilters/PinnableFilters.js +1 -1
  1015. package/components/PinnableFilters/PinnableFilters.js.map +1 -1
  1016. package/components/Popover/Popover.js +1 -1
  1017. package/components/Popover/Popover.js.map +1 -1
  1018. package/components/Popper/Popper.js +1 -1
  1019. package/components/Popper/Popper.js.map +1 -1
  1020. package/components/PostInput/PostInput.d.ts +10 -20
  1021. package/components/PostInput/PostInput.d.ts.map +1 -1
  1022. package/components/PostInput/PostInput.js +1 -1
  1023. package/components/PostInput/PostInput.js.map +1 -1
  1024. package/components/PriceInput/FormattedNumber.d.ts +0 -3
  1025. package/components/PriceInput/FormattedNumber.d.ts.map +1 -1
  1026. package/components/PriceInput/FormattedNumber.js +1 -1
  1027. package/components/PriceInput/FormattedNumber.js.map +1 -1
  1028. package/components/PriceInput/PriceInput.d.ts +4 -4
  1029. package/components/PriceInput/PriceInput.d.ts.map +1 -1
  1030. package/components/PriceInput/PriceInput.js +1 -1
  1031. package/components/PriceInput/PriceInput.js.map +1 -1
  1032. package/components/SearchInput/index.d.ts +1 -4
  1033. package/components/SearchInput/index.d.ts.map +1 -1
  1034. package/components/SearchInput/index.js +1 -1
  1035. package/components/SearchInput/index.js.map +1 -1
  1036. package/components/SettingEditors/DropdownEditor/index.d.ts +21 -30
  1037. package/components/SettingEditors/DropdownEditor/index.d.ts.map +1 -1
  1038. package/components/SettingEditors/DropdownEditor/index.js +1 -1
  1039. package/components/SettingEditors/DropdownEditor/index.js.map +1 -1
  1040. package/components/SlateFormattedText/Elements/ImageElement/ImageElement.d.ts +0 -4
  1041. package/components/SlateFormattedText/Elements/ImageElement/ImageElement.d.ts.map +1 -1
  1042. package/components/SlateFormattedText/Elements/ImageElement/ImageElement.js +1 -1
  1043. package/components/SlateFormattedText/Elements/ImageElement/ImageElement.js.map +1 -1
  1044. package/components/SlateFormattedText/SlateFormattedText.d.ts +4 -11
  1045. package/components/SlateFormattedText/SlateFormattedText.d.ts.map +1 -1
  1046. package/components/SlateFormattedText/SlateFormattedText.js +1 -1
  1047. package/components/SlateFormattedText/SlateFormattedText.js.map +1 -1
  1048. package/components/StageDesignVActual/ComparisonBar/ComparisonBar.d.ts +1 -6
  1049. package/components/StageDesignVActual/ComparisonBar/ComparisonBar.d.ts.map +1 -1
  1050. package/components/StageDesignVActual/ComparisonBar/ComparisonBar.js +1 -1
  1051. package/components/StageDesignVActual/ComparisonBar/ComparisonBar.js.map +1 -1
  1052. package/components/StageDesignVActual/ComparisonHeader.d.ts +1 -7
  1053. package/components/StageDesignVActual/ComparisonHeader.d.ts.map +1 -1
  1054. package/components/StageDesignVActual/ComparisonHeader.js +1 -1
  1055. package/components/StageDesignVActual/ComparisonHeader.js.map +1 -1
  1056. package/components/StageDesignVActual/ComparisonRow.d.ts +7 -16
  1057. package/components/StageDesignVActual/ComparisonRow.d.ts.map +1 -1
  1058. package/components/StageDesignVActual/ComparisonRow.js +1 -1
  1059. package/components/StageDesignVActual/ComparisonRow.js.map +1 -1
  1060. package/components/StageDesignVActual/ElementsComparison/ElementsComparison.d.ts +7 -15
  1061. package/components/StageDesignVActual/ElementsComparison/ElementsComparison.d.ts.map +1 -1
  1062. package/components/StageDesignVActual/ElementsComparison/ElementsComparison.js +1 -1
  1063. package/components/StageDesignVActual/ElementsComparison/ElementsComparison.js.map +1 -1
  1064. package/components/SwitchControl/index.d.ts.map +1 -1
  1065. package/components/SwitchControl/index.js +1 -1
  1066. package/components/SwitchControl/index.js.map +1 -1
  1067. package/components/Template/TemplatePopover/index.d.ts +8 -18
  1068. package/components/Template/TemplatePopover/index.d.ts.map +1 -1
  1069. package/components/Template/TemplatePopover/index.js +1 -1
  1070. package/components/Template/TemplatePopover/index.js.map +1 -1
  1071. package/components/Template/TemplateSharingDialog/index.d.ts +1 -4
  1072. package/components/Template/TemplateSharingDialog/index.d.ts.map +1 -1
  1073. package/components/Template/TemplateSharingDialog/index.js +1 -1
  1074. package/components/Template/TemplateSharingDialog/index.js.map +1 -1
  1075. package/components/TracesEditModal/TracesEditModal.d.ts +5 -13
  1076. package/components/TracesEditModal/TracesEditModal.d.ts.map +1 -1
  1077. package/components/TracesEditModal/TracesEditModal.js +1 -1
  1078. package/components/TracesEditModal/TracesEditModal.js.map +1 -1
  1079. package/components/UserCard/index.d.ts +1 -1
  1080. package/components/UserCard/index.js +1 -1
  1081. package/components/UserCard/index.js.map +1 -1
  1082. package/components/UserCardPopover.d.ts +14 -5
  1083. package/components/UserCardPopover.js +1 -1
  1084. package/components/UserCardPopover.js.map +1 -1
  1085. package/components/UserMention/index.js +1 -1
  1086. package/components/UserMention/index.js.map +1 -1
  1087. package/components/WellSummary/ActivitySummaryChart.d.ts +3 -7
  1088. package/components/WellSummary/ActivitySummaryChart.d.ts.map +1 -1
  1089. package/components/WellSummary/ActivitySummaryChart.js +1 -1
  1090. package/components/WellSummary/ActivitySummaryChart.js.map +1 -1
  1091. package/components/WellSummary/FracWirelineTimeChart.d.ts +0 -4
  1092. package/components/WellSummary/FracWirelineTimeChart.d.ts.map +1 -1
  1093. package/components/WellSummary/FracWirelineTimeChart.js +1 -1
  1094. package/components/WellSummary/FracWirelineTimeChart.js.map +1 -1
  1095. package/components/WellSummary/WellSummaryItemLabel.d.ts +1 -4
  1096. package/components/WellSummary/WellSummaryItemLabel.d.ts.map +1 -1
  1097. package/components/WellSummary/WellSummaryItemLabel.js +1 -1
  1098. package/components/WellSummary/WellSummaryItemLabel.js.map +1 -1
  1099. package/componentsV2/WellArchivedMessage/WellArchivedMessage.js +1 -1
  1100. package/componentsV2/WellArchivedMessage/WellArchivedMessage.js.map +1 -1
  1101. package/mcp-server/server.mjs +5 -5
  1102. package/package.json +1 -1
  1103. package/tsconfig.tsbuildinfo +1 -1
@@ -1,2 +1,2 @@
1
- "use strict";var e=require("@babel/runtime/helpers/slicedToArray"),s=require("react"),o=require("prop-types"),r=require("lodash"),n=require("moment"),t=require("@material-ui/core"),i=require("../../Comment/index.js"),c=require("../../CommentLoader.js"),u=require("../../CommentInput/index.js"),p=require("../../../clients/jsonApi/index.js");require("../../DevCenter/DevCenterAppContainer/components/AppActions/AppActions.css.js");var a=require("react/jsx-runtime");require("../../DevCenter/DevCenterAppContainer/components/AppSettingsDialog/AppSettingsDialog.js"),require("../../DevCenter/DevCenterAppContainer/components/AppSettingsDialog/components/RemoveAppButton.js"),require("../../DevCenter/DevCenterAppContainer/components/AppSettingsDialog/components/SettingsAccordion.js"),require("../../DevCenter/DevCenterAppContainer/components/AnnotationsButton/AnnotationsButton.js"),require("@babel/runtime/helpers/asyncToGenerator"),require("@babel/runtime/regenerator"),require("../../../componentsV2/Text/Text.js"),require("../../../componentsV2/Grid/Grid.js"),require("../../../componentsV2/Grid/Cell.js"),require("@babel/runtime/helpers/defineProperty"),require("classnames"),require("../../../componentsV2/Header/Header.scss.js"),require("../../../componentsV2/Button/Button.js"),require("../../../componentsV2/ButtonIcon/ButtonIcon.js"),require("@babel/runtime/helpers/objectWithoutProperties");var m=require("../../DevCenter/DevCenterAppContainer/components/IsInsideIsolatedDcAppProvider/IsInsideIsolatedDcAppProvider.js");require("../../DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/IsInsideDcFullscreenElemProvider.js"),require("../../DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/DcFullscreenElemsCoordinatorProvider.js"),require("uuid"),require("../../../componentsV2/Tooltip/Tooltip.scss.js"),require("../../../componentsV2/Popover/Popover.js"),require("../../../componentsV2/PopoverPanel/PopoverPanel.js"),require("../../../componentsV2/Radio/Radio.js"),require("../../../componentsV2/RadioAndCheckboxGroup/RadioAndCheckboxGroup.scss.js"),require("../../../componentsV2/Checkbox/Checkbox.js"),require("@babel/runtime/helpers/toConsumableArray"),require("../../../componentsV2/TextInput/TextInput.js"),require("../../../componentsV2/TextInputNext/TextInputNext.js"),require("../../../componentsV2/Label/Label.js"),require("../../../componentsV2/TextEndTruncated/TextEndTruncated.scss.js"),require("../../../componentsV2/TextMiddleTruncated/TextMiddleTruncated.constants.js"),require("../../../componentsV2/TextMiddleTruncated/TextMiddleTruncated.scss.js"),require("../../../componentsV2/TextLink/TextLink.js"),require("../../../componentsV2/Chip/Chip.js"),require("../../../componentsV2/ChipAlert/ChipAlert.js"),require("../../../componentsV2/ChipIndicator/ChipIndicator.js"),require("../../../componentsV2/Avatar/Avatar.js"),require("../../../componentsV2/AvatarGroup/AvatarGroup.js"),require("@material-ui/lab"),require("../../../componentsV2/ToggleButtons/ToggleButtons.scss.js"),require("../../../componentsV2/Paper/Paper.js"),require("../../../componentsV2/ModalWindow/ModalWindow.js"),require("../../../componentsV2/Modal/Modal.scss.js"),require("../../../componentsV2/Menu/Menu.js"),require("@icon-park/react/es/all"),require("../../../icons/IconParkProvider.js"),require("../../../icons/customIcons/icons/AddMessage.js"),require("../../../icons/customIcons/icons/DragOne.js"),require("../../../icons/customIcons/icons/Attention.js"),require("../../../icons/customIcons/icons/Collapse.js"),require("../../../icons/customIcons/icons/Dashboard.js"),require("../../../icons/customIcons/icons/Expand.js"),require("../../../icons/customIcons/icons/FolderClosed.js"),require("../../../icons/customIcons/icons/FolderClosedFilled.js"),require("../../../icons/customIcons/icons/FolderOpened.js"),require("../../../icons/customIcons/icons/GreaterOrEqual.js"),require("../../../icons/customIcons/icons/LessOrEqual.js"),require("../../../icons/customIcons/icons/Search.js"),require("../../../icons/customIcons/icons/SearchOne.js"),require("../../../icons/customIcons/icons/Wellhub.js"),require("../../../icons/customIcons/icons/MultiRuler.js"),require("../../../icons/customIcons/icons/Checkbox.js"),require("../../../icons/customIcons/icons/CheckboxChecked.js"),require("../../../icons/customIcons/icons/CheckboxIndeterminate.js"),require("../../../icons/customIcons/icons/Radio.js"),require("../../../icons/customIcons/icons/RadioChecked.js"),require("../../../icons/customIcons/icons/SimulFrac.js"),require("../../../icons/customIcons/icons/ZipperFrac.js"),require("../../../icons/customIcons/icons/CautionFilled.js"),require("../../../icons/customIcons/icons/MoreApp.js"),require("../../../icons/customIcons/icons/Pad.js"),require("../../../icons/customIcons/icons/DrilloutUnit.js"),require("../../../icons/customIcons/icons/FracFleet.js"),require("../../../icons/customIcons/icons/Global.js"),require("../../../icons/customIcons/icons/Program.js"),require("../../../icons/customIcons/icons/Rig.js"),require("../../../icons/customIcons/icons/Well.js"),require("../../../icons/customIcons/icons/Gap.js"),require("../../../icons/customIcons/icons/Pin.js"),require("../../../icons/customIcons/icons/CloseOneFilled.js"),require("../../../icons/customIcons/icons/AttentionFilled.js"),require("../../../icons/customIcons/icons/CheckOneFilled.js"),require("../../../icons/customIcons/icons/Archive.js"),require("../../../icons/customIcons/icons/ArchiveCancel.js"),require("../../../icons/customIcons/icons/Unarchive.js"),require("../../../icons/customIcons/icons/Archived.js"),require("../../../icons/customIcons/icons/InterventionUnit.js"),require("../../../icons/customIcons/icons/CloudDelete.js"),require("../../../icons/customIcons/icons/Lasso.js"),require("../../../icons/customIcons/icons/Radius.js"),require("../../../icons/customIcons/icons/ErrorOps.js"),require("../../../icons/customIcons/icons/DataTypeOps.js"),require("../../../icons/customIcons/icons/FalsePositiveOps.js"),require("../../../icons/customIcons/icons/CalibrationOps.js"),require("../../../icons/customIcons/icons/CriticalOps.js"),require("../../../icons/customIcons/icons/Company.js"),require("../../../icons/customIcons/icons/ArchiveOne.js"),require("../../../icons/customIcons/icons/ParseBotFusion.js"),require("../../../icons/customIcons/icons/Connect.js"),require("../../../icons/customIcons/icons/PuzzleOne.js"),require("../../../icons/customIcons/icons/Feed.js"),require("../../../icons/customIcons/icons/Prompt.js"),require("../../../icons/customIcons/icons/Companies.js"),require("../../../icons/customIcons/icons/ClipboardAi.js"),require("../../../icons/customIcons/icons/Key.js"),require("../../../icons/customIcons/icons/AtSignCrossed.js"),require("../../../icons/customIcons/icons/MappingManual.js"),require("../../../icons/customIcons/icons/Mapping.js"),require("../../../icons/customIcons/icons/Metrics.js"),require("../../../icons/customIcons/icons/Drops.js"),require("../../../icons/customIcons/icons/ClipboardSearch.js"),require("../../../icons/customIcons/icons/Template.js"),require("../../../icons/customIcons/icons/ClipboardMetrics.js"),require("../../../icons/customIcons/icons/ClipboardBuilder.js"),require("../../../icons/customIcons/icons/UnitConversion.js"),require("../../../icons/customIcons/icons/NPT.js"),require("../../../icons/customIcons/icons/GuidedFrac.js"),require("../../../componentsV2/utils.js"),require("../../../componentsV2/Hint/Hint.scss.js"),require("../../../componentsV2/Counter/Counter.js"),require("../../../componentsV2/BadgeBase/BadgeBase.scss.js"),require("../../../componentsV2/TemplatesControl/TemplatesControl.js"),require("zustand"),require("../../../componentsV2/TemplatesControl/utils.js"),require("../../../componentsV2/TemplatesControl/icons/folder/index.js"),require("../../../componentsV2/TemplatesControl/Store/utils.js"),require("../../../componentsV2/TemplatesControl/types.js"),require("../../../utils/index.js"),require("../../../permissions/PermissionsContext.js"),require("../../../permissions/constants/index.js"),require("../../../permissions/withPermissionsHOC.js"),require("../../../permissions/ProvidePermissions.js"),require("../../../componentsV2/BadgeDot/BadgeDot.scss.js"),require("../../../componentsV2/LoaderLinear/LoaderLinear.scss.js"),require("../../../componentsV2/LoaderLogo/LoaderLogo.constants.js"),require("../../../componentsV2/LoaderLogo/LoaderLogo.scss.js"),require("../../../componentsV2/Switch/Switch.js"),require("../../../componentsV2/Tabs/Tabs.js"),require("../../../componentsV2/EmptyState/EmptyState.scss.js"),require("../../../componentsV2/FileIcon/FileIcon.js"),require("../../../componentsV2/Tag/Tag.js"),require("react-dropzone"),require("../../../componentsV2/FilesDropzone/FilesDropzone.scss.js"),require("../../../componentsV2/FilesLoader/FilesLoader.scss.js"),require("file-extension"),require("image-extensions"),require("video-extensions"),require("../../../componentsV2/FilesProcessor/FilesProcessor.scss.js"),require("../../../componentsV2/Skeleton/Skeleton.scss.js"),require("../../../utils/main.js"),require("../../../componentsV2/CopyToClipboard/CopyToClipboard.scss.js"),require("../../../componentsV2/Stepper/Step/Step.scss.js"),require("../../../componentsV2/Stepper/Stepper.scss.js"),require("../../../componentsV2/ButtonLive/ButtonLive.js"),require("../../../componentsV2/ButtonText/ButtonText.js"),require("../../../componentsV2/IndicatorLive/IndicatorLive.js"),require("../../../componentsV2/Accordion/Accordion.scss.js"),require("../../../componentsV2/Breadcrumbs/Breadcrumbs.scss.js"),require("../../../componentsV2/BadgeComment/BadgeComment.js"),require("../../../componentsV2/AppContainer/AppContainer.js"),require("../../../componentsV2/AppContainer/AppContainer.constants.js"),require("../../../componentsV2/AppFooter/AppFooter.js"),require("immutable"),require("query-string"),require("../../../constants/goals.js"),require("../../../constants/segment.js"),require("../../../constants/alerts.js"),require("../../../constants/apps.js"),require("../../../constants/drillstring.js"),require("../../../constants/completion.js"),require("../../../constants/appPackages.js"),require("../../../constants/notifications.js"),require("../../../constants/feed.js"),require("../../../constants/bha.js"),require("../../../constants/corvaCompanyId.js"),require("../../GradientManager/configuration/constants.js"),require("../../../componentsV2/AppCommonsProvider/AppCommonsContext.js"),require("../../../componentsV2/AppHeader/AppHeader.constants.js"),require("../../../componentsV2/AppHeader/AppBadge/AppBadge.scss.js"),require("../../DevCenter/DevCenterRouterContext/DevCenterRouterContext.js"),require("../../DevCenter/DevCenterRouterContext/UniversalLink/UniversalLink.js"),require("react-router-dom"),require("../../../componentsV2/AppHeader/AppAssets/utils.js"),require("../../../componentsV2/AppHeader/AppAssets/AppAssets.scss.js"),require("../../PadModeSelect/PadModeSelect.js"),require("../../../componentsV2/AppHeader/PadMode/PadMode.scss.js"),require("../../../constants/streamSourceType.js"),require("../../../componentsV2/PadModeSelect/PadModeSelect.js"),require("../../../componentsV2/PadModeSelect/PadModeSelect.constants.js"),require("../../../componentsV2/AppCommonsProvider/AppCommonsProvider.js");var q=require("../../../utils/mobileDetect.js");function l(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}require("../../../componentsV2/AppHeader/V3/VersionSelect/VersionSelect.js"),require("../../../componentsV2/UniversalLink/UniversalLink.scss.js"),require("../../../componentsV2/AppHeader/V3/AssetChips/AssetChips.scss.js"),require("../../../componentsV2/AppHeader/V3/DqStatusIcon/DqStatusIcon.js"),require("../../../componentsV2/AppHeader/V3/DqStatusIcon/DqStatusIcon.constants.js"),require("../../../componentsV2/AppFooter/DqPopover/DqStatusIcon/DqStatusIcon.js"),require("../../../componentsV2/AppDqPopover/DqAlertTooltip/DqAlertTooltip.scss.js"),require("../../../componentsV2/AppDqPopover/DqAlert/DqAlert.scss.js"),require("../../../componentsV2/AppDqPopover/DqAsset/DqAsset.scss.js"),require("../../../componentsV2/AppDqPopover/AppDqPopover.scss.js"),require("../../AppIcon/AppIcon.js"),require("../../../utils/getSingleAsset.js"),require("../../../componentsV2/AppHeader/V3/AssetSelector/AssetSelectorChip/AssetSelectorChip.js"),require("../../../componentsV2/AppHeader/V3/AssetSelector/constants.js"),require("../../../componentsV2/AppHeader/V3/AssetSelector/AssetSelectorSelect/AssetSelectorSelect.scss.js"),require("../../../componentsV2/AppHeader/V3/AssetSelector/AssetSelectorSelect/loadAssets.js"),require("../../../componentsV2/AppHeader/V3/AssetSelector/AssetSelector.scss.js"),require("../../../clients/subscriptions/constants.js"),require("querystring"),require("uuid/v1"),require("../../../clients/subscriptions.v1.js"),require("../../../clients/subscriptions/subscriptions-client.factory.js"),require("jsona"),require("../../../utils/env.js"),require("../../StatusBadge/constants.js"),require("lodash/set"),require("lodash/get"),require("lodash/unset"),require("../../../clients/api/apiCore.js"),require("../../../clients/constants.js"),require("../../../clients/sso/auth0.js"),require("../../../clients/sso/oauth2.js"),require("../../../clients/api/rateLimiter.js"),require("lodash/isEmpty"),require("lodash/sortBy"),require("../../DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchContext.js"),require("../../../componentsV2/AppSettings/AppSettingsPinningContext.js"),require("../../../componentsV2/AppHeader/V3/AppTitle/AppTitle.constants.js"),require("../../../componentsV2/AppHeader/V3/AppTitle/AppTitle.scss.js"),require("../../../componentsV2/AppHeader/V3/constants.scss.js"),require("@babel/runtime/helpers/typeof"),require("../../../componentsV2/AppHeader/V3/SettingsButton/SettingsButton.js"),require("../../../componentsV2/AppHeader/V3/SettingsButton/SettingsButton.constants.js"),require("../../../componentsV2/AppSettings/AppSettings.js"),require("../../../componentsV2/AppSettings/AppSettings.constants.js"),require("../../../componentsV2/AppSizeProvider/AppSizeProvider.js"),require("../../../componentsV2/AppHeader/V3/Actions/Actions.constants.js"),require("../../../componentsV2/AppHeader/V3/Actions/Actions.scss.js"),require("../../../componentsV2/AppHeader/V3/AppHeaderV3.scss.js"),require("../../../componentsV2/AppHeader/AppHeader.scss.js"),require("../../../componentsV2/OffsetWellsButton/OffsetWellsButton.js"),require("../../../componentsV2/ChartAxisExtreme/ChartAxisExtreme.scss.js"),require("highcharts"),require("../../../componentsV2/ChartAxisExtreme/ChartAxisExtremeDragTracker.js"),require("../../../componentsV2/Autocomplete/Autocomplete.js"),require("../../../componentsV2/Select/Select.js"),require("../../../componentsV2/AppSettingsDivider/AppSettingsDivider.scss.js"),require("../../../componentsV2/WellArchivedMessage/WellArchivedMessage.js"),require("../../../componentsV2/DatePicker/DatePicker.js"),require("../../../componentsV2/DragHandle/DragHandle.js"),require("../../../componentsV2/CompletionsOffsetWellPicker/CompletionsOffsetWellPicker.js"),require("../../../componentsV2/Slider/constants.js"),require("../../../componentsV2/Slider/components/SliderThumb.js"),require("../../../componentsV2/Slider/Slider.scss.js"),require("../../../componentsV2/SliderAdvanced/SliderAdvanced.js"),require("react-color"),require("../../../componentsV2/ColorPicker/Swatches/Swatches.scss.js"),require("../../../componentsV2/ColorPicker/OpacityDragtracker/OpacityDragTracker.scss.js"),require("../../../componentsV2/ColorPicker/ColorPicker.scss.js"),require("../../../componentsV2/ChartHelper/ChartHelper.scss.js"),require("../../../componentsV2/Hotkey/Hotkey.js"),require("../../DevCenter/DevCenterAppContainer/components/FullscreenButton/FullscreenButton.js"),require("../../DevCenter/DevCenterAppContainer/components/AppInfoMessage/AppInfoMessage.js"),require("../../DevCenter/DevCenterAppContainer/components/DevCenterAppView/DevCenterAppView.js");var d=l(e),j=l(o),C=l(n),A=t.makeStyles({showMore:{cursor:"pointer"},feedCommentsContainer:{padding:"0 16px 0 24px"},feedCommentsList:{marginTop:24},feedCommentsListContent:{height:function(e){var s=e.commentsListHeight;return s&&s-8},overflow:function(e){return e.commentsListHeight&&"scroll"}},feedCommentsListContentWrapper:{position:"relative"},gradient:{position:"absolute",bottom:0,left:0,width:"100%",height:16,background:function(e){var s=e.isInsideDcApp;return"linear-gradient(180deg, rgba(61, 61, 61, 0) 0%, ".concat(s?"#414141":"3b3b3b"," 100%)")}}});function V(e){var o,n=e.openCommentInput,l=e.openCommentList,j=e.feedItem,V=e.currentUser,I=j.comments,v=I.length,g=v>3,h=s.useState(!1),S=d.default(h,2),D=S[0],x=S[1],P=s.useState(!1),b=d.default(P,2),f=b[0],T=b[1],H=s.useState(!1),L=d.default(H,2),k=L[0],B=L[1],y=s.useState(null),F=d.default(y,2),M=F[0],O=F[1],R=s.useRef(),E=s.useRef(),w=s.useMemo((function(){var e=r.sortBy(j.comments,(function(e){return-C.default(e.created_at).unix()}));return k?k&&!f?e.slice(0,5):k&&f?e:[]:e.slice(0,3)}),[I,f,k]);s.useEffect((function(){if(5===w.length&&!M){var e=E.current.clientHeight;O(e),T(!0)}M&&!k&&(O(null),T(!1))}),[w.length,M,k]);var G=m.useIsInsideIsolatedDcApp(),W=A({commentsListHeight:M,isAllCommentsVisibleKeyPressed:k,isInsideDcApp:G});return a.jsxs("div",{className:(n||!!v)&&W.feedCommentsContainer,children:[n&&!q.isNativeDetected&&a.jsx(u,{inputRef:R,postComment:function(e){p.postFeedItemComment(j.id,e)},setIsPosting:x,companyId:j.company_id,autoFocus:!1,currentUser:V,parentId:"".concat(j.id,"-").concat(null===(o=j.comments)||void 0===o?void 0:o.size)}),l&&a.jsxs("div",{className:W.feedCommentsList,children:[a.jsx("div",{className:W.feedCommentsListContentWrapper,children:a.jsxs("div",{className:W.feedCommentsListContent,ref:E,children:[w.map((function(e){return a.jsx(i,{comment:e,handleDeleteCallback:r.noop,patchCommentCallback:r.noop,companyId:j.company_id,currentUser:V},e.id)})),M&&a.jsx("div",{className:W.gradient})]})}),g&&a.jsx(t.Typography,{variant:"caption",color:"primary","data-testid":"".concat("FeedComments","_viewMoreComments"),className:W.showMore,onClick:function(){B(!k)},children:k?"Hide older comments":"See all comments"})]}),D&&a.jsx(c,{})]})}V.propTypes={openCommentInput:j.default.bool.isRequired,feedItem:j.default.shape().isRequired,currentUser:j.default.shape().isRequired},module.exports=V;
1
+ "use strict";var e=require("@babel/runtime/helpers/slicedToArray"),s=require("react"),o=require("prop-types"),r=require("lodash"),n=require("moment"),t=require("@material-ui/core"),i=require("../../Comment/index.js"),c=require("../../CommentLoader.js"),u=require("../../CommentInput/index.js"),p=require("../../../clients/jsonApi/index.js");require("../../DevCenter/DevCenterAppContainer/components/AppActions/AppActions.css.js");var a=require("react/jsx-runtime");require("../../DevCenter/DevCenterAppContainer/components/AppSettingsDialog/AppSettingsDialog.js"),require("../../DevCenter/DevCenterAppContainer/components/AppSettingsDialog/components/RemoveAppButton.js"),require("../../DevCenter/DevCenterAppContainer/components/AppSettingsDialog/components/SettingsAccordion.js"),require("../../DevCenter/DevCenterAppContainer/components/AnnotationsButton/AnnotationsButton.js"),require("@babel/runtime/helpers/asyncToGenerator"),require("@babel/runtime/regenerator"),require("../../../componentsV2/Text/Text.js"),require("../../../componentsV2/Grid/Grid.js"),require("../../../componentsV2/Grid/Cell.js"),require("@babel/runtime/helpers/defineProperty"),require("classnames"),require("../../../componentsV2/Header/Header.scss.js"),require("../../../componentsV2/Button/Button.js"),require("../../../componentsV2/ButtonIcon/ButtonIcon.js"),require("@babel/runtime/helpers/objectWithoutProperties");var m=require("../../DevCenter/DevCenterAppContainer/components/IsInsideIsolatedDcAppProvider/IsInsideIsolatedDcAppProvider.js");require("../../DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/IsInsideDcFullscreenElemProvider.js"),require("../../DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/DcFullscreenElemsCoordinatorProvider.js"),require("uuid"),require("../../../componentsV2/Tooltip/Tooltip.scss.js"),require("../../../componentsV2/Popover/Popover.js"),require("../../../componentsV2/PopoverPanel/PopoverPanel.js"),require("../../../componentsV2/Radio/Radio.js"),require("../../../componentsV2/RadioAndCheckboxGroup/RadioAndCheckboxGroup.scss.js"),require("../../../componentsV2/Checkbox/Checkbox.js"),require("@babel/runtime/helpers/toConsumableArray"),require("../../../componentsV2/TextInput/TextInput.js"),require("../../../componentsV2/TextInputNext/TextInputNext.js"),require("../../../componentsV2/Label/Label.js"),require("../../../componentsV2/TextEndTruncated/TextEndTruncated.scss.js"),require("../../../componentsV2/TextMiddleTruncated/TextMiddleTruncated.constants.js"),require("../../../componentsV2/TextMiddleTruncated/TextMiddleTruncated.scss.js"),require("../../../componentsV2/TextLink/TextLink.js"),require("../../../componentsV2/Chip/Chip.js"),require("../../../componentsV2/ChipAlert/ChipAlert.js"),require("../../../componentsV2/ChipIndicator/ChipIndicator.js"),require("../../../componentsV2/Avatar/Avatar.js"),require("../../../componentsV2/AvatarGroup/AvatarGroup.js"),require("@material-ui/lab"),require("../../../componentsV2/ToggleButtons/ToggleButtons.scss.js"),require("../../../componentsV2/Paper/Paper.js"),require("../../../componentsV2/ModalWindow/ModalWindow.js"),require("../../../componentsV2/Modal/Modal.scss.js"),require("../../../componentsV2/Menu/Menu.js"),require("@icon-park/react/es/all"),require("../../../icons/IconParkProvider.js"),require("../../../icons/customIcons/icons/AddMessage.js"),require("../../../icons/customIcons/icons/DragOne.js"),require("../../../icons/customIcons/icons/Attention.js"),require("../../../icons/customIcons/icons/Collapse.js"),require("../../../icons/customIcons/icons/Dashboard.js"),require("../../../icons/customIcons/icons/Expand.js"),require("../../../icons/customIcons/icons/FolderClosed.js"),require("../../../icons/customIcons/icons/FolderClosedFilled.js"),require("../../../icons/customIcons/icons/FolderOpened.js"),require("../../../icons/customIcons/icons/GreaterOrEqual.js"),require("../../../icons/customIcons/icons/LessOrEqual.js"),require("../../../icons/customIcons/icons/Search.js"),require("../../../icons/customIcons/icons/SearchOne.js"),require("../../../icons/customIcons/icons/Wellhub.js"),require("../../../icons/customIcons/icons/MultiRuler.js"),require("../../../icons/customIcons/icons/Checkbox.js"),require("../../../icons/customIcons/icons/CheckboxChecked.js"),require("../../../icons/customIcons/icons/CheckboxIndeterminate.js"),require("../../../icons/customIcons/icons/Radio.js"),require("../../../icons/customIcons/icons/RadioChecked.js"),require("../../../icons/customIcons/icons/SimulFrac.js"),require("../../../icons/customIcons/icons/ZipperFrac.js"),require("../../../icons/customIcons/icons/CautionFilled.js"),require("../../../icons/customIcons/icons/MoreApp.js"),require("../../../icons/customIcons/icons/Pad.js"),require("../../../icons/customIcons/icons/DrilloutUnit.js"),require("../../../icons/customIcons/icons/FracFleet.js"),require("../../../icons/customIcons/icons/Global.js"),require("../../../icons/customIcons/icons/Program.js"),require("../../../icons/customIcons/icons/Rig.js"),require("../../../icons/customIcons/icons/Well.js"),require("../../../icons/customIcons/icons/Gap.js"),require("../../../icons/customIcons/icons/Pin.js"),require("../../../icons/customIcons/icons/CloseOneFilled.js"),require("../../../icons/customIcons/icons/AttentionFilled.js"),require("../../../icons/customIcons/icons/CheckOneFilled.js"),require("../../../icons/customIcons/icons/Archive.js"),require("../../../icons/customIcons/icons/ArchiveCancel.js"),require("../../../icons/customIcons/icons/Unarchive.js"),require("../../../icons/customIcons/icons/Archived.js"),require("../../../icons/customIcons/icons/InterventionUnit.js"),require("../../../icons/customIcons/icons/CloudDelete.js"),require("../../../icons/customIcons/icons/Lasso.js"),require("../../../icons/customIcons/icons/Radius.js"),require("../../../icons/customIcons/icons/ErrorOps.js"),require("../../../icons/customIcons/icons/DataTypeOps.js"),require("../../../icons/customIcons/icons/FalsePositiveOps.js"),require("../../../icons/customIcons/icons/CalibrationOps.js"),require("../../../icons/customIcons/icons/CriticalOps.js"),require("../../../icons/customIcons/icons/Company.js"),require("../../../icons/customIcons/icons/ArchiveOne.js"),require("../../../icons/customIcons/icons/ParseBotFusion.js"),require("../../../icons/customIcons/icons/Connect.js"),require("../../../icons/customIcons/icons/PuzzleOne.js"),require("../../../icons/customIcons/icons/Feed.js"),require("../../../icons/customIcons/icons/Prompt.js"),require("../../../icons/customIcons/icons/Companies.js"),require("../../../icons/customIcons/icons/ClipboardAi.js"),require("../../../icons/customIcons/icons/Key.js"),require("../../../icons/customIcons/icons/AtSignCrossed.js"),require("../../../icons/customIcons/icons/MappingManual.js"),require("../../../icons/customIcons/icons/Mapping.js"),require("../../../icons/customIcons/icons/Metrics.js"),require("../../../icons/customIcons/icons/Drops.js"),require("../../../icons/customIcons/icons/ClipboardSearch.js"),require("../../../icons/customIcons/icons/Template.js"),require("../../../icons/customIcons/icons/ClipboardMetrics.js"),require("../../../icons/customIcons/icons/ClipboardBuilder.js"),require("../../../icons/customIcons/icons/UnitConversion.js"),require("../../../icons/customIcons/icons/NPT.js"),require("../../../icons/customIcons/icons/GuidedFrac.js"),require("../../../componentsV2/utils.js"),require("../../../componentsV2/Hint/Hint.scss.js"),require("../../../componentsV2/Counter/Counter.js"),require("../../../componentsV2/BadgeBase/BadgeBase.scss.js"),require("../../../componentsV2/TemplatesControl/TemplatesControl.js"),require("zustand"),require("../../../componentsV2/TemplatesControl/utils.js"),require("../../../componentsV2/TemplatesControl/icons/folder/index.js"),require("../../../componentsV2/TemplatesControl/Store/utils.js"),require("../../../componentsV2/TemplatesControl/types.js"),require("../../../utils/index.js"),require("../../../permissions/PermissionsContext.js"),require("../../../permissions/constants/index.js"),require("../../../permissions/withPermissionsHOC.js"),require("../../../permissions/ProvidePermissions.js"),require("../../../componentsV2/BadgeDot/BadgeDot.scss.js"),require("../../../componentsV2/LoaderLinear/LoaderLinear.scss.js"),require("../../../componentsV2/LoaderLogo/LoaderLogo.constants.js"),require("../../../componentsV2/LoaderLogo/LoaderLogo.scss.js"),require("../../../componentsV2/Switch/Switch.js"),require("../../../componentsV2/Tabs/Tabs.js"),require("../../../componentsV2/EmptyState/EmptyState.scss.js"),require("../../../componentsV2/FileIcon/FileIcon.js"),require("../../../componentsV2/Tag/Tag.js"),require("react-dropzone"),require("../../../componentsV2/FilesDropzone/FilesDropzone.scss.js"),require("../../../componentsV2/FilesLoader/FilesLoader.scss.js"),require("file-extension"),require("image-extensions"),require("video-extensions"),require("../../../componentsV2/FilesProcessor/FilesProcessor.scss.js"),require("../../../componentsV2/Skeleton/Skeleton.scss.js"),require("../../../utils/main.js"),require("../../../componentsV2/CopyToClipboard/CopyToClipboard.scss.js"),require("../../../componentsV2/Stepper/Step/Step.scss.js"),require("../../../componentsV2/Stepper/Stepper.scss.js"),require("../../../componentsV2/ButtonLive/ButtonLive.js"),require("../../../componentsV2/ButtonText/ButtonText.js"),require("../../../componentsV2/IndicatorLive/IndicatorLive.js"),require("../../../componentsV2/Accordion/Accordion.scss.js"),require("../../../componentsV2/Breadcrumbs/Breadcrumbs.scss.js"),require("../../../componentsV2/BadgeComment/BadgeComment.js"),require("../../../componentsV2/AppContainer/AppContainer.js"),require("../../../componentsV2/AppContainer/AppContainer.constants.js"),require("../../../componentsV2/AppFooter/AppFooter.js"),require("immutable"),require("query-string"),require("../../../constants/goals.js"),require("../../../constants/segment.js"),require("../../../constants/alerts.js"),require("../../../constants/apps.js"),require("../../../constants/drillstring.js"),require("../../../constants/completion.js"),require("../../../constants/appPackages.js"),require("../../../constants/notifications.js"),require("../../../constants/feed.js"),require("../../../constants/bha.js"),require("../../../constants/corvaCompanyId.js"),require("../../GradientManager/configuration/constants.js"),require("../../../componentsV2/AppCommonsProvider/AppCommonsContext.js"),require("../../../componentsV2/AppHeader/AppHeader.constants.js"),require("../../../componentsV2/AppHeader/AppBadge/AppBadge.scss.js"),require("../../DevCenter/DevCenterRouterContext/DevCenterRouterContext.js"),require("../../DevCenter/DevCenterRouterContext/UniversalLink/UniversalLink.js"),require("react-router-dom"),require("../../../componentsV2/AppHeader/AppAssets/utils.js"),require("../../../componentsV2/AppHeader/AppAssets/AppAssets.scss.js"),require("../../PadModeSelect/PadModeSelect.js"),require("../../../componentsV2/AppHeader/PadMode/PadMode.scss.js"),require("../../../constants/streamSourceType.js"),require("../../../componentsV2/PadModeSelect/PadModeSelect.js"),require("../../../componentsV2/PadModeSelect/PadModeSelect.constants.js"),require("../../../componentsV2/AppCommonsProvider/AppCommonsProvider.js");var q=require("../../../utils/mobileDetect.js");function l(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}require("../../../componentsV2/AppHeader/V3/VersionSelect/VersionSelect.js"),require("../../../componentsV2/UniversalLink/UniversalLink.scss.js"),require("../../../componentsV2/AppHeader/V3/AssetChips/AssetChips.scss.js"),require("../../../componentsV2/AppHeader/V3/DqStatusIcon/DqStatusIcon.js"),require("../../../componentsV2/AppHeader/V3/DqStatusIcon/DqStatusIcon.constants.js"),require("../../../componentsV2/AppFooter/DqPopover/DqStatusIcon/DqStatusIcon.js"),require("../../../componentsV2/AppDqPopover/DqAlertTooltip/DqAlertTooltip.scss.js"),require("../../../componentsV2/AppDqPopover/DqAlert/DqAlert.scss.js"),require("../../../componentsV2/AppDqPopover/DqAsset/DqAsset.scss.js"),require("../../../componentsV2/AppDqPopover/AppDqPopover.scss.js"),require("../../AppIcon/AppIcon.js"),require("../../../utils/getSingleAsset.js"),require("../../../componentsV2/AppHeader/V3/AssetSelector/AssetSelectorChip/AssetSelectorChip.js"),require("../../../componentsV2/AppHeader/V3/AssetSelector/constants.js"),require("../../../componentsV2/AppHeader/V3/AssetSelector/AssetSelectorSelect/AssetSelectorSelect.scss.js"),require("../../../componentsV2/AppHeader/V3/AssetSelector/AssetSelectorSelect/loadAssets.js"),require("../../../componentsV2/AppHeader/V3/AssetSelector/AssetSelector.scss.js"),require("../../../clients/subscriptions/constants.js"),require("querystring"),require("uuid/v1"),require("../../../clients/subscriptions.v1.js"),require("../../../clients/subscriptions/subscriptions-client.factory.js"),require("jsona"),require("../../../utils/env.js"),require("../../StatusBadge/constants.js"),require("lodash/set"),require("lodash/get"),require("lodash/unset"),require("../../../clients/api/apiCore.js"),require("../../../clients/constants.js"),require("../../../clients/sso/auth0.js"),require("../../../clients/sso/oauth2.js"),require("../../../clients/api/rateLimiter.js"),require("lodash/isEmpty"),require("lodash/sortBy"),require("../../DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchContext.js"),require("../../../componentsV2/AppSettings/AppSettingsPinningContext.js"),require("../../../componentsV2/AppHeader/V3/AppTitle/AppTitle.constants.js"),require("../../../componentsV2/AppHeader/V3/AppTitle/AppTitle.scss.js"),require("../../../componentsV2/AppHeader/V3/constants.scss.js"),require("@babel/runtime/helpers/typeof"),require("../../../componentsV2/AppHeader/V3/SettingsButton/SettingsButton.js"),require("../../../componentsV2/AppHeader/V3/SettingsButton/SettingsButton.constants.js"),require("../../../componentsV2/AppSettings/AppSettings.js"),require("../../../componentsV2/AppSettings/AppSettings.constants.js"),require("../../../componentsV2/AppSizeProvider/AppSizeProvider.js"),require("../../../componentsV2/AppHeader/V3/Actions/Actions.constants.js"),require("../../../componentsV2/AppHeader/V3/Actions/Actions.scss.js"),require("../../../componentsV2/AppHeader/V3/AppHeaderV3.scss.js"),require("../../../componentsV2/AppHeader/AppHeader.scss.js"),require("../../../componentsV2/OffsetWellsButton/OffsetWellsButton.js"),require("../../../componentsV2/ChartAxisExtreme/ChartAxisExtreme.scss.js"),require("highcharts"),require("../../../componentsV2/ChartAxisExtreme/ChartAxisExtremeDragTracker.js"),require("../../../componentsV2/Autocomplete/Autocomplete.js"),require("../../../componentsV2/Select/Select.js"),require("../../../componentsV2/AppSettingsDivider/AppSettingsDivider.scss.js"),require("../../../componentsV2/WellArchivedMessage/WellArchivedMessage.js"),require("../../../componentsV2/DatePicker/DatePicker.js"),require("../../../componentsV2/DragHandle/DragHandle.js"),require("../../../componentsV2/CompletionsOffsetWellPicker/CompletionsOffsetWellPicker.js"),require("../../../componentsV2/Slider/constants.js"),require("../../../componentsV2/Slider/components/SliderThumb.js"),require("../../../componentsV2/Slider/Slider.scss.js"),require("../../../componentsV2/SliderAdvanced/SliderAdvanced.js"),require("react-color"),require("../../../componentsV2/ColorPicker/Swatches/Swatches.scss.js"),require("../../../componentsV2/ColorPicker/OpacityDragtracker/OpacityDragTracker.scss.js"),require("../../../componentsV2/ColorPicker/ColorPicker.scss.js"),require("../../../componentsV2/ChartHelper/ChartHelper.scss.js"),require("../../../componentsV2/Hotkey/Hotkey.js"),require("../../DevCenter/DevCenterAppContainer/components/FullscreenButton/FullscreenButton.js"),require("../../DevCenter/DevCenterAppContainer/components/AppInfoMessage/AppInfoMessage.js"),require("../../DevCenter/DevCenterAppContainer/components/DevCenterAppView/components/ChooseAssetButton.js"),require("../../DevCenter/DevCenterAppContainer/components/DevCenterAppView/DevCenterAppView.scss.js"),require("../../ErrorBoundary/ErrorBoundary.js"),require("../../ErrorBoundary/DevCenterAppErrorView/DevCenterAppErrorView.js");var d=l(e),j=l(o),C=l(n),A=t.makeStyles({showMore:{cursor:"pointer"},feedCommentsContainer:{padding:"0 16px 0 24px"},feedCommentsList:{marginTop:24},feedCommentsListContent:{height:function(e){var s=e.commentsListHeight;return s&&s-8},overflow:function(e){return e.commentsListHeight&&"scroll"}},feedCommentsListContentWrapper:{position:"relative"},gradient:{position:"absolute",bottom:0,left:0,width:"100%",height:16,background:function(e){var s=e.isInsideDcApp;return"linear-gradient(180deg, rgba(61, 61, 61, 0) 0%, ".concat(s?"#414141":"3b3b3b"," 100%)")}}});function V(e){var o,n=e.openCommentInput,l=e.openCommentList,j=e.feedItem,V=e.currentUser,I=j.comments,v=I.length,g=v>3,h=s.useState(!1),D=d.default(h,2),S=D[0],x=D[1],P=s.useState(!1),b=d.default(P,2),f=b[0],T=b[1],B=s.useState(!1),H=d.default(B,2),y=H[0],L=H[1],k=s.useState(null),F=d.default(k,2),M=F[0],E=F[1],O=s.useRef(),w=s.useRef(),R=s.useMemo((function(){var e=r.sortBy(j.comments,(function(e){return-C.default(e.created_at).unix()}));return y?y&&!f?e.slice(0,5):y&&f?e:[]:e.slice(0,3)}),[I,f,y]);s.useEffect((function(){if(5===R.length&&!M){var e=w.current.clientHeight;E(e),T(!0)}M&&!y&&(E(null),T(!1))}),[R.length,M,y]);var G=m.useIsInsideIsolatedDcApp(),W=A({commentsListHeight:M,isAllCommentsVisibleKeyPressed:y,isInsideDcApp:G});return a.jsxs("div",{className:(n||!!v)&&W.feedCommentsContainer,children:[n&&!q.isNativeDetected&&a.jsx(u,{inputRef:O,postComment:function(e){p.postFeedItemComment(j.id,e)},setIsPosting:x,companyId:j.company_id,autoFocus:!1,currentUser:V,parentId:"".concat(j.id,"-").concat(null===(o=j.comments)||void 0===o?void 0:o.size)}),l&&a.jsxs("div",{className:W.feedCommentsList,children:[a.jsx("div",{className:W.feedCommentsListContentWrapper,children:a.jsxs("div",{className:W.feedCommentsListContent,ref:w,children:[R.map((function(e){return a.jsx(i,{comment:e,handleDeleteCallback:r.noop,patchCommentCallback:r.noop,companyId:j.company_id,currentUser:V},e.id)})),M&&a.jsx("div",{className:W.gradient})]})}),g&&a.jsx(t.Typography,{variant:"caption",color:"primary","data-testid":"".concat("FeedComments","_viewMoreComments"),className:W.showMore,onClick:function(){L(!y)},children:y?"Hide older comments":"See all comments"})]}),S&&a.jsx(c,{})]})}V.propTypes={openCommentInput:j.default.bool.isRequired,feedItem:j.default.shape().isRequired,currentUser:j.default.shape().isRequired},module.exports=V;
2
2
  //# sourceMappingURL=FeedComments.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"FeedComments.js","sources":["../../../../../src/components/FeedItem/components/FeedComments.js"],"sourcesContent":["import { useState, useMemo, useEffect, useRef } from 'react';\nimport PropTypes from 'prop-types';\nimport { noop, sortBy } from 'lodash';\nimport moment from 'moment';\nimport { Typography, makeStyles } from '@material-ui/core';\n\nimport Comment from '~/components/Comment';\nimport CommentLoader from '~/components/CommentLoader';\nimport CommentInput from '~/components/CommentInput';\nimport { postFeedItemComment } from '~/clients/jsonApi';\nimport { useIsInsideIsolatedDcApp } from '~/components/DevCenter/DevCenterAppContainer/components';\nimport { isNativeDetected } from '~utils/mobileDetect';\n\nconst PAGE_NAME = 'FeedComments';\n\nconst useStyles = makeStyles({\n showMore: {\n cursor: 'pointer',\n },\n feedCommentsContainer: { padding: '0 16px 0 24px' },\n feedCommentsList: { marginTop: 24 },\n feedCommentsListContent: {\n height: ({ commentsListHeight }) => commentsListHeight && commentsListHeight - 8,\n overflow: ({ commentsListHeight }) => commentsListHeight && 'scroll',\n },\n feedCommentsListContentWrapper: {\n position: 'relative',\n },\n gradient: {\n position: 'absolute',\n bottom: 0,\n left: 0,\n width: '100%',\n height: 16,\n background: ({ isInsideDcApp }) =>\n `linear-gradient(180deg, rgba(61, 61, 61, 0) 0%, ${\n isInsideDcApp ? '#414141' : '3b3b3b'\n } 100%)`,\n },\n});\n\n// If there are more than 3 comments, we show only last 3, other comments are hidden.\n// To see all comments, user clicks ‘SEE ALL COMMENTS’.\n// To hide all comments back, user clicks ‘HIDE OLDER COMMENTS’\n// After clicking on a ‘SEE ALL COMMENTS’:\n// Height of the comments pop-over changes to show 5 comments instead of 3.\n// If all comments to initial comment can’t fit into comment pop-over, than User needs to scroll down to see them.\n// If there are more than 5 comments (so 6th+ comments in not seen at the moment, we cover bottom comment with gradient, to show that there is more to see.\n// The height of the Comments pop-over remains the same (to show first 5 comments), we don’t change it to show all possible 1000 comments. Only 5.\n\nconst INITIAL_VISIBLE_COMMENTS_COUNT = 3;\nconst COUNT_OF_COMMENTS_IN_SCROLLABLE_CONTAINER = 5;\nfunction FeedComments({ openCommentInput, openCommentList, feedItem, currentUser }) {\n const { comments } = feedItem;\n\n const commentsCount = comments.length;\n const moreCommentsExist = commentsCount > INITIAL_VISIBLE_COMMENTS_COUNT;\n\n const [isPosting, setIsPosting] = useState(false);\n const [isVisibleCommentsAppeared, setIsVisibleCommentsAppeared] = useState(false);\n const [isAllCommentsVisibleKeyPressed, setIsAllCommentsVisibleKeyPressed] = useState(false);\n const [commentsListHeight, setCommentsListHeight] = useState(null);\n\n const inputEl = useRef();\n const commentsListRef = useRef();\n\n const toggleShowAllComments = () => {\n setIsAllCommentsVisibleKeyPressed(!isAllCommentsVisibleKeyPressed);\n };\n\n const postComment = comment => {\n postFeedItemComment(feedItem.id, comment);\n };\n\n const visibleComments = useMemo(() => {\n const sortedComments = sortBy(feedItem.comments, item => -moment(item.created_at).unix());\n\n if (!isAllCommentsVisibleKeyPressed)\n return sortedComments.slice(0, INITIAL_VISIBLE_COMMENTS_COUNT);\n\n if (isAllCommentsVisibleKeyPressed && !isVisibleCommentsAppeared) {\n return sortedComments.slice(0, COUNT_OF_COMMENTS_IN_SCROLLABLE_CONTAINER);\n }\n\n if (isAllCommentsVisibleKeyPressed && isVisibleCommentsAppeared) return sortedComments;\n\n return [];\n }, [comments, isVisibleCommentsAppeared, isAllCommentsVisibleKeyPressed]);\n\n useEffect(() => {\n if (\n visibleComments.length === COUNT_OF_COMMENTS_IN_SCROLLABLE_CONTAINER &&\n !commentsListHeight\n ) {\n const divHeight = commentsListRef.current.clientHeight;\n setCommentsListHeight(divHeight);\n setIsVisibleCommentsAppeared(true);\n }\n\n if (commentsListHeight && !isAllCommentsVisibleKeyPressed) {\n setCommentsListHeight(null);\n setIsVisibleCommentsAppeared(false);\n }\n }, [visibleComments.length, commentsListHeight, isAllCommentsVisibleKeyPressed]);\n\n const isInsideDcApp = useIsInsideIsolatedDcApp();\n const classes = useStyles({ commentsListHeight, isAllCommentsVisibleKeyPressed, isInsideDcApp });\n\n return (\n <div className={(openCommentInput || !!commentsCount) && classes.feedCommentsContainer}>\n {openCommentInput && !isNativeDetected && (\n <CommentInput\n inputRef={inputEl}\n postComment={postComment}\n setIsPosting={setIsPosting}\n companyId={feedItem.company_id}\n autoFocus={false}\n currentUser={currentUser}\n parentId={`${feedItem.id}-${feedItem.comments?.size}`}\n />\n )}\n {openCommentList && (\n <div className={classes.feedCommentsList}>\n <div className={classes.feedCommentsListContentWrapper}>\n <div className={classes.feedCommentsListContent} ref={commentsListRef}>\n {visibleComments.map(comment => (\n <Comment\n key={comment.id}\n comment={comment}\n handleDeleteCallback={noop /* NOTE: Received through subscription */}\n patchCommentCallback={noop}\n companyId={feedItem.company_id}\n currentUser={currentUser}\n />\n ))}\n {commentsListHeight && <div className={classes.gradient} />}\n </div>\n </div>\n {moreCommentsExist && (\n <Typography\n variant=\"caption\"\n color=\"primary\"\n data-testid={`${PAGE_NAME}_viewMoreComments`}\n className={classes.showMore}\n onClick={toggleShowAllComments}\n >\n {isAllCommentsVisibleKeyPressed ? 'Hide older comments' : 'See all comments'}\n </Typography>\n )}\n </div>\n )}\n\n {isPosting && <CommentLoader />}\n </div>\n );\n}\n\nFeedComments.propTypes = {\n openCommentInput: PropTypes.bool.isRequired,\n feedItem: PropTypes.shape().isRequired,\n currentUser: PropTypes.shape().isRequired,\n};\n\nexport default FeedComments;\n"],"names":["useStyles","makeStyles","showMore","cursor","feedCommentsContainer","padding","feedCommentsList","marginTop","feedCommentsListContent","height","_ref","commentsListHeight","overflow","_ref2","feedCommentsListContentWrapper","position","gradient","bottom","left","width","background","_ref3","isInsideDcApp","concat","FeedComments","_ref4","_feedItem$comments","openCommentInput","openCommentList","feedItem","currentUser","comments","commentsCount","length","moreCommentsExist","useState","_useState2","_slicedToArray","_useState","isPosting","setIsPosting","_useState4","_useState3","isVisibleCommentsAppeared","setIsVisibleCommentsAppeared","_useState6","_useState5","isAllCommentsVisibleKeyPressed","setIsAllCommentsVisibleKeyPressed","_useState8","_useState7","setCommentsListHeight","inputEl","useRef","commentsListRef","visibleComments","useMemo","sortedComments","sortBy","item","moment","created_at","unix","slice","useEffect","divHeight","current","clientHeight","useIsInsideIsolatedDcApp","classes","_jsxs","className","children","isNativeDetected","_jsx","CommentInput","inputRef","postComment","comment","postFeedItemComment","id","companyId","company_id","autoFocus","parentId","size","jsxs","jsx","ref","map","Comment","handleDeleteCallback","noop","patchCommentCallback","Typography","variant","color","onClick","CommentLoader","propTypes","PropTypes","bool","isRequired","shape"],"mappings":"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"}
1
+ {"version":3,"file":"FeedComments.js","sources":["../../../../../src/components/FeedItem/components/FeedComments.js"],"sourcesContent":["import { useState, useMemo, useEffect, useRef } from 'react';\nimport PropTypes from 'prop-types';\nimport { noop, sortBy } from 'lodash';\nimport moment from 'moment';\nimport { Typography, makeStyles } from '@material-ui/core';\n\nimport Comment from '~/components/Comment';\nimport CommentLoader from '~/components/CommentLoader';\nimport CommentInput from '~/components/CommentInput';\nimport { postFeedItemComment } from '~/clients/jsonApi';\nimport { useIsInsideIsolatedDcApp } from '~/components/DevCenter/DevCenterAppContainer/components';\nimport { isNativeDetected } from '~utils/mobileDetect';\n\nconst PAGE_NAME = 'FeedComments';\n\nconst useStyles = makeStyles({\n showMore: {\n cursor: 'pointer',\n },\n feedCommentsContainer: { padding: '0 16px 0 24px' },\n feedCommentsList: { marginTop: 24 },\n feedCommentsListContent: {\n height: ({ commentsListHeight }) => commentsListHeight && commentsListHeight - 8,\n overflow: ({ commentsListHeight }) => commentsListHeight && 'scroll',\n },\n feedCommentsListContentWrapper: {\n position: 'relative',\n },\n gradient: {\n position: 'absolute',\n bottom: 0,\n left: 0,\n width: '100%',\n height: 16,\n background: ({ isInsideDcApp }) =>\n `linear-gradient(180deg, rgba(61, 61, 61, 0) 0%, ${\n isInsideDcApp ? '#414141' : '3b3b3b'\n } 100%)`,\n },\n});\n\n// If there are more than 3 comments, we show only last 3, other comments are hidden.\n// To see all comments, user clicks ‘SEE ALL COMMENTS’.\n// To hide all comments back, user clicks ‘HIDE OLDER COMMENTS’\n// After clicking on a ‘SEE ALL COMMENTS’:\n// Height of the comments pop-over changes to show 5 comments instead of 3.\n// If all comments to initial comment can’t fit into comment pop-over, than User needs to scroll down to see them.\n// If there are more than 5 comments (so 6th+ comments in not seen at the moment, we cover bottom comment with gradient, to show that there is more to see.\n// The height of the Comments pop-over remains the same (to show first 5 comments), we don’t change it to show all possible 1000 comments. Only 5.\n\nconst INITIAL_VISIBLE_COMMENTS_COUNT = 3;\nconst COUNT_OF_COMMENTS_IN_SCROLLABLE_CONTAINER = 5;\nfunction FeedComments({ openCommentInput, openCommentList, feedItem, currentUser }) {\n const { comments } = feedItem;\n\n const commentsCount = comments.length;\n const moreCommentsExist = commentsCount > INITIAL_VISIBLE_COMMENTS_COUNT;\n\n const [isPosting, setIsPosting] = useState(false);\n const [isVisibleCommentsAppeared, setIsVisibleCommentsAppeared] = useState(false);\n const [isAllCommentsVisibleKeyPressed, setIsAllCommentsVisibleKeyPressed] = useState(false);\n const [commentsListHeight, setCommentsListHeight] = useState(null);\n\n const inputEl = useRef();\n const commentsListRef = useRef();\n\n const toggleShowAllComments = () => {\n setIsAllCommentsVisibleKeyPressed(!isAllCommentsVisibleKeyPressed);\n };\n\n const postComment = comment => {\n postFeedItemComment(feedItem.id, comment);\n };\n\n const visibleComments = useMemo(() => {\n const sortedComments = sortBy(feedItem.comments, item => -moment(item.created_at).unix());\n\n if (!isAllCommentsVisibleKeyPressed)\n return sortedComments.slice(0, INITIAL_VISIBLE_COMMENTS_COUNT);\n\n if (isAllCommentsVisibleKeyPressed && !isVisibleCommentsAppeared) {\n return sortedComments.slice(0, COUNT_OF_COMMENTS_IN_SCROLLABLE_CONTAINER);\n }\n\n if (isAllCommentsVisibleKeyPressed && isVisibleCommentsAppeared) return sortedComments;\n\n return [];\n }, [comments, isVisibleCommentsAppeared, isAllCommentsVisibleKeyPressed]);\n\n useEffect(() => {\n if (\n visibleComments.length === COUNT_OF_COMMENTS_IN_SCROLLABLE_CONTAINER &&\n !commentsListHeight\n ) {\n const divHeight = commentsListRef.current.clientHeight;\n setCommentsListHeight(divHeight);\n setIsVisibleCommentsAppeared(true);\n }\n\n if (commentsListHeight && !isAllCommentsVisibleKeyPressed) {\n setCommentsListHeight(null);\n setIsVisibleCommentsAppeared(false);\n }\n }, [visibleComments.length, commentsListHeight, isAllCommentsVisibleKeyPressed]);\n\n const isInsideDcApp = useIsInsideIsolatedDcApp();\n const classes = useStyles({ commentsListHeight, isAllCommentsVisibleKeyPressed, isInsideDcApp });\n\n return (\n <div className={(openCommentInput || !!commentsCount) && classes.feedCommentsContainer}>\n {openCommentInput && !isNativeDetected && (\n <CommentInput\n inputRef={inputEl}\n postComment={postComment}\n setIsPosting={setIsPosting}\n companyId={feedItem.company_id}\n autoFocus={false}\n currentUser={currentUser}\n parentId={`${feedItem.id}-${feedItem.comments?.size}`}\n />\n )}\n {openCommentList && (\n <div className={classes.feedCommentsList}>\n <div className={classes.feedCommentsListContentWrapper}>\n <div className={classes.feedCommentsListContent} ref={commentsListRef}>\n {visibleComments.map(comment => (\n <Comment\n key={comment.id}\n comment={comment}\n handleDeleteCallback={noop /* NOTE: Received through subscription */}\n patchCommentCallback={noop}\n companyId={feedItem.company_id}\n currentUser={currentUser}\n />\n ))}\n {commentsListHeight && <div className={classes.gradient} />}\n </div>\n </div>\n {moreCommentsExist && (\n <Typography\n variant=\"caption\"\n color=\"primary\"\n data-testid={`${PAGE_NAME}_viewMoreComments`}\n className={classes.showMore}\n onClick={toggleShowAllComments}\n >\n {isAllCommentsVisibleKeyPressed ? 'Hide older comments' : 'See all comments'}\n </Typography>\n )}\n </div>\n )}\n\n {isPosting && <CommentLoader />}\n </div>\n );\n}\n\nFeedComments.propTypes = {\n openCommentInput: PropTypes.bool.isRequired,\n feedItem: PropTypes.shape().isRequired,\n currentUser: PropTypes.shape().isRequired,\n};\n\nexport default FeedComments;\n"],"names":["useStyles","makeStyles","showMore","cursor","feedCommentsContainer","padding","feedCommentsList","marginTop","feedCommentsListContent","height","_ref","commentsListHeight","overflow","_ref2","feedCommentsListContentWrapper","position","gradient","bottom","left","width","background","_ref3","isInsideDcApp","concat","FeedComments","_ref4","_feedItem$comments","openCommentInput","openCommentList","feedItem","currentUser","comments","commentsCount","length","moreCommentsExist","useState","_useState2","_slicedToArray","_useState","isPosting","setIsPosting","_useState4","_useState3","isVisibleCommentsAppeared","setIsVisibleCommentsAppeared","_useState6","_useState5","isAllCommentsVisibleKeyPressed","setIsAllCommentsVisibleKeyPressed","_useState8","_useState7","setCommentsListHeight","inputEl","useRef","commentsListRef","visibleComments","useMemo","sortedComments","sortBy","item","moment","created_at","unix","slice","useEffect","divHeight","current","clientHeight","useIsInsideIsolatedDcApp","classes","_jsxs","className","children","isNativeDetected","_jsx","CommentInput","inputRef","postComment","comment","postFeedItemComment","id","companyId","company_id","autoFocus","parentId","size","jsxs","jsx","ref","map","Comment","handleDeleteCallback","noop","patchCommentCallback","Typography","variant","color","onClick","CommentLoader","propTypes","PropTypes","bool","isRequired","shape"],"mappings":"2/fAeMA,EAAYC,EAAAA,WAAW,CAC3BC,SAAU,CACRC,OAAQ,WAEVC,sBAAuB,CAAEC,QAAS,iBAClCC,iBAAkB,CAAEC,UAAW,IAC/BC,wBAAyB,CACvBC,OAAQ,SAAAC,GAAA,IAAGC,IAAAA,mBAAkB,OAAOA,GAAsBA,EAAqB,CAAC,EAChFC,SAAU,SAAAC,GAAqB,SAAlBF,oBAA+C,QAAQ,GAEtEG,+BAAgC,CAC9BC,SAAU,YAEZC,SAAU,CACRD,SAAU,WACVE,OAAQ,EACRC,KAAM,EACNC,MAAO,OACPV,OAAQ,GACRW,WAAY,SAAAC,GAAA,IAAGC,IAAAA,cAAa,MAAA,mDAAAC,OAExBD,EAAgB,UAAY,SAAQ,SAAA,KAgB5C,SAASE,EAA2EC,GAAA,IAAAC,EAA5DC,IAAAA,iBAAkBC,IAAAA,gBAAiBC,IAAAA,SAAUC,IAAAA,YAC3DC,EAAaF,EAAbE,SAEFC,EAAgBD,EAASE,OACzBC,EAAoBF,EANW,EAQHG,EAAAA,EAAQA,UAAC,GAAMC,EAAAC,EAAAA,QAAAC,EAAA,GAA1CC,EAASH,EAAA,GAAEI,EAAYJ,EAAA,GACoCD,EAAAA,EAAQA,UAAC,GAAMM,EAAAJ,EAAAA,QAAAK,EAAA,GAA1EC,EAAyBF,EAAA,GAAEG,EAA4BH,EAAA,GACcN,EAAAA,EAAQA,UAAC,GAAMU,EAAAR,EAAAA,QAAAS,EAAA,GAApFC,EAA8BF,EAAA,GAAEG,EAAiCH,EAAA,GACpBV,EAAAA,EAAQA,SAAC,MAAKc,EAAAZ,EAAAA,QAAAa,EAAA,GAA3DvC,EAAkBsC,EAAA,GAAEE,EAAqBF,EAAA,GAE1CG,EAAUC,EAAAA,SACVC,EAAkBD,EAAAA,SAUlBE,EAAkBC,EAAAA,SAAQ,WAC9B,IAAMC,EAAiBC,EAAMA,OAAC7B,EAASE,UAAU,SAAA4B,GAAI,OAAKC,EAAAA,QAAOD,EAAKE,YAAYC,UAElF,OAAKf,EAGDA,IAAmCJ,EAC9Bc,EAAeM,MAAM,EA9BgB,GAiC1ChB,GAAkCJ,EAAkCc,EAEjE,GAREA,EAAeM,MAAM,EA5BK,EAqCpC,GAAE,CAAChC,EAAUY,EAA2BI,IAEzCiB,EAAAA,WAAU,WACR,GAvC8C,IAwC5CT,EAAgBtB,SACftB,EACD,CACA,IAAMsD,EAAYX,EAAgBY,QAAQC,aAC1ChB,EAAsBc,GACtBrB,GAA6B,EAC/B,CAEIjC,IAAuBoC,IACzBI,EAAsB,MACtBP,GAA6B,GAEhC,GAAE,CAACW,EAAgBtB,OAAQtB,EAAoBoC,IAEhD,IAAMzB,EAAgB8C,EAAAA,2BAChBC,EAAUrE,EAAU,CAAEW,mBAAAA,EAAoBoC,+BAAAA,EAAgCzB,cAAAA,IAEhF,OACEgD,EAAAA,KAAA,MAAA,CAAKC,WAAY5C,KAAsBK,IAAkBqC,EAAQjE,sBAAsBoE,SAAA,CACpF7C,IAAqB8C,EAAAA,kBACpBC,EAAAA,IAACC,EAAY,CACXC,SAAUxB,EACVyB,YA3CY,SAAAC,GAClBC,EAAAA,oBAAoBlD,EAASmD,GAAIF,IA2C3BtC,aAAcA,EACdyC,UAAWpD,EAASqD,WACpBC,WAAW,EACXrD,YAAaA,EACbsD,SAAQ,GAAA7D,OAAKM,EAASmD,GAAE,KAAAzD,OAAI,QAAJG,EAAIG,EAASE,gBAAT,IAAAL,OAAA,EAAAA,EAAmB2D,QAGlDzD,GACC0C,EAAAgB,KAAA,MAAA,CAAKf,UAAWF,EAAQ/D,iBAAiBkE,SACvC,CAAAE,EAAAa,IAAA,MAAA,CAAKhB,UAAWF,EAAQvD,+BAA+B0D,SACrDF,EAAAgB,KAAA,MAAA,CAAKf,UAAWF,EAAQ7D,wBAAyBgF,IAAKlC,EAAgBkB,SAAA,CACnEjB,EAAgBkC,KAAI,SAAAX,GAAO,OAC1BJ,EAAAA,IAACgB,EAAO,CAENZ,QAASA,EACTa,qBAAsBC,EAAIA,KAC1BC,qBAAsBD,EAAKA,KAC3BX,UAAWpD,EAASqD,WACpBpD,YAAaA,GALRgD,EAAQE,OAQhBrE,GAAsB+D,EAAAa,IAAA,MAAA,CAAKhB,UAAWF,EAAQrD,gBAGlDkB,GACCwC,EAAAa,IAACO,aAAU,CACTC,QAAQ,UACRC,MAAM,UACN,cAAA,GAAAzE,OAjII,eAiIyC,qBAC7CgD,UAAWF,EAAQnE,SACnB+F,QA9EkB,WAC5BjD,GAAmCD,IA6EMyB,SAE9BzB,EAAiC,sBAAwB,wBAMjER,GAAamC,EAAAA,IAACwB,EAAgB,CAAA,KAGrC,CAEA1E,EAAa2E,UAAY,CACvBxE,iBAAkByE,EAAAA,QAAUC,KAAKC,WACjCzE,SAAUuE,EAAAA,QAAUG,QAAQD,WAC5BxE,YAAasE,EAAAA,QAAUG,QAAQD"}
@@ -1,2 +1,2 @@
1
- "use strict";var e=require("prop-types"),t=require("react/jsx-runtime");function r(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var f=r(e);function s(e){var r=e.offsetX,f=e.offsetY;return t.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",transform:"translate(".concat(r,",").concat(f,")"),children:[t.jsx("path",{d:"M11.3259 0L15.4044 0.0174C15.5624 0.017453 15.7139 0.0802618 15.8256 0.192012C15.9373 0.303762 16 0.455301 16 0.6133V12.9293C16 13.0872 15.9373 13.2387 15.8257 13.3504C15.7141 13.4622 15.5627 13.525 15.4048 13.5252L11.3263 13.5078C10.652 13.509 10.0036 13.7676 9.51363 14.2308C9.19101 14.5358 8.95309 14.9143 8.81705 15.3295C8.69742 15.6946 8.38984 16 8.00564 16C7.6214 16 7.31381 15.6945 7.19419 15.3294C7.05821 14.9143 6.82039 14.5359 6.4979 14.2309C6.00804 13.7677 5.35978 13.5091 4.6856 13.5078H0.5956C0.437601 13.5077 0.286094 13.4449 0.1744 13.3332C0.0627059 13.2214 -2.65192e-05 13.0699 0 12.9119V0.5959C-2.65192e-05 0.437901 0.0627059 0.286362 0.1744 0.174612C0.286094 0.0628618 0.437601 5.30353e-05 0.5956 0H4.6853C5.30628 8.92501e-05 5.91871 0.144783 6.47407 0.42262C7.02943 0.700456 7.51246 1.1038 7.8849 1.6007L8.0049 1.7607L8.1249 1.6014C8.49748 1.10426 8.98071 0.700718 9.53632 0.422757C10.0919 0.144796 10.7046 5.43028e-05 11.3259 0Z",fill:"#63EFFF"}),t.jsx("rect",{x:"7",y:"3",width:"2",height:"10",rx:"1",fill:"#212121"})]})}s.propTypes={offsetX:f.default.number,offsetY:f.default.number},s.defaultProps={offsetX:0,offsetY:0},module.exports=s;
1
+ "use strict";var e=require("prop-types"),t=require("react/jsx-runtime");function r(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var o=r(e);function f(e){var r=e.offsetX,o=void 0===r?0:r,f=e.offsetY,s=void 0===f?0:f;return t.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",transform:"translate(".concat(o,",").concat(s,")"),children:[t.jsx("path",{d:"M11.3259 0L15.4044 0.0174C15.5624 0.017453 15.7139 0.0802618 15.8256 0.192012C15.9373 0.303762 16 0.455301 16 0.6133V12.9293C16 13.0872 15.9373 13.2387 15.8257 13.3504C15.7141 13.4622 15.5627 13.525 15.4048 13.5252L11.3263 13.5078C10.652 13.509 10.0036 13.7676 9.51363 14.2308C9.19101 14.5358 8.95309 14.9143 8.81705 15.3295C8.69742 15.6946 8.38984 16 8.00564 16C7.6214 16 7.31381 15.6945 7.19419 15.3294C7.05821 14.9143 6.82039 14.5359 6.4979 14.2309C6.00804 13.7677 5.35978 13.5091 4.6856 13.5078H0.5956C0.437601 13.5077 0.286094 13.4449 0.1744 13.3332C0.0627059 13.2214 -2.65192e-05 13.0699 0 12.9119V0.5959C-2.65192e-05 0.437901 0.0627059 0.286362 0.1744 0.174612C0.286094 0.0628618 0.437601 5.30353e-05 0.5956 0H4.6853C5.30628 8.92501e-05 5.91871 0.144783 6.47407 0.42262C7.02943 0.700456 7.51246 1.1038 7.8849 1.6007L8.0049 1.7607L8.1249 1.6014C8.49748 1.10426 8.98071 0.700718 9.53632 0.422757C10.0919 0.144796 10.7046 5.43028e-05 11.3259 0Z",fill:"#63EFFF"}),t.jsx("rect",{x:"7",y:"3",width:"2",height:"10",rx:"1",fill:"#212121"})]})}f.propTypes={offsetX:o.default.number,offsetY:o.default.number},module.exports=f;
2
2
  //# sourceMappingURL=LessonsLearnedLeafIcon.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"LessonsLearnedLeafIcon.js","sources":["../../../../../src/components/FeedItem/components/LessonsLearnedLeafIcon.js"],"sourcesContent":["import PropTypes from 'prop-types';\n\nfunction LessonsLearnedLeafIcon({ offsetX, offsetY }) {\n return (\n <svg\n width=\"16\"\n height=\"16\"\n viewBox=\"0 0 16 16\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n transform={`translate(${offsetX},${offsetY})`}\n >\n <path\n d=\"M11.3259 0L15.4044 0.0174C15.5624 0.017453 15.7139 0.0802618 15.8256 0.192012C15.9373 0.303762 16 0.455301 16 0.6133V12.9293C16 13.0872 15.9373 13.2387 15.8257 13.3504C15.7141 13.4622 15.5627 13.525 15.4048 13.5252L11.3263 13.5078C10.652 13.509 10.0036 13.7676 9.51363 14.2308C9.19101 14.5358 8.95309 14.9143 8.81705 15.3295C8.69742 15.6946 8.38984 16 8.00564 16C7.6214 16 7.31381 15.6945 7.19419 15.3294C7.05821 14.9143 6.82039 14.5359 6.4979 14.2309C6.00804 13.7677 5.35978 13.5091 4.6856 13.5078H0.5956C0.437601 13.5077 0.286094 13.4449 0.1744 13.3332C0.0627059 13.2214 -2.65192e-05 13.0699 0 12.9119V0.5959C-2.65192e-05 0.437901 0.0627059 0.286362 0.1744 0.174612C0.286094 0.0628618 0.437601 5.30353e-05 0.5956 0H4.6853C5.30628 8.92501e-05 5.91871 0.144783 6.47407 0.42262C7.02943 0.700456 7.51246 1.1038 7.8849 1.6007L8.0049 1.7607L8.1249 1.6014C8.49748 1.10426 8.98071 0.700718 9.53632 0.422757C10.0919 0.144796 10.7046 5.43028e-05 11.3259 0Z\"\n fill=\"#63EFFF\"\n />\n <rect x=\"7\" y=\"3\" width=\"2\" height=\"10\" rx=\"1\" fill=\"#212121\" />\n </svg>\n );\n}\n\nLessonsLearnedLeafIcon.propTypes = {\n offsetX: PropTypes.number,\n offsetY: PropTypes.number,\n};\n\nLessonsLearnedLeafIcon.defaultProps = {\n offsetX: 0,\n offsetY: 0,\n};\n\nexport default LessonsLearnedLeafIcon;\n"],"names":["LessonsLearnedLeafIcon","_ref","offsetX","offsetY","_jsxs","width","height","viewBox","fill","xmlns","transform","children","_jsx","jsx","d","x","y","rx","propTypes","PropTypes","number","defaultProps"],"mappings":"2JAEA,SAASA,EAA6CC,GAAA,IAApBC,IAAAA,QAASC,IAAAA,QACzC,OACEC,EAAAA,KAAA,MAAA,CACEC,MAAM,KACNC,OAAO,KACPC,QAAQ,YACRC,KAAK,OACLC,MAAM,6BACNC,UAAwBR,aAAAA,OAAAA,EAAWC,KAAAA,OAAAA,EAAW,KAAAQ,SAE9C,CAAAC,EAAAC,IAAA,OAAA,CACEC,EAAE,u7BACFN,KAAK,YAEPI,EAAAC,IAAA,OAAA,CAAME,EAAE,IAAIC,EAAE,IAAIX,MAAM,IAAIC,OAAO,KAAKW,GAAG,IAAIT,KAAK,cAG1D,CAEAR,EAAuBkB,UAAY,CACjChB,QAASiB,EAAS,QAACC,OACnBjB,QAASgB,EAAS,QAACC,QAGrBpB,EAAuBqB,aAAe,CACpCnB,QAAS,EACTC,QAAS"}
1
+ {"version":3,"file":"LessonsLearnedLeafIcon.js","sources":["../../../../../src/components/FeedItem/components/LessonsLearnedLeafIcon.js"],"sourcesContent":["import PropTypes from 'prop-types';\n\nfunction LessonsLearnedLeafIcon({ offsetX = 0, offsetY = 0 }) {\n return (\n <svg\n width=\"16\"\n height=\"16\"\n viewBox=\"0 0 16 16\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n transform={`translate(${offsetX},${offsetY})`}\n >\n <path\n d=\"M11.3259 0L15.4044 0.0174C15.5624 0.017453 15.7139 0.0802618 15.8256 0.192012C15.9373 0.303762 16 0.455301 16 0.6133V12.9293C16 13.0872 15.9373 13.2387 15.8257 13.3504C15.7141 13.4622 15.5627 13.525 15.4048 13.5252L11.3263 13.5078C10.652 13.509 10.0036 13.7676 9.51363 14.2308C9.19101 14.5358 8.95309 14.9143 8.81705 15.3295C8.69742 15.6946 8.38984 16 8.00564 16C7.6214 16 7.31381 15.6945 7.19419 15.3294C7.05821 14.9143 6.82039 14.5359 6.4979 14.2309C6.00804 13.7677 5.35978 13.5091 4.6856 13.5078H0.5956C0.437601 13.5077 0.286094 13.4449 0.1744 13.3332C0.0627059 13.2214 -2.65192e-05 13.0699 0 12.9119V0.5959C-2.65192e-05 0.437901 0.0627059 0.286362 0.1744 0.174612C0.286094 0.0628618 0.437601 5.30353e-05 0.5956 0H4.6853C5.30628 8.92501e-05 5.91871 0.144783 6.47407 0.42262C7.02943 0.700456 7.51246 1.1038 7.8849 1.6007L8.0049 1.7607L8.1249 1.6014C8.49748 1.10426 8.98071 0.700718 9.53632 0.422757C10.0919 0.144796 10.7046 5.43028e-05 11.3259 0Z\"\n fill=\"#63EFFF\"\n />\n <rect x=\"7\" y=\"3\" width=\"2\" height=\"10\" rx=\"1\" fill=\"#212121\" />\n </svg>\n );\n}\n\nLessonsLearnedLeafIcon.propTypes = {\n offsetX: PropTypes.number,\n offsetY: PropTypes.number,\n};\n\nexport default LessonsLearnedLeafIcon;\n"],"names":["LessonsLearnedLeafIcon","_ref","_ref$offsetX","offsetX","_ref$offsetY","offsetY","_jsxs","width","height","viewBox","fill","xmlns","transform","children","_jsx","jsx","d","x","y","rx","propTypes","PropTypes","number"],"mappings":"2JAEA,SAASA,EAAqDC,GAAA,IAAAC,EAAAD,EAA5BE,QAAAA,aAAU,EAACD,EAAAE,EAAAH,EAAEI,QAAAA,aAAU,EAACD,EACxD,OACEE,EAAAA,KAAA,MAAA,CACEC,MAAM,KACNC,OAAO,KACPC,QAAQ,YACRC,KAAK,OACLC,MAAM,6BACNC,UAAwBT,aAAAA,OAAAA,EAAWE,KAAAA,OAAAA,EAAW,KAAAQ,SAE9C,CAAAC,EAAAC,IAAA,OAAA,CACEC,EAAE,u7BACFN,KAAK,YAEPI,EAAAC,IAAA,OAAA,CAAME,EAAE,IAAIC,EAAE,IAAIX,MAAM,IAAIC,OAAO,KAAKW,GAAG,IAAIT,KAAK,cAG1D,CAEAV,EAAuBoB,UAAY,CACjCjB,QAASkB,EAAS,QAACC,OACnBjB,QAASgB,EAAS,QAACC"}
@@ -1,2 +1,2 @@
1
- "use strict";var e=require("prop-types"),t=require("@material-ui/core"),i=require("react-router-dom"),r=require("@material-ui/icons/Timeline"),a=require("../../../constants/alerts.js"),n=require("react/jsx-runtime");function o(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var l=o(e),s=o(r),d=t.makeStyles((function(e){return{alertContanier:{display:"inline-block",width:"calc(100% - 35px)"},timlineIconRoot:{verticalAlign:"bottom",marginRight:15},timelineText:{color:e.palette.grey[400]},item:{color:"#fff","&:hover":{textDecoration:"underline"}}}})),u=function(e){var r=e.feedItem,o=e.onFeedItemClick,l=d(),u=r.context.alert,c=u.id,m=u.name,p=u.description,f=u.decision_path;return n.jsx("div",{children:n.jsxs("div",{className:l.alertContanier,children:[n.jsx(t.Typography,{variant:"body1",children:n.jsx(i.Link,{className:l.item,to:"/alerts/".concat(c,"/"),onClick:function(e){if(o)return e.preventDefault(),e.stopPropagation(),void o(r);e.preventDefault(),localStorage.setItem(a.OPEN_ALERT_DETAILS_ID_STORAGE_KEY,c)},children:m})}),n.jsx(t.Typography,{variant:"body1",gutterBottom:!0,children:p}),n.jsxs(t.Typography,{variant:"body1",className:l.timelineText,children:[n.jsx(s.default,{className:l.timlineIconRoot,color:"action"}),f]})]})})};u.propTypes={feedItem:l.default.shape({context:l.default.shape({alert:l.default.shape({id:l.default.number.isRequired,name:l.default.string.isRequired,description:l.default.string.isRequired,decision_path:l.default.string.isRequired,level:l.default.string.isRequired}).isRequired}).isRequired}).isRequired,onFeedItemClick:l.default.func},u.defaultProps={onFeedItemClick:void 0},module.exports=u;
1
+ "use strict";var e=require("prop-types"),t=require("@material-ui/core"),i=require("react-router-dom"),r=require("@material-ui/icons/Timeline"),a=require("../../../constants/alerts.js"),n=require("react/jsx-runtime");function o(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var l=o(e),s=o(r),d=t.makeStyles((function(e){return{alertContanier:{display:"inline-block",width:"calc(100% - 35px)"},timlineIconRoot:{verticalAlign:"bottom",marginRight:15},timelineText:{color:e.palette.grey[400]},item:{color:"#fff","&:hover":{textDecoration:"underline"}}}})),u=function(e){var r=e.feedItem,o=e.onFeedItemClick,l=d(),u=r.context.alert,c=u.id,m=u.name,p=u.description,f=u.decision_path;return n.jsx("div",{children:n.jsxs("div",{className:l.alertContanier,children:[n.jsx(t.Typography,{variant:"body1",children:n.jsx(i.Link,{className:l.item,to:"/alerts/".concat(c,"/"),onClick:function(e){if(o)return e.preventDefault(),e.stopPropagation(),void o(r);e.preventDefault(),localStorage.setItem(a.OPEN_ALERT_DETAILS_ID_STORAGE_KEY,c)},children:m})}),n.jsx(t.Typography,{variant:"body1",gutterBottom:!0,children:p}),n.jsxs(t.Typography,{variant:"body1",className:l.timelineText,children:[n.jsx(s.default,{className:l.timlineIconRoot,color:"action"}),f]})]})})};u.propTypes={feedItem:l.default.shape({context:l.default.shape({alert:l.default.shape({id:l.default.number.isRequired,name:l.default.string.isRequired,description:l.default.string.isRequired,decision_path:l.default.string.isRequired,level:l.default.string.isRequired}).isRequired}).isRequired}).isRequired,onFeedItemClick:l.default.func},module.exports=u;
2
2
  //# sourceMappingURL=AlertFeedItem.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"AlertFeedItem.js","sources":["../../../../../src/components/FeedItem/feedItemTypes/AlertFeedItem.js"],"sourcesContent":["import PropTypes from 'prop-types';\nimport { Typography, makeStyles } from '@material-ui/core';\nimport { Link } from 'react-router-dom';\nimport TimelineIcon from '@material-ui/icons/Timeline';\n\nimport { OPEN_ALERT_DETAILS_ID_STORAGE_KEY } from '~/constants/alerts';\n\nconst useStyles = makeStyles(theme => ({\n alertContanier: {\n display: 'inline-block',\n width: 'calc(100% - 35px)',\n },\n timlineIconRoot: {\n verticalAlign: 'bottom',\n marginRight: 15,\n },\n timelineText: {\n color: theme.palette.grey[400],\n },\n item: {\n color: '#fff',\n '&:hover': {\n textDecoration: 'underline',\n },\n },\n}));\n\nconst AlertFeedItem = ({ feedItem, onFeedItemClick }) => {\n const classes = useStyles();\n const {\n context: {\n alert: { id, name, description, decision_path: decisionPath },\n },\n } = feedItem;\n\n const handleAlertClick = e => {\n if (onFeedItemClick) {\n e.preventDefault();\n e.stopPropagation();\n onFeedItemClick(feedItem);\n return;\n }\n\n e.preventDefault();\n localStorage.setItem(OPEN_ALERT_DETAILS_ID_STORAGE_KEY, id);\n };\n\n return (\n <div>\n <div className={classes.alertContanier}>\n <Typography variant=\"body1\">\n <Link className={classes.item} to={`/alerts/${id}/`} onClick={handleAlertClick}>\n {name}\n </Link>\n </Typography>\n\n <Typography variant=\"body1\" gutterBottom>\n {description}\n </Typography>\n\n <Typography variant=\"body1\" className={classes.timelineText}>\n <TimelineIcon className={classes.timlineIconRoot} color=\"action\" />\n {decisionPath}\n </Typography>\n </div>\n </div>\n );\n};\n\nAlertFeedItem.propTypes = {\n feedItem: PropTypes.shape({\n context: PropTypes.shape({\n alert: PropTypes.shape({\n id: PropTypes.number.isRequired,\n name: PropTypes.string.isRequired,\n description: PropTypes.string.isRequired,\n decision_path: PropTypes.string.isRequired,\n level: PropTypes.string.isRequired,\n }).isRequired,\n }).isRequired,\n }).isRequired,\n onFeedItemClick: PropTypes.func,\n};\n\nAlertFeedItem.defaultProps = {\n onFeedItemClick: undefined,\n};\n\nexport default AlertFeedItem;\n"],"names":["useStyles","makeStyles","theme","alertContanier","display","width","timlineIconRoot","verticalAlign","marginRight","timelineText","color","palette","grey","item","textDecoration","AlertFeedItem","_ref","feedItem","onFeedItemClick","classes","_feedItem$context$ale","context","alert","id","name","description","decisionPath","decision_path","_jsx","children","_jsxs","jsxs","className","Typography","variant","Link","to","concat","onClick","e","preventDefault","stopPropagation","localStorage","setItem","OPEN_ALERT_DETAILS_ID_STORAGE_KEY","gutterBottom","TimelineIcon","propTypes","PropTypes","shape","number","isRequired","string","level","func","defaultProps","undefined"],"mappings":"kTAOMA,EAAYC,EAAAA,YAAW,SAAAC,GAAK,MAAK,CACrCC,eAAgB,CACdC,QAAS,eACTC,MAAO,qBAETC,gBAAiB,CACfC,cAAe,SACfC,YAAa,IAEfC,aAAc,CACZC,MAAOR,EAAMS,QAAQC,KAAK,MAE5BC,KAAM,CACJH,MAAO,OACP,UAAW,CACTI,eAAgB,cAGrB,IAEKC,EAAgB,SAAmCC,GAAA,IAAhCC,IAAAA,SAAUC,IAAAA,gBAC3BC,EAAUnB,IAChBoB,EAIIH,EAHFI,QACEC,MAASC,IAAAA,GAAIC,IAAAA,KAAMC,IAAAA,YAA4BC,IAAfC,cAgBpC,OACEC,EAAAA,IAAA,MAAA,CAAAC,SACEC,EAAAC,KAAA,MAAA,CAAKC,UAAWb,EAAQhB,eAAe0B,SAAA,CACrCD,MAACK,aAAU,CAACC,QAAQ,QAAOL,SACzBD,MAACO,OAAI,CAACH,UAAWb,EAAQN,KAAMuB,GAAE,WAAAC,OAAad,EAAM,KAACe,QAhBpC,SAAAC,GACvB,GAAIrB,EAIF,OAHAqB,EAAEC,iBACFD,EAAEE,uBACFvB,EAAgBD,GAIlBsB,EAAEC,iBACFE,aAAaC,QAAQC,oCAAmCrB,IAO6BM,SAC5EL,MAILI,MAACK,aAAU,CAACC,QAAQ,QAAQW,cAAY,EAAAhB,SACrCJ,IAGHK,OAACG,aAAU,CAACC,QAAQ,QAAQF,UAAWb,EAAQV,aAAaoB,SAAA,CAC1DD,MAACkB,UAAY,CAACd,UAAWb,EAAQb,gBAAiBI,MAAM,WACvDgB,SAKX,EAEAX,EAAcgC,UAAY,CACxB9B,SAAU+B,EAAS,QAACC,MAAM,CACxB5B,QAAS2B,EAAS,QAACC,MAAM,CACvB3B,MAAO0B,EAAS,QAACC,MAAM,CACrB1B,GAAIyB,EAAAA,QAAUE,OAAOC,WACrB3B,KAAMwB,EAAAA,QAAUI,OAAOD,WACvB1B,YAAauB,EAAAA,QAAUI,OAAOD,WAC9BxB,cAAeqB,EAAAA,QAAUI,OAAOD,WAChCE,MAAOL,EAAAA,QAAUI,OAAOD,aACvBA,aACFA,aACFA,WACHjC,gBAAiB8B,EAAS,QAACM,MAG7BvC,EAAcwC,aAAe,CAC3BrC,qBAAiBsC"}
1
+ {"version":3,"file":"AlertFeedItem.js","sources":["../../../../../src/components/FeedItem/feedItemTypes/AlertFeedItem.js"],"sourcesContent":["import PropTypes from 'prop-types';\nimport { Typography, makeStyles } from '@material-ui/core';\nimport { Link } from 'react-router-dom';\nimport TimelineIcon from '@material-ui/icons/Timeline';\n\nimport { OPEN_ALERT_DETAILS_ID_STORAGE_KEY } from '~/constants/alerts';\n\nconst useStyles = makeStyles(theme => ({\n alertContanier: {\n display: 'inline-block',\n width: 'calc(100% - 35px)',\n },\n timlineIconRoot: {\n verticalAlign: 'bottom',\n marginRight: 15,\n },\n timelineText: {\n color: theme.palette.grey[400],\n },\n item: {\n color: '#fff',\n '&:hover': {\n textDecoration: 'underline',\n },\n },\n}));\n\nconst AlertFeedItem = ({ feedItem, onFeedItemClick }) => {\n const classes = useStyles();\n const {\n context: {\n alert: { id, name, description, decision_path: decisionPath },\n },\n } = feedItem;\n\n const handleAlertClick = e => {\n if (onFeedItemClick) {\n e.preventDefault();\n e.stopPropagation();\n onFeedItemClick(feedItem);\n return;\n }\n\n e.preventDefault();\n localStorage.setItem(OPEN_ALERT_DETAILS_ID_STORAGE_KEY, id);\n };\n\n return (\n <div>\n <div className={classes.alertContanier}>\n <Typography variant=\"body1\">\n <Link className={classes.item} to={`/alerts/${id}/`} onClick={handleAlertClick}>\n {name}\n </Link>\n </Typography>\n\n <Typography variant=\"body1\" gutterBottom>\n {description}\n </Typography>\n\n <Typography variant=\"body1\" className={classes.timelineText}>\n <TimelineIcon className={classes.timlineIconRoot} color=\"action\" />\n {decisionPath}\n </Typography>\n </div>\n </div>\n );\n};\n\nAlertFeedItem.propTypes = {\n feedItem: PropTypes.shape({\n context: PropTypes.shape({\n alert: PropTypes.shape({\n id: PropTypes.number.isRequired,\n name: PropTypes.string.isRequired,\n description: PropTypes.string.isRequired,\n decision_path: PropTypes.string.isRequired,\n level: PropTypes.string.isRequired,\n }).isRequired,\n }).isRequired,\n }).isRequired,\n onFeedItemClick: PropTypes.func,\n};\n\nexport default AlertFeedItem;\n"],"names":["useStyles","makeStyles","theme","alertContanier","display","width","timlineIconRoot","verticalAlign","marginRight","timelineText","color","palette","grey","item","textDecoration","AlertFeedItem","_ref","feedItem","onFeedItemClick","classes","_feedItem$context$ale","context","alert","id","name","description","decisionPath","decision_path","_jsx","children","_jsxs","jsxs","className","Typography","variant","Link","to","concat","onClick","e","preventDefault","stopPropagation","localStorage","setItem","OPEN_ALERT_DETAILS_ID_STORAGE_KEY","gutterBottom","TimelineIcon","propTypes","PropTypes","shape","number","isRequired","string","level","func"],"mappings":"kTAOMA,EAAYC,EAAAA,YAAW,SAAAC,GAAK,MAAK,CACrCC,eAAgB,CACdC,QAAS,eACTC,MAAO,qBAETC,gBAAiB,CACfC,cAAe,SACfC,YAAa,IAEfC,aAAc,CACZC,MAAOR,EAAMS,QAAQC,KAAK,MAE5BC,KAAM,CACJH,MAAO,OACP,UAAW,CACTI,eAAgB,cAGrB,IAEKC,EAAgB,SAAmCC,GAAA,IAAhCC,IAAAA,SAAUC,IAAAA,gBAC3BC,EAAUnB,IAChBoB,EAIIH,EAHFI,QACEC,MAASC,IAAAA,GAAIC,IAAAA,KAAMC,IAAAA,YAA4BC,IAAfC,cAgBpC,OACEC,EAAAA,IAAA,MAAA,CAAAC,SACEC,EAAAC,KAAA,MAAA,CAAKC,UAAWb,EAAQhB,eAAe0B,SAAA,CACrCD,MAACK,aAAU,CAACC,QAAQ,QAAOL,SACzBD,MAACO,OAAI,CAACH,UAAWb,EAAQN,KAAMuB,GAAE,WAAAC,OAAad,EAAM,KAACe,QAhBpC,SAAAC,GACvB,GAAIrB,EAIF,OAHAqB,EAAEC,iBACFD,EAAEE,uBACFvB,EAAgBD,GAIlBsB,EAAEC,iBACFE,aAAaC,QAAQC,oCAAmCrB,IAO6BM,SAC5EL,MAILI,MAACK,aAAU,CAACC,QAAQ,QAAQW,cAAY,EAAAhB,SACrCJ,IAGHK,OAACG,aAAU,CAACC,QAAQ,QAAQF,UAAWb,EAAQV,aAAaoB,SAAA,CAC1DD,MAACkB,UAAY,CAACd,UAAWb,EAAQb,gBAAiBI,MAAM,WACvDgB,SAKX,EAEAX,EAAcgC,UAAY,CACxB9B,SAAU+B,EAAS,QAACC,MAAM,CACxB5B,QAAS2B,EAAS,QAACC,MAAM,CACvB3B,MAAO0B,EAAS,QAACC,MAAM,CACrB1B,GAAIyB,EAAAA,QAAUE,OAAOC,WACrB3B,KAAMwB,EAAAA,QAAUI,OAAOD,WACvB1B,YAAauB,EAAAA,QAAUI,OAAOD,WAC9BxB,cAAeqB,EAAAA,QAAUI,OAAOD,WAChCE,MAAOL,EAAAA,QAAUI,OAAOD,aACvBA,aACFA,aACFA,WACHjC,gBAAiB8B,EAAS,QAACM"}
@@ -1,2 +1,2 @@
1
- "use strict";var e=require("@babel/runtime/helpers/typeof"),t=require("@babel/runtime/helpers/defineProperty"),r=require("prop-types"),a=require("immutable"),i=require("moment"),s=require("@material-ui/core"),n=require("./helpers.js"),p=require("./styles.css.js"),o=require("../../../../utils/mobileDetect.js"),u=require("../../../EmbeddedApp/DevCenterEmbeddedApp.js"),c=require("../../../EmbeddedApp/EmbeddedApp.js"),d=require("../../../Attachment/index.js"),l=require("../../../UserMention/utils/index.js"),m=require("react/jsx-runtime");function b(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var f=b(e),g=b(t),y=b(i);function h(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function j(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?h(Object(r),!0).forEach((function(t){g.default(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):h(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var A=s.makeStyles((function(e){return{attachmentLable:{fontSize:"12px",color:e.palette.primary.text6}}})),q=function(e){var t=e.feedItem,r=t.id,i=t.well,b=t.rig,f=t.app,g=t.package,h=t.company_id,q=t.context.app_annotation,w=q.body,v=q.app_category,x=q.app_key,O=q.created_at,R=q.settings,D=void 0===R?{}:R,_=q.attachment,E=q.data_timestamp,P=t.mentioned_users,S=e.appContext,F=e.appRegistry,C=e.subscribeAppForAsset,I=e.unsubscribeAppFromAsset,N=e.currentUser,T=e.appData,L=e.isSubDataLoading,k=e.getSubErrors,U=e.isSubDataEmpty,M=A(),z=!!f,B=z&&"dev_center"===f.platform;if(!z||B&&!g)return m.jsx(s.Typography,{variant:"body2",children:"App not found"});var K=n.normalizeAssetForApp(i||b,h),G=y.default(E||O).unix();return[K,v,x,O].every(Boolean)&&K.id?m.jsxs("div",{className:p.appAnnotationFeedItem,children:[m.jsx(s.Typography,{variant:"body2","data-testid":"".concat("FeedActivityPo_appAnnotation","_message"),children:l.formatMentionText(w,P,o.isNativeDetected)}),e.showAppPreview&&m.jsxs(m.Fragment,{children:[m.jsx("br",{}),g&&g.url?m.jsx(u,{appContainerClassName:p.appAnnotationFeedItemApp,appId:r,assetId:K.id,asset:K,app:{app:j(j({},f),{},{settings:D}),package:g},coordinates:{},timestamp:G,time:E,currentUser:N}):m.jsx(c,{appContainerClassName:p.appAnnotationFeedItemApp,appId:r,assetId:K.id,asset:a.Map(K),appComponentKey:x,appComponentCategory:v,requiresSubscription:!0,appContext:a.Map(S),assetDashboards:a.List(),timestamp:G,time:E,onSettingChange:function(){},settings:D,internalSelectors:{isSubDataLoading:L,getSubErrors:k,isSubDataEmpty:U},appRegistry:F,appData:T,subscribeAppForAsset:C,unsubscribeAppFromAsset:I})]}),_&&_.signed_url&&m.jsxs("div",{className:p.appAnnotationFeedItemAttachment,children:[m.jsx(s.Typography,{variant:"subtitle1",className:M.attachmentLable,children:"Attachments"}),m.jsx(d,{small:!0,attachmentUrl:_.signed_url,fileName:_.file_name,displayName:_.file_name})]})]}):m.jsx(s.Typography,{variant:"body2",children:"No Data"})};q.propTypes={feedItem:r.shape({id:r.oneOfType([r.number,r.string]).isRequired,well:function(e,t,r){return e.well||e.rig?e.well&&"object"!==f.default(e.well)?new Error("Prop '".concat(t,"' should be an object")):null:new Error("One of props 'well' or 'rig' was not specified in '".concat(r,"'."))},rig:function(e,t,r){return e.well||e.rig?e.rig&&"object"!==f.default(e.rig)?new Error("Prop '".concat(t,"' should be an object")):null:new Error("One of props 'well' or 'rig' was not specified in '".concat(r,"'."))},context:r.shape({app_annotation:r.shape({body:r.string,app_category:r.string.isRequired,app_name:r.string.isRequired,created_at:r.string.isRequired,settings:r.shape()}).isRequired}).isRequired}).isRequired,appContext:r.shape().isRequired,currentUser:r.shape().isRequired,appData:r.shape().isRequired,appRegistry:r.shape().isRequired,subscribeAppForAsset:r.func.isRequired,unsubscribeAppFromAsset:r.func.isRequired,isSubDataLoading:r.func.isRequired,getSubErrors:r.func.isRequired,isSubDataEmpty:r.func.isRequired,showAppPreview:r.bool},q.defaultProps={showAppPreview:!0},module.exports=q;
1
+ "use strict";var e=require("@babel/runtime/helpers/typeof"),t=require("@babel/runtime/helpers/defineProperty"),r=require("prop-types"),a=require("immutable"),i=require("moment"),s=require("@material-ui/core"),n=require("./helpers.js"),p=require("./styles.css.js"),o=require("../../../../utils/mobileDetect.js"),u=require("../../../EmbeddedApp/DevCenterEmbeddedApp.js"),c=require("../../../EmbeddedApp/EmbeddedApp.js"),d=require("../../../Attachment/index.js"),l=require("../../../UserMention/utils/index.js"),m=require("react/jsx-runtime");function b(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var g=b(e),y=b(t),f=b(i);function h(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function j(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?h(Object(r),!0).forEach((function(t){y.default(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):h(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var A=s.makeStyles((function(e){return{attachmentLable:{fontSize:"12px",color:e.palette.primary.text6}}})),q=function(e){var t=e.feedItem,r=t.id,i=t.well,b=t.rig,g=t.app,y=t.package,h=t.company_id,q=t.context.app_annotation,v=q.body,w=q.app_category,x=q.app_key,O=q.created_at,R=q.settings,D=void 0===R?{}:R,_=q.attachment,E=q.data_timestamp,S=t.mentioned_users,P=e.appContext,F=e.appRegistry,C=e.subscribeAppForAsset,I=e.unsubscribeAppFromAsset,N=e.currentUser,T=e.appData,L=e.isSubDataLoading,k=e.getSubErrors,U=e.isSubDataEmpty,M=e.showAppPreview,z=void 0===M||M,B=A(),K=!!g,G=K&&"dev_center"===g.platform;if(!K||G&&!y)return m.jsx(s.Typography,{variant:"body2",children:"App not found"});var H=n.normalizeAssetForApp(i||b,h),J=f.default(E||O).unix();return[H,w,x,O].every(Boolean)&&H.id?m.jsxs("div",{className:p.appAnnotationFeedItem,children:[m.jsx(s.Typography,{variant:"body2","data-testid":"".concat("FeedActivityPo_appAnnotation","_message"),children:l.formatMentionText(v,S,o.isNativeDetected)}),z&&m.jsxs(m.Fragment,{children:[m.jsx("br",{}),y&&y.url?m.jsx(u,{appContainerClassName:p.appAnnotationFeedItemApp,appId:r,assetId:H.id,asset:H,app:{app:j(j({},g),{},{settings:D}),package:y},coordinates:{},timestamp:J,time:E,currentUser:N}):m.jsx(c,{appContainerClassName:p.appAnnotationFeedItemApp,appId:r,assetId:H.id,asset:a.Map(H),appComponentKey:x,appComponentCategory:w,requiresSubscription:!0,appContext:a.Map(P),assetDashboards:a.List(),timestamp:J,time:E,onSettingChange:function(){},settings:D,internalSelectors:{isSubDataLoading:L,getSubErrors:k,isSubDataEmpty:U},appRegistry:F,appData:T,subscribeAppForAsset:C,unsubscribeAppFromAsset:I})]}),_&&_.signed_url&&m.jsxs("div",{className:p.appAnnotationFeedItemAttachment,children:[m.jsx(s.Typography,{variant:"subtitle1",className:B.attachmentLable,children:"Attachments"}),m.jsx(d,{small:!0,attachmentUrl:_.signed_url,fileName:_.file_name,displayName:_.file_name})]})]}):m.jsx(s.Typography,{variant:"body2",children:"No Data"})};q.propTypes={feedItem:r.shape({id:r.oneOfType([r.number,r.string]).isRequired,well:function(e,t,r){return e.well||e.rig?e.well&&"object"!==g.default(e.well)?new Error("Prop '".concat(t,"' should be an object")):null:new Error("One of props 'well' or 'rig' was not specified in '".concat(r,"'."))},rig:function(e,t,r){return e.well||e.rig?e.rig&&"object"!==g.default(e.rig)?new Error("Prop '".concat(t,"' should be an object")):null:new Error("One of props 'well' or 'rig' was not specified in '".concat(r,"'."))},context:r.shape({app_annotation:r.shape({body:r.string,app_category:r.string.isRequired,app_name:r.string.isRequired,created_at:r.string.isRequired,settings:r.shape()}).isRequired}).isRequired}).isRequired,appContext:r.shape().isRequired,currentUser:r.shape().isRequired,appData:r.shape().isRequired,appRegistry:r.shape().isRequired,subscribeAppForAsset:r.func.isRequired,unsubscribeAppFromAsset:r.func.isRequired,isSubDataLoading:r.func.isRequired,getSubErrors:r.func.isRequired,isSubDataEmpty:r.func.isRequired,showAppPreview:r.bool},module.exports=q;
2
2
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../../../../../../src/components/FeedItem/feedItemTypes/AppAnnotationFeedItem/index.js"],"sourcesContent":["import { shape, number, string, oneOfType, func, bool } from 'prop-types';\nimport { Map, List } from 'immutable';\nimport moment from 'moment';\nimport { Typography, makeStyles } from '@material-ui/core';\n\nimport { normalizeAssetForApp } from './helpers';\n\nimport styles from './styles.css';\n\nimport { isNativeDetected } from '~/utils/mobileDetect';\nimport { EmbeddedApp, DevCenterEmbeddedApp } from '~/components/EmbeddedApp';\nimport Attachment from '~/components/Attachment';\nimport { formatMentionText } from '~/components/UserMention/utils';\n\nconst PAGE_NAME = 'FeedActivityPo_appAnnotation';\n\nconst useStyles = makeStyles(theme => ({\n attachmentLable: {\n fontSize: '12px',\n color: theme.palette.primary.text6,\n },\n}));\n\nconst AppAnnotationFeedItem = props => {\n const {\n feedItem: {\n id,\n well,\n rig,\n app,\n package: appPackage,\n company_id: companyId,\n context: {\n app_annotation: {\n body,\n app_category: appCategory,\n app_key: appKey,\n created_at: createdAt,\n settings = {},\n attachment,\n data_timestamp: dataTimestamp,\n },\n },\n mentioned_users: mentionedUsers,\n },\n appContext,\n\n appRegistry,\n subscribeAppForAsset,\n unsubscribeAppFromAsset,\n currentUser,\n appData,\n isSubDataLoading,\n getSubErrors,\n isSubDataEmpty,\n } = props;\n const classes = useStyles();\n\n const isAppFound = !!app;\n const isDevCenterApp = isAppFound && app.platform === 'dev_center';\n const isDevCenterWithoutPackage = isDevCenterApp && !appPackage;\n\n if (!isAppFound || isDevCenterWithoutPackage)\n return <Typography variant=\"body2\">App not found</Typography>;\n\n const asset = normalizeAssetForApp(well || rig, companyId);\n const timestamp = moment(dataTimestamp || createdAt).unix();\n\n const requiredFields = [asset, appCategory, appKey, createdAt];\n\n if (!requiredFields.every(Boolean) || !asset.id)\n return <Typography variant=\"body2\">No Data</Typography>;\n\n return (\n <div className={styles.appAnnotationFeedItem}>\n <Typography variant=\"body2\" data-testid={`${PAGE_NAME}_message`}>\n {formatMentionText(body, mentionedUsers, isNativeDetected)}\n </Typography>\n {props.showAppPreview && (\n <>\n <br />\n {appPackage && appPackage.url ? (\n <DevCenterEmbeddedApp\n appContainerClassName={styles.appAnnotationFeedItemApp}\n appId={id}\n assetId={asset.id}\n asset={asset}\n app={{\n app: { ...app, settings },\n package: appPackage,\n }}\n coordinates={{}}\n timestamp={timestamp}\n time={dataTimestamp}\n currentUser={currentUser}\n />\n ) : (\n <EmbeddedApp\n appContainerClassName={styles.appAnnotationFeedItemApp}\n appId={id}\n assetId={asset.id}\n asset={Map(asset)}\n appComponentKey={appKey}\n appComponentCategory={appCategory}\n requiresSubscription\n appContext={Map(appContext)}\n assetDashboards={List()}\n timestamp={timestamp}\n time={dataTimestamp}\n onSettingChange={() => undefined}\n settings={settings}\n internalSelectors={{\n isSubDataLoading,\n getSubErrors,\n isSubDataEmpty,\n }}\n appRegistry={appRegistry}\n appData={appData}\n subscribeAppForAsset={subscribeAppForAsset}\n unsubscribeAppFromAsset={unsubscribeAppFromAsset}\n />\n )}\n </>\n )}\n {attachment && attachment.signed_url && (\n <div className={styles.appAnnotationFeedItemAttachment}>\n <Typography variant=\"subtitle1\" className={classes.attachmentLable}>\n Attachments\n </Typography>\n <Attachment\n small\n attachmentUrl={attachment.signed_url}\n fileName={attachment.file_name}\n displayName={attachment.file_name}\n />\n </div>\n )}\n </div>\n );\n};\n\nAppAnnotationFeedItem.propTypes = {\n feedItem: shape({\n id: oneOfType([number, string]).isRequired,\n well: (props, propName, componentName) => {\n if (!props.well && !props.rig) {\n return new Error(`One of props 'well' or 'rig' was not specified in '${componentName}'.`);\n }\n if (props.well && typeof props.well !== 'object')\n return new Error(`Prop '${propName}' should be an object`);\n return null;\n },\n rig: (props, propName, componentName) => {\n if (!props.well && !props.rig) {\n return new Error(`One of props 'well' or 'rig' was not specified in '${componentName}'.`);\n }\n if (props.rig && typeof props.rig !== 'object')\n return new Error(`Prop '${propName}' should be an object`);\n return null;\n },\n context: shape({\n app_annotation: shape({\n body: string,\n app_category: string.isRequired,\n app_name: string.isRequired,\n created_at: string.isRequired,\n settings: shape(),\n }).isRequired,\n }).isRequired,\n }).isRequired,\n appContext: shape().isRequired,\n currentUser: shape().isRequired,\n appData: shape().isRequired,\n appRegistry: shape().isRequired,\n subscribeAppForAsset: func.isRequired,\n unsubscribeAppFromAsset: func.isRequired,\n isSubDataLoading: func.isRequired,\n getSubErrors: func.isRequired,\n isSubDataEmpty: func.isRequired,\n showAppPreview: bool,\n};\n\nAppAnnotationFeedItem.defaultProps = {\n showAppPreview: true,\n};\n\nexport default AppAnnotationFeedItem;\n"],"names":["useStyles","makeStyles","theme","attachmentLable","fontSize","color","palette","primary","text6","AppAnnotationFeedItem","props","feedItem","id","well","rig","app","appPackage","package","companyId","company_id","_props$feedItem$conte","context","app_annotation","body","appCategory","app_category","appKey","app_key","createdAt","created_at","_props$feedItem$conte2","settings","attachment","dataTimestamp","data_timestamp","mentionedUsers","mentioned_users","appContext","appRegistry","subscribeAppForAsset","unsubscribeAppFromAsset","currentUser","appData","isSubDataLoading","getSubErrors","isSubDataEmpty","classes","isAppFound","isDevCenterApp","platform","_jsx","Typography","variant","children","asset","normalizeAssetForApp","timestamp","moment","unix","every","Boolean","_jsxs","className","styles","appAnnotationFeedItem","concat","formatMentionText","isNativeDetected","showAppPreview","_Fragment","url","jsx","DevCenterEmbeddedApp","appContainerClassName","appAnnotationFeedItemApp","appId","assetId","coordinates","time","EmbeddedApp","Map","appComponentKey","appComponentCategory","requiresSubscription","assetDashboards","List","onSettingChange","internalSelectors","signed_url","appAnnotationFeedItemAttachment","Attachment","small","attachmentUrl","fileName","file_name","displayName","propTypes","shape","oneOfType","number","string","isRequired","propName","componentName","_typeof","Error","app_name","func","bool","defaultProps"],"mappings":"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"}
1
+ {"version":3,"file":"index.js","sources":["../../../../../../src/components/FeedItem/feedItemTypes/AppAnnotationFeedItem/index.js"],"sourcesContent":["import { shape, number, string, oneOfType, func, bool } from 'prop-types';\nimport { Map, List } from 'immutable';\nimport moment from 'moment';\nimport { Typography, makeStyles } from '@material-ui/core';\n\nimport { normalizeAssetForApp } from './helpers';\n\nimport styles from './styles.css';\n\nimport { isNativeDetected } from '~/utils/mobileDetect';\nimport { EmbeddedApp, DevCenterEmbeddedApp } from '~/components/EmbeddedApp';\nimport Attachment from '~/components/Attachment';\nimport { formatMentionText } from '~/components/UserMention/utils';\n\nconst PAGE_NAME = 'FeedActivityPo_appAnnotation';\n\nconst useStyles = makeStyles(theme => ({\n attachmentLable: {\n fontSize: '12px',\n color: theme.palette.primary.text6,\n },\n}));\n\nconst AppAnnotationFeedItem = props => {\n const {\n feedItem: {\n id,\n well,\n rig,\n app,\n package: appPackage,\n company_id: companyId,\n context: {\n app_annotation: {\n body,\n app_category: appCategory,\n app_key: appKey,\n created_at: createdAt,\n settings = {},\n attachment,\n data_timestamp: dataTimestamp,\n },\n },\n mentioned_users: mentionedUsers,\n },\n appContext,\n\n appRegistry,\n subscribeAppForAsset,\n unsubscribeAppFromAsset,\n currentUser,\n appData,\n isSubDataLoading,\n getSubErrors,\n isSubDataEmpty,\n showAppPreview = true,\n } = props;\n const classes = useStyles();\n\n const isAppFound = !!app;\n const isDevCenterApp = isAppFound && app.platform === 'dev_center';\n const isDevCenterWithoutPackage = isDevCenterApp && !appPackage;\n\n if (!isAppFound || isDevCenterWithoutPackage)\n return <Typography variant=\"body2\">App not found</Typography>;\n\n const asset = normalizeAssetForApp(well || rig, companyId);\n const timestamp = moment(dataTimestamp || createdAt).unix();\n\n const requiredFields = [asset, appCategory, appKey, createdAt];\n\n if (!requiredFields.every(Boolean) || !asset.id)\n return <Typography variant=\"body2\">No Data</Typography>;\n\n return (\n <div className={styles.appAnnotationFeedItem}>\n <Typography variant=\"body2\" data-testid={`${PAGE_NAME}_message`}>\n {formatMentionText(body, mentionedUsers, isNativeDetected)}\n </Typography>\n {showAppPreview && (\n <>\n <br />\n {appPackage && appPackage.url ? (\n <DevCenterEmbeddedApp\n appContainerClassName={styles.appAnnotationFeedItemApp}\n appId={id}\n assetId={asset.id}\n asset={asset}\n app={{\n app: { ...app, settings },\n package: appPackage,\n }}\n coordinates={{}}\n timestamp={timestamp}\n time={dataTimestamp}\n currentUser={currentUser}\n />\n ) : (\n <EmbeddedApp\n appContainerClassName={styles.appAnnotationFeedItemApp}\n appId={id}\n assetId={asset.id}\n asset={Map(asset)}\n appComponentKey={appKey}\n appComponentCategory={appCategory}\n requiresSubscription\n appContext={Map(appContext)}\n assetDashboards={List()}\n timestamp={timestamp}\n time={dataTimestamp}\n onSettingChange={() => undefined}\n settings={settings}\n internalSelectors={{\n isSubDataLoading,\n getSubErrors,\n isSubDataEmpty,\n }}\n appRegistry={appRegistry}\n appData={appData}\n subscribeAppForAsset={subscribeAppForAsset}\n unsubscribeAppFromAsset={unsubscribeAppFromAsset}\n />\n )}\n </>\n )}\n {attachment && attachment.signed_url && (\n <div className={styles.appAnnotationFeedItemAttachment}>\n <Typography variant=\"subtitle1\" className={classes.attachmentLable}>\n Attachments\n </Typography>\n <Attachment\n small\n attachmentUrl={attachment.signed_url}\n fileName={attachment.file_name}\n displayName={attachment.file_name}\n />\n </div>\n )}\n </div>\n );\n};\n\nAppAnnotationFeedItem.propTypes = {\n feedItem: shape({\n id: oneOfType([number, string]).isRequired,\n well: (props, propName, componentName) => {\n if (!props.well && !props.rig) {\n return new Error(`One of props 'well' or 'rig' was not specified in '${componentName}'.`);\n }\n if (props.well && typeof props.well !== 'object')\n return new Error(`Prop '${propName}' should be an object`);\n return null;\n },\n rig: (props, propName, componentName) => {\n if (!props.well && !props.rig) {\n return new Error(`One of props 'well' or 'rig' was not specified in '${componentName}'.`);\n }\n if (props.rig && typeof props.rig !== 'object')\n return new Error(`Prop '${propName}' should be an object`);\n return null;\n },\n context: shape({\n app_annotation: shape({\n body: string,\n app_category: string.isRequired,\n app_name: string.isRequired,\n created_at: string.isRequired,\n settings: shape(),\n }).isRequired,\n }).isRequired,\n }).isRequired,\n appContext: shape().isRequired,\n currentUser: shape().isRequired,\n appData: shape().isRequired,\n appRegistry: shape().isRequired,\n subscribeAppForAsset: func.isRequired,\n unsubscribeAppFromAsset: func.isRequired,\n isSubDataLoading: func.isRequired,\n getSubErrors: func.isRequired,\n isSubDataEmpty: func.isRequired,\n showAppPreview: bool,\n};\n\nexport default AppAnnotationFeedItem;\n"],"names":["useStyles","makeStyles","theme","attachmentLable","fontSize","color","palette","primary","text6","AppAnnotationFeedItem","props","feedItem","id","well","rig","app","appPackage","package","companyId","company_id","_props$feedItem$conte","context","app_annotation","body","appCategory","app_category","appKey","app_key","createdAt","created_at","_props$feedItem$conte2","settings","attachment","dataTimestamp","data_timestamp","mentionedUsers","mentioned_users","appContext","appRegistry","subscribeAppForAsset","unsubscribeAppFromAsset","currentUser","appData","isSubDataLoading","getSubErrors","isSubDataEmpty","_props$showAppPreview","showAppPreview","classes","isAppFound","isDevCenterApp","platform","_jsx","Typography","variant","children","asset","normalizeAssetForApp","timestamp","moment","unix","every","Boolean","_jsxs","className","styles","appAnnotationFeedItem","concat","formatMentionText","isNativeDetected","jsxs","_Fragment","url","jsx","DevCenterEmbeddedApp","appContainerClassName","appAnnotationFeedItemApp","appId","assetId","coordinates","time","EmbeddedApp","Map","appComponentKey","appComponentCategory","requiresSubscription","assetDashboards","List","onSettingChange","internalSelectors","signed_url","appAnnotationFeedItemAttachment","Attachment","small","attachmentUrl","fileName","file_name","displayName","propTypes","shape","oneOfType","number","string","isRequired","propName","componentName","_typeof","Error","app_name","func","bool"],"mappings":"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"}
@@ -1,2 +1,2 @@
1
- "use strict";var e=require("prop-types"),a=require("moment"),t=require("@material-ui/core"),i=require("../../../../../utils/convert.js"),r=require("../../../../../utils/accuracy.js"),n=require("react/jsx-runtime");function l(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var c=l(a),s=t.makeStyles((function(e){return{wrapper:{display:"flex",flexDirection:"column",margin:"0 20px 10px 0",minWidth:"290px"},planValueWrapper:{display:"flex",alignItems:"baseline"},planUnit:{color:e.palette.grey[400],marginLeft:5},planText:{color:e.palette.grey[400]}}})),u=function(e){var a,l=e.timestamp,u=e.initialPlanName,p=e.cumulativeTvdChange,o=e.accuracyData,m=s(),d=l?c.default.unix(l).format("MM/DD/YY"):"",y=r.purifyPlanName(u);return p&&(y="".concat(y,", ").concat(p," ft cumulative TVD change")),n.jsxs("div",{className:"c-survey-station-feed-item__accuracy-plan",children:[n.jsx(t.Typography,{variant:"subtitle1",children:"Minimum Distance to Plan:"}),n.jsxs("div",{className:m.planValueWrapper,children:[n.jsx(t.Typography,{variant:"h5",style:{color:r.getColorBySeverity(o)},children:parseFloat(null===(a=i.convertValue(null==o?void 0:o.distance_to_plan,"length","ft"))||void 0===a?void 0:a.toFixed(1))}),n.jsxs(t.Typography,{variant:"caption",className:m.planUnit,children:["(",i.getUnitDisplay("length"),")"]})]}),n.jsx(t.Typography,{variant:"body1",className:m.planText,children:y||d})]})};u.propTypes={timestamp:e.number,initialPlanName:e.string,cumulativeTvdChange:e.string,accuracyData:e.shape().isRequired},u.defaultProps={timestamp:null,initialPlanName:"",cumulativeTvdChange:""},module.exports=u;
1
+ "use strict";var e=require("prop-types"),a=require("moment"),t=require("@material-ui/core"),i=require("../../../../../utils/convert.js"),r=require("../../../../../utils/accuracy.js"),n=require("react/jsx-runtime");function l(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var c=l(a),s=t.makeStyles((function(e){return{wrapper:{display:"flex",flexDirection:"column",margin:"0 20px 10px 0",minWidth:"290px"},planValueWrapper:{display:"flex",alignItems:"baseline"},planUnit:{color:e.palette.grey[400],marginLeft:5},planText:{color:e.palette.grey[400]}}})),u=function(e){var a,l=e.timestamp,u=void 0===l?null:l,p=e.initialPlanName,o=void 0===p?"":p,m=e.cumulativeTvdChange,d=void 0===m?"":m,y=e.accuracyData,v=s(),g=u?c.default.unix(u).format("MM/DD/YY"):"",h=r.purifyPlanName(o);return d&&(h="".concat(h,", ").concat(d," ft cumulative TVD change")),n.jsxs("div",{className:"c-survey-station-feed-item__accuracy-plan",children:[n.jsx(t.Typography,{variant:"subtitle1",children:"Minimum Distance to Plan:"}),n.jsxs("div",{className:v.planValueWrapper,children:[n.jsx(t.Typography,{variant:"h5",style:{color:r.getColorBySeverity(y)},children:parseFloat(null===(a=i.convertValue(null==y?void 0:y.distance_to_plan,"length","ft"))||void 0===a?void 0:a.toFixed(1))}),n.jsxs(t.Typography,{variant:"caption",className:v.planUnit,children:["(",i.getUnitDisplay("length"),")"]})]}),n.jsx(t.Typography,{variant:"body1",className:v.planText,children:h||g})]})};u.propTypes={timestamp:e.number,initialPlanName:e.string,cumulativeTvdChange:e.string,accuracyData:e.shape().isRequired},module.exports=u;
2
2
  //# sourceMappingURL=AccuracyPlan.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"AccuracyPlan.js","sources":["../../../../../../../src/components/FeedItem/feedItemTypes/SurveyStationFeedItem/components/AccuracyPlan.js"],"sourcesContent":["import { shape, string, number } from 'prop-types';\nimport moment from 'moment';\nimport { Typography, makeStyles } from '@material-ui/core';\n\nimport { convertValue, getUnitDisplay } from '~/utils/convert';\nimport { purifyPlanName, getColorBySeverity } from '~/utils/accuracy';\n\nconst useStyles = makeStyles(theme => ({\n wrapper: {\n display: 'flex',\n flexDirection: 'column',\n margin: '0 20px 10px 0',\n minWidth: '290px',\n },\n planValueWrapper: {\n display: 'flex',\n alignItems: 'baseline',\n },\n planUnit: {\n color: theme.palette.grey[400],\n marginLeft: 5,\n },\n planText: {\n color: theme.palette.grey[400],\n },\n}));\n\nconst AccuracyPlan = ({ timestamp, initialPlanName, cumulativeTvdChange, accuracyData }) => {\n const classes = useStyles();\n const dateString = timestamp ? moment.unix(timestamp).format('MM/DD/YY') : '';\n\n let planName = purifyPlanName(initialPlanName);\n if (cumulativeTvdChange) {\n planName = `${planName}, ${cumulativeTvdChange} ft cumulative TVD change`;\n }\n\n return (\n <div className=\"c-survey-station-feed-item__accuracy-plan\">\n <Typography variant=\"subtitle1\">Minimum Distance to Plan:</Typography>\n <div className={classes.planValueWrapper}>\n <Typography variant=\"h5\" style={{ color: getColorBySeverity(accuracyData) }}>\n {parseFloat(convertValue(accuracyData?.distance_to_plan, 'length', 'ft')?.toFixed(1))}\n </Typography>\n <Typography variant=\"caption\" className={classes.planUnit}>\n ({getUnitDisplay('length')})\n </Typography>\n </div>\n <Typography variant=\"body1\" className={classes.planText}>\n {planName || dateString}\n </Typography>\n </div>\n );\n};\n\nAccuracyPlan.propTypes = {\n timestamp: number,\n initialPlanName: string,\n cumulativeTvdChange: string,\n accuracyData: shape().isRequired,\n};\n\nAccuracyPlan.defaultProps = {\n timestamp: null,\n initialPlanName: '',\n cumulativeTvdChange: '',\n};\n\nexport default AccuracyPlan;\n"],"names":["useStyles","makeStyles","theme","wrapper","display","flexDirection","margin","minWidth","planValueWrapper","alignItems","planUnit","color","palette","grey","marginLeft","planText","AccuracyPlan","_ref","_convertValue","timestamp","initialPlanName","cumulativeTvdChange","accuracyData","classes","dateString","moment","unix","format","planName","purifyPlanName","_jsxs","className","children","_jsx","Typography","variant","jsxs","style","getColorBySeverity","parseFloat","convertValue","distance_to_plan","toFixed","getUnitDisplay","propTypes","number","string","shape","isRequired","defaultProps"],"mappings":"ySAOMA,EAAYC,EAAAA,YAAW,SAAAC,GAAK,MAAK,CACrCC,QAAS,CACPC,QAAS,OACTC,cAAe,SACfC,OAAQ,gBACRC,SAAU,SAEZC,iBAAkB,CAChBJ,QAAS,OACTK,WAAY,YAEdC,SAAU,CACRC,MAAOT,EAAMU,QAAQC,KAAK,KAC1BC,WAAY,GAEdC,SAAU,CACRJ,MAAOT,EAAMU,QAAQC,KAAK,MAE7B,IAEKG,EAAe,SAAuEC,GAAA,IAAAC,EAApEC,IAAAA,UAAWC,IAAAA,gBAAiBC,IAAAA,oBAAqBC,IAAAA,aACjEC,EAAUvB,IACVwB,EAAaL,EAAYM,EAAAA,QAAOC,KAAKP,GAAWQ,OAAO,YAAc,GAEvEC,EAAWC,iBAAeT,GAK9B,OAJIC,IACFO,EAAcA,GAAAA,OAAAA,EAAaP,MAAAA,OAAAA,EAA8C,8BAIzES,EAAAA,KAAA,MAAA,CAAKC,UAAU,4CAA2CC,SAAA,CACxDC,MAACC,aAAU,CAACC,QAAQ,YAAWH,SAAA,8BAC/BF,EAAAM,KAAA,MAAA,CAAKL,UAAWR,EAAQf,iBAAiBwB,SAAA,CACvCC,MAACC,aAAU,CAACC,QAAQ,KAAKE,MAAO,CAAE1B,MAAO2B,EAAkBA,mBAAChB,IAAgBU,SACzEO,qBAAWC,eAAalB,eAAAA,EAAcmB,iBAAkB,SAAU,0BAAvDvB,EAA8DwB,QAAQ,MAEpFZ,OAACI,aAAU,CAACC,QAAQ,UAAUJ,UAAWR,EAAQb,SAASsB,SACtDW,CAAAA,IAAAA,EAAcA,eAAC,UAAS,UAG9BV,MAACC,aAAU,CAACC,QAAQ,QAAQJ,UAAWR,EAAQR,SAASiB,SACrDJ,GAAYJ,MAIrB,EAEAR,EAAa4B,UAAY,CACvBzB,UAAW0B,EAAMA,OACjBzB,gBAAiB0B,EAAMA,OACvBzB,oBAAqByB,EAAMA,OAC3BxB,aAAcyB,EAAKA,QAAGC,YAGxBhC,EAAaiC,aAAe,CAC1B9B,UAAW,KACXC,gBAAiB,GACjBC,oBAAqB"}
1
+ {"version":3,"file":"AccuracyPlan.js","sources":["../../../../../../../src/components/FeedItem/feedItemTypes/SurveyStationFeedItem/components/AccuracyPlan.js"],"sourcesContent":["import { shape, string, number } from 'prop-types';\nimport moment from 'moment';\nimport { Typography, makeStyles } from '@material-ui/core';\n\nimport { convertValue, getUnitDisplay } from '~/utils/convert';\nimport { purifyPlanName, getColorBySeverity } from '~/utils/accuracy';\n\nconst useStyles = makeStyles(theme => ({\n wrapper: {\n display: 'flex',\n flexDirection: 'column',\n margin: '0 20px 10px 0',\n minWidth: '290px',\n },\n planValueWrapper: {\n display: 'flex',\n alignItems: 'baseline',\n },\n planUnit: {\n color: theme.palette.grey[400],\n marginLeft: 5,\n },\n planText: {\n color: theme.palette.grey[400],\n },\n}));\n\nconst AccuracyPlan = ({\n timestamp = null,\n initialPlanName = '',\n cumulativeTvdChange = '',\n accuracyData,\n}) => {\n const classes = useStyles();\n const dateString = timestamp ? moment.unix(timestamp).format('MM/DD/YY') : '';\n\n let planName = purifyPlanName(initialPlanName);\n if (cumulativeTvdChange) {\n planName = `${planName}, ${cumulativeTvdChange} ft cumulative TVD change`;\n }\n\n return (\n <div className=\"c-survey-station-feed-item__accuracy-plan\">\n <Typography variant=\"subtitle1\">Minimum Distance to Plan:</Typography>\n <div className={classes.planValueWrapper}>\n <Typography variant=\"h5\" style={{ color: getColorBySeverity(accuracyData) }}>\n {parseFloat(convertValue(accuracyData?.distance_to_plan, 'length', 'ft')?.toFixed(1))}\n </Typography>\n <Typography variant=\"caption\" className={classes.planUnit}>\n ({getUnitDisplay('length')})\n </Typography>\n </div>\n <Typography variant=\"body1\" className={classes.planText}>\n {planName || dateString}\n </Typography>\n </div>\n );\n};\n\nAccuracyPlan.propTypes = {\n timestamp: number,\n initialPlanName: string,\n cumulativeTvdChange: string,\n accuracyData: shape().isRequired,\n};\n\nexport default AccuracyPlan;\n"],"names":["useStyles","makeStyles","theme","wrapper","display","flexDirection","margin","minWidth","planValueWrapper","alignItems","planUnit","color","palette","grey","marginLeft","planText","AccuracyPlan","_ref","_convertValue","_ref$timestamp","timestamp","_ref$initialPlanName","initialPlanName","_ref$cumulativeTvdCha","cumulativeTvdChange","accuracyData","classes","dateString","moment","unix","format","planName","purifyPlanName","_jsxs","className","children","_jsx","Typography","variant","jsxs","style","getColorBySeverity","parseFloat","convertValue","distance_to_plan","toFixed","getUnitDisplay","propTypes","number","string","shape","isRequired"],"mappings":"ySAOMA,EAAYC,EAAAA,YAAW,SAAAC,GAAK,MAAK,CACrCC,QAAS,CACPC,QAAS,OACTC,cAAe,SACfC,OAAQ,gBACRC,SAAU,SAEZC,iBAAkB,CAChBJ,QAAS,OACTK,WAAY,YAEdC,SAAU,CACRC,MAAOT,EAAMU,QAAQC,KAAK,KAC1BC,WAAY,GAEdC,SAAU,CACRJ,MAAOT,EAAMU,QAAQC,KAAK,MAE7B,IAEKG,EAAe,SAKfC,GAAA,IAAAC,EAAAC,EAAAF,EAJJG,UAAAA,aAAY,KAAID,EAAAE,EAAAJ,EAChBK,gBAAAA,aAAkB,GAAED,EAAAE,EAAAN,EACpBO,oBAAAA,aAAsB,GAAED,EACxBE,IAAAA,aAEMC,EAAU1B,IACV2B,EAAaP,EAAYQ,EAAAA,QAAOC,KAAKT,GAAWU,OAAO,YAAc,GAEvEC,EAAWC,iBAAeV,GAK9B,OAJIE,IACFO,EAAcA,GAAAA,OAAAA,EAAaP,MAAAA,OAAAA,EAA8C,8BAIzES,EAAAA,KAAA,MAAA,CAAKC,UAAU,4CAA2CC,SAAA,CACxDC,MAACC,aAAU,CAACC,QAAQ,YAAWH,SAAA,8BAC/BF,EAAAM,KAAA,MAAA,CAAKL,UAAWR,EAAQlB,iBAAiB2B,SAAA,CACvCC,MAACC,aAAU,CAACC,QAAQ,KAAKE,MAAO,CAAE7B,MAAO8B,EAAkBA,mBAAChB,IAAgBU,SACzEO,qBAAWC,eAAalB,eAAAA,EAAcmB,iBAAkB,SAAU,0BAAvD1B,EAA8D2B,QAAQ,MAEpFZ,OAACI,aAAU,CAACC,QAAQ,UAAUJ,UAAWR,EAAQhB,SAASyB,SACtDW,CAAAA,IAAAA,EAAcA,eAAC,UAAS,UAG9BV,MAACC,aAAU,CAACC,QAAQ,QAAQJ,UAAWR,EAAQX,SAASoB,SACrDJ,GAAYJ,MAIrB,EAEAX,EAAa+B,UAAY,CACvB3B,UAAW4B,EAAMA,OACjB1B,gBAAiB2B,EAAMA,OACvBzB,oBAAqByB,EAAMA,OAC3BxB,aAAcyB,EAAKA,QAAGC"}
@@ -1,2 +1,2 @@
1
- "use strict";var e=require("prop-types"),a=require("@material-ui/core"),t=require("../../../../../utils/convert.js"),r=require("react/jsx-runtime"),n=a.makeStyles((function(e){return{wrapper:{display:"flex"},targetLabel:{color:e.palette.grey[400],marginRight:10},targetValue:{marginRight:15}}})),s=function(e){var s=e.targetChanges,i=n();return r.jsxs("div",{children:[r.jsx(a.Typography,{variant:"body2",gutterBottom:!0,children:"Target Changes:"}),r.jsxs("div",{className:i.wrapper,children:[r.jsx(a.Typography,{variant:"body2",className:i.targetLabel,children:"MD:"}),r.jsx(a.Typography,{variant:"body2",className:i.targetValue,children:"".concat(s.measured_depth||0," (").concat(t.getUnitDisplay("length"),")")}),r.jsx(a.Typography,{variant:"body2",className:i.targetLabel,children:"Vertical Section:"}),r.jsx(a.Typography,{variant:"body2",className:i.targetValue,children:"".concat(s.vertical_section||0," (").concat(t.getUnitDisplay("length"),")")}),r.jsx(a.Typography,{variant:"body2",className:i.targetLabel,children:"TVD Change:"}),r.jsx(a.Typography,{variant:"body2",className:i.targetValue,children:"".concat(s.tvd_change||0," (").concat(t.getUnitDisplay("length"),")")})]})]})};s.propTypes={targetChanges:e.shape({measured_depth:e.number,vertical_section:e.number,tvd_change:e.number})},s.defaultProps={targetChanges:{}},module.exports=s;
1
+ "use strict";var e=require("prop-types"),a=require("@material-ui/core"),r=require("../../../../../utils/convert.js"),t=require("react/jsx-runtime"),n=a.makeStyles((function(e){return{wrapper:{display:"flex"},targetLabel:{color:e.palette.grey[400],marginRight:10},targetValue:{marginRight:15}}})),i=function(e){var i=e.targetChanges,c=void 0===i?s:i,l=n();return t.jsxs("div",{children:[t.jsx(a.Typography,{variant:"body2",gutterBottom:!0,children:"Target Changes:"}),t.jsxs("div",{className:l.wrapper,children:[t.jsx(a.Typography,{variant:"body2",className:l.targetLabel,children:"MD:"}),t.jsx(a.Typography,{variant:"body2",className:l.targetValue,children:"".concat(c.measured_depth||0," (").concat(r.getUnitDisplay("length"),")")}),t.jsx(a.Typography,{variant:"body2",className:l.targetLabel,children:"Vertical Section:"}),t.jsx(a.Typography,{variant:"body2",className:l.targetValue,children:"".concat(c.vertical_section||0," (").concat(r.getUnitDisplay("length"),")")}),t.jsx(a.Typography,{variant:"body2",className:l.targetLabel,children:"TVD Change:"}),t.jsx(a.Typography,{variant:"body2",className:l.targetValue,children:"".concat(c.tvd_change||0," (").concat(r.getUnitDisplay("length"),")")})]})]})};i.propTypes={targetChanges:e.shape({measured_depth:e.number,vertical_section:e.number,tvd_change:e.number})};var s={};module.exports=i;
2
2
  //# sourceMappingURL=TargetChanges.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"TargetChanges.js","sources":["../../../../../../../src/components/FeedItem/feedItemTypes/WellPlanFeedItem/components/TargetChanges.js"],"sourcesContent":["import { shape, number } from 'prop-types';\nimport { Typography, makeStyles } from '@material-ui/core';\n\nimport { getUnitDisplay } from '~/utils/convert';\n\nconst useStyles = makeStyles(theme => ({\n wrapper: {\n display: 'flex',\n },\n targetLabel: {\n color: theme.palette.grey[400],\n marginRight: 10,\n },\n targetValue: {\n marginRight: 15,\n },\n}));\n\nconst TargetChanges = ({ targetChanges }) => {\n const classes = useStyles();\n return (\n <div>\n <Typography variant=\"body2\" gutterBottom>\n Target Changes:\n </Typography>\n <div className={classes.wrapper}>\n <Typography variant=\"body2\" className={classes.targetLabel}>\n MD:\n </Typography>\n <Typography variant=\"body2\" className={classes.targetValue}>\n {`${targetChanges.measured_depth || 0} (${getUnitDisplay('length')})`}\n </Typography>\n\n <Typography variant=\"body2\" className={classes.targetLabel}>\n Vertical Section:\n </Typography>\n <Typography variant=\"body2\" className={classes.targetValue}>\n {`${targetChanges.vertical_section || 0} (${getUnitDisplay('length')})`}\n </Typography>\n\n <Typography variant=\"body2\" className={classes.targetLabel}>\n TVD Change:\n </Typography>\n <Typography variant=\"body2\" className={classes.targetValue}>\n {`${targetChanges.tvd_change || 0} (${getUnitDisplay('length')})`}\n </Typography>\n </div>\n </div>\n );\n};\n\nTargetChanges.propTypes = {\n targetChanges: shape({\n measured_depth: number,\n vertical_section: number,\n tvd_change: number,\n }),\n};\n\nTargetChanges.defaultProps = {\n targetChanges: {},\n};\n\nexport default TargetChanges;\n"],"names":["useStyles","makeStyles","theme","wrapper","display","targetLabel","color","palette","grey","marginRight","targetValue","TargetChanges","_ref","targetChanges","classes","_jsxs","children","_jsx","Typography","variant","gutterBottom","jsxs","className","measured_depth","getUnitDisplay","vertical_section","tvd_change","propTypes","shape","number","defaultProps"],"mappings":"oJAKMA,EAAYC,EAAAA,YAAW,SAAAC,GAAK,MAAK,CACrCC,QAAS,CACPC,QAAS,QAEXC,YAAa,CACXC,MAAOJ,EAAMK,QAAQC,KAAK,KAC1BC,YAAa,IAEfC,YAAa,CACXD,YAAa,IAEhB,IAEKE,EAAgB,SAAuBC,GAAA,IAApBC,IAAAA,cACjBC,EAAUd,IAChB,OACEe,EAAAA,KAAA,MAAA,CAAAC,SAAA,CACEC,MAACC,aAAU,CAACC,QAAQ,QAAQC,cAAY,EAAAJ,SAAA,oBAGxCD,EAAAM,KAAA,MAAA,CAAKC,UAAWR,EAAQX,QAAQa,SAAA,CAC9BC,MAACC,aAAU,CAACC,QAAQ,QAAQG,UAAWR,EAAQT,YAAYW,SAAA,QAG3DC,MAACC,aAAU,CAACC,QAAQ,QAAQG,UAAWR,EAAQJ,YAAYM,SACrDH,GAAAA,OAAAA,EAAcU,gBAAkB,EAAMC,MAAAA,OAAAA,EAAAA,eAAe,UAAS,OAGpEP,MAACC,aAAU,CAACC,QAAQ,QAAQG,UAAWR,EAAQT,YAAYW,SAAA,sBAG3DC,MAACC,aAAU,CAACC,QAAQ,QAAQG,UAAWR,EAAQJ,YAAYM,SACrDH,GAAAA,OAAAA,EAAcY,kBAAoB,EAAMD,MAAAA,OAAAA,EAAAA,eAAe,UAAS,OAGtEP,MAACC,aAAU,CAACC,QAAQ,QAAQG,UAAWR,EAAQT,YAAYW,SAAA,gBAG3DC,MAACC,aAAU,CAACC,QAAQ,QAAQG,UAAWR,EAAQJ,YAAYM,SACrDH,GAAAA,OAAAA,EAAca,YAAc,EAAMF,MAAAA,OAAAA,EAAAA,eAAe,UAAS,YAKxE,EAEAb,EAAcgB,UAAY,CACxBd,cAAee,EAAAA,MAAM,CACnBL,eAAgBM,EAAMA,OACtBJ,iBAAkBI,EAAMA,OACxBH,WAAYG,EAAAA,UAIhBlB,EAAcmB,aAAe,CAC3BjB,cAAe,CAAC"}
1
+ {"version":3,"file":"TargetChanges.js","sources":["../../../../../../../src/components/FeedItem/feedItemTypes/WellPlanFeedItem/components/TargetChanges.js"],"sourcesContent":["import { shape, number } from 'prop-types';\nimport { Typography, makeStyles } from '@material-ui/core';\n\nimport { getUnitDisplay } from '~/utils/convert';\n\nconst useStyles = makeStyles(theme => ({\n wrapper: {\n display: 'flex',\n },\n targetLabel: {\n color: theme.palette.grey[400],\n marginRight: 10,\n },\n targetValue: {\n marginRight: 15,\n },\n}));\n\nconst TargetChanges = ({ targetChanges = DEFAULT_TARGET_CHANGES_TARGET_CHANGES }) => {\n const classes = useStyles();\n return (\n <div>\n <Typography variant=\"body2\" gutterBottom>\n Target Changes:\n </Typography>\n <div className={classes.wrapper}>\n <Typography variant=\"body2\" className={classes.targetLabel}>\n MD:\n </Typography>\n <Typography variant=\"body2\" className={classes.targetValue}>\n {`${targetChanges.measured_depth || 0} (${getUnitDisplay('length')})`}\n </Typography>\n\n <Typography variant=\"body2\" className={classes.targetLabel}>\n Vertical Section:\n </Typography>\n <Typography variant=\"body2\" className={classes.targetValue}>\n {`${targetChanges.vertical_section || 0} (${getUnitDisplay('length')})`}\n </Typography>\n\n <Typography variant=\"body2\" className={classes.targetLabel}>\n TVD Change:\n </Typography>\n <Typography variant=\"body2\" className={classes.targetValue}>\n {`${targetChanges.tvd_change || 0} (${getUnitDisplay('length')})`}\n </Typography>\n </div>\n </div>\n );\n};\n\nTargetChanges.propTypes = {\n targetChanges: shape({\n measured_depth: number,\n vertical_section: number,\n tvd_change: number,\n }),\n};\n\nconst DEFAULT_TARGET_CHANGES_TARGET_CHANGES = {};\n\nexport default TargetChanges;\n"],"names":["useStyles","makeStyles","theme","wrapper","display","targetLabel","color","palette","grey","marginRight","targetValue","TargetChanges","_ref","_ref$targetChanges","targetChanges","DEFAULT_TARGET_CHANGES_TARGET_CHANGES","classes","_jsxs","children","_jsx","Typography","variant","gutterBottom","jsxs","className","measured_depth","getUnitDisplay","vertical_section","tvd_change","propTypes","shape","number"],"mappings":"oJAKMA,EAAYC,EAAAA,YAAW,SAAAC,GAAK,MAAK,CACrCC,QAAS,CACPC,QAAS,QAEXC,YAAa,CACXC,MAAOJ,EAAMK,QAAQC,KAAK,KAC1BC,YAAa,IAEfC,YAAa,CACXD,YAAa,IAEhB,IAEKE,EAAgB,SAA+DC,GAAA,IAAAC,EAAAD,EAA5DE,cAAAA,aAAgBC,EAAqCF,EACtEG,EAAUhB,IAChB,OACEiB,EAAAA,KAAA,MAAA,CAAAC,SAAA,CACEC,MAACC,aAAU,CAACC,QAAQ,QAAQC,cAAY,EAAAJ,SAAA,oBAGxCD,EAAAM,KAAA,MAAA,CAAKC,UAAWR,EAAQb,QAAQe,SAAA,CAC9BC,MAACC,aAAU,CAACC,QAAQ,QAAQG,UAAWR,EAAQX,YAAYa,SAAA,QAG3DC,MAACC,aAAU,CAACC,QAAQ,QAAQG,UAAWR,EAAQN,YAAYQ,SACrDJ,GAAAA,OAAAA,EAAcW,gBAAkB,EAAMC,MAAAA,OAAAA,EAAAA,eAAe,UAAS,OAGpEP,MAACC,aAAU,CAACC,QAAQ,QAAQG,UAAWR,EAAQX,YAAYa,SAAA,sBAG3DC,MAACC,aAAU,CAACC,QAAQ,QAAQG,UAAWR,EAAQN,YAAYQ,SACrDJ,GAAAA,OAAAA,EAAca,kBAAoB,EAAMD,MAAAA,OAAAA,EAAAA,eAAe,UAAS,OAGtEP,MAACC,aAAU,CAACC,QAAQ,QAAQG,UAAWR,EAAQX,YAAYa,SAAA,gBAG3DC,MAACC,aAAU,CAACC,QAAQ,QAAQG,UAAWR,EAAQN,YAAYQ,SACrDJ,GAAAA,OAAAA,EAAcc,YAAc,EAAMF,MAAAA,OAAAA,EAAAA,eAAe,UAAS,YAKxE,EAEAf,EAAckB,UAAY,CACxBf,cAAegB,EAAAA,MAAM,CACnBL,eAAgBM,EAAMA,OACtBJ,iBAAkBI,EAAMA,OACxBH,WAAYG,EAAAA,UAIhB,IAAMhB,EAAwC,CAAE"}
@@ -1,2 +1,2 @@
1
- "use strict";var e=require("prop-types"),i=require("image-extensions"),a=require("../utils/fileExtension.js"),s=require("react/jsx-runtime");function d(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var t=d(e),c={image:d(i).default,doc:["doc","docx"],xls:["xls","xlsx"],pdf:["pdf"],archive:["zip","rar","7z","tar"]},l={fileTypeWrapper:{display:"inline-block",verticalAlign:"top"}},r=function(e){var i,d=e.fileName,t=e.size,r=e.className,f=a.getFileExtension(d);return i=c.image.includes(f)?"/static/media/ce0806d7fe0a5fdedde889e58929cd3a.svg":c.doc.includes(f)?"/static/media/ffd922ae8116b456a7f24dcf118f36b4.svg":c.xls.includes(f)?"/static/media/b88b9008a93dabe2d431b22e76e3017a.svg":c.pdf.includes(f)?"/static/media/af268ec48d747e3147d5acb95bc1b599.svg":c.archive.includes(f)?"/static/media/e26a8e73ce2b62ee8bd6b8eddf286b49.svg":"/static/media/0ea849622ec24faa453981edfd1862e6.svg",s.jsx("div",{style:l.fileTypeWrapper,className:r,children:s.jsx("img",{src:i,alt:"File icon",style:{display:"block",height:t,width:t}})})};r.propTypes={fileName:t.default.string.isRequired,size:t.default.number,className:t.default.string},r.defaultProps={size:50,className:void 0},module.exports=r;
1
+ "use strict";var e=require("prop-types"),i=require("image-extensions"),a=require("../utils/fileExtension.js"),s=require("react/jsx-runtime");function d(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var t=d(e),c={image:d(i).default,doc:["doc","docx"],xls:["xls","xlsx"],pdf:["pdf"],archive:["zip","rar","7z","tar"]},l={fileTypeWrapper:{display:"inline-block",verticalAlign:"top"}},r=function(e){var i,d=e.fileName,t=e.size,r=void 0===t?50:t,f=e.className,n=a.getFileExtension(d);return i=c.image.includes(n)?"/static/media/ce0806d7fe0a5fdedde889e58929cd3a.svg":c.doc.includes(n)?"/static/media/ffd922ae8116b456a7f24dcf118f36b4.svg":c.xls.includes(n)?"/static/media/b88b9008a93dabe2d431b22e76e3017a.svg":c.pdf.includes(n)?"/static/media/af268ec48d747e3147d5acb95bc1b599.svg":c.archive.includes(n)?"/static/media/e26a8e73ce2b62ee8bd6b8eddf286b49.svg":"/static/media/0ea849622ec24faa453981edfd1862e6.svg",s.jsx("div",{style:l.fileTypeWrapper,className:f,children:s.jsx("img",{src:i,alt:"File icon",style:{display:"block",height:r,width:r}})})};r.propTypes={fileName:t.default.string.isRequired,size:t.default.number,className:t.default.string},module.exports=r;
2
2
  //# sourceMappingURL=FileTypeIcon.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"FileTypeIcon.js","sources":["../../../src/components/FileTypeIcon.js"],"sourcesContent":["import PropTypes from 'prop-types';\nimport imageExtensions from 'image-extensions';\n\nimport { getFileExtension } from '~/utils/fileExtension';\nimport ImageIcon from '~/assets/file-type-icons/image.svg';\nimport DocIcon from '~/assets/file-type-icons/doc.svg';\nimport XlsIcon from '~/assets/file-type-icons/xls.svg';\nimport PdfIcon from '~/assets/file-type-icons/pdf.svg';\nimport OtherIcon from '~/assets/file-type-icons/other.svg';\nimport ArchiveIcon from '~/assets/file-type-icons/archive.svg';\n\nconst fileExtensions = {\n image: imageExtensions,\n doc: ['doc', 'docx'],\n xls: ['xls', 'xlsx'],\n pdf: ['pdf'],\n archive: ['zip', 'rar', '7z', 'tar'],\n};\n\nconst styles = {\n fileTypeWrapper: { display: 'inline-block', verticalAlign: 'top' },\n};\n\nconst FileTypeIcon = ({ fileName, size, className }) => {\n const extension = getFileExtension(fileName);\n\n let fileTypeIcon;\n\n if (fileExtensions.image.includes(extension)) {\n fileTypeIcon = ImageIcon;\n } else if (fileExtensions.doc.includes(extension)) {\n fileTypeIcon = DocIcon;\n } else if (fileExtensions.xls.includes(extension)) {\n fileTypeIcon = XlsIcon;\n } else if (fileExtensions.pdf.includes(extension)) {\n fileTypeIcon = PdfIcon;\n } else if (fileExtensions.archive.includes(extension)) {\n fileTypeIcon = ArchiveIcon;\n } else {\n fileTypeIcon = OtherIcon;\n }\n\n return (\n <div style={styles.fileTypeWrapper} className={className}>\n <img\n src={fileTypeIcon}\n alt=\"File icon\"\n style={{\n display: 'block',\n height: size,\n width: size,\n }}\n />\n </div>\n );\n};\n\nFileTypeIcon.propTypes = {\n fileName: PropTypes.string.isRequired,\n size: PropTypes.number,\n className: PropTypes.string,\n};\n\nFileTypeIcon.defaultProps = {\n size: 50,\n className: undefined,\n};\n\nexport default FileTypeIcon;\n"],"names":["fileExtensions","image","doc","xls","pdf","archive","styles","fileTypeWrapper","display","verticalAlign","FileTypeIcon","_ref","fileTypeIcon","fileName","size","className","extension","getFileExtension","includes","_jsx","style","children","jsx","src","alt","height","width","propTypes","PropTypes","string","isRequired","number","defaultProps","undefined"],"mappings":"gOAWMA,EAAiB,CACrBC,WAAsB,QACtBC,IAAK,CAAC,MAAO,QACbC,IAAK,CAAC,MAAO,QACbC,IAAK,CAAC,OACNC,QAAS,CAAC,MAAO,MAAO,KAAM,QAG1BC,EAAS,CACbC,gBAAiB,CAAEC,QAAS,eAAgBC,cAAe,QAGvDC,EAAe,SAAmCC,GAAA,IAGlDC,EAHkBC,IAAAA,SAAUC,IAAAA,KAAMC,IAAAA,UAChCC,EAAYC,mBAAiBJ,GAkBnC,OAbED,EADEZ,EAAeC,MAAMiB,SAASF,GAzBqB,qDA2B5ChB,EAAeE,IAAIgB,SAASF,GA3BgB,qDA6B5ChB,EAAeG,IAAIe,SAASF,GA7BgB,qDA+B5ChB,EAAeI,IAAIc,SAASF,GA/BgB,qDAiC5ChB,EAAeK,QAAQa,SAASF,GAjCY,qDAAA,qDAwCrDG,EAAAA,IAAA,MAAA,CAAKC,MAAOd,EAAOC,gBAAiBQ,UAAWA,EAAUM,SACvDF,EAAAG,IAAA,MAAA,CACEC,IAAKX,EACLY,IAAI,YACJJ,MAAO,CACLZ,QAAS,QACTiB,OAAQX,EACRY,MAAOZ,MAKjB,EAEAJ,EAAaiB,UAAY,CACvBd,SAAUe,EAAAA,QAAUC,OAAOC,WAC3BhB,KAAMc,EAAS,QAACG,OAChBhB,UAAWa,EAAS,QAACC,QAGvBnB,EAAasB,aAAe,CAC1BlB,KAAM,GACNC,eAAWkB"}
1
+ {"version":3,"file":"FileTypeIcon.js","sources":["../../../src/components/FileTypeIcon.js"],"sourcesContent":["import PropTypes from 'prop-types';\nimport imageExtensions from 'image-extensions';\n\nimport { getFileExtension } from '~/utils/fileExtension';\nimport ImageIcon from '~/assets/file-type-icons/image.svg';\nimport DocIcon from '~/assets/file-type-icons/doc.svg';\nimport XlsIcon from '~/assets/file-type-icons/xls.svg';\nimport PdfIcon from '~/assets/file-type-icons/pdf.svg';\nimport OtherIcon from '~/assets/file-type-icons/other.svg';\nimport ArchiveIcon from '~/assets/file-type-icons/archive.svg';\n\nconst fileExtensions = {\n image: imageExtensions,\n doc: ['doc', 'docx'],\n xls: ['xls', 'xlsx'],\n pdf: ['pdf'],\n archive: ['zip', 'rar', '7z', 'tar'],\n};\n\nconst styles = {\n fileTypeWrapper: { display: 'inline-block', verticalAlign: 'top' },\n};\n\nconst FileTypeIcon = ({ fileName, size = 50, className }) => {\n const extension = getFileExtension(fileName);\n\n let fileTypeIcon;\n\n if (fileExtensions.image.includes(extension)) {\n fileTypeIcon = ImageIcon;\n } else if (fileExtensions.doc.includes(extension)) {\n fileTypeIcon = DocIcon;\n } else if (fileExtensions.xls.includes(extension)) {\n fileTypeIcon = XlsIcon;\n } else if (fileExtensions.pdf.includes(extension)) {\n fileTypeIcon = PdfIcon;\n } else if (fileExtensions.archive.includes(extension)) {\n fileTypeIcon = ArchiveIcon;\n } else {\n fileTypeIcon = OtherIcon;\n }\n\n return (\n <div style={styles.fileTypeWrapper} className={className}>\n <img\n src={fileTypeIcon}\n alt=\"File icon\"\n style={{\n display: 'block',\n height: size,\n width: size,\n }}\n />\n </div>\n );\n};\n\nFileTypeIcon.propTypes = {\n fileName: PropTypes.string.isRequired,\n size: PropTypes.number,\n className: PropTypes.string,\n};\n\nexport default FileTypeIcon;\n"],"names":["fileExtensions","image","doc","xls","pdf","archive","styles","fileTypeWrapper","display","verticalAlign","FileTypeIcon","_ref","fileTypeIcon","fileName","_ref$size","size","className","extension","getFileExtension","includes","_jsx","style","children","jsx","src","alt","height","width","propTypes","PropTypes","string","isRequired","number"],"mappings":"gOAWMA,EAAiB,CACrBC,WAAsB,QACtBC,IAAK,CAAC,MAAO,QACbC,IAAK,CAAC,MAAO,QACbC,IAAK,CAAC,OACNC,QAAS,CAAC,MAAO,MAAO,KAAM,QAG1BC,EAAS,CACbC,gBAAiB,CAAEC,QAAS,eAAgBC,cAAe,QAGvDC,EAAe,SAAwCC,GAAA,IAGvDC,EAHkBC,IAAAA,SAAQC,EAAAH,EAAEI,KAAAA,aAAO,GAAED,EAAEE,IAAAA,UACrCC,EAAYC,mBAAiBL,GAkBnC,OAbED,EADEZ,EAAeC,MAAMkB,SAASF,GAzBqB,qDA2B5CjB,EAAeE,IAAIiB,SAASF,GA3BgB,qDA6B5CjB,EAAeG,IAAIgB,SAASF,GA7BgB,qDA+B5CjB,EAAeI,IAAIe,SAASF,GA/BgB,qDAiC5CjB,EAAeK,QAAQc,SAASF,GAjCY,qDAAA,qDAwCrDG,EAAAA,IAAA,MAAA,CAAKC,MAAOf,EAAOC,gBAAiBS,UAAWA,EAAUM,SACvDF,EAAAG,IAAA,MAAA,CACEC,IAAKZ,EACLa,IAAI,YACJJ,MAAO,CACLb,QAAS,QACTkB,OAAQX,EACRY,MAAOZ,MAKjB,EAEAL,EAAakB,UAAY,CACvBf,SAAUgB,EAAAA,QAAUC,OAAOC,WAC3BhB,KAAMc,EAAS,QAACG,OAChBhB,UAAWa,EAAS,QAACC"}
@@ -1,2 +1,2 @@
1
- "use strict";var e=require("@babel/runtime/helpers/defineProperty"),s=require("@babel/runtime/helpers/slicedToArray"),o=require("react"),n=require("prop-types"),i=require("classnames"),c=require("@material-ui/core"),r=require("../IconButton/index.js"),t=require("../Button/components/Button/index.js");require("@babel/runtime/helpers/objectWithoutProperties"),require("moment-timezone"),require("../Button/components/LiveButton/components/LiveButtonStateIndicator/index.js"),require("../Button/components/LiveButton/styles.js");var u=require("../../icons/iconParkIcons.js");require("../../icons/customIcons/icons/AddMessage.js"),require("../../icons/customIcons/icons/DragOne.js"),require("../../icons/customIcons/icons/Attention.js"),require("../../icons/customIcons/icons/Collapse.js"),require("../../icons/customIcons/icons/Dashboard.js"),require("../../icons/customIcons/icons/Expand.js"),require("../../icons/customIcons/icons/FolderClosed.js"),require("../../icons/customIcons/icons/FolderClosedFilled.js"),require("../../icons/customIcons/icons/FolderOpened.js"),require("../../icons/customIcons/icons/GreaterOrEqual.js"),require("../../icons/customIcons/icons/LessOrEqual.js"),require("../../icons/customIcons/icons/Search.js"),require("../../icons/customIcons/icons/SearchOne.js"),require("../../icons/customIcons/icons/Wellhub.js"),require("../../icons/customIcons/icons/MultiRuler.js"),require("../../icons/customIcons/icons/Checkbox.js"),require("../../icons/customIcons/icons/CheckboxChecked.js"),require("../../icons/customIcons/icons/CheckboxIndeterminate.js"),require("../../icons/customIcons/icons/Radio.js"),require("../../icons/customIcons/icons/RadioChecked.js"),require("../../icons/customIcons/icons/SimulFrac.js"),require("../../icons/customIcons/icons/ZipperFrac.js"),require("../../icons/customIcons/icons/CautionFilled.js"),require("../../icons/customIcons/icons/MoreApp.js"),require("../../icons/customIcons/icons/Pad.js"),require("../../icons/customIcons/icons/DrilloutUnit.js"),require("../../icons/customIcons/icons/FracFleet.js"),require("../../icons/customIcons/icons/Global.js"),require("../../icons/customIcons/icons/Program.js"),require("../../icons/customIcons/icons/Rig.js"),require("../../icons/customIcons/icons/Well.js"),require("../../icons/customIcons/icons/Gap.js"),require("../../icons/customIcons/icons/Pin.js"),require("../../icons/customIcons/icons/CloseOneFilled.js"),require("../../icons/customIcons/icons/AttentionFilled.js"),require("../../icons/customIcons/icons/CheckOneFilled.js"),require("../../icons/customIcons/icons/Archive.js"),require("../../icons/customIcons/icons/ArchiveCancel.js"),require("../../icons/customIcons/icons/Unarchive.js"),require("../../icons/customIcons/icons/Archived.js"),require("../../icons/customIcons/icons/InterventionUnit.js"),require("../../icons/customIcons/icons/CloudDelete.js"),require("../../icons/customIcons/icons/Lasso.js"),require("../../icons/customIcons/icons/Radius.js"),require("../../icons/customIcons/icons/ErrorOps.js"),require("../../icons/customIcons/icons/DataTypeOps.js"),require("../../icons/customIcons/icons/FalsePositiveOps.js"),require("../../icons/customIcons/icons/CalibrationOps.js"),require("../../icons/customIcons/icons/CriticalOps.js"),require("../../icons/customIcons/icons/Company.js"),require("../../icons/customIcons/icons/ArchiveOne.js"),require("../../icons/customIcons/icons/ParseBotFusion.js"),require("../../icons/customIcons/icons/Connect.js"),require("../../icons/customIcons/icons/PuzzleOne.js"),require("../../icons/customIcons/icons/Feed.js"),require("../../icons/customIcons/icons/Prompt.js"),require("../../icons/customIcons/icons/Companies.js"),require("../../icons/customIcons/icons/ClipboardAi.js"),require("../../icons/customIcons/icons/Key.js"),require("../../icons/customIcons/icons/AtSignCrossed.js"),require("../../icons/customIcons/icons/MappingManual.js"),require("../../icons/customIcons/icons/Mapping.js"),require("../../icons/customIcons/icons/Metrics.js"),require("../../icons/customIcons/icons/Drops.js"),require("../../icons/customIcons/icons/ClipboardSearch.js"),require("../../icons/customIcons/icons/Template.js"),require("../../icons/customIcons/icons/ClipboardMetrics.js"),require("../../icons/customIcons/icons/ClipboardBuilder.js"),require("../../icons/customIcons/icons/UnitConversion.js"),require("../../icons/customIcons/icons/NPT.js"),require("../../icons/customIcons/icons/GuidedFrac.js");var a=require("react/jsx-runtime"),l=require("./Icons/IconWarning.js"),d=require("../FileIcon/FileIcon.js"),m=require("./useStyles.js");function j(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var f=j(e),p=j(s),I=j(n),q=j(i);function h(e,s){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);s&&(n=n.filter((function(s){return Object.getOwnPropertyDescriptor(e,s).enumerable}))),o.push.apply(o,n)}return o}function g(e){for(var s=1;s<arguments.length;s++){var o=null!=arguments[s]?arguments[s]:{};s%2?h(Object(o),!0).forEach((function(s){f.default(e,s,o[s])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):h(Object(o)).forEach((function(s){Object.defineProperty(e,s,Object.getOwnPropertyDescriptor(o,s))}))}return e}function v(e){var s=e.size,n=e.unit,i=e.name,j=e.customUnitName,I=e.sizeBytes,h=e.handleCancel,v=e.onReload,x=e.onDelete,b=e.loadedBytes,y=e.error,C=e.errorText,z=e.formatError,O=e.importButtonType,P=e.isLoadingAnimation,S=e.showActions,B=m.useStyles(),N=o.useState({}),F=p.default(N,2),w=F[0],M=F[1],A=o.useState(0),T=p.default(A,2),E=T[0],L=T[1],k=o.useState(!0),D=p.default(k,2),U=D[0],R=D[1],W="large"===s,G=W?24:16,K=W?"medium":"small";o.useEffect((function(){M(function(e,s,o){return"time"===s?{downloaded:0,unit:"min",convertedSize:e}:"custom"===s?{downloaded:0,unit:o,convertedSize:e}:e>=Math.pow(10,6)?{downloaded:0,unit:"MB",convertedSize:Math.floor(e/Math.pow(10,5))/10}:e>=Math.pow(10,3)?{downloaded:0,unit:"KB",convertedSize:Math.floor(e/Math.pow(10,2))/10}:{downloaded:0,unit:"B",convertedSize:Math.floor(10*e)/10}}(null!=I?I:1,null!=n?n:"size",null!=j?j:""))}),[I,n]),o.useEffect((function(){if(b&&I){var e=Math.round(b/I*100);M((function(s){var o;return g(g({},s),{},{downloaded:Math.floor((null!==(o=s.convertedSize)&&void 0!==o?o:0)*e/10)/10})})),L(e)}}),[b,I]),o.useEffect((function(){var e;return x&&E>=100&&(R(!0),e=setTimeout((function(){R(!1)}),5e3)),function(){return e&&clearTimeout(e)}}),[E]),o.useEffect((function(){y&&(L(0),M((function(e){return g(g({},e),{},{downloaded:0})})))}),[y]);var Z=o.useMemo((function(){return[q.default(B.iconButton,f.default({},B.iconButtonLarge,W)),q.default(B.actionIcon,f.default({},B.actionIconLarge,W))]}),[W]),H=p.default(Z,2),J=H[0],Q=H[1];return a.jsxs("div",{className:B.fileStateWrapper,children:[a.jsx("div",{className:B.fileIconContainer,children:a.jsx(d.FileIcon,{name:null!=i?i:"",style:{fontSize:W?48:32}})}),a.jsxs("div",{className:B.fileState,children:[a.jsxs("div",{className:B.fileStateProgress,children:[a.jsx("div",{className:B.fileNameWrapper,children:a.jsx(c.Typography,{className:q.default(B.fileName,f.default({},B.fileNameLarge,W)),children:i&&i.length>7?a.jsxs(a.Fragment,{children:[a.jsx("span",{className:B.firstPart,children:i.slice(0,i.length-7)}),a.jsx("span",{children:i.slice(-7)})]}):i})}),!P&&a.jsx(c.LinearProgress,{className:B.progressBar,variant:"determinate",value:E,classes:{colorPrimary:q.default(B.progressBackground,f.default({},B.progressBarError,y)),barColorPrimary:q.default(B.progressBarColor,f.default({},B.progressBarError,y))}}),a.jsxs("div",{className:B.loaderProgressContainer,children:[!P&&a.jsx(c.Typography,{className:q.default(B.fileSize,f.default({},B.fileSizeLarge,W)),component:"span",children:"".concat(w.downloaded," of ").concat(w.convertedSize," ").concat(w.unit)}),a.jsxs("div",{className:q.default(B.progressStatus,f.default({},B.fileSizeLarge,W)),children:[y&&a.jsxs(c.Typography,{component:"div",className:B.errorContainer,children:[a.jsx(l,{size:s}),a.jsx(c.Typography,{component:"span",className:q.default(B.errorText,f.default({},B.fileSizeLarge,W)),children:z?"Upload Error. Unacceptable file format.":"Upload Error".concat(C&&". ".concat(C))})]}),!y&&!P&&"".concat(E," %")]})]})]}),S&&a.jsxs("div",{className:B.fileActions,children:[E<100&&!y&&a.jsx(a.Fragment,{children:P?a.jsx("div",{className:q.default(B.loadingIcon,f.default({},B.loadingLargeIcon,W)),style:{backgroundImage:"url(".concat("/static/media/6fa6f1128bc0185126482345243bcd42.svg",")")}}):a.jsx(r,{tooltipProps:{title:"Cancel"},className:J,onClick:function(){null==h||h(i),L(0),M((function(e){return g(g({},e),{},{downloaded:0})}))},size:K,children:a.jsx(u.CloseSmallIcon,{className:Q,size:G})})}),100===E&&!y&&(!U&&x?a.jsx(r,{variant:"contained",tooltipProps:{title:"Delete"},className:J,onClick:x,size:K,children:a.jsx(u.DeleteFourIcon,{className:Q,size:G})}):a.jsx(u.CheckOneIcon,{fill:"#75DB29",size:G,style:{marginLeft:12}})),v&&y&&a.jsx(a.Fragment,{children:z?a.jsx(a.Fragment,{children:"default"===O?a.jsx(t,{size:W?"medium":"small",variation:"primary",startIcon:a.jsx(u.UploadIcon,{}),onClick:v,children:"Import"}):a.jsx(r,{size:K,tooltipProps:{title:"Import File"},className:J,onClick:v,children:a.jsx(u.UploadIcon,{size:G})})}):a.jsx(r,{size:K,tooltipProps:{title:"Reload"},className:J,onClick:v,children:a.jsx(u.RedoIcon,{size:G})})})]})]})]})}var x={size:I.default.oneOf(["small","large"]),unit:I.default.oneOf(["size","time","custom"]),customUnitName:I.default.string,onDelete:I.default.func,onReload:I.default.func,handleCancel:I.default.func,name:I.default.string,sizeBytes:I.default.number,error:I.default.bool,errorText:I.default.string,formatError:I.default.bool,importButtonType:I.default.oneOf(["default","icon"]),loadedBytes:I.default.number.isRequired,isLoadingAnimation:I.default.bool,showActions:I.default.bool};v.propTypes=x,v.defaultProps={size:"small",unit:"size",onDelete:null,onReload:null,name:"",customUnitName:"",sizeBytes:1,error:null,errorText:"",formatError:!1,importButtonType:"default",handleCancel:null,isLoadingAnimation:!1,showActions:!0},module.exports=v;
1
+ "use strict";var e=require("@babel/runtime/helpers/defineProperty"),s=require("@babel/runtime/helpers/slicedToArray"),o=require("react"),n=require("prop-types"),i=require("classnames"),c=require("@material-ui/core"),r=require("../IconButton/index.js"),t=require("../Button/components/Button/index.js");require("@babel/runtime/helpers/objectWithoutProperties"),require("moment-timezone"),require("../Button/components/LiveButton/components/LiveButtonStateIndicator/index.js"),require("../Button/components/LiveButton/styles.js");var u=require("../../icons/iconParkIcons.js");require("../../icons/customIcons/icons/AddMessage.js"),require("../../icons/customIcons/icons/DragOne.js"),require("../../icons/customIcons/icons/Attention.js"),require("../../icons/customIcons/icons/Collapse.js"),require("../../icons/customIcons/icons/Dashboard.js"),require("../../icons/customIcons/icons/Expand.js"),require("../../icons/customIcons/icons/FolderClosed.js"),require("../../icons/customIcons/icons/FolderClosedFilled.js"),require("../../icons/customIcons/icons/FolderOpened.js"),require("../../icons/customIcons/icons/GreaterOrEqual.js"),require("../../icons/customIcons/icons/LessOrEqual.js"),require("../../icons/customIcons/icons/Search.js"),require("../../icons/customIcons/icons/SearchOne.js"),require("../../icons/customIcons/icons/Wellhub.js"),require("../../icons/customIcons/icons/MultiRuler.js"),require("../../icons/customIcons/icons/Checkbox.js"),require("../../icons/customIcons/icons/CheckboxChecked.js"),require("../../icons/customIcons/icons/CheckboxIndeterminate.js"),require("../../icons/customIcons/icons/Radio.js"),require("../../icons/customIcons/icons/RadioChecked.js"),require("../../icons/customIcons/icons/SimulFrac.js"),require("../../icons/customIcons/icons/ZipperFrac.js"),require("../../icons/customIcons/icons/CautionFilled.js"),require("../../icons/customIcons/icons/MoreApp.js"),require("../../icons/customIcons/icons/Pad.js"),require("../../icons/customIcons/icons/DrilloutUnit.js"),require("../../icons/customIcons/icons/FracFleet.js"),require("../../icons/customIcons/icons/Global.js"),require("../../icons/customIcons/icons/Program.js"),require("../../icons/customIcons/icons/Rig.js"),require("../../icons/customIcons/icons/Well.js"),require("../../icons/customIcons/icons/Gap.js"),require("../../icons/customIcons/icons/Pin.js"),require("../../icons/customIcons/icons/CloseOneFilled.js"),require("../../icons/customIcons/icons/AttentionFilled.js"),require("../../icons/customIcons/icons/CheckOneFilled.js"),require("../../icons/customIcons/icons/Archive.js"),require("../../icons/customIcons/icons/ArchiveCancel.js"),require("../../icons/customIcons/icons/Unarchive.js"),require("../../icons/customIcons/icons/Archived.js"),require("../../icons/customIcons/icons/InterventionUnit.js"),require("../../icons/customIcons/icons/CloudDelete.js"),require("../../icons/customIcons/icons/Lasso.js"),require("../../icons/customIcons/icons/Radius.js"),require("../../icons/customIcons/icons/ErrorOps.js"),require("../../icons/customIcons/icons/DataTypeOps.js"),require("../../icons/customIcons/icons/FalsePositiveOps.js"),require("../../icons/customIcons/icons/CalibrationOps.js"),require("../../icons/customIcons/icons/CriticalOps.js"),require("../../icons/customIcons/icons/Company.js"),require("../../icons/customIcons/icons/ArchiveOne.js"),require("../../icons/customIcons/icons/ParseBotFusion.js"),require("../../icons/customIcons/icons/Connect.js"),require("../../icons/customIcons/icons/PuzzleOne.js"),require("../../icons/customIcons/icons/Feed.js"),require("../../icons/customIcons/icons/Prompt.js"),require("../../icons/customIcons/icons/Companies.js"),require("../../icons/customIcons/icons/ClipboardAi.js"),require("../../icons/customIcons/icons/Key.js"),require("../../icons/customIcons/icons/AtSignCrossed.js"),require("../../icons/customIcons/icons/MappingManual.js"),require("../../icons/customIcons/icons/Mapping.js"),require("../../icons/customIcons/icons/Metrics.js"),require("../../icons/customIcons/icons/Drops.js"),require("../../icons/customIcons/icons/ClipboardSearch.js"),require("../../icons/customIcons/icons/Template.js"),require("../../icons/customIcons/icons/ClipboardMetrics.js"),require("../../icons/customIcons/icons/ClipboardBuilder.js"),require("../../icons/customIcons/icons/UnitConversion.js"),require("../../icons/customIcons/icons/NPT.js"),require("../../icons/customIcons/icons/GuidedFrac.js");var a=require("react/jsx-runtime"),l=require("./Icons/IconWarning.js"),d=require("../FileIcon/FileIcon.js"),m=require("./useStyles.js");function j(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var f=j(e),p=j(s),I=j(n),q=j(i);function h(e,s){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);s&&(n=n.filter((function(s){return Object.getOwnPropertyDescriptor(e,s).enumerable}))),o.push.apply(o,n)}return o}function v(e){for(var s=1;s<arguments.length;s++){var o=null!=arguments[s]?arguments[s]:{};s%2?h(Object(o),!0).forEach((function(s){f.default(e,s,o[s])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):h(Object(o)).forEach((function(s){Object.defineProperty(e,s,Object.getOwnPropertyDescriptor(o,s))}))}return e}function g(e){var s=e.size,n=void 0===s?"small":s,i=e.unit,j=void 0===i?"size":i,I=e.name,h=void 0===I?"":I,g=e.customUnitName,x=void 0===g?"":g,b=e.sizeBytes,y=void 0===b?1:b,C=e.handleCancel,O=void 0===C?null:C,z=e.onReload,S=void 0===z?null:z,P=e.onDelete,B=void 0===P?null:P,N=e.loadedBytes,F=e.error,w=void 0===F?null:F,M=e.errorText,k=void 0===M?"":M,A=e.formatError,E=void 0!==A&&A,L=e.importButtonType,T=void 0===L?"default":L,D=e.isLoadingAnimation,U=void 0!==D&&D,R=e.showActions,W=void 0===R||R,G=m.useStyles(),K=o.useState({}),Z=p.default(K,2),H=Z[0],J=Z[1],Q=o.useState(0),V=p.default(Q,2),X=V[0],Y=V[1],$=o.useState(!0),_=p.default($,2),ee=_[0],se=_[1],oe="large"===n,ne=oe?24:16,ie=oe?"medium":"small";o.useEffect((function(){J(function(e,s,o){return"time"===s?{downloaded:0,unit:"min",convertedSize:e}:"custom"===s?{downloaded:0,unit:o,convertedSize:e}:e>=Math.pow(10,6)?{downloaded:0,unit:"MB",convertedSize:Math.floor(e/Math.pow(10,5))/10}:e>=Math.pow(10,3)?{downloaded:0,unit:"KB",convertedSize:Math.floor(e/Math.pow(10,2))/10}:{downloaded:0,unit:"B",convertedSize:Math.floor(10*e)/10}}(null!=y?y:1,null!=j?j:"size",null!=x?x:""))}),[y,j]),o.useEffect((function(){if(N&&y){var e=Math.round(N/y*100);J((function(s){var o;return v(v({},s),{},{downloaded:Math.floor((null!==(o=s.convertedSize)&&void 0!==o?o:0)*e/10)/10})})),Y(e)}}),[N,y]),o.useEffect((function(){var e;return B&&X>=100&&(se(!0),e=setTimeout((function(){se(!1)}),5e3)),function(){return e&&clearTimeout(e)}}),[X]),o.useEffect((function(){w&&(Y(0),J((function(e){return v(v({},e),{},{downloaded:0})})))}),[w]);var ce=o.useMemo((function(){return[q.default(G.iconButton,f.default({},G.iconButtonLarge,oe)),q.default(G.actionIcon,f.default({},G.actionIconLarge,oe))]}),[oe]),re=p.default(ce,2),te=re[0],ue=re[1];return a.jsxs("div",{className:G.fileStateWrapper,children:[a.jsx("div",{className:G.fileIconContainer,children:a.jsx(d.FileIcon,{name:null!=h?h:"",style:{fontSize:oe?48:32}})}),a.jsxs("div",{className:G.fileState,children:[a.jsxs("div",{className:G.fileStateProgress,children:[a.jsx("div",{className:G.fileNameWrapper,children:a.jsx(c.Typography,{className:q.default(G.fileName,f.default({},G.fileNameLarge,oe)),children:h&&h.length>7?a.jsxs(a.Fragment,{children:[a.jsx("span",{className:G.firstPart,children:h.slice(0,h.length-7)}),a.jsx("span",{children:h.slice(-7)})]}):h})}),!U&&a.jsx(c.LinearProgress,{className:G.progressBar,variant:"determinate",value:X,classes:{colorPrimary:q.default(G.progressBackground,f.default({},G.progressBarError,w)),barColorPrimary:q.default(G.progressBarColor,f.default({},G.progressBarError,w))}}),a.jsxs("div",{className:G.loaderProgressContainer,children:[!U&&a.jsx(c.Typography,{className:q.default(G.fileSize,f.default({},G.fileSizeLarge,oe)),component:"span",children:"".concat(H.downloaded," of ").concat(H.convertedSize," ").concat(H.unit)}),a.jsxs("div",{className:q.default(G.progressStatus,f.default({},G.fileSizeLarge,oe)),children:[w&&a.jsxs(c.Typography,{component:"div",className:G.errorContainer,children:[a.jsx(l,{size:n}),a.jsx(c.Typography,{component:"span",className:q.default(G.errorText,f.default({},G.fileSizeLarge,oe)),children:E?"Upload Error. Unacceptable file format.":"Upload Error".concat(k&&". ".concat(k))})]}),!w&&!U&&"".concat(X," %")]})]})]}),W&&a.jsxs("div",{className:G.fileActions,children:[X<100&&!w&&a.jsx(a.Fragment,{children:U?a.jsx("div",{className:q.default(G.loadingIcon,f.default({},G.loadingLargeIcon,oe)),style:{backgroundImage:"url(".concat("/static/media/6fa6f1128bc0185126482345243bcd42.svg",")")}}):a.jsx(r,{tooltipProps:{title:"Cancel"},className:te,onClick:function(){null==O||O(h),Y(0),J((function(e){return v(v({},e),{},{downloaded:0})}))},size:ie,children:a.jsx(u.CloseSmallIcon,{className:ue,size:ne})})}),100===X&&!w&&(!ee&&B?a.jsx(r,{variant:"contained",tooltipProps:{title:"Delete"},className:te,onClick:B,size:ie,children:a.jsx(u.DeleteFourIcon,{className:ue,size:ne})}):a.jsx(u.CheckOneIcon,{fill:"#75DB29",size:ne,style:{marginLeft:12}})),S&&w&&a.jsx(a.Fragment,{children:E?a.jsx(a.Fragment,{children:"default"===T?a.jsx(t,{size:oe?"medium":"small",variation:"primary",startIcon:a.jsx(u.UploadIcon,{}),onClick:S,children:"Import"}):a.jsx(r,{size:ie,tooltipProps:{title:"Import File"},className:te,onClick:S,children:a.jsx(u.UploadIcon,{size:ne})})}):a.jsx(r,{size:ie,tooltipProps:{title:"Reload"},className:te,onClick:S,children:a.jsx(u.RedoIcon,{size:ne})})})]})]})]})}var x={size:I.default.oneOf(["small","large"]),unit:I.default.oneOf(["size","time","custom"]),customUnitName:I.default.string,onDelete:I.default.func,onReload:I.default.func,handleCancel:I.default.func,name:I.default.string,sizeBytes:I.default.number,error:I.default.bool,errorText:I.default.string,formatError:I.default.bool,importButtonType:I.default.oneOf(["default","icon"]),loadedBytes:I.default.number.isRequired,isLoadingAnimation:I.default.bool,showActions:I.default.bool};g.propTypes=x,module.exports=g;
2
2
  //# sourceMappingURL=FilesLoader.js.map