@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 +1 @@
1
- {"version":3,"file":"Palette.js","sources":["../../../../../../src/components/ColorPicker/PaletteChromePicker/Palette/Palette.js"],"sourcesContent":["import PropTypes from 'prop-types';\nimport { CustomPicker } from 'react-color';\nimport classNames from 'classnames';\nimport chroma from 'chroma-js';\n\nimport ColorSquare from '../ColorSquare';\n\nimport { paletteColors, paletteColorsWithTransparent } from './PaletteConstants';\n\nimport styles from './Palette.css';\n\nconst isSelected = (currentColor, predefinedColor) => {\n const currentColorAlpha = chroma(currentColor).alpha();\n const predefinedColorAlpha = chroma(predefinedColor).alpha();\n\n if (!currentColorAlpha) return currentColorAlpha === predefinedColorAlpha;\n return currentColor === predefinedColor;\n};\n\nconst Palette = ({ onChange, color, className, enableTransparencyPalette }) => {\n const colors = enableTransparencyPalette ? paletteColorsWithTransparent : paletteColors;\n\n return (\n <div className={classNames(styles.paletteContainer, className)}>\n {colors.map(predefinedColor => (\n <ColorSquare\n key={predefinedColor}\n color={predefinedColor}\n isSelected={isSelected(color, predefinedColor)}\n onClick={() => {\n onChange(predefinedColor);\n }}\n />\n ))}\n </div>\n );\n};\n\nPalette.propTypes = {\n onChange: PropTypes.func.isRequired,\n color: PropTypes.string.isRequired,\n className: PropTypes.string,\n enableTransparencyPalette: PropTypes.bool.isRequired,\n};\n\nPalette.defaultProps = {\n className: null,\n};\n\nexport default CustomPicker(Palette);\n"],"names":["isSelected","currentColor","predefinedColor","currentColorAlpha","chroma","alpha","predefinedColorAlpha","Palette","_ref","onChange","color","className","colors","enableTransparencyPalette","paletteColorsWithTransparent","paletteColors","_jsx","classNames","styles","paletteContainer","children","map","ColorSquare","onClick","propTypes","PropTypes","func","isRequired","string","bool","defaultProps","CustomPicker"],"mappings":"6VAWMA,EAAa,SAACC,EAAcC,GAChC,IAAMC,EAAoBC,EAAM,QAACH,GAAcI,QACzCC,EAAuBF,EAAM,QAACF,GAAiBG,QAErD,OAAKF,EACEF,IAAiBC,EADOC,IAAsBG,CAEvD,EAEMC,EAAU,SAA+DC,GAAA,IAA5DC,IAAAA,SAAUC,IAAAA,MAAOC,IAAAA,UAC5BC,IADuCC,0BACFC,EAA4BA,6BAAGC,gBAE1E,OACEC,EAAAA,IAAA,MAAA,CAAKL,UAAWM,EAAU,QAACC,EAAOC,iBAAkBR,GAAWS,SAC5DR,EAAOS,KAAI,SAAAnB,GAAe,OACzBc,EAAAA,IAACM,EAAW,CAEVZ,MAAOR,EACPF,WAAYA,EAAWU,EAAOR,GAC9BqB,QAAS,WACPd,EAASP,EACX,GALKA,OAUf,EAEAK,EAAQiB,UAAY,CAClBf,SAAUgB,EAAAA,QAAUC,KAAKC,WACzBjB,MAAOe,EAAAA,QAAUG,OAAOD,WACxBhB,UAAWc,EAAS,QAACG,OACrBf,0BAA2BY,EAAAA,QAAUI,KAAKF,YAG5CpB,EAAQuB,aAAe,CACrBnB,UAAW,MAGb,IAAeoB,EAAAA,EAAAA,aAAaxB"}
1
+ {"version":3,"file":"Palette.js","sources":["../../../../../../src/components/ColorPicker/PaletteChromePicker/Palette/Palette.js"],"sourcesContent":["import PropTypes from 'prop-types';\nimport { CustomPicker } from 'react-color';\nimport classNames from 'classnames';\nimport chroma from 'chroma-js';\n\nimport ColorSquare from '../ColorSquare';\n\nimport { paletteColors, paletteColorsWithTransparent } from './PaletteConstants';\n\nimport styles from './Palette.css';\n\nconst isSelected = (currentColor, predefinedColor) => {\n const currentColorAlpha = chroma(currentColor).alpha();\n const predefinedColorAlpha = chroma(predefinedColor).alpha();\n\n if (!currentColorAlpha) return currentColorAlpha === predefinedColorAlpha;\n return currentColor === predefinedColor;\n};\n\nconst Palette = ({ onChange, color, className = null, enableTransparencyPalette }) => {\n const colors = enableTransparencyPalette ? paletteColorsWithTransparent : paletteColors;\n\n return (\n <div className={classNames(styles.paletteContainer, className)}>\n {colors.map(predefinedColor => (\n <ColorSquare\n key={predefinedColor}\n color={predefinedColor}\n isSelected={isSelected(color, predefinedColor)}\n onClick={() => {\n onChange(predefinedColor);\n }}\n />\n ))}\n </div>\n );\n};\n\nPalette.propTypes = {\n onChange: PropTypes.func.isRequired,\n color: PropTypes.string.isRequired,\n className: PropTypes.string,\n enableTransparencyPalette: PropTypes.bool.isRequired,\n};\n\nexport default CustomPicker(Palette);\n"],"names":["isSelected","currentColor","predefinedColor","currentColorAlpha","chroma","alpha","predefinedColorAlpha","Palette","_ref","onChange","color","_ref$className","className","colors","enableTransparencyPalette","paletteColorsWithTransparent","paletteColors","_jsx","classNames","styles","paletteContainer","children","map","ColorSquare","onClick","propTypes","PropTypes","func","isRequired","string","bool","CustomPicker"],"mappings":"6VAWMA,EAAa,SAACC,EAAcC,GAChC,IAAMC,EAAoBC,EAAM,QAACH,GAAcI,QACzCC,EAAuBF,EAAM,QAACF,GAAiBG,QAErD,OAAKF,EACEF,IAAiBC,EADOC,IAAsBG,CAEvD,EAEMC,EAAU,SAAsEC,GAAA,IAAnEC,IAAAA,SAAUC,IAAAA,MAAKC,EAAAH,EAAEI,UAAAA,aAAY,KAAID,EAC5CE,IAD8CC,0BACTC,EAA4BA,6BAAGC,gBAE1E,OACEC,EAAAA,IAAA,MAAA,CAAKL,UAAWM,EAAU,QAACC,EAAOC,iBAAkBR,GAAWS,SAC5DR,EAAOS,KAAI,SAAApB,GAAe,OACzBe,EAAAA,IAACM,EAAW,CAEVb,MAAOR,EACPF,WAAYA,EAAWU,EAAOR,GAC9BsB,QAAS,WACPf,EAASP,EACX,GALKA,OAUf,EAEAK,EAAQkB,UAAY,CAClBhB,SAAUiB,EAAAA,QAAUC,KAAKC,WACzBlB,MAAOgB,EAAAA,QAAUG,OAAOD,WACxBhB,UAAWc,EAAS,QAACG,OACrBf,0BAA2BY,EAAAA,QAAUI,KAAKF,YAG5C,IAAeG,EAAAA,EAAAA,aAAaxB"}
@@ -1,2 +1,2 @@
1
- "use strict";var e=require("prop-types"),r=require("classnames"),a=require("@material-ui/core/styles"),o=require("@material-ui/core/Paper"),p=require("react/jsx-runtime");function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var s=t(e),i=t(r),d=t(o),n=function(e,r,a){return a&&r?e.paperRootLoaderSpaceAround:a&&!r?e.paperRootLoader:!a&&r?e.paperRootSpaceAround:a||r?null:e.paperRoot},u=function(e){var r=e.spaceAround,a=e.isLoader,o=e.children,t=e.classes,s=e.className;return p.jsx(d.default,{className:i.default(n(t,r,a),t.paperBase,s),elevation:0,children:o})};u.propTypes={spaceAround:s.default.bool,isLoader:s.default.bool,children:s.default.node.isRequired,className:s.default.string,classes:s.default.shape({}).isRequired},u.defaultProps={spaceAround:!1,isLoader:!1,className:void 0};var l=a.withStyles({paperBase:{backgroundColor:"transparent",position:"relative"},paperRoot:{marginBottom:8},paperRootSpaceAround:{margin:"5px 0 10px",padding:11},paperRootLoader:{margin:"5px 0",minHeight:60},paperRootLoaderSpaceAround:{margin:"5px 0 10px",padding:"4px 0 6px"}})(u);module.exports=l;
1
+ "use strict";var e=require("prop-types"),r=require("classnames"),a=require("@material-ui/core/styles"),o=require("@material-ui/core/Paper"),p=require("react/jsx-runtime");function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var i=t(e),s=t(r),n=t(o),d=function(e,r,a){return a&&r?e.paperRootLoaderSpaceAround:a&&!r?e.paperRootLoader:!a&&r?e.paperRootSpaceAround:a||r?null:e.paperRoot},u=function(e){var r=e.spaceAround,a=void 0!==r&&r,o=e.isLoader,t=void 0!==o&&o,i=e.children,u=e.classes,l=e.className;return p.jsx(n.default,{className:s.default(d(u,a,t),u.paperBase,l),elevation:0,children:i})};u.propTypes={spaceAround:i.default.bool,isLoader:i.default.bool,children:i.default.node.isRequired,className:i.default.string,classes:i.default.shape({}).isRequired};var l=a.withStyles({paperBase:{backgroundColor:"transparent",position:"relative"},paperRoot:{marginBottom:8},paperRootSpaceAround:{margin:"5px 0 10px",padding:11},paperRootLoader:{margin:"5px 0",minHeight:60},paperRootLoaderSpaceAround:{margin:"5px 0 10px",padding:"4px 0 6px"}})(u);module.exports=l;
2
2
  //# sourceMappingURL=CommentWrapper.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"CommentWrapper.js","sources":["../../../src/components/CommentWrapper.js"],"sourcesContent":["import PropTypes from 'prop-types';\nimport classNames from 'classnames';\nimport { withStyles } from '@material-ui/core/styles';\nimport Paper from '@material-ui/core/Paper';\n\nconst muiStyles = {\n paperBase: { backgroundColor: 'transparent', position: 'relative' },\n // NOTE: With all margins and paddings it equals to 60 px for one-line feed item comment\n paperRoot: { marginBottom: 8 },\n // NOTE: With all margins and paddings it equals to 70 px for one-line alert item comment\n paperRootSpaceAround: { margin: '5px 0 10px', padding: 11 },\n // NOTE: Makes CommentLoader have the same height as one-line Comment\n paperRootLoader: { margin: '5px 0', minHeight: 60 },\n // NOTE: Makes CommentLoader have the same height as one-line Comment with space around\n paperRootLoaderSpaceAround: { margin: '5px 0 10px', padding: '4px 0 6px' },\n};\n\nconst getPaperRoot = (classes, spaceAround, isLoader) => {\n if (isLoader && spaceAround) {\n return classes.paperRootLoaderSpaceAround;\n } else if (isLoader && !spaceAround) {\n return classes.paperRootLoader;\n } else if (!isLoader && spaceAround) {\n return classes.paperRootSpaceAround;\n } else if (!isLoader && !spaceAround) {\n return classes.paperRoot;\n }\n\n return null;\n};\n\nconst CommentWrapper = ({ spaceAround, isLoader, children, classes, className }) => (\n <Paper\n className={classNames(\n getPaperRoot(classes, spaceAround, isLoader),\n classes.paperBase,\n className\n )}\n elevation={0}\n >\n {children}\n </Paper>\n);\n\nCommentWrapper.propTypes = {\n spaceAround: PropTypes.bool,\n isLoader: PropTypes.bool,\n children: PropTypes.node.isRequired,\n className: PropTypes.string,\n\n classes: PropTypes.shape({}).isRequired,\n};\n\nCommentWrapper.defaultProps = {\n spaceAround: false,\n isLoader: false,\n className: undefined,\n};\n\nexport default withStyles(muiStyles)(CommentWrapper);\n"],"names":["getPaperRoot","classes","spaceAround","isLoader","paperRootLoaderSpaceAround","paperRootLoader","paperRootSpaceAround","paperRoot","CommentWrapper","_ref","children","className","_jsx","Paper","classNames","paperBase","elevation","propTypes","PropTypes","bool","node","isRequired","string","shape","defaultProps","undefined","CommentWrapper$1","withStyles","backgroundColor","position","marginBottom","margin","padding","minHeight"],"mappings":"4QAiBMA,EAAe,SAACC,EAASC,EAAaC,GAC1C,OAAIA,GAAYD,EACPD,EAAQG,2BACND,IAAaD,EACfD,EAAQI,iBACLF,GAAYD,EACfD,EAAQK,qBACLH,GAAaD,EAIlB,KAHED,EAAQM,SAInB,EAEMC,EAAiB,SAAHC,GAAA,IAAMP,IAAAA,YAAaC,IAAAA,SAAUO,IAAAA,SAAUT,IAAAA,QAASU,IAAAA,UAAS,OAC3EC,EAAAA,IAACC,EAAAA,QAAK,CACJF,UAAWG,EAAAA,QACTd,EAAaC,EAASC,EAAaC,GACnCF,EAAQc,UACRJ,GAEFK,UAAW,EAAEN,SAEZA,GACK,EAGVF,EAAeS,UAAY,CACzBf,YAAagB,EAAS,QAACC,KACvBhB,SAAUe,EAAS,QAACC,KACpBT,SAAUQ,EAAAA,QAAUE,KAAKC,WACzBV,UAAWO,EAAS,QAACI,OAErBrB,QAASiB,EAAS,QAACK,MAAM,CAAA,GAAIF,YAG/Bb,EAAegB,aAAe,CAC5BtB,aAAa,EACbC,UAAU,EACVQ,eAAWc,GAGb,IAAAC,EAAeC,aAtDG,CAChBZ,UAAW,CAAEa,gBAAiB,cAAeC,SAAU,YAEvDtB,UAAW,CAAEuB,aAAc,GAE3BxB,qBAAsB,CAAEyB,OAAQ,aAAcC,QAAS,IAEvD3B,gBAAiB,CAAE0B,OAAQ,QAASE,UAAW,IAE/C7B,2BAA4B,CAAE2B,OAAQ,aAAcC,QAAS,cA6ChDL,CAAsBnB"}
1
+ {"version":3,"file":"CommentWrapper.js","sources":["../../../src/components/CommentWrapper.js"],"sourcesContent":["import PropTypes from 'prop-types';\nimport classNames from 'classnames';\nimport { withStyles } from '@material-ui/core/styles';\nimport Paper from '@material-ui/core/Paper';\n\nconst muiStyles = {\n paperBase: { backgroundColor: 'transparent', position: 'relative' },\n // NOTE: With all margins and paddings it equals to 60 px for one-line feed item comment\n paperRoot: { marginBottom: 8 },\n // NOTE: With all margins and paddings it equals to 70 px for one-line alert item comment\n paperRootSpaceAround: { margin: '5px 0 10px', padding: 11 },\n // NOTE: Makes CommentLoader have the same height as one-line Comment\n paperRootLoader: { margin: '5px 0', minHeight: 60 },\n // NOTE: Makes CommentLoader have the same height as one-line Comment with space around\n paperRootLoaderSpaceAround: { margin: '5px 0 10px', padding: '4px 0 6px' },\n};\n\nconst getPaperRoot = (classes, spaceAround, isLoader) => {\n if (isLoader && spaceAround) {\n return classes.paperRootLoaderSpaceAround;\n } else if (isLoader && !spaceAround) {\n return classes.paperRootLoader;\n } else if (!isLoader && spaceAround) {\n return classes.paperRootSpaceAround;\n } else if (!isLoader && !spaceAround) {\n return classes.paperRoot;\n }\n\n return null;\n};\n\nconst CommentWrapper = ({\n spaceAround = false,\n isLoader = false,\n children,\n classes,\n className,\n}) => (\n <Paper\n className={classNames(\n getPaperRoot(classes, spaceAround, isLoader),\n classes.paperBase,\n className\n )}\n elevation={0}\n >\n {children}\n </Paper>\n);\n\nCommentWrapper.propTypes = {\n spaceAround: PropTypes.bool,\n isLoader: PropTypes.bool,\n children: PropTypes.node.isRequired,\n className: PropTypes.string,\n\n classes: PropTypes.shape({}).isRequired,\n};\n\nexport default withStyles(muiStyles)(CommentWrapper);\n"],"names":["getPaperRoot","classes","spaceAround","isLoader","paperRootLoaderSpaceAround","paperRootLoader","paperRootSpaceAround","paperRoot","CommentWrapper","_ref","_ref$spaceAround","_ref$isLoader","children","className","_jsx","Paper","classNames","paperBase","elevation","propTypes","PropTypes","bool","node","isRequired","string","shape","CommentWrapper$1","withStyles","backgroundColor","position","marginBottom","margin","padding","minHeight"],"mappings":"4QAiBMA,EAAe,SAACC,EAASC,EAAaC,GAC1C,OAAIA,GAAYD,EACPD,EAAQG,2BACND,IAAaD,EACfD,EAAQI,iBACLF,GAAYD,EACfD,EAAQK,qBACLH,GAAaD,EAIlB,KAHED,EAAQM,SAInB,EAEMC,EAAiB,SAAHC,GAAA,IAAAC,EAAAD,EAClBP,YAAAA,cAAmBQ,EAAAC,EAAAF,EACnBN,SAAAA,cAAgBQ,EAChBC,IAAAA,SACAX,IAAAA,QACAY,IAAAA,UAAS,OAETC,EAAAA,IAACC,EAAAA,QAAK,CACJF,UAAWG,EAAAA,QACThB,EAAaC,EAASC,EAAaC,GACnCF,EAAQgB,UACRJ,GAEFK,UAAW,EAAEN,SAEZA,GACK,EAGVJ,EAAeW,UAAY,CACzBjB,YAAakB,EAAS,QAACC,KACvBlB,SAAUiB,EAAS,QAACC,KACpBT,SAAUQ,EAAAA,QAAUE,KAAKC,WACzBV,UAAWO,EAAS,QAACI,OAErBvB,QAASmB,EAAS,QAACK,MAAM,CAAA,GAAIF,YAG/B,IAAAG,EAAeC,aAtDG,CAChBV,UAAW,CAAEW,gBAAiB,cAAeC,SAAU,YAEvDtB,UAAW,CAAEuB,aAAc,GAE3BxB,qBAAsB,CAAEyB,OAAQ,aAAcC,QAAS,IAEvD3B,gBAAiB,CAAE0B,OAAQ,QAASE,UAAW,IAE/C7B,2BAA4B,CAAE2B,OAAQ,aAAcC,QAAS,cA6ChDL,CAAsBnB"}
@@ -1,2 +1,2 @@
1
- "use strict";var e=require("prop-types"),t=require("@material-ui/core/styles"),r=require("@material-ui/core"),s=require("@material-ui/core/colors/grey"),a=require("./styles.css.js"),o=require("../../utils/mobileDetect.js"),i=require("../Avatar/index.js"),n=require("../UserCardPopover.js"),c=require("react/jsx-runtime");function l(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var u=l(e),d=function(e){return e?"".concat(e.first_name," ").concat(e.last_name):""},p=function(e){var t=e.users,r=e.noReactionsText,s=t.length;if(!s)return r;var a="";s>19&&(a="\nand ".concat(s-19," more..."));var o=t.slice(0,19).join("\n");return"".concat(o).concat(a)},m=function(e){var t=e.likesCount,s=e.usersWhoLike,o=e.commentsCount,l=e.usersWhoCommented,u=e.onCommentsClick,m=e.currentUser,f=e.activeUsersList,h=e.classes,y=e.isNative,v=e.small;return c.jsxs(c.Fragment,{children:[!!t&&c.jsx(r.Tooltip,{title:c.jsx(p,{users:s,noReactionsText:"Nobody likes this yet..."}),enterTouchDelay:0,classes:{popper:h.tooltip},placement:"top",children:c.jsxs(r.Typography,{"data-testid":"".concat("FeedPo","_likesCounter_").concat(t),className:h.reactionTypographyRoot,variant:"caption",children:["Likes ",t]})}),!!o&&c.jsx("span",{onClick:u,children:c.jsx(r.Tooltip,{title:c.jsx(p,{users:l,noReactionsText:"Nobody commented this yet..."}),enterTouchDelay:0,classes:{popper:h.tooltip},placement:"top",children:c.jsxs(r.Typography,{"data-testid":"".concat("FeedPo","_commentsCounter_").concat(o),className:h.reactionTypographyRoot,variant:"caption",children:["Comments ",o]})})}),c.jsx("div",{"data-testid":"".concat("FeedPo","_activeUsersCounter_").concat(f&&f.length),className:a.cCommentsInfoActiveUsersList,children:f.map((function(e){return y?c.jsx(i.AvatarComponent,{displayName:d(e),imgSrc:e.profile_photo,className:h.avatarInList,size:v?24:32},e.id):c.jsx(n,{user:e,currentUser:m,children:c.jsx(i.AvatarComponent,{displayName:d(e),imgSrc:e.profile_photo,size:v?24:32,className:h.avatarInList})},e.id)}))})]})},f={reactionTypographyRoot:{color:l(s).default[400],margin:"0 8px",cursor:"pointer","&:hover":{textDecoration:"underline",textUnderlineOffset:"4px",color:"#fff"}},avatarInList:{marginRight:3,borderWidth:1},tooltip:{whiteSpace:"pre-line"}};m.propTypes={likesCount:u.default.number,usersWhoLike:u.default.arrayOf(u.default.shape({})),commentsCount:u.default.number,usersWhoCommented:u.default.arrayOf(u.default.string).isRequired,onCommentsClick:u.default.func,activeUsersList:u.default.arrayOf(u.default.shape({})).isRequired,classes:u.default.shape({}).isRequired,isNative:u.default.bool,small:u.default.bool,currentUser:u.default.shape({})},m.defaultProps={likesCount:0,usersWhoLike:[],commentsCount:0,onCommentsClick:function(){},small:!1,isNative:o.isNativeDetected,currentUser:{}};var h=t.withStyles(f)(m);module.exports=h;
1
+ "use strict";var e=require("prop-types"),t=require("@material-ui/core/styles"),r=require("@material-ui/core"),o=require("@material-ui/core/colors/grey"),s=require("./styles.css.js"),a=require("../../utils/mobileDetect.js"),i=require("../Avatar/index.js"),n=require("../UserCardPopover.js"),c=require("react/jsx-runtime");function l(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var u=l(e),d=function(e){return e?"".concat(e.first_name," ").concat(e.last_name):""},p=function(e){var t=e.users,r=e.noReactionsText,o=t.length;if(!o)return r;var s="";o>19&&(s="\nand ".concat(o-19," more..."));var a=t.slice(0,19).join("\n");return"".concat(a).concat(s)},m=function(e){var t=e.likesCount,o=void 0===t?0:t,a=e.usersWhoLike,l=void 0===a?h:a,u=e.commentsCount,m=void 0===u?0:u,f=e.usersWhoCommented,j=e.onCommentsClick,C=void 0===j?v:j,g=e.currentUser,T=void 0===g?x:g,q=e.activeUsersList,N=e.classes,k=e.isNative,R=void 0===k?y:k,_=e.small,b=void 0!==_&&_;return c.jsxs(c.Fragment,{children:[!!o&&c.jsx(r.Tooltip,{title:c.jsx(p,{users:l,noReactionsText:"Nobody likes this yet..."}),enterTouchDelay:0,classes:{popper:N.tooltip},placement:"top",children:c.jsxs(r.Typography,{"data-testid":"".concat("FeedPo","_likesCounter_").concat(o),className:N.reactionTypographyRoot,variant:"caption",children:["Likes ",o]})}),!!m&&c.jsx("span",{onClick:C,children:c.jsx(r.Tooltip,{title:c.jsx(p,{users:f,noReactionsText:"Nobody commented this yet..."}),enterTouchDelay:0,classes:{popper:N.tooltip},placement:"top",children:c.jsxs(r.Typography,{"data-testid":"".concat("FeedPo","_commentsCounter_").concat(m),className:N.reactionTypographyRoot,variant:"caption",children:["Comments ",m]})})}),c.jsx("div",{"data-testid":"".concat("FeedPo","_activeUsersCounter_").concat(q&&q.length),className:s.cCommentsInfoActiveUsersList,children:q.map((function(e){return R?c.jsx(i.AvatarComponent,{displayName:d(e),imgSrc:e.profile_photo,className:N.avatarInList,size:b?24:32},e.id):c.jsx(n,{user:e,currentUser:T,children:c.jsx(i.AvatarComponent,{displayName:d(e),imgSrc:e.profile_photo,size:b?24:32,className:N.avatarInList})},e.id)}))})]})},f={reactionTypographyRoot:{color:l(o).default[400],margin:"0 8px",cursor:"pointer","&:hover":{textDecoration:"underline",textUnderlineOffset:"4px",color:"#fff"}},avatarInList:{marginRight:3,borderWidth:1},tooltip:{whiteSpace:"pre-line"}};m.propTypes={likesCount:u.default.number,usersWhoLike:u.default.arrayOf(u.default.shape({})),commentsCount:u.default.number,usersWhoCommented:u.default.arrayOf(u.default.string).isRequired,onCommentsClick:u.default.func,activeUsersList:u.default.arrayOf(u.default.shape({})).isRequired,classes:u.default.shape({}).isRequired,isNative:u.default.bool,small:u.default.bool,currentUser:u.default.shape({})};var h=[],v=function(){},y=a.isNativeDetected,x={},j=t.withStyles(f)(m);module.exports=j;
2
2
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../../../../src/components/CommentsInfo/index.js"],"sourcesContent":["import PropTypes from 'prop-types';\nimport { withStyles } from '@material-ui/core/styles';\n/*\n * Using Tooltip from material-ui here because MuiTooltipDcWrapper is broken when used inside popover\n * Here it makes no sense to use that wrapper, because tooltip doesn't go out of parent bounds\n * Bug ticket: https://corvaqa.atlassian.net/browse/DC-3803\n */\nimport { Typography, Tooltip } from '@material-ui/core';\nimport grey from '@material-ui/core/colors/grey';\n\nimport styles from './styles.css';\n\nimport { isNativeDetected } from '~/utils/mobileDetect';\nimport Avatar from '~components/Avatar';\nimport UserCardPopover from '~components/UserCardPopover';\n\nconst PAGE_NAME = 'FeedPo';\n\nconst REACTIONS_VISIBLE_AMOUNT = 19; // NOTE: Max 20 lines\n\nconst getUserFullName = user => (user ? `${user.first_name} ${user.last_name}` : '');\n\nconst ReactionsTooltip = ({ users, noReactionsText }) => {\n const reactionsAmount = users.length;\n if (!reactionsAmount) {\n return noReactionsText;\n }\n\n let reactionsInvisibleText = '';\n\n if (reactionsAmount > REACTIONS_VISIBLE_AMOUNT) {\n const reactionsInvisibleAmount = reactionsAmount - REACTIONS_VISIBLE_AMOUNT;\n reactionsInvisibleText = `\\nand ${reactionsInvisibleAmount} more...`;\n }\n\n const reactionsVisibleText = users.slice(0, REACTIONS_VISIBLE_AMOUNT).join('\\n');\n\n return `${reactionsVisibleText}${reactionsInvisibleText}`;\n};\n\nconst NO_LIKES_TEXT = 'Nobody likes this yet...';\nconst NO_COMMENTS_TEXT = 'Nobody commented this yet...';\n\nconst CommentsInfo = ({\n likesCount,\n usersWhoLike,\n commentsCount,\n usersWhoCommented,\n onCommentsClick,\n currentUser,\n activeUsersList,\n classes,\n isNative,\n small,\n}) => (\n <>\n {!!likesCount && (\n <Tooltip\n title={<ReactionsTooltip users={usersWhoLike} noReactionsText={NO_LIKES_TEXT} />}\n enterTouchDelay={0}\n classes={{ popper: classes.tooltip }}\n placement=\"top\"\n >\n <Typography\n data-testid={`${PAGE_NAME}_likesCounter_${likesCount}`}\n className={classes.reactionTypographyRoot}\n variant=\"caption\"\n >\n Likes {likesCount}\n </Typography>\n </Tooltip>\n )}\n\n {!!commentsCount && (\n <span onClick={onCommentsClick}>\n <Tooltip\n title={<ReactionsTooltip users={usersWhoCommented} noReactionsText={NO_COMMENTS_TEXT} />}\n enterTouchDelay={0}\n classes={{ popper: classes.tooltip }}\n placement=\"top\"\n >\n <Typography\n data-testid={`${PAGE_NAME}_commentsCounter_${commentsCount}`}\n className={classes.reactionTypographyRoot}\n variant=\"caption\"\n >\n Comments {commentsCount}\n </Typography>\n </Tooltip>\n </span>\n )}\n <div\n data-testid={`${PAGE_NAME}_activeUsersCounter_${activeUsersList && activeUsersList.length}`}\n className={styles.cCommentsInfoActiveUsersList}\n >\n {activeUsersList.map(user =>\n isNative ? (\n <Avatar\n key={user.id}\n displayName={getUserFullName(user)}\n imgSrc={user.profile_photo}\n className={classes.avatarInList}\n size={small ? 24 : 32}\n />\n ) : (\n <UserCardPopover key={user.id} user={user} currentUser={currentUser}>\n <Avatar\n displayName={getUserFullName(user)}\n imgSrc={user.profile_photo}\n size={small ? 24 : 32}\n className={classes.avatarInList}\n />\n </UserCardPopover>\n )\n )}\n </div>\n </>\n);\n\nconst muiStyles = {\n reactionTypographyRoot: {\n color: grey[400],\n margin: '0 8px',\n cursor: 'pointer',\n '&:hover': {\n textDecoration: 'underline',\n textUnderlineOffset: '4px',\n color: '#fff',\n },\n },\n avatarInList: {\n marginRight: 3,\n borderWidth: 1,\n },\n tooltip: {\n whiteSpace: 'pre-line',\n },\n};\n\nCommentsInfo.propTypes = {\n likesCount: PropTypes.number,\n usersWhoLike: PropTypes.arrayOf(PropTypes.shape({})),\n commentsCount: PropTypes.number,\n usersWhoCommented: PropTypes.arrayOf(PropTypes.string).isRequired,\n onCommentsClick: PropTypes.func,\n activeUsersList: PropTypes.arrayOf(PropTypes.shape({})).isRequired,\n classes: PropTypes.shape({}).isRequired,\n isNative: PropTypes.bool,\n small: PropTypes.bool,\n currentUser: PropTypes.shape({}),\n};\n\nCommentsInfo.defaultProps = {\n likesCount: 0,\n usersWhoLike: [],\n commentsCount: 0,\n onCommentsClick: () => {},\n small: false,\n isNative: isNativeDetected,\n currentUser: {},\n};\n\nexport default withStyles(muiStyles)(CommentsInfo);\n"],"names":["getUserFullName","user","first_name","last_name","ReactionsTooltip","_ref","users","noReactionsText","reactionsAmount","length","reactionsInvisibleText","concat","reactionsVisibleText","slice","join","CommentsInfo","_ref2","likesCount","usersWhoLike","commentsCount","usersWhoCommented","onCommentsClick","currentUser","activeUsersList","classes","isNative","small","_jsxs","_Fragment","children","_jsx","Tooltip","title","enterTouchDelay","popper","tooltip","placement","Typography","PAGE_NAME","className","reactionTypographyRoot","variant","onClick","jsx","styles","cCommentsInfoActiveUsersList","map","Avatar","displayName","imgSrc","profile_photo","avatarInList","size","id","UserCardPopover","muiStyles","color","margin","cursor","textDecoration","textUnderlineOffset","marginRight","borderWidth","whiteSpace","propTypes","PropTypes","number","arrayOf","shape","string","isRequired","func","bool","defaultProps","isNativeDetected","CommentsInfo$1","withStyles"],"mappings":"oZAoBMA,EAAkB,SAAAC,GAAI,OAAKA,EAAUA,GAAAA,OAAAA,EAAKC,uBAAcD,EAAKE,WAAc,EAAE,EAE7EC,EAAmB,SAAgCC,GAAA,IAA7BC,IAAAA,MAAOC,IAAAA,gBAC3BC,EAAkBF,EAAMG,OAC9B,IAAKD,EACH,OAAOD,EAGT,IAAIG,EAAyB,GAEzBF,EAZ2B,KAc7BE,EAAsB,SAAAC,OADWH,EAbJ,GAcuC,aAGtE,IAAMI,EAAuBN,EAAMO,MAAM,EAjBV,IAiBuCC,KAAK,MAE3E,MAAUF,GAAAA,OAAAA,UAAuBF,EACnC,EAKMK,EAAe,SAAHC,GAAA,IAChBC,IAAAA,WACAC,IAAAA,aACAC,IAAAA,cACAC,IAAAA,kBACAC,IAAAA,gBACAC,IAAAA,YACAC,IAAAA,gBACAC,IAAAA,QACAC,IAAAA,SACAC,IAAAA,MAAK,OAELC,EAAAA,KAAAC,EAAAA,SAAA,CAAAC,SAAA,GACKZ,GACDa,EAAAA,IAACC,EAAAA,QAAO,CACNC,MAAOF,MAAC1B,EAAgB,CAACE,MAAOY,EAAcX,gBAlBhC,6BAmBd0B,gBAAiB,EACjBT,QAAS,CAAEU,OAAQV,EAAQW,SAC3BC,UAAU,MAAKP,SAEfF,OAACU,aAAU,CACT,cAAgBC,GAAAA,OAhDR,SAgD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OACtBhD,aAAc+C,EAAS,QAACE,QAAQF,EAAS,QAACG,MAAM,CAAE,IAClDjD,cAAe8C,EAAS,QAACC,OACzB9C,kBAAmB6C,EAAAA,QAAUE,QAAQF,EAAAA,QAAUI,QAAQC,WACvDjD,gBAAiB4C,EAAS,QAACM,KAC3BhD,gBAAiB0C,EAAS,QAACE,QAAQF,EAAAA,QAAUG,MAAM,CAAA,IAAKE,WACxD9C,QAASyC,EAAS,QAACG,MAAM,CAAA,GAAIE,WAC7B7C,SAAUwC,EAAS,QAACO,KACpB9C,MAAOuC,EAAS,QAACO,KACjBlD,YAAa2C,EAAAA,QAAUG,MAAM,KAG/BrD,EAAa0D,aAAe,CAC1BxD,WAAY,EACZC,aAAc,GACdC,cAAe,EACfE,gBAAiB,WAAQ,EACzBK,OAAO,EACPD,SAAUiD,EAAgBA,iBAC1BpD,YAAa,CAAC,GAGhB,IAAAqD,EAAeC,aAAWrB,EAAXqB,CAAsB7D"}
1
+ {"version":3,"file":"index.js","sources":["../../../../src/components/CommentsInfo/index.js"],"sourcesContent":["import PropTypes from 'prop-types';\nimport { withStyles } from '@material-ui/core/styles';\n/*\n * Using Tooltip from material-ui here because MuiTooltipDcWrapper is broken when used inside popover\n * Here it makes no sense to use that wrapper, because tooltip doesn't go out of parent bounds\n * Bug ticket: https://corvaqa.atlassian.net/browse/DC-3803\n */\nimport { Typography, Tooltip } from '@material-ui/core';\nimport grey from '@material-ui/core/colors/grey';\n\nimport styles from './styles.css';\n\nimport { isNativeDetected } from '~/utils/mobileDetect';\nimport Avatar from '~components/Avatar';\nimport UserCardPopover from '~components/UserCardPopover';\n\nconst PAGE_NAME = 'FeedPo';\n\nconst REACTIONS_VISIBLE_AMOUNT = 19; // NOTE: Max 20 lines\n\nconst getUserFullName = user => (user ? `${user.first_name} ${user.last_name}` : '');\n\nconst ReactionsTooltip = ({ users, noReactionsText }) => {\n const reactionsAmount = users.length;\n if (!reactionsAmount) {\n return noReactionsText;\n }\n\n let reactionsInvisibleText = '';\n\n if (reactionsAmount > REACTIONS_VISIBLE_AMOUNT) {\n const reactionsInvisibleAmount = reactionsAmount - REACTIONS_VISIBLE_AMOUNT;\n reactionsInvisibleText = `\\nand ${reactionsInvisibleAmount} more...`;\n }\n\n const reactionsVisibleText = users.slice(0, REACTIONS_VISIBLE_AMOUNT).join('\\n');\n\n return `${reactionsVisibleText}${reactionsInvisibleText}`;\n};\n\nconst NO_LIKES_TEXT = 'Nobody likes this yet...';\nconst NO_COMMENTS_TEXT = 'Nobody commented this yet...';\n\nconst CommentsInfo = ({\n likesCount = 0,\n usersWhoLike = DEFAULT_COMMENTS_INFO_USERS_WHO_LIKE,\n commentsCount = 0,\n usersWhoCommented,\n onCommentsClick = DEFAULT_COMMENTS_INFO_ON_COMMENTS_CLICK,\n currentUser = DEFAULT_COMMENTS_INFO_CURRENT_USER,\n activeUsersList,\n classes,\n isNative = DEFAULT_COMMENTS_INFO_IS_NATIVE,\n small = false,\n}) => (\n <>\n {!!likesCount && (\n <Tooltip\n title={<ReactionsTooltip users={usersWhoLike} noReactionsText={NO_LIKES_TEXT} />}\n enterTouchDelay={0}\n classes={{ popper: classes.tooltip }}\n placement=\"top\"\n >\n <Typography\n data-testid={`${PAGE_NAME}_likesCounter_${likesCount}`}\n className={classes.reactionTypographyRoot}\n variant=\"caption\"\n >\n Likes {likesCount}\n </Typography>\n </Tooltip>\n )}\n\n {!!commentsCount && (\n <span onClick={onCommentsClick}>\n <Tooltip\n title={<ReactionsTooltip users={usersWhoCommented} noReactionsText={NO_COMMENTS_TEXT} />}\n enterTouchDelay={0}\n classes={{ popper: classes.tooltip }}\n placement=\"top\"\n >\n <Typography\n data-testid={`${PAGE_NAME}_commentsCounter_${commentsCount}`}\n className={classes.reactionTypographyRoot}\n variant=\"caption\"\n >\n Comments {commentsCount}\n </Typography>\n </Tooltip>\n </span>\n )}\n <div\n data-testid={`${PAGE_NAME}_activeUsersCounter_${activeUsersList && activeUsersList.length}`}\n className={styles.cCommentsInfoActiveUsersList}\n >\n {activeUsersList.map(user =>\n isNative ? (\n <Avatar\n key={user.id}\n displayName={getUserFullName(user)}\n imgSrc={user.profile_photo}\n className={classes.avatarInList}\n size={small ? 24 : 32}\n />\n ) : (\n <UserCardPopover key={user.id} user={user} currentUser={currentUser}>\n <Avatar\n displayName={getUserFullName(user)}\n imgSrc={user.profile_photo}\n size={small ? 24 : 32}\n className={classes.avatarInList}\n />\n </UserCardPopover>\n )\n )}\n </div>\n </>\n);\n\nconst muiStyles = {\n reactionTypographyRoot: {\n color: grey[400],\n margin: '0 8px',\n cursor: 'pointer',\n '&:hover': {\n textDecoration: 'underline',\n textUnderlineOffset: '4px',\n color: '#fff',\n },\n },\n avatarInList: {\n marginRight: 3,\n borderWidth: 1,\n },\n tooltip: {\n whiteSpace: 'pre-line',\n },\n};\n\nCommentsInfo.propTypes = {\n likesCount: PropTypes.number,\n usersWhoLike: PropTypes.arrayOf(PropTypes.shape({})),\n commentsCount: PropTypes.number,\n usersWhoCommented: PropTypes.arrayOf(PropTypes.string).isRequired,\n onCommentsClick: PropTypes.func,\n activeUsersList: PropTypes.arrayOf(PropTypes.shape({})).isRequired,\n classes: PropTypes.shape({}).isRequired,\n isNative: PropTypes.bool,\n small: PropTypes.bool,\n currentUser: PropTypes.shape({}),\n};\n\nconst DEFAULT_COMMENTS_INFO_USERS_WHO_LIKE = [];\nconst DEFAULT_COMMENTS_INFO_ON_COMMENTS_CLICK = () => {};\nconst DEFAULT_COMMENTS_INFO_IS_NATIVE = isNativeDetected;\nconst DEFAULT_COMMENTS_INFO_CURRENT_USER = {};\n\nexport default withStyles(muiStyles)(CommentsInfo);\n"],"names":["getUserFullName","user","first_name","last_name","ReactionsTooltip","_ref","users","noReactionsText","reactionsAmount","length","reactionsInvisibleText","concat","reactionsVisibleText","slice","join","CommentsInfo","_ref2","_ref2$likesCount","likesCount","_ref2$usersWhoLike","usersWhoLike","DEFAULT_COMMENTS_INFO_USERS_WHO_LIKE","_ref2$commentsCount","commentsCount","usersWhoCommented","_ref2$onCommentsClick","onCommentsClick","DEFAULT_COMMENTS_INFO_ON_COMMENTS_CLICK","_ref2$currentUser","currentUser","DEFAULT_COMMENTS_INFO_CURRENT_USER","activeUsersList","classes","_ref2$isNative","isNative","DEFAULT_COMMENTS_INFO_IS_NATIVE","_ref2$small","small","_jsxs","_Fragment","children","_jsx","Tooltip","title","enterTouchDelay","popper","tooltip","placement","Typography","PAGE_NAME","className","reactionTypographyRoot","variant","onClick","jsx","styles","cCommentsInfoActiveUsersList","map","Avatar","displayName","imgSrc","profile_photo","avatarInList","size","id","UserCardPopover","muiStyles","color","margin","cursor","textDecoration","textUnderlineOffset","marginRight","borderWidth","whiteSpace","propTypes","PropTypes","number","arrayOf","shape","string","isRequired","func","bool","isNativeDetected","CommentsInfo$1","withStyles"],"mappings":"oZAoBMA,EAAkB,SAAAC,GAAI,OAAKA,EAAUA,GAAAA,OAAAA,EAAKC,uBAAcD,EAAKE,WAAc,EAAE,EAE7EC,EAAmB,SAAgCC,GAAA,IAA7BC,IAAAA,MAAOC,IAAAA,gBAC3BC,EAAkBF,EAAMG,OAC9B,IAAKD,EACH,OAAOD,EAGT,IAAIG,EAAyB,GAEzBF,EAZ2B,KAc7BE,EAAsB,SAAAC,OADWH,EAbJ,GAcuC,aAGtE,IAAMI,EAAuBN,EAAMO,MAAM,EAjBV,IAiBuCC,KAAK,MAE3E,MAAUF,GAAAA,OAAAA,UAAuBF,EACnC,EAKMK,EAAe,SAAHC,GAAA,IAAAC,EAAAD,EAChBE,WAAAA,aAAa,EAACD,EAAAE,EAAAH,EACdI,aAAAA,aAAeC,EAAoCF,EAAAG,EAAAN,EACnDO,cAAAA,aAAgB,EAACD,EACjBE,IAAAA,kBAAiBC,EAAAT,EACjBU,gBAAAA,aAAkBC,EAAuCF,EAAAG,EAAAZ,EACzDa,YAAAA,aAAcC,EAAkCF,EAChDG,IAAAA,gBACAC,IAAAA,QAAOC,EAAAjB,EACPkB,SAAAA,aAAWC,EAA+B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AAK4D,cACbE,KAAM1B,EAAQ,GAAK,GACnBa,UAAWlB,EAAQ8B,gBALD7D,EAAK+D,GAQ5B,QAGJ,EAGCE,EAAY,CAChBf,uBAAwB,CACtBgB,WAAW,QAAC,KACZC,OAAQ,QACRC,OAAQ,UACR,UAAW,CACTC,eAAgB,YAChBC,oBAAqB,MACrBJ,MAAO,SAGXL,aAAc,CACZU,YAAa,EACbC,YAAa,GAEf3B,QAAS,CACP4B,WAAY,aAIhB3D,EAAa4D,UAAY,CACvBzD,WAAY0D,EAAS,QAACC,OACtBzD,aAAcwD,EAAS,QAACE,QAAQF,EAAS,QAACG,MAAM,CAAE,IAClDxD,cAAeqD,EAAS,QAACC,OACzBrD,kBAAmBoD,EAAAA,QAAUE,QAAQF,EAAAA,QAAUI,QAAQC,WACvDvD,gBAAiBkD,EAAS,QAACM,KAC3BnD,gBAAiB6C,EAAS,QAACE,QAAQF,EAAAA,QAAUG,MAAM,CAAA,IAAKE,WACxDjD,QAAS4C,EAAS,QAACG,MAAM,CAAA,GAAIE,WAC7B/C,SAAU0C,EAAS,QAACO,KACpB9C,MAAOuC,EAAS,QAACO,KACjBtD,YAAa+C,EAAAA,QAAUG,MAAM,KAG/B,IAAM1D,EAAuC,GACvCM,EAA0C,aAC1CQ,EAAkCiD,EAAAA,iBAClCtD,EAAqC,CAAA,EAE3CuD,EAAeC,aAAWpB,EAAXoB,CAAsBvE"}
@@ -1,2 +1,2 @@
1
- "use strict";var e=require("@babel/runtime/helpers/defineProperty"),r=require("@babel/runtime/helpers/objectWithoutProperties"),t=require("@material-ui/core"),n=require("prop-types"),l=require("classnames"),o=require("react/jsx-runtime");function i(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var a=i(e),s=i(r),u=i(n),p=i(l),c=["label","height","children"];function d(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,n)}return t}function f(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?d(Object(t),!0).forEach((function(r){a.default(e,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):d(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}return e}var b=t.makeStyles((function(e){return{formControl:{width:"100%",height:function(e){return e}},inputLabel:{color:e.palette.primary.text6,fontSize:"14px",letterSpacing:"0.8px"},select:{background:e.palette.background.b7,"&::before":{borderBottom:"none !important"},"&::after":{borderBottom:"none !important"}},selectedItem:{display:"flex",alignItems:"center"},iconOpen:{color:e.palette.primary.main},paper:{marginTop:function(e){return e+10}},disabled:{color:e.palette.primary.text8}}})),m=function(e){var r,n,l,i=e.label,a=e.height,u=e.children,d=s.default(e,c),m=b(a);return o.jsxs(t.FormControl,{variant:"filled",className:m.formControl,fullWidth:!0,children:[o.jsx(t.InputLabel,{className:m.inputLabel,children:i}),o.jsx(t.Select,f(f({className:m.select,classes:{select:m.selectedItem,iconOpen:m.iconOpen,disabled:m.disabled}},d),{},{MenuProps:f(f({},(null==d?void 0:d.MenuProps)||{}),{},{classes:f(f({},(null==d||null===(r=d.MenuProps)||void 0===r?void 0:r.classes)||{}),{},{paper:p.default(m.paper,null==d||null===(n=d.MenuProps)||void 0===n||null===(l=n.classes)||void 0===l?void 0:l.paper)})}),children:u}))]})};m.propTypes={children:u.default.shape().isRequired,label:u.default.string.isRequired,height:u.default.number,MenuProps:u.default.shape()},m.defaultProps={height:56,MenuProps:{}},module.exports=m;
1
+ "use strict";var e=require("@babel/runtime/helpers/defineProperty"),r=require("@babel/runtime/helpers/objectWithoutProperties"),t=require("@material-ui/core"),n=require("prop-types"),o=require("classnames"),i=require("react/jsx-runtime");function l(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var a=l(e),s=l(r),c=l(n),p=l(o),u=["label","height","children","MenuProps"];function d(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,n)}return t}function b(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?d(Object(t),!0).forEach((function(r){a.default(e,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):d(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}return e}var f={},m=t.makeStyles((function(e){return{formControl:{width:"100%",height:function(e){return e}},inputLabel:{color:e.palette.primary.text6,fontSize:"14px",letterSpacing:"0.8px"},select:{background:e.palette.background.b7,"&::before":{borderBottom:"none !important"},"&::after":{borderBottom:"none !important"}},selectedItem:{display:"flex",alignItems:"center"},iconOpen:{color:e.palette.primary.main},paper:{marginTop:function(e){return e+10}},disabled:{color:e.palette.primary.text8}}})),h=function(e){var r,n=e.label,o=e.height,l=void 0===o?56:o,a=e.children,c=e.MenuProps,d=void 0===c?f:c,h=s.default(e,u),y=m(l);return i.jsxs(t.FormControl,{variant:"filled",className:y.formControl,fullWidth:!0,children:[i.jsx(t.InputLabel,{className:y.inputLabel,children:n}),i.jsx(t.Select,b(b({className:y.select,classes:{select:y.selectedItem,iconOpen:y.iconOpen,disabled:y.disabled}},h),{},{MenuProps:b(b({},d),{},{classes:b(b({},d.classes||{}),{},{paper:p.default(y.paper,null===(r=d.classes)||void 0===r?void 0:r.paper)})}),children:a}))]})};h.propTypes={children:c.default.shape().isRequired,label:c.default.string.isRequired,height:c.default.number,MenuProps:c.default.shape()},module.exports=h;
2
2
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../../../../src/components/CustomSelect/index.js"],"sourcesContent":["import { FormControl, InputLabel, makeStyles, Select } from '@material-ui/core';\nimport PropTypes from 'prop-types';\nimport classnames from 'classnames';\n\nconst useStyles = makeStyles(theme => ({\n formControl: {\n width: '100%',\n height: height => height,\n },\n inputLabel: {\n color: theme.palette.primary.text6,\n fontSize: '14px',\n letterSpacing: '0.8px',\n },\n select: {\n background: theme.palette.background.b7,\n '&::before': {\n borderBottom: 'none !important',\n },\n '&::after': {\n borderBottom: 'none !important',\n },\n },\n selectedItem: {\n display: 'flex',\n alignItems: 'center',\n },\n iconOpen: {\n color: theme.palette.primary.main,\n },\n paper: {\n marginTop: height => height + 10,\n },\n disabled: {\n color: theme.palette.primary.text8,\n },\n}));\n\nconst CustomSelect = ({ label, height, children, ...props }) => {\n const classes = useStyles(height);\n return (\n <FormControl variant=\"filled\" className={classes.formControl} fullWidth>\n <InputLabel className={classes.inputLabel}>{label}</InputLabel>\n <Select\n className={classes.select}\n classes={{\n select: classes.selectedItem,\n iconOpen: classes.iconOpen,\n disabled: classes.disabled,\n }}\n {...props}\n MenuProps={{\n ...(props?.MenuProps || {}),\n classes: {\n ...(props?.MenuProps?.classes || {}),\n paper: classnames(classes.paper, props?.MenuProps?.classes?.paper),\n },\n }}\n >\n {children}\n </Select>\n </FormControl>\n );\n};\n\nCustomSelect.propTypes = {\n children: PropTypes.shape().isRequired,\n label: PropTypes.string.isRequired,\n height: PropTypes.number,\n MenuProps: PropTypes.shape(),\n};\n\nCustomSelect.defaultProps = {\n height: 56,\n MenuProps: {},\n};\n\nexport default CustomSelect;\n"],"names":["useStyles","makeStyles","theme","formControl","width","height","inputLabel","color","palette","primary","text6","fontSize","letterSpacing","select","background","b7","borderBottom","selectedItem","display","alignItems","iconOpen","main","paper","marginTop","disabled","text8","CustomSelect","_ref","_props$MenuProps","_props$MenuProps2","_props$MenuProps2$cla","label","children","props","_objectWithoutProperties","_excluded","classes","_jsxs","FormControl","variant","className","fullWidth","_jsx","InputLabel","Select","_objectSpread","MenuProps","classnames","propTypes","PropTypes","shape","isRequired","string","number","defaultProps"],"mappings":"67BAIA,IAAMA,EAAYC,EAAAA,YAAW,SAAAC,GAAK,MAAK,C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AS,IAAAjB,GAAS,QAATC,EAAhBD,EAAkBO,eAAO,IAAAN,OAAzBG,EAAAH,EAA2BR,WAE9DU,SAEDA,OAIT,EAEAN,EAAasB,UAAY,CACvBhB,SAAUiB,EAAAA,QAAUC,QAAQC,WAC5BpB,MAAOkB,EAAAA,QAAUG,OAAOD,WACxB9C,OAAQ4C,EAAS,QAACI,OAClBP,UAAWG,EAAS,QAACC,SAGvBxB,EAAa4B,aAAe,CAC1BjD,OAAQ,GACRyC,UAAW,CAAC"}
1
+ {"version":3,"file":"index.js","sources":["../../../../src/components/CustomSelect/index.js"],"sourcesContent":["import { FormControl, InputLabel, makeStyles, Select } from '@material-ui/core';\nimport PropTypes from 'prop-types';\nimport classnames from 'classnames';\n\nconst DEFAULT_MENU_PROPS = {};\n\nconst useStyles = makeStyles(theme => ({\n formControl: {\n width: '100%',\n height: height => height,\n },\n inputLabel: {\n color: theme.palette.primary.text6,\n fontSize: '14px',\n letterSpacing: '0.8px',\n },\n select: {\n background: theme.palette.background.b7,\n '&::before': {\n borderBottom: 'none !important',\n },\n '&::after': {\n borderBottom: 'none !important',\n },\n },\n selectedItem: {\n display: 'flex',\n alignItems: 'center',\n },\n iconOpen: {\n color: theme.palette.primary.main,\n },\n paper: {\n marginTop: height => height + 10,\n },\n disabled: {\n color: theme.palette.primary.text8,\n },\n}));\n\nconst CustomSelect = ({\n label,\n height = 56,\n children,\n MenuProps = DEFAULT_MENU_PROPS,\n ...props\n}) => {\n const classes = useStyles(height);\n return (\n <FormControl variant=\"filled\" className={classes.formControl} fullWidth>\n <InputLabel className={classes.inputLabel}>{label}</InputLabel>\n <Select\n className={classes.select}\n classes={{\n select: classes.selectedItem,\n iconOpen: classes.iconOpen,\n disabled: classes.disabled,\n }}\n {...props}\n MenuProps={{\n ...MenuProps,\n classes: {\n ...(MenuProps.classes || {}),\n paper: classnames(classes.paper, MenuProps.classes?.paper),\n },\n }}\n >\n {children}\n </Select>\n </FormControl>\n );\n};\n\nCustomSelect.propTypes = {\n children: PropTypes.shape().isRequired,\n label: PropTypes.string.isRequired,\n height: PropTypes.number,\n MenuProps: PropTypes.shape(),\n};\n\nexport default CustomSelect;\n"],"names":["DEFAULT_MENU_PROPS","useStyles","makeStyles","theme","formControl","width","height","inputLabel","color","palette","primary","text6","fontSize","letterSpacing","select","background","b7","borderBottom","selectedItem","display","alignItems","iconOpen","main","paper","marginTop","disabled","text8","CustomSelect","_ref","_MenuProps$classes","label","_ref$height","children","_ref$MenuProps","MenuProps","props","_objectWithoutProperties","_excluded","classes","_jsxs","FormControl","variant","className","fullWidth","_jsx","InputLabel","Select","_objectSpread","classnames","propTypes","PropTypes","shape","isRequired","string","number"],"mappings":"y8BAIA,IAAMA,EAAqB,CAAA,EAErBC,EAAYC,EAAAA,YAAW,SAAAC,GAAK,MAAK,CACrCC,YAAa,CACXC,MAAO,OACPC,OAAQ,SAAAA,GAAM,OAAIA,CAAM,GAE1BC,WAAY,CACVC,MAAOL,EAAMM,QAAQC,QAAQC,MAC7BC,SAAU,OACVC,cAAe,SAEjBC,OAAQ,CACNC,WAAYZ,EAAMM,QAAQM,WAAWC,GACrC,YAAa,CACXC,aAAc,mBAEhB,WAAY,CACVA,aAAc,oBAGlBC,aAAc,CACZC,QAAS,OACTC,WAAY,UAEdC,SAAU,CACRb,MAAOL,EAAMM,QAAQC,QAAQY,MAE/BC,MAAO,CACLC,UAAW,SAAAlB,GAAM,OAAIA,EAAS,EAAE,GAElCmB,SAAU,CACRjB,MAAOL,EAAMM,QAAQC,QAAQgB,OAEhC,IAEKC,EAAe,SAMfC,GAAA,IAAAC,EALJC,IAAAA,MAAKC,EAAAH,EACLtB,OAAAA,aAAS,GAAEyB,EACXC,IAAAA,SAAQC,EAAAL,EACRM,UAAAA,aAAYlC,EAAkBiC,EAC3BE,EAAKC,EAAA,QAAAR,EAAAS,GAEFC,EAAUrC,EAAUK,GAC1B,OACEiC,EAAAA,KAACC,EAAAA,YAAW,CAACC,QAAQ,SAASC,UAAWJ,EAAQlC,YAAauC,WAAS,EAAAX,SAAA,CACrEY,MAACC,aAAU,CAACH,UAAWJ,EAAQ/B,WAAWyB,SAAEF,IAC5Cc,MAACE,SAAMC,EAAAA,EAAA,CACLL,UAAWJ,EAAQxB,OACnBwB,QAAS,CACPxB,OAAQwB,EAAQpB,aAChBG,SAAUiB,EAAQjB,SAClBI,SAAUa,EAAQb,WAEhBU,GAAK,GAAA,CACTD,iBACKA,GAAS,CAAA,EAAA,CACZI,eACMJ,EAAUI,SAAW,CAAA,GAAE,GAAA,CAC3Bf,MAAOyB,EAAU,QAACV,EAAQf,MAAO,QAAAW,EAAAA,EAAUI,eAAV,IAAAT,OAAA,EAAAA,EAAmBN,WAEtDS,SAEDA,OAIT,EAEAL,EAAasB,UAAY,CACvBjB,SAAUkB,EAAAA,QAAUC,QAAQC,WAC5BtB,MAAOoB,EAAAA,QAAUG,OAAOD,WACxB9C,OAAQ4C,EAAS,QAACI,OAClBpB,UAAWgB,EAAS,QAACC"}
@@ -1,2 +1,2 @@
1
- "use strict";var s=require("@babel/runtime/helpers/defineProperty"),o=require("@babel/runtime/helpers/objectWithoutProperties"),e=require("classnames"),c=require("prop-types"),i=require("@material-ui/pickers"),r=require("@material-ui/core"),n=require("moment"),t=require("../../constants/dateTimeFormat.js"),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");function m(s){return s&&"object"==typeof s&&"default"in s?s:{default:s}}var l=m(s),j=m(o),p=m(e),I=m(c),q=m(n),d=["className","PopoverProps"];function b(s,o){var e=Object.keys(s);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(s);o&&(c=c.filter((function(o){return Object.getOwnPropertyDescriptor(s,o).enumerable}))),e.push.apply(e,c)}return e}function f(s){for(var o=1;o<arguments.length;o++){var e=null!=arguments[o]?arguments[o]:{};o%2?b(Object(e),!0).forEach((function(o){l.default(s,o,e[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(e)):b(Object(e)).forEach((function(o){Object.defineProperty(s,o,Object.getOwnPropertyDescriptor(e,o))}))}return s}var O=r.makeStyles((function(s){return{dateTimePickerInput:{width:"100%",paddingBottom:8,"& .MuiFormLabel-root.Mui-focused":{color:s.palette.primary.main},"& .MuiInput-root.Mui-focused .MuiIconButton-root":{color:s.palette.primary.main},"&:hover .MuiIconButton-root":{color:s.palette.primary.contrastText},"& .MuiIconButton-root":{borderRadius:8,color:s.palette.primary.text6,fontSize:"unset",marginRight:-3,marginBottom:-8,padding:6,"&:hover":{backgroundColor:"rgba(255, 255, 255, 0.16)"}},"& .MuiIconButton-root > span > span svg":{fill:"transparent !important"}},paper:{marginTop:8}}})),P=function(s){var o,e,c=s.className,r=s.PopoverProps,n=j.default(s,d),m=O();return a.jsx(i.KeyboardDatePicker,f(f({disableToolbar:!0,variant:"inline",keyboardIcon:a.jsx(u.CalendarIcon,{size:16}),rightArrowIcon:a.jsx(u.RightIcon,{size:24}),leftArrowIcon:a.jsx(u.LeftIcon,{size:24}),format:t.DATE_FORMAT,placeholder:q.default().format(t.DATE_FORMAT),refuse:/[^(\w|\d)]+/gi,maxDate:null!==(o=n.maxDate)&&void 0!==o?o:void 0,minDate:null!==(e=n.minDate)&&void 0!==e?e:void 0},n),{},{PopoverProps:f({className:p.default(m.paper,null==r?void 0:r.className)},r),className:p.default(m.dateTimePickerInput,c)}))};P.propTypes={PopoverProps:I.default.shape({className:I.default.string}),className:I.default.string},P.defaultProps={PopoverProps:{},className:""},module.exports=P;
1
+ "use strict";var s=require("@babel/runtime/helpers/defineProperty"),o=require("@babel/runtime/helpers/objectWithoutProperties"),e=require("classnames"),c=require("prop-types"),i=require("@material-ui/pickers"),r=require("@material-ui/core"),n=require("moment"),t=require("../../constants/dateTimeFormat.js"),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");function m(s){return s&&"object"==typeof s&&"default"in s?s:{default:s}}var l=m(s),j=m(o),p=m(e),I=m(c),q=m(n),d=["className","PopoverProps"];function b(s,o){var e=Object.keys(s);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(s);o&&(c=c.filter((function(o){return Object.getOwnPropertyDescriptor(s,o).enumerable}))),e.push.apply(e,c)}return e}function f(s){for(var o=1;o<arguments.length;o++){var e=null!=arguments[o]?arguments[o]:{};o%2?b(Object(e),!0).forEach((function(o){l.default(s,o,e[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(e)):b(Object(e)).forEach((function(o){Object.defineProperty(s,o,Object.getOwnPropertyDescriptor(e,o))}))}return s}var v=r.makeStyles((function(s){return{dateTimePickerInput:{width:"100%",paddingBottom:8,"& .MuiFormLabel-root.Mui-focused":{color:s.palette.primary.main},"& .MuiInput-root.Mui-focused .MuiIconButton-root":{color:s.palette.primary.main},"&:hover .MuiIconButton-root":{color:s.palette.primary.contrastText},"& .MuiIconButton-root":{borderRadius:8,color:s.palette.primary.text6,fontSize:"unset",marginRight:-3,marginBottom:-8,padding:6,"&:hover":{backgroundColor:"rgba(255, 255, 255, 0.16)"}},"& .MuiIconButton-root > span > span svg":{fill:"transparent !important"}},paper:{marginTop:8}}})),O=function(s){var o,e,c=s.className,r=void 0===c?"":c,n=s.PopoverProps,m=void 0===n?h:n,l=j.default(s,d),I=v();return a.jsx(i.KeyboardDatePicker,f(f({disableToolbar:!0,variant:"inline",keyboardIcon:a.jsx(u.CalendarIcon,{size:16}),rightArrowIcon:a.jsx(u.RightIcon,{size:24}),leftArrowIcon:a.jsx(u.LeftIcon,{size:24}),format:t.DATE_FORMAT,placeholder:q.default().format(t.DATE_FORMAT),refuse:/[^(\w|\d)]+/gi,maxDate:null!==(o=l.maxDate)&&void 0!==o?o:void 0,minDate:null!==(e=l.minDate)&&void 0!==e?e:void 0},l),{},{PopoverProps:f({className:p.default(I.paper,null==m?void 0:m.className)},m),className:p.default(I.dateTimePickerInput,r)}))};O.propTypes={PopoverProps:I.default.shape({className:I.default.string}),className:I.default.string};var h={};module.exports=O;
2
2
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../../../../src/components/DatePicker/index.tsx"],"sourcesContent":["import classNames from 'classnames';\nimport PropTypes from 'prop-types';\n\nimport { KeyboardDatePicker, KeyboardDatePickerProps } from '@material-ui/pickers';\nimport { makeStyles } from '@material-ui/core';\nimport moment from 'moment';\nimport { DATE_FORMAT } from '../../constants/dateTimeFormat';\nimport { CalendarIcon, LeftIcon, RightIcon } from '~/icons';\n\nconst useStyles = makeStyles(theme => ({\n dateTimePickerInput: {\n width: '100%',\n paddingBottom: 8,\n '& .MuiFormLabel-root.Mui-focused': {\n color: theme.palette.primary.main,\n },\n '& .MuiInput-root.Mui-focused .MuiIconButton-root': {\n color: theme.palette.primary.main,\n },\n '&:hover .MuiIconButton-root': {\n color: theme.palette.primary.contrastText,\n },\n '& .MuiIconButton-root': {\n borderRadius: 8,\n color: theme.palette.primary.text6,\n fontSize: 'unset',\n marginRight: -3,\n marginBottom: -8,\n padding: 6,\n '&:hover': {\n backgroundColor: 'rgba(255, 255, 255, 0.16)',\n },\n },\n '& .MuiIconButton-root > span > span svg': {\n fill: 'transparent !important',\n },\n },\n paper: {\n marginTop: 8,\n },\n}));\n\ninterface DatePickerProps extends KeyboardDatePickerProps {\n className: string;\n}\n\nconst DatePicker = ({ className, PopoverProps, ...otherProps }: DatePickerProps): JSX.Element => {\n const styles = useStyles();\n\n return (\n <KeyboardDatePicker\n disableToolbar\n variant=\"inline\"\n keyboardIcon={<CalendarIcon size={16} />}\n rightArrowIcon={<RightIcon size={24} />}\n leftArrowIcon={<LeftIcon size={24} />}\n format={DATE_FORMAT}\n placeholder={moment().format(DATE_FORMAT)}\n refuse={/[^(\\w|\\d)]+/gi}\n // Even though the type of maxDate and minDate allows null, it leads to an error during parsing date\n maxDate={otherProps.maxDate ?? undefined}\n minDate={otherProps.minDate ?? undefined}\n {...otherProps}\n PopoverProps={{\n className: classNames(styles.paper, PopoverProps?.className),\n ...PopoverProps,\n }}\n className={classNames(styles.dateTimePickerInput, className)}\n />\n );\n};\n\nDatePicker.propTypes = {\n PopoverProps: PropTypes.shape({\n className: PropTypes.string,\n }),\n className: PropTypes.string,\n};\n\nDatePicker.defaultProps = {\n PopoverProps: {},\n className: '',\n};\n\nexport default DatePicker;\n"],"names":["useStyles","makeStyles","theme","dateTimePickerInput","width","paddingBottom","color","palette","primary","main","contrastText","borderRadius","text6","fontSize","marginRight","marginBottom","padding","backgroundColor","fill","paper","marginTop","DatePicker","_ref","_otherProps$maxDate","_otherProps$minDate","className","PopoverProps","otherProps","_objectWithoutProperties","_excluded","styles","_jsx","KeyboardDatePicker","_objectSpread","disableToolbar","variant","keyboardIcon","CalendarIcon","size","rightArrowIcon","RightIcon","leftArrowIcon","LeftIcon","format","DATE_FORMAT","placeholder","moment","refuse","maxDate","undefined","minDate","classNames","propTypes","PropTypes","shape","string","defaultProps"],"mappings":"43JASA,IAAMA,EAAYC,EAAAA,YAAW,SAAAC,GAAK,MAAK,CACrCC,oBAAqB,CACnBC,MAAO,OACPC,cAAe,EACf,mCAAoC,CAClCC,MAAOJ,EAAMK,QAAQC,QAAQC,MAE/B,oDAAqD,CACnDH,MAAOJ,EAAMK,QAAQC,QAAQC,MAE/B,8BAA+B,CAC7BH,MAAOJ,EAAMK,QAAQC,QAAQE,cAE/B,wBAAyB,CACvBC,aAAc,EACdL,MAAOJ,EAAMK,QAAQC,QAAQI,MAC7BC,SAAU,QACVC,aAAc,EACdC,cAAe,EACfC,QAAS,EACT,UAAW,CACTC,gBAAiB,8BAGrB,0CAA2C,CACzCC,KAAM,2BAGVC,MAAO,CACLC,UAAW,GAEd,IAMKC,EAAa,SAA8EC,GAAA,IAAAC,EAAAC,EAA3EC,IAAAA,UAAWC,IAAAA,aAAiBC,EAAUC,EAAA,QAAAN,EAAAO,GACpDC,EAAS9B,IAEf,OACE+B,MAACC,EAAAA,mBAAkBC,EAAAA,EAAA,CACjBC,gBAAc,EACdC,QAAQ,SACRC,aAAcL,MAACM,eAAY,CAACC,KAAM,KAClCC,eAAgBR,MAACS,YAAS,CAACF,KAAM,KACjCG,cAAeV,MAACW,WAAQ,CAACJ,KAAM,KAC/BK,OAAQC,EAAYA,YACpBC,YAAaC,EAAM,UAAGH,OAAOC,eAC7BG,OAAQ,gBAERC,gBAASrB,EAAAA,EAAWqB,4BAAWC,EAC/BC,QAA+BD,QAAtBtB,EAAAA,EAAWuB,eAAWD,IAAAA,EAAAA,OAAAA,GAC3BtB,GAAU,GAAA,CACdD,aAAYO,EAAA,CACVR,UAAW0B,EAAU,QAACrB,EAAOX,MAAOO,aAAAA,EAAAA,EAAcD,YAC/CC,GAELD,UAAW0B,EAAU,QAACrB,EAAO3B,oBAAqBsB,KAGxD,EAEAJ,EAAW+B,UAAY,CACrB1B,aAAc2B,EAAS,QAACC,MAAM,CAC5B7B,UAAW4B,EAAS,QAACE,SAEvB9B,UAAW4B,EAAS,QAACE,QAGvBlC,EAAWmC,aAAe,CACxB9B,aAAc,CAAE,EAChBD,UAAW"}
1
+ {"version":3,"file":"index.js","sources":["../../../../src/components/DatePicker/index.tsx"],"sourcesContent":["import classNames from 'classnames';\nimport PropTypes from 'prop-types';\n\nimport { KeyboardDatePicker, KeyboardDatePickerProps } from '@material-ui/pickers';\nimport { makeStyles } from '@material-ui/core';\nimport moment from 'moment';\nimport { DATE_FORMAT } from '../../constants/dateTimeFormat';\nimport { CalendarIcon, LeftIcon, RightIcon } from '~/icons';\n\nconst useStyles = makeStyles(theme => ({\n dateTimePickerInput: {\n width: '100%',\n paddingBottom: 8,\n '& .MuiFormLabel-root.Mui-focused': {\n color: theme.palette.primary.main,\n },\n '& .MuiInput-root.Mui-focused .MuiIconButton-root': {\n color: theme.palette.primary.main,\n },\n '&:hover .MuiIconButton-root': {\n color: theme.palette.primary.contrastText,\n },\n '& .MuiIconButton-root': {\n borderRadius: 8,\n color: theme.palette.primary.text6,\n fontSize: 'unset',\n marginRight: -3,\n marginBottom: -8,\n padding: 6,\n '&:hover': {\n backgroundColor: 'rgba(255, 255, 255, 0.16)',\n },\n },\n '& .MuiIconButton-root > span > span svg': {\n fill: 'transparent !important',\n },\n },\n paper: {\n marginTop: 8,\n },\n}));\n\ninterface DatePickerProps extends KeyboardDatePickerProps {\n className?: string;\n}\n\nconst DatePicker = ({\n className = '',\n PopoverProps = DEFAULT_DATE_PICKER_POPOVER_PROPS,\n ...otherProps\n}: DatePickerProps): JSX.Element => {\n const styles = useStyles();\n\n return (\n <KeyboardDatePicker\n disableToolbar\n variant=\"inline\"\n keyboardIcon={<CalendarIcon size={16} />}\n rightArrowIcon={<RightIcon size={24} />}\n leftArrowIcon={<LeftIcon size={24} />}\n format={DATE_FORMAT}\n placeholder={moment().format(DATE_FORMAT)}\n refuse={/[^(\\w|\\d)]+/gi}\n // Even though the type of maxDate and minDate allows null, it leads to an error during parsing date\n maxDate={otherProps.maxDate ?? undefined}\n minDate={otherProps.minDate ?? undefined}\n {...otherProps}\n PopoverProps={{\n className: classNames(styles.paper, PopoverProps?.className),\n ...PopoverProps,\n }}\n className={classNames(styles.dateTimePickerInput, className)}\n />\n );\n};\n\nDatePicker.propTypes = {\n PopoverProps: PropTypes.shape({\n className: PropTypes.string,\n }),\n className: PropTypes.string,\n};\n\nconst DEFAULT_DATE_PICKER_POPOVER_PROPS = {};\n\nexport default DatePicker;\n"],"names":["useStyles","makeStyles","theme","dateTimePickerInput","width","paddingBottom","color","palette","primary","main","contrastText","borderRadius","text6","fontSize","marginRight","marginBottom","padding","backgroundColor","fill","paper","marginTop","DatePicker","_ref","_otherProps$maxDate","_otherProps$minDate","_ref$className","className","_ref$PopoverProps","PopoverProps","DEFAULT_DATE_PICKER_POPOVER_PROPS","otherProps","_objectWithoutProperties","_excluded","styles","_jsx","KeyboardDatePicker","_objectSpread","disableToolbar","variant","keyboardIcon","CalendarIcon","size","rightArrowIcon","RightIcon","leftArrowIcon","LeftIcon","format","DATE_FORMAT","placeholder","moment","refuse","maxDate","undefined","minDate","classNames","propTypes","PropTypes","shape","string"],"mappings":"43JASA,IAAMA,EAAYC,EAAAA,YAAW,SAAAC,GAAK,MAAK,CACrCC,oBAAqB,CACnBC,MAAO,OACPC,cAAe,EACf,mCAAoC,CAClCC,MAAOJ,EAAMK,QAAQC,QAAQC,MAE/B,oDAAqD,CACnDH,MAAOJ,EAAMK,QAAQC,QAAQC,MAE/B,8BAA+B,CAC7BH,MAAOJ,EAAMK,QAAQC,QAAQE,cAE/B,wBAAyB,CACvBC,aAAc,EACdL,MAAOJ,EAAMK,QAAQC,QAAQI,MAC7BC,SAAU,QACVC,aAAc,EACdC,cAAe,EACfC,QAAS,EACT,UAAW,CACTC,gBAAiB,8BAGrB,0CAA2C,CACzCC,KAAM,2BAGVC,MAAO,CACLC,UAAW,GAEd,IAMKC,EAAa,SAIiBC,GAAA,IAAAC,EAAAC,EAAAC,EAAAH,EAHlCI,UAAAA,aAAY,GAAED,EAAAE,EAAAL,EACdM,aAAAA,aAAeC,EAAiCF,EAC7CG,EAAUC,EAAA,QAAAT,EAAAU,GAEPC,EAASjC,IAEf,OACEkC,MAACC,EAAAA,mBAAkBC,EAAAA,EAAA,CACjBC,gBAAc,EACdC,QAAQ,SACRC,aAAcL,MAACM,eAAY,CAACC,KAAM,KAClCC,eAAgBR,MAACS,YAAS,CAACF,KAAM,KACjCG,cAAeV,MAACW,WAAQ,CAACJ,KAAM,KAC/BK,OAAQC,EAAYA,YACpBC,YAAaC,EAAM,UAAGH,OAAOC,eAC7BG,OAAQ,gBAERC,gBAASrB,EAAAA,EAAWqB,4BAAWC,EAC/BC,QAA+BD,QAAtBtB,EAAAA,EAAWuB,eAAWD,IAAAA,EAAAA,OAAAA,GAC3BtB,GAAU,GAAA,CACdF,aAAYQ,EAAA,CACVV,UAAW4B,EAAU,QAACrB,EAAOd,MAAOS,aAAAA,EAAAA,EAAcF,YAC/CE,GAELF,UAAW4B,EAAU,QAACrB,EAAO9B,oBAAqBuB,KAGxD,EAEAL,EAAWkC,UAAY,CACrB3B,aAAc4B,EAAS,QAACC,MAAM,CAC5B/B,UAAW8B,EAAS,QAACE,SAEvBhC,UAAW8B,EAAS,QAACE,QAGvB,IAAM7B,EAAoC,CAAE"}
@@ -1,2 +1,2 @@
1
- "use strict";var s=require("@babel/runtime/helpers/defineProperty"),o=require("@babel/runtime/helpers/objectWithoutProperties"),e=require("classnames"),c=require("prop-types"),i=require("moment"),r=require("@material-ui/pickers"),n=require("@material-ui/core"),t=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 u=require("../../constants/dateTimeFormat.js"),a=require("react/jsx-runtime");function m(s){return s&&"object"==typeof s&&"default"in s?s:{default:s}}var l=m(s),j=m(o),I=m(e),p=m(c),q=m(i),d=["className","PopoverProps","format"];function f(s,o){var e=Object.keys(s);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(s);o&&(c=c.filter((function(o){return Object.getOwnPropertyDescriptor(s,o).enumerable}))),e.push.apply(e,c)}return e}function b(s){for(var o=1;o<arguments.length;o++){var e=null!=arguments[o]?arguments[o]:{};o%2?f(Object(e),!0).forEach((function(o){l.default(s,o,e[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(e)):f(Object(e)).forEach((function(o){Object.defineProperty(s,o,Object.getOwnPropertyDescriptor(e,o))}))}return s}var P=n.makeStyles((function(s){return{dateTimePickerInput:{width:"100%",paddingBottom:8,"& .MuiFormLabel-root.Mui-focused":{color:s.palette.primary.main},"& .MuiInput-root.Mui-focused .MuiIconButton-root":{color:s.palette.primary.main},"&:hover .MuiIconButton-root":{color:s.palette.primary.contrastText},"& .MuiIconButton-root":{color:s.palette.primary.text6,borderRadius:8,fontSize:"unset",marginRight:-3,marginBottom:-8,padding:6,"&:hover":{backgroundColor:"rgba(255, 255, 255, 0.16)"}},"& .MuiIconButton-root > span > span svg":{fill:"transparent !important"}},paper:{marginTop:8}}}));function O(s){var o,e,c=s.className,i=s.PopoverProps,n=s.format,u=j.default(s,d),m=P();return a.jsx(r.KeyboardDateTimePicker,b(b({dateRangeIcon:a.jsx(t.CalendarIcon,{size:24}),timeIcon:a.jsx(t.TimeIcon,{size:24}),rightArrowIcon:a.jsx(t.RightIcon,{size:24}),leftArrowIcon:a.jsx(t.LeftIcon,{size:24}),keyboardIcon:a.jsx(t.CalendarIcon,{size:16}),format:n,refuse:/[^(\w|\d)]+/gi,placeholder:q.default().format(n),maxDate:null!==(o=u.maxDate)&&void 0!==o?o:void 0,minDate:null!==(e=u.minDate)&&void 0!==e?e:void 0},u),{},{PopoverProps:b({className:m.paper},i),className:I.default(m.dateTimePickerInput,c)}))}O.propTypes={className:p.default.string,PopoverProps:p.default.shape({className:p.default.string}),format:p.default.string},O.defaultProps={className:"",PopoverProps:{},format:u.DATE_TIME_FORMAT},module.exports=O;
1
+ "use strict";var s=require("@babel/runtime/helpers/defineProperty"),o=require("@babel/runtime/helpers/objectWithoutProperties"),e=require("classnames"),c=require("prop-types"),i=require("moment"),r=require("@material-ui/pickers"),n=require("@material-ui/core"),t=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 u=require("../../constants/dateTimeFormat.js"),a=require("react/jsx-runtime");function m(s){return s&&"object"==typeof s&&"default"in s?s:{default:s}}var l=m(s),j=m(o),I=m(e),p=m(c),q=m(i),d=["className","PopoverProps","format"];function f(s,o){var e=Object.keys(s);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(s);o&&(c=c.filter((function(o){return Object.getOwnPropertyDescriptor(s,o).enumerable}))),e.push.apply(e,c)}return e}function b(s){for(var o=1;o<arguments.length;o++){var e=null!=arguments[o]?arguments[o]:{};o%2?f(Object(e),!0).forEach((function(o){l.default(s,o,e[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(e)):f(Object(e)).forEach((function(o){Object.defineProperty(s,o,Object.getOwnPropertyDescriptor(e,o))}))}return s}var v=n.makeStyles((function(s){return{dateTimePickerInput:{width:"100%",paddingBottom:8,"& .MuiFormLabel-root.Mui-focused":{color:s.palette.primary.main},"& .MuiInput-root.Mui-focused .MuiIconButton-root":{color:s.palette.primary.main},"&:hover .MuiIconButton-root":{color:s.palette.primary.contrastText},"& .MuiIconButton-root":{color:s.palette.primary.text6,borderRadius:8,fontSize:"unset",marginRight:-3,marginBottom:-8,padding:6,"&:hover":{backgroundColor:"rgba(255, 255, 255, 0.16)"}},"& .MuiIconButton-root > span > span svg":{fill:"transparent !important"}},paper:{marginTop:8}}}));function O(s){var o,e,c=s.className,i=void 0===c?"":c,n=s.PopoverProps,u=void 0===n?h:n,m=s.format,l=void 0===m?g:m,p=j.default(s,d),f=v();return a.jsx(r.KeyboardDateTimePicker,b(b({dateRangeIcon:a.jsx(t.CalendarIcon,{size:24}),timeIcon:a.jsx(t.TimeIcon,{size:24}),rightArrowIcon:a.jsx(t.RightIcon,{size:24}),leftArrowIcon:a.jsx(t.LeftIcon,{size:24}),keyboardIcon:a.jsx(t.CalendarIcon,{size:16}),format:l,refuse:/[^(\w|\d)]+/gi,placeholder:q.default().format(l),maxDate:null!==(o=p.maxDate)&&void 0!==o?o:void 0,minDate:null!==(e=p.minDate)&&void 0!==e?e:void 0},p),{},{PopoverProps:b({className:f.paper},u),className:I.default(f.dateTimePickerInput,i)}))}O.propTypes={className:p.default.string,PopoverProps:p.default.shape({className:p.default.string}),format:p.default.string};var h={},g=u.DATE_TIME_FORMAT;module.exports=O;
2
2
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../../../../src/components/DateTimePicker/index.tsx"],"sourcesContent":["import classNames from 'classnames';\nimport PropTypes from 'prop-types';\nimport moment from 'moment';\n\nimport { KeyboardDateTimePicker, KeyboardDateTimePickerProps } from '@material-ui/pickers';\nimport { makeStyles } from '@material-ui/core';\nimport { CalendarIcon, RightIcon, LeftIcon, TimeIcon } from '~/icons';\nimport { DATE_TIME_FORMAT } from '../../constants/dateTimeFormat';\n\nconst useStyles = makeStyles(theme => ({\n dateTimePickerInput: {\n width: '100%',\n paddingBottom: 8,\n '& .MuiFormLabel-root.Mui-focused': {\n color: theme.palette.primary.main,\n },\n '& .MuiInput-root.Mui-focused .MuiIconButton-root': {\n color: theme.palette.primary.main,\n },\n '&:hover .MuiIconButton-root': {\n color: theme.palette.primary.contrastText,\n },\n '& .MuiIconButton-root': {\n color: theme.palette.primary.text6,\n borderRadius: 8,\n fontSize: 'unset',\n marginRight: -3,\n marginBottom: -8,\n padding: 6,\n '&:hover': {\n backgroundColor: 'rgba(255, 255, 255, 0.16)',\n },\n },\n '& .MuiIconButton-root > span > span svg': {\n fill: 'transparent !important',\n },\n },\n paper: {\n marginTop: 8,\n },\n}));\n\nfunction DateTimePicker({\n className,\n PopoverProps,\n format,\n ...otherProps\n}: KeyboardDateTimePickerProps): JSX.Element {\n const styles = useStyles();\n\n return (\n <KeyboardDateTimePicker\n dateRangeIcon={<CalendarIcon size={24} />}\n timeIcon={<TimeIcon size={24} />}\n rightArrowIcon={<RightIcon size={24} />}\n leftArrowIcon={<LeftIcon size={24} />}\n keyboardIcon={<CalendarIcon size={16} />}\n format={format}\n refuse={/[^(\\w|\\d)]+/gi}\n placeholder={moment().format(format)}\n // Even though the type of maxDate and minDate allows null, it leads to an error during parsing date\n maxDate={otherProps.maxDate ?? undefined}\n minDate={otherProps.minDate ?? undefined}\n {...otherProps}\n PopoverProps={{ className: styles.paper, ...PopoverProps }}\n className={classNames(styles.dateTimePickerInput, className)}\n />\n );\n}\n\nDateTimePicker.propTypes = {\n className: PropTypes.string,\n PopoverProps: PropTypes.shape({\n className: PropTypes.string,\n }),\n format: PropTypes.string,\n};\n\nDateTimePicker.defaultProps = {\n className: '',\n PopoverProps: {},\n format: DATE_TIME_FORMAT,\n};\n\nexport default DateTimePicker;\n"],"names":["useStyles","makeStyles","theme","dateTimePickerInput","width","paddingBottom","color","palette","primary","main","contrastText","text6","borderRadius","fontSize","marginRight","marginBottom","padding","backgroundColor","fill","paper","marginTop","DateTimePicker","_ref","_otherProps$maxDate","_otherProps$minDate","className","PopoverProps","format","otherProps","_objectWithoutProperties","_excluded","styles","_jsx","KeyboardDateTimePicker","_objectSpread","dateRangeIcon","CalendarIcon","size","timeIcon","TimeIcon","rightArrowIcon","RightIcon","leftArrowIcon","LeftIcon","keyboardIcon","refuse","placeholder","moment","maxDate","undefined","minDate","classNames","propTypes","PropTypes","string","shape","defaultProps","DATE_TIME_FORMAT"],"mappings":"q4JASA,IAAMA,EAAYC,EAAAA,YAAW,SAAAC,GAAK,MAAK,CACrCC,oBAAqB,CACnBC,MAAO,OACPC,cAAe,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,UAAW,GACXC,aAAc,CAAE,EAChBC,OAAQ8B,EAAAA"}
1
+ {"version":3,"file":"index.js","sources":["../../../../src/components/DateTimePicker/index.tsx"],"sourcesContent":["import classNames from 'classnames';\nimport PropTypes from 'prop-types';\nimport moment from 'moment';\n\nimport { KeyboardDateTimePicker, KeyboardDateTimePickerProps } from '@material-ui/pickers';\nimport { makeStyles } from '@material-ui/core';\nimport { CalendarIcon, RightIcon, LeftIcon, TimeIcon } from '~/icons';\nimport { DATE_TIME_FORMAT } from '../../constants/dateTimeFormat';\n\nconst useStyles = makeStyles(theme => ({\n dateTimePickerInput: {\n width: '100%',\n paddingBottom: 8,\n '& .MuiFormLabel-root.Mui-focused': {\n color: theme.palette.primary.main,\n },\n '& .MuiInput-root.Mui-focused .MuiIconButton-root': {\n color: theme.palette.primary.main,\n },\n '&:hover .MuiIconButton-root': {\n color: theme.palette.primary.contrastText,\n },\n '& .MuiIconButton-root': {\n color: theme.palette.primary.text6,\n borderRadius: 8,\n fontSize: 'unset',\n marginRight: -3,\n marginBottom: -8,\n padding: 6,\n '&:hover': {\n backgroundColor: 'rgba(255, 255, 255, 0.16)',\n },\n },\n '& .MuiIconButton-root > span > span svg': {\n fill: 'transparent !important',\n },\n },\n paper: {\n marginTop: 8,\n },\n}));\n\nfunction DateTimePicker({\n className = '',\n PopoverProps = DEFAULT_DATE_TIME_PICKER_POPOVER_PROPS,\n format = DEFAULT_DATE_TIME_PICKER_FORMAT,\n ...otherProps\n}: KeyboardDateTimePickerProps): JSX.Element {\n const styles = useStyles();\n\n return (\n <KeyboardDateTimePicker\n dateRangeIcon={<CalendarIcon size={24} />}\n timeIcon={<TimeIcon size={24} />}\n rightArrowIcon={<RightIcon size={24} />}\n leftArrowIcon={<LeftIcon size={24} />}\n keyboardIcon={<CalendarIcon size={16} />}\n format={format}\n refuse={/[^(\\w|\\d)]+/gi}\n placeholder={moment().format(format)}\n // Even though the type of maxDate and minDate allows null, it leads to an error during parsing date\n maxDate={otherProps.maxDate ?? undefined}\n minDate={otherProps.minDate ?? undefined}\n {...otherProps}\n PopoverProps={{ className: styles.paper, ...PopoverProps }}\n className={classNames(styles.dateTimePickerInput, className)}\n />\n );\n}\n\nDateTimePicker.propTypes = {\n className: PropTypes.string,\n PopoverProps: PropTypes.shape({\n className: PropTypes.string,\n }),\n format: PropTypes.string,\n};\n\nconst DEFAULT_DATE_TIME_PICKER_POPOVER_PROPS = {};\nconst DEFAULT_DATE_TIME_PICKER_FORMAT = DATE_TIME_FORMAT;\n\nexport default DateTimePicker;\n"],"names":["useStyles","makeStyles","theme","dateTimePickerInput","width","paddingBottom","color","palette","primary","main","contrastText","text6","borderRadius","fontSize","marginRight","marginBottom","padding","backgroundColor","fill","paper","marginTop","DateTimePicker","_ref","_otherProps$maxDate","_otherProps$minDate","_ref$className","className","_ref$PopoverProps","PopoverProps","DEFAULT_DATE_TIME_PICKER_POPOVER_PROPS","_ref$format","format","DEFAULT_DATE_TIME_PICKER_FORMAT","otherProps","_objectWithoutProperties","_excluded","styles","_jsx","KeyboardDateTimePicker","_objectSpread","dateRangeIcon","CalendarIcon","size","timeIcon","TimeIcon","rightArrowIcon","RightIcon","leftArrowIcon","LeftIcon","keyboardIcon","refuse","placeholder","moment","maxDate","undefined","minDate","classNames","propTypes","PropTypes","string","shape","DATE_TIME_FORMAT"],"mappings":"q4JASA,IAAMA,EAAYC,EAAAA,YAAW,SAAAC,GAAK,MAAK,CACrCC,oBAAqB,CACnBC,MAAO,OACPC,cAAe,EACf,mCAAoC,CAClCC,MAAOJ,EAAMK,QAAQC,QAAQC,MAE/B,oDAAqD,CACnDH,MAAOJ,EAAMK,QAAQC,QAAQC,MAE/B,8BAA+B,CAC7BH,MAAOJ,EAAMK,QAAQC,QAAQE,cAE/B,wBAAyB,CACvBJ,MAAOJ,EAAMK,QAAQC,QAAQG,MAC7BC,aAAc,EACdC,SAAU,QACVC,aAAc,EACdC,cAAe,EACfC,QAAS,EACT,UAAW,CACTC,gBAAiB,8BAGrB,0CAA2C,CACzCC,KAAM,2BAGVC,MAAO,CACLC,UAAW,GAEd,IAED,SAASC,EAKoCC,GAAA,IAAAC,EAAAC,EAAAC,EAAAH,EAJ3CI,UAAAA,aAAY,GAAED,EAAAE,EAAAL,EACdM,aAAAA,aAAeC,EAAsCF,EAAAG,EAAAR,EACrDS,OAAAA,aAASC,EAA+BF,EACrCG,EAAUC,EAAA,QAAAZ,EAAAa,GAEPC,EAASpC,IAEf,OACEqC,MAACC,EAAAA,uBAAsBC,EAAAA,EAAA,CACrBC,cAAeH,MAACI,eAAY,CAACC,KAAM,KACnCC,SAAUN,MAACO,WAAQ,CAACF,KAAM,KAC1BG,eAAgBR,MAACS,YAAS,CAACJ,KAAM,KACjCK,cAAeV,MAACW,WAAQ,CAACN,KAAM,KAC/BO,aAAcZ,MAACI,eAAY,CAACC,KAAM,KAClCX,OAAQA,EACRmB,OAAQ,gBACRC,YAAaC,EAAM,UAAGrB,OAAOA,GAE7BsB,gBAASpB,EAAAA,EAAWoB,4BAAWC,EAC/BC,QAA+BD,QAAtBrB,EAAAA,EAAWsB,eAAWD,IAAAA,EAAAA,OAAAA,GAC3BrB,GAAU,GAAA,CACdL,aAAYW,EAAA,CAAIb,UAAWU,EAAOjB,OAAUS,GAC5CF,UAAW8B,EAAU,QAACpB,EAAOjC,oBAAqBuB,KAGxD,CAEAL,EAAeoC,UAAY,CACzB/B,UAAWgC,EAAS,QAACC,OACrB/B,aAAc8B,EAAS,QAACE,MAAM,CAC5BlC,UAAWgC,EAAS,QAACC,SAEvB5B,OAAQ2B,EAAS,QAACC,QAGpB,IAAM9B,EAAyC,CAAA,EACzCG,EAAkC6B,EAAgBA"}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("@babel/runtime/helpers/defineProperty"),t=require("@babel/runtime/helpers/slicedToArray"),a=require("react"),s=require("lodash"),n=require("prop-types"),i=require("classnames"),r=require("@material-ui/core"),l=require("../../AssetNameLabel/SecondaryAssetNameLabel.js"),d=require("../../AssetNameLabel/AssetNameLabel.js"),o=require("./VersionBadge.js"),u=require("./PadMode.js"),p=require("./utils.js"),c=require("./PadIcon.js"),m=require("./AppHeaderStyles.js"),f=require("./AppHeader.css.js"),g=require("../../Annotations/components/LastAnnotation/index.js"),v=require("../../../constants/segment.js"),A=require("../../../constants/devcenter.js");require("../../../constants/goals.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");var h=require("../../../utils/devcenter.js");require("../../../componentsV2/AppCommonsProvider/AppCommonsProvider.js");var j=require("../../../componentsV2/AppCommonsProvider/AppCommonsContext.js"),b=require("../../../componentsV2/HideInNativeApp/index.js"),y=require("react/jsx-runtime");function S(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var x=S(e),N=S(t),P=S(n),q=S(i);function L(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,s)}return a}function _(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?L(Object(a),!0).forEach((function(t){x.default(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):L(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}var C="DevCenter_AppHeader",I=function(e){return(null==e?void 0:e.asset_id)&&"/assets/".concat(null==e?void 0:e.asset_id)};function O(e){var t,n,i,u,S,x,P,L,O,M,w,E,T,W=e.app,k=e.appLastAnnotation,D=e.appSettings,B=e.badge,F=e.children,H=e.classes,V=e.coordinates,R=e.currentUser,U=e.fracFleet,G=e.isMaximized,z=e.logoSrc,Y=e.onSettingChange,Z=e.openAnnotationsList,J=e.primaryAssetStatusBadge,K=e.rig,Q=e.showLastAnnotation,X=e.updateCurrentDashboardAppLastAnnotation,$=e.well,ee=e.wells,te=e.PadModeComponent,ae=e.activeWellName,se=e.rightSideContent,ne=j.useAppCommons()||{},ie=ne.dashboardMeta,re=ne.disableAppAssetSelection,le=ne.isMultiRig,de=!(ie&&!ie.isChiplessDashboard&&!ie.isMultiAsset&&!ie.isMultiWell)&&!re&&!le,oe=a.useState(!1),ue=N.default(oe,2),pe=ue[0],ce=ue[1],me=a.useRef(null),fe=null==V?void 0:V.pixelWidth;a.useEffect((function(){var e,t;ce((null===(e=me.current)||void 0===e?void 0:e.scrollWidth)>(null===(t=me.current)||void 0===t?void 0:t.offsetWidth))}),[null===(t=me.current)||void 0===t?void 0:t.offsetWidth,fe]);var ge=p.getAppDimension(fe),ve=h.getAppName(W),Ae=h.getAppSegment(W),he=Ae===v.SEGMENTS.COMPLETION,je=function(e){var t,a=e.appSettings,s=void 0===a?{}:a,n=e.well,i=e.rig,r=e.fracFleet,l=e.segment,d=l===v.SEGMENTS.DRILLING,o=l===v.SEGMENTS.COMPLETION,u=s.wellId,p=s.rigId,c=s.fracFleetId,m=s.padId,f=null==r||null===(t=r.pad_frac_fleets.find((function(e){return e.pad.id===(m||r.current_pad_id)})))||void 0===t?void 0:t.pad,g=d?u&&(null==n?void 0:n.name):null==f?void 0:f.name,A="/assets/types/pad/".concat(m||(null==r?void 0:r.current_pad_id)),h=d?null==i?void 0:i.name:null==r?void 0:r.name,j=!!(u||p||c),b=!1,y=d?h&&I(n):A;return o&&!j&&null!=n&&n.id&&null!=n&&n.name&&(b=!0,j=!0,y=I(n),h=n.name),{isPrimaryAssetStatusVisible:b,isPrimaryNameVisible:j,primaryAssetLink:y,primaryAssetName:h,secondaryAssetLink:d?I(n):"/assets/types/pad/".concat(m||(null==r?void 0:r.current_pad_id)),secondaryAssetName:g}}({appSettings:null==W?void 0:W.settings,well:$,rig:K,fracFleet:U,segment:Ae}),be=je.isPrimaryAssetStatusVisible,ye=je.isPrimaryNameVisible,Se=je.primaryAssetLink,xe=je.primaryAssetName,Ne=je.secondaryAssetLink,Pe=je.secondaryAssetName,qe=[p.APP_LAYOUT_SIZES.MEDIUM,p.APP_LAYOUT_SIZES.SMALL].includes(ge),Le=W&&W.id===A.DEV_CENTER_CLI_APP_ID,_e={fracFleet:U,wells:ee,well:$,onSettingChange:Y,appSettings:D,disableActiveWellsInPadSelect:null==W||null===(n=W.package)||void 0===n||null===(i=n.manifest)||void 0===i||null===(u=i.application)||void 0===u||null===(S=u.ui)||void 0===S?void 0:S.disableActiveWellsInPadSelect,enableSimulFracInPadSelect:null==W||null===(x=W.package)||void 0===x||null===(P=x.manifest)||void 0===P||null===(L=P.application)||void 0===L||null===(O=L.ui)||void 0===O?void 0:O.enableSimulFracInPadSelect,completionAppType:null==W||null===(M=W.package)||void 0===M||null===(w=M.manifest)||void 0===w||null===(E=w.application)||void 0===E||null===(T=E.ui)||void 0===T?void 0:T.completionAppType},Ce=m.useStyles({isMobileSize:qe});return y.jsxs("div",{className:q.default(Ce.appHeaderWrapper,H.appHeader),children:[y.jsxs("div",{className:Ce.appHeaderContainer,children:[y.jsx("div",{className:q.default(Ce.titleBlock,H.titleBlock),children:y.jsxs("div",{className:H.appHeaderTitleWrapper,ref:me,children:[y.jsxs("div",{className:Ce.titleWrapper,children:[z&&y.jsxs(y.Fragment,{children:[y.jsx("img",{className:Ce.logo,src:z,alt:"company logo"}),y.jsx("div",{className:Ce.separateLine})]}),y.jsx(r.Tooltip,{title:pe?ve:"",placement:"bottom",children:y.jsx("h6",{"data-testid":"".concat(C,"_name"),className:Ce.title,children:ve})}),y.jsx(o.VersionBadge,{appPackage:null==W?void 0:W.package})]}),B]})}),y.jsxs("div",{className:Ce.rightBlock,children:[W&&V&&y.jsxs("div",{className:q.default(f.controlsContainer,G&&f.appMaximized),children:[!qe&&y.jsxs(y.Fragment,{children:[!re&&he&&ae&&y.jsx(r.Typography,{variant:"caption",children:ae}),!re&&he&&y.jsx(te,_({},_e)),F]}),de&&y.jsx(b.HideInNativeApp,{children:y.jsxs("div",{className:f.assetLabels,children:[Pe&&y.jsx(l.SecondaryAssetNameLabel,{assetName:Pe,coordinatesPixelWidth:fe,dataTestId:"".concat(C,"_secondaryAsset"),href:!Le&&Ne,icon:he&&y.jsx(c.PadIcon,{}),isColored:!he||W.settings.padId&&W.settings.padId!==U.current_pad_id}),ye&&y.jsx(d.AssetNameLabel,{assetName:xe,coordinatesPixelWidth:fe,dataTestId:"".concat(C,"_primaryAsset"),href:!Le&&Se,statusBadge:be&&J})]})})]}),Q&&k&&y.jsx(g,{annotation:k,appId:s.get(W,["app","id"]),currentUser:R,dashboardAppId:W.id,openAnnotationsList:Z,updateCurrentDashboardAppLastAnnotation:X}),se&&y.jsx("div",{className:f.rightSideContent,children:se})]})]}),qe&&y.jsxs(r.Box,{display:"flex",alignItems:"center",mt:1,children:[!re&&he&&!$&&(ee||U)&&y.jsx("div",{className:f.padModeSelect,children:y.jsx(te,_({},_e))}),F]})]})}O.propTypes={app:P.default.object.isRequired,badge:P.default.node,classes:P.default.shape({appHeader:P.default.string,titleBlock:P.default.string,appHeaderTitleWrapper:P.default.string}),showLastAnnotation:P.default.bool,currentUser:P.default.shape({}),appLastAnnotation:P.default.shape({}),updateCurrentDashboardAppLastAnnotation:P.default.func,openAnnotationsList:P.default.func,rig:P.default.shape({name:P.default.string,asset_id:P.default.number}),well:P.default.shape({name:P.default.string,asset_id:P.default.number}),fracFleet:P.default.shape({name:P.default.string,current_pad_id:P.default.number,pad_frac_fleets:P.default.arrayOf(P.default.shape({pad:P.default.shape({id:P.default.number.isRequired,name:P.default.string}).isRequired})).isRequired}),wells:P.default.arrayOf(P.default.shape({})),coordinates:P.default.shape({pixelWidth:P.default.number.isRequired}),isMaximized:P.default.bool,appSettings:P.default.shape({}),onSettingChange:P.default.func,children:P.default.node,logoSrc:P.default.string,primaryAssetStatusBadge:P.default.node,PadModeComponent:P.default.elementType,activeWellName:P.default.string,rightSideContent:P.default.node},O.defaultProps={appLastAnnotation:null,appSettings:null,badge:null,children:null,classes:{},coordinates:void 0,currentUser:void 0,fracFleet:null,isMaximized:!1,logoSrc:null,onSettingChange:void 0,openAnnotationsList:void 0,rig:null,showLastAnnotation:!0,updateCurrentDashboardAppLastAnnotation:function(){},well:null,wells:null,primaryAssetStatusBadge:null,PadModeComponent:u,activeWellName:null,rightSideContent:null},exports.PAGE_NAME=C,exports.default=O;
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("@babel/runtime/helpers/defineProperty"),t=require("@babel/runtime/helpers/slicedToArray"),a=require("react"),s=require("lodash"),i=require("prop-types"),n=require("classnames"),r=require("@material-ui/core"),l=require("../../AssetNameLabel/SecondaryAssetNameLabel.js"),d=require("../../AssetNameLabel/AssetNameLabel.js"),o=require("./VersionBadge.js"),u=require("./PadMode.js"),p=require("./utils.js"),c=require("./PadIcon.js"),m=require("./AppHeaderStyles.js"),f=require("./AppHeader.css.js"),v=require("../../Annotations/components/LastAnnotation/index.js"),g=require("../../../constants/segment.js"),j=require("../../../constants/devcenter.js");require("../../../constants/goals.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");var h=require("../../../utils/devcenter.js");require("../../../componentsV2/AppCommonsProvider/AppCommonsProvider.js");var A=require("../../../componentsV2/AppCommonsProvider/AppCommonsContext.js"),b=require("../../../componentsV2/HideInNativeApp/index.js"),y=require("react/jsx-runtime");function S(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var x=S(e),N=S(t),q=S(i),P=S(n);function _(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,s)}return a}function L(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?_(Object(a),!0).forEach((function(t){x.default(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):_(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}var I="DevCenter_AppHeader",C=function(e){return(null==e?void 0:e.asset_id)&&"/assets/".concat(null==e?void 0:e.asset_id)};function O(e){var t,i,n,u,S,x,q,_,O,w,W,k,D,H=e.app,B=e.appLastAnnotation,F=void 0===B?null:B,V=e.appSettings,R=void 0===V?null:V,G=e.badge,U=void 0===G?null:G,z=e.children,Y=void 0===z?null:z,Z=e.classes,J=void 0===Z?M:Z,K=e.coordinates,Q=e.currentUser,X=e.fracFleet,$=void 0===X?null:X,ee=e.isMaximized,te=void 0!==ee&&ee,ae=e.logoSrc,se=void 0===ae?null:ae,ie=e.onSettingChange,ne=e.openAnnotationsList,re=e.primaryAssetStatusBadge,le=void 0===re?null:re,de=e.rig,oe=void 0===de?null:de,ue=e.showLastAnnotation,pe=void 0===ue||ue,ce=e.updateCurrentDashboardAppLastAnnotation,me=void 0===ce?E:ce,fe=e.well,ve=void 0===fe?null:fe,ge=e.wells,je=void 0===ge?null:ge,he=e.PadModeComponent,Ae=void 0===he?T:he,be=e.activeWellName,ye=void 0===be?null:be,Se=e.rightSideContent,xe=void 0===Se?null:Se,Ne=A.useAppCommons()||{},qe=Ne.dashboardMeta,Pe=Ne.disableAppAssetSelection,_e=Ne.isMultiRig,Le=!(qe&&!qe.isChiplessDashboard&&!qe.isMultiAsset&&!qe.isMultiWell)&&!Pe&&!_e,Ie=a.useState(!1),Ce=N.default(Ie,2),Oe=Ce[0],Me=Ce[1],Ee=a.useRef(null),Te=null==K?void 0:K.pixelWidth;a.useEffect((function(){var e,t;Me((null===(e=Ee.current)||void 0===e?void 0:e.scrollWidth)>(null===(t=Ee.current)||void 0===t?void 0:t.offsetWidth))}),[null===(t=Ee.current)||void 0===t?void 0:t.offsetWidth,Te]);var we=p.getAppDimension(Te),We=h.getAppName(H),ke=h.getAppSegment(H),De=ke===g.SEGMENTS.COMPLETION,He=function(e){var t,a=e.appSettings,s=void 0===a?{}:a,i=e.well,n=e.rig,r=e.fracFleet,l=e.segment,d=l===g.SEGMENTS.DRILLING,o=l===g.SEGMENTS.COMPLETION,u=s.wellId,p=s.rigId,c=s.fracFleetId,m=s.padId,f=null==r||null===(t=r.pad_frac_fleets.find((function(e){return e.pad.id===(m||r.current_pad_id)})))||void 0===t?void 0:t.pad,v=d?u&&(null==i?void 0:i.name):null==f?void 0:f.name,j="/assets/types/pad/".concat(m||(null==r?void 0:r.current_pad_id)),h=d?null==n?void 0:n.name:null==r?void 0:r.name,A=!!(u||p||c),b=!1,y=d?h&&C(i):j;return o&&!A&&null!=i&&i.id&&null!=i&&i.name&&(b=!0,A=!0,y=C(i),h=i.name),{isPrimaryAssetStatusVisible:b,isPrimaryNameVisible:A,primaryAssetLink:y,primaryAssetName:h,secondaryAssetLink:d?C(i):"/assets/types/pad/".concat(m||(null==r?void 0:r.current_pad_id)),secondaryAssetName:v}}({appSettings:null==H?void 0:H.settings,well:ve,rig:oe,fracFleet:$,segment:ke}),Be=He.isPrimaryAssetStatusVisible,Fe=He.isPrimaryNameVisible,Ve=He.primaryAssetLink,Re=He.primaryAssetName,Ge=He.secondaryAssetLink,Ue=He.secondaryAssetName,ze=[p.APP_LAYOUT_SIZES.MEDIUM,p.APP_LAYOUT_SIZES.SMALL].includes(we),Ye=H&&H.id===j.DEV_CENTER_CLI_APP_ID,Ze={fracFleet:$,wells:je,well:ve,onSettingChange:ie,appSettings:R,disableActiveWellsInPadSelect:null==H||null===(i=H.package)||void 0===i||null===(n=i.manifest)||void 0===n||null===(u=n.application)||void 0===u||null===(S=u.ui)||void 0===S?void 0:S.disableActiveWellsInPadSelect,enableSimulFracInPadSelect:null==H||null===(x=H.package)||void 0===x||null===(q=x.manifest)||void 0===q||null===(_=q.application)||void 0===_||null===(O=_.ui)||void 0===O?void 0:O.enableSimulFracInPadSelect,completionAppType:null==H||null===(w=H.package)||void 0===w||null===(W=w.manifest)||void 0===W||null===(k=W.application)||void 0===k||null===(D=k.ui)||void 0===D?void 0:D.completionAppType},Je=m.useStyles({isMobileSize:ze});return y.jsxs("div",{className:P.default(Je.appHeaderWrapper,J.appHeader),children:[y.jsxs("div",{className:Je.appHeaderContainer,children:[y.jsx("div",{className:P.default(Je.titleBlock,J.titleBlock),children:y.jsxs("div",{className:J.appHeaderTitleWrapper,ref:Ee,children:[y.jsxs("div",{className:Je.titleWrapper,children:[se&&y.jsxs(y.Fragment,{children:[y.jsx("img",{className:Je.logo,src:se,alt:"company logo"}),y.jsx("div",{className:Je.separateLine})]}),y.jsx(r.Tooltip,{title:Oe?We:"",placement:"bottom",children:y.jsx("h6",{"data-testid":"".concat(I,"_name"),className:Je.title,children:We})}),y.jsx(o.VersionBadge,{appPackage:null==H?void 0:H.package})]}),U]})}),y.jsxs("div",{className:Je.rightBlock,children:[H&&K&&y.jsxs("div",{className:P.default(f.controlsContainer,te&&f.appMaximized),children:[!ze&&y.jsxs(y.Fragment,{children:[!Pe&&De&&ye&&y.jsx(r.Typography,{variant:"caption",children:ye}),!Pe&&De&&y.jsx(Ae,L({},Ze)),Y]}),Le&&y.jsx(b.HideInNativeApp,{children:y.jsxs("div",{className:f.assetLabels,children:[Ue&&y.jsx(l.SecondaryAssetNameLabel,{assetName:Ue,coordinatesPixelWidth:Te,dataTestId:"".concat(I,"_secondaryAsset"),href:!Ye&&Ge,icon:De&&y.jsx(c.PadIcon,{}),isColored:!De||H.settings.padId&&H.settings.padId!==$.current_pad_id}),Fe&&y.jsx(d.AssetNameLabel,{assetName:Re,coordinatesPixelWidth:Te,dataTestId:"".concat(I,"_primaryAsset"),href:!Ye&&Ve,statusBadge:Be&&le})]})})]}),pe&&F&&y.jsx(v,{annotation:F,appId:s.get(H,["app","id"]),currentUser:Q,dashboardAppId:H.id,openAnnotationsList:ne,updateCurrentDashboardAppLastAnnotation:me}),xe&&y.jsx("div",{className:f.rightSideContent,children:xe})]})]}),ze&&y.jsxs(r.Box,{display:"flex",alignItems:"center",mt:1,children:[!Pe&&De&&!ve&&(je||$)&&y.jsx("div",{className:f.padModeSelect,children:y.jsx(Ae,L({},Ze))}),Y]})]})}O.propTypes={app:q.default.object.isRequired,badge:q.default.node,classes:q.default.shape({appHeader:q.default.string,titleBlock:q.default.string,appHeaderTitleWrapper:q.default.string}),showLastAnnotation:q.default.bool,currentUser:q.default.shape({}),appLastAnnotation:q.default.shape({}),updateCurrentDashboardAppLastAnnotation:q.default.func,openAnnotationsList:q.default.func,rig:q.default.shape({name:q.default.string,asset_id:q.default.number}),well:q.default.shape({name:q.default.string,asset_id:q.default.number}),fracFleet:q.default.shape({name:q.default.string,current_pad_id:q.default.number,pad_frac_fleets:q.default.arrayOf(q.default.shape({pad:q.default.shape({id:q.default.number.isRequired,name:q.default.string}).isRequired})).isRequired}),wells:q.default.arrayOf(q.default.shape({})),coordinates:q.default.shape({pixelWidth:q.default.number.isRequired}),isMaximized:q.default.bool,appSettings:q.default.shape({}),onSettingChange:q.default.func,children:q.default.node,logoSrc:q.default.string,primaryAssetStatusBadge:q.default.node,PadModeComponent:q.default.elementType,activeWellName:q.default.string,rightSideContent:q.default.node};var M={},E=function(){},T=u;exports.PAGE_NAME=I,exports.default=O;
2
2
  //# sourceMappingURL=AppHeader.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"AppHeader.js","sources":["../../../../../src/components/DevCenter/AppHeader/AppHeader.js"],"sourcesContent":["import { useEffect, useRef, useState } from 'react';\nimport { get } from 'lodash';\nimport PropTypes from 'prop-types';\nimport classNames from 'classnames';\nimport { Box, Tooltip, Typography } from '@material-ui/core';\n\nimport { SecondaryAssetNameLabel } from '../../AssetNameLabel/SecondaryAssetNameLabel';\nimport { AssetNameLabel } from '../../AssetNameLabel/AssetNameLabel';\n\nimport { VersionBadge } from './VersionBadge';\nimport PadMode from './PadMode';\nimport { APP_LAYOUT_SIZES, getAppDimension } from './utils';\nimport { PadIcon } from './PadIcon';\nimport { useStyles } from './AppHeaderStyles';\n\nimport styles from './AppHeader.css';\n\nimport LastAnnotation from '~/components/Annotations/components/LastAnnotation';\nimport { SEGMENTS } from '~/constants/segment';\nimport { DEV_CENTER_CLI_APP_ID } from '~/constants';\nimport { getAppName, getAppSegment } from '~/utils/devcenter';\nimport { useAppCommons } from '~/componentsV2/AppCommonsProvider';\nimport { HideInNativeApp } from '~/componentsV2/HideInNativeApp';\n\nexport const PAGE_NAME = 'DevCenter_AppHeader';\n\nconst getLinkFromWell = well => well?.asset_id && `/assets/${well?.asset_id}`;\n\nconst getAssetLabels = ({ appSettings = {}, well, rig, fracFleet, segment }) => {\n const isDrilling = segment === SEGMENTS.DRILLING;\n const isCompletion = segment === SEGMENTS.COMPLETION;\n\n const { wellId, rigId, fracFleetId, padId } = appSettings;\n const pad = fracFleet?.pad_frac_fleets.find(\n ({ pad }) => pad.id === (padId || fracFleet.current_pad_id)\n )?.pad;\n const secondaryAssetName = isDrilling ? wellId && well?.name : pad?.name;\n const currentPadLink = `/assets/types/pad/${padId || fracFleet?.current_pad_id}`;\n\n let primaryAssetName = isDrilling ? rig?.name : fracFleet?.name;\n let isPrimaryNameVisible = !!(wellId || rigId || fracFleetId);\n let isPrimaryAssetStatusVisible = false;\n\n let primaryAssetLink =\n // we need to use assetId till platform is using old API for assets.\n isDrilling ? primaryAssetName && getLinkFromWell(well) : currentPadLink;\n\n if (isCompletion && !isPrimaryNameVisible && well?.id && well?.name) {\n isPrimaryAssetStatusVisible = true;\n isPrimaryNameVisible = true;\n primaryAssetLink = getLinkFromWell(well);\n primaryAssetName = well.name;\n }\n\n const secondaryAssetLink = isDrilling\n ? getLinkFromWell(well)\n : `/assets/types/pad/${padId || fracFleet?.current_pad_id}`;\n\n return {\n isPrimaryAssetStatusVisible,\n isPrimaryNameVisible,\n primaryAssetLink,\n primaryAssetName,\n secondaryAssetLink,\n secondaryAssetName,\n };\n};\n\nfunction AppHeader({\n app,\n appLastAnnotation,\n appSettings,\n badge,\n children,\n classes,\n coordinates,\n currentUser,\n fracFleet,\n isMaximized,\n logoSrc,\n onSettingChange,\n openAnnotationsList,\n primaryAssetStatusBadge,\n rig,\n showLastAnnotation,\n updateCurrentDashboardAppLastAnnotation,\n well,\n wells,\n PadModeComponent,\n activeWellName,\n rightSideContent,\n}) {\n const { dashboardMeta, disableAppAssetSelection, isMultiRig } = useAppCommons() || {};\n const isSingleAssetDashboard =\n dashboardMeta &&\n !dashboardMeta.isChiplessDashboard &&\n !dashboardMeta.isMultiAsset &&\n !dashboardMeta.isMultiWell;\n const showAssetChips = !isSingleAssetDashboard && !disableAppAssetSelection && !isMultiRig;\n\n const [isAppNameTooltipShown, setIsAppNameTooltipShown] = useState(false);\n const titleRef = useRef(null);\n\n const appCoordinatesWidth = coordinates?.pixelWidth;\n\n useEffect(() => {\n setIsAppNameTooltipShown(titleRef.current?.scrollWidth > titleRef.current?.offsetWidth);\n }, [titleRef.current?.offsetWidth, appCoordinatesWidth]);\n\n const appDimension = getAppDimension(appCoordinatesWidth);\n const appName = getAppName(app);\n const segment = getAppSegment(app);\n const isCompletion = segment === SEGMENTS.COMPLETION;\n\n const {\n isPrimaryAssetStatusVisible,\n isPrimaryNameVisible,\n primaryAssetLink,\n primaryAssetName,\n secondaryAssetLink,\n secondaryAssetName,\n } = getAssetLabels({ appSettings: app?.settings, well, rig, fracFleet, segment });\n const isMobileSize = [APP_LAYOUT_SIZES.MEDIUM, APP_LAYOUT_SIZES.SMALL].includes(appDimension);\n const isCLIApp = app && app.id === DEV_CENTER_CLI_APP_ID;\n const padModeProps = {\n fracFleet,\n wells,\n well,\n onSettingChange,\n appSettings,\n disableActiveWellsInPadSelect:\n app?.package?.manifest?.application?.ui?.disableActiveWellsInPadSelect,\n enableSimulFracInPadSelect: app?.package?.manifest?.application?.ui?.enableSimulFracInPadSelect,\n completionAppType: app?.package?.manifest?.application?.ui?.completionAppType,\n };\n\n const jsStyles = useStyles({ isMobileSize });\n\n return (\n <div className={classNames(jsStyles.appHeaderWrapper, classes.appHeader)}>\n <div className={jsStyles.appHeaderContainer}>\n <div className={classNames(jsStyles.titleBlock, classes.titleBlock)}>\n <div className={classes.appHeaderTitleWrapper} ref={titleRef}>\n <div className={jsStyles.titleWrapper}>\n {logoSrc && (\n <>\n <img className={jsStyles.logo} src={logoSrc} alt=\"company logo\" />\n <div className={jsStyles.separateLine} />\n </>\n )}\n <Tooltip title={isAppNameTooltipShown ? appName : ''} placement=\"bottom\">\n <h6 data-testid={`${PAGE_NAME}_name`} className={jsStyles.title}>\n {appName}\n </h6>\n </Tooltip>\n <VersionBadge appPackage={app?.package} />\n </div>\n {badge}\n </div>\n </div>\n\n <div className={jsStyles.rightBlock}>\n {app && coordinates && (\n <div\n className={classNames(styles.controlsContainer, isMaximized && styles.appMaximized)}\n >\n {!isMobileSize && (\n <>\n {!disableAppAssetSelection && isCompletion && activeWellName && (\n <Typography variant=\"caption\">{activeWellName}</Typography>\n )}\n {!disableAppAssetSelection && isCompletion && (\n <PadModeComponent {...padModeProps} />\n )}\n {children}\n </>\n )}\n {showAssetChips && (\n <HideInNativeApp>\n <div className={styles.assetLabels}>\n {secondaryAssetName && (\n <SecondaryAssetNameLabel\n assetName={secondaryAssetName}\n coordinatesPixelWidth={appCoordinatesWidth}\n dataTestId={`${PAGE_NAME}_secondaryAsset`}\n href={!isCLIApp && secondaryAssetLink}\n icon={isCompletion && <PadIcon />}\n isColored={\n !isCompletion ||\n (app.settings.padId && app.settings.padId !== fracFleet.current_pad_id)\n }\n />\n )}\n {isPrimaryNameVisible && (\n <AssetNameLabel\n assetName={primaryAssetName}\n coordinatesPixelWidth={appCoordinatesWidth}\n dataTestId={`${PAGE_NAME}_primaryAsset`}\n href={!isCLIApp && primaryAssetLink}\n statusBadge={isPrimaryAssetStatusVisible && primaryAssetStatusBadge}\n />\n )}\n </div>\n </HideInNativeApp>\n )}\n </div>\n )}\n\n {showLastAnnotation && appLastAnnotation && (\n <LastAnnotation\n annotation={appLastAnnotation}\n appId={get(app, ['app', 'id'])}\n currentUser={currentUser}\n dashboardAppId={app.id}\n openAnnotationsList={openAnnotationsList}\n updateCurrentDashboardAppLastAnnotation={updateCurrentDashboardAppLastAnnotation}\n />\n )}\n\n {rightSideContent && <div className={styles.rightSideContent}>{rightSideContent}</div>}\n </div>\n </div>\n\n {isMobileSize && (\n <Box display=\"flex\" alignItems=\"center\" mt={1}>\n {!disableAppAssetSelection && isCompletion && !well && (wells || fracFleet) && (\n <div className={styles.padModeSelect}>\n <PadModeComponent {...padModeProps} />\n </div>\n )}\n {children}\n </Box>\n )}\n </div>\n );\n}\n\nAppHeader.propTypes = {\n app: PropTypes.object.isRequired, // eslint-disable-line react/forbid-prop-types\n badge: PropTypes.node,\n classes: PropTypes.shape({\n appHeader: PropTypes.string,\n titleBlock: PropTypes.string,\n appHeaderTitleWrapper: PropTypes.string,\n }),\n showLastAnnotation: PropTypes.bool,\n currentUser: PropTypes.shape({}),\n appLastAnnotation: PropTypes.shape({}),\n updateCurrentDashboardAppLastAnnotation: PropTypes.func,\n openAnnotationsList: PropTypes.func,\n rig: PropTypes.shape({\n name: PropTypes.string,\n asset_id: PropTypes.number,\n }),\n well: PropTypes.shape({\n name: PropTypes.string,\n asset_id: PropTypes.number,\n }),\n fracFleet: PropTypes.shape({\n name: PropTypes.string,\n current_pad_id: PropTypes.number,\n pad_frac_fleets: PropTypes.arrayOf(\n PropTypes.shape({\n pad: PropTypes.shape({\n id: PropTypes.number.isRequired,\n name: PropTypes.string,\n }).isRequired,\n })\n ).isRequired,\n }),\n wells: PropTypes.arrayOf(PropTypes.shape({})),\n coordinates: PropTypes.shape({ pixelWidth: PropTypes.number.isRequired }),\n isMaximized: PropTypes.bool,\n appSettings: PropTypes.shape({}),\n onSettingChange: PropTypes.func,\n children: PropTypes.node,\n logoSrc: PropTypes.string,\n primaryAssetStatusBadge: PropTypes.node,\n PadModeComponent: PropTypes.elementType,\n activeWellName: PropTypes.string,\n rightSideContent: PropTypes.node,\n};\n\nAppHeader.defaultProps = {\n appLastAnnotation: null,\n appSettings: null,\n badge: null,\n children: null,\n classes: {},\n coordinates: undefined,\n currentUser: undefined,\n fracFleet: null,\n isMaximized: false,\n logoSrc: null,\n onSettingChange: undefined,\n openAnnotationsList: undefined,\n rig: null,\n showLastAnnotation: true,\n updateCurrentDashboardAppLastAnnotation: () => {},\n well: null,\n wells: null,\n primaryAssetStatusBadge: null,\n PadModeComponent: PadMode,\n activeWellName: null,\n rightSideContent: null,\n};\n\nexport default AppHeader;\n"],"names":["PAGE_NAME","getLinkFromWell","well","asset_id","AppHeader","_ref3","_titleRef$current3","_app$package","_app$package$manifest","_app$package$manifest2","_app$package$manifest3","_app$package2","_app$package2$manifes","_app$package2$manifes2","_app$package2$manifes3","_app$package3","_app$package3$manifes","_app$package3$manifes2","_app$package3$manifes3","app","appLastAnnotation","appSettings","badge","children","classes","coordinates","currentUser","fracFleet","isMaximized","logoSrc","onSettingChange","openAnnotationsList","primaryAssetStatusBadge","rig","showLastAnnotation","updateCurrentDashboardAppLastAnnotation","wells","PadModeComponent","activeWellName","rightSideContent","_ref4","useAppCommons","dashboardMeta","disableAppAssetSelection","isMultiRig","showAssetChips","isChiplessDashboard","isMultiAsset","isMultiWell","useState","_useState2","_slicedToArray","_useState","isAppNameTooltipShown","setIsAppNameTooltipShown","titleRef","useRef","appCoordinatesWidth","pixelWidth","useEffect","_titleRef$current","_titleRef$current2","current","scrollWidth","offsetWidth","appDimension","getAppDimension","appName","getAppName","segment","getAppSegment","isCompletion","SEGMENTS","COMPLETION","_getAssetLabels","_ref","_fracFleet$pad_frac_f","_ref$appSettings","isDrilling","DRILLING","wellId","rigId","fracFleetId","padId","pad","pad_frac_fleets","find","_ref2","id","current_pad_id","secondaryAssetName","name","currentPadLink","primaryAssetName","isPrimaryNameVisible","isPrimaryAssetStatusVisible","primaryAssetLink","secondaryAssetLink","concat","getAssetLabels","settings","isMobileSize","APP_LAYOUT_SIZES","MEDIUM","SMALL","includes","isCLIApp","DEV_CENTER_CLI_APP_ID","padModeProps","disableActiveWellsInPadSelect","package","manifest","application","ui","enableSimulFracInPadSelect","completionAppType","jsStyles","useStyles","_jsxs","className","classNames","appHeaderWrapper","appHeader","jsxs","appHeaderContainer","_jsx","jsx","titleBlock","appHeaderTitleWrapper","ref","titleWrapper","_Fragment","logo","src","alt","separateLine","Tooltip","title","placement","VersionBadge","appPackage","rightBlock","styles","controlsContainer","appMaximized","Typography","variant","HideInNativeApp","assetLabels","SecondaryAssetNameLabel","assetName","coordinatesPixelWidth","dataTestId","href","icon","PadIcon","isColored","AssetNameLabel","statusBadge","LastAnnotation","annotation","appId","get","dashboardAppId","Box","display","alignItems","mt","padModeSelect","_objectSpread","propTypes","PropTypes","object","isRequired","node","shape","string","bool","func","number","arrayOf","elementType","defaultProps","undefined","PadMode"],"mappings":"4oEAwBO,IAAMA,EAAY,sBAEnBC,EAAkB,SAAAC,GAAI,OAAIA,aAAI,EAAJA,EAAMC,WAAuBD,WAAAA,OAAAA,aAAI,EAAJA,EAAMC,SAAU,EA0C7E,SAASC,EAuBNC,GAAA,IAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAtBDC,IAAAA,IACAC,IAAAA,kBACAC,IAAAA,YACAC,IAAAA,MACAC,IAAAA,SACAC,IAAAA,QACAC,IAAAA,YACAC,IAAAA,YACAC,IAAAA,UACAC,IAAAA,YACAC,IAAAA,QACAC,IAAAA,gBACAC,IAAAA,oBACAC,IAAAA,wBACAC,IAAAA,IACAC,IAAAA,mBACAC,IAAAA,wCACAjC,IAAAA,KACAkC,KAAAA,MACAC,KAAAA,iBACAC,KAAAA,eACAC,KAAAA,iBAEAC,G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ErH,WAAYiH,EAAAA,QAAUQ,OAAON,aAC5DjJ,YAAa+I,EAAS,QAACM,KACvB5J,YAAasJ,EAAAA,QAAUI,MAAM,IAC7BjJ,gBAAiB6I,EAAS,QAACO,KAC3B3J,SAAUoJ,EAAS,QAACG,KACpBjJ,QAAS8I,EAAS,QAACK,OACnBhJ,wBAAyB2I,EAAS,QAACG,KACnCzI,iBAAkBsI,EAAS,QAACU,YAC5B/I,eAAgBqI,EAAS,QAACK,OAC1BzI,iBAAkBoI,EAAS,QAACG,MAG9B1K,EAAUkL,aAAe,CACvBlK,kBAAmB,KACnBC,YAAa,KACbC,MAAO,KACPC,SAAU,KACVC,QAAS,CAAE,EACXC,iBAAa8J,EACb7J,iBAAa6J,EACb5J,UAAW,KACXC,aAAa,EACbC,QAAS,KACTC,qBAAiByJ,EACjBxJ,yBAAqBwJ,EACrBtJ,IAAK,KACLC,oBAAoB,EACpBC,wCAAyC,WAAQ,EACjDjC,KAAM,KACNkC,MAAO,KACPJ,wBAAyB,KACzBK,iBAAkBmJ,EAClBlJ,eAAgB,KAChBC,iBAAkB"}
1
+ {"version":3,"file":"AppHeader.js","sources":["../../../../../src/components/DevCenter/AppHeader/AppHeader.js"],"sourcesContent":["import { useEffect, useRef, useState } from 'react';\nimport { get } from 'lodash';\nimport PropTypes from 'prop-types';\nimport classNames from 'classnames';\nimport { Box, Tooltip, Typography } from '@material-ui/core';\n\nimport { SecondaryAssetNameLabel } from '../../AssetNameLabel/SecondaryAssetNameLabel';\nimport { AssetNameLabel } from '../../AssetNameLabel/AssetNameLabel';\n\nimport { VersionBadge } from './VersionBadge';\nimport PadMode from './PadMode';\nimport { APP_LAYOUT_SIZES, getAppDimension } from './utils';\nimport { PadIcon } from './PadIcon';\nimport { useStyles } from './AppHeaderStyles';\n\nimport styles from './AppHeader.css';\n\nimport LastAnnotation from '~/components/Annotations/components/LastAnnotation';\nimport { SEGMENTS } from '~/constants/segment';\nimport { DEV_CENTER_CLI_APP_ID } from '~/constants';\nimport { getAppName, getAppSegment } from '~/utils/devcenter';\nimport { useAppCommons } from '~/componentsV2/AppCommonsProvider';\nimport { HideInNativeApp } from '~/componentsV2/HideInNativeApp';\n\nexport const PAGE_NAME = 'DevCenter_AppHeader';\n\nconst getLinkFromWell = well => well?.asset_id && `/assets/${well?.asset_id}`;\n\nconst getAssetLabels = ({ appSettings = {}, well, rig, fracFleet, segment }) => {\n const isDrilling = segment === SEGMENTS.DRILLING;\n const isCompletion = segment === SEGMENTS.COMPLETION;\n\n const { wellId, rigId, fracFleetId, padId } = appSettings;\n const pad = fracFleet?.pad_frac_fleets.find(\n ({ pad }) => pad.id === (padId || fracFleet.current_pad_id)\n )?.pad;\n const secondaryAssetName = isDrilling ? wellId && well?.name : pad?.name;\n const currentPadLink = `/assets/types/pad/${padId || fracFleet?.current_pad_id}`;\n\n let primaryAssetName = isDrilling ? rig?.name : fracFleet?.name;\n let isPrimaryNameVisible = !!(wellId || rigId || fracFleetId);\n let isPrimaryAssetStatusVisible = false;\n\n let primaryAssetLink =\n // we need to use assetId till platform is using old API for assets.\n isDrilling ? primaryAssetName && getLinkFromWell(well) : currentPadLink;\n\n if (isCompletion && !isPrimaryNameVisible && well?.id && well?.name) {\n isPrimaryAssetStatusVisible = true;\n isPrimaryNameVisible = true;\n primaryAssetLink = getLinkFromWell(well);\n primaryAssetName = well.name;\n }\n\n const secondaryAssetLink = isDrilling\n ? getLinkFromWell(well)\n : `/assets/types/pad/${padId || fracFleet?.current_pad_id}`;\n\n return {\n isPrimaryAssetStatusVisible,\n isPrimaryNameVisible,\n primaryAssetLink,\n primaryAssetName,\n secondaryAssetLink,\n secondaryAssetName,\n };\n};\n\nfunction AppHeader({\n app,\n appLastAnnotation = null,\n appSettings = null,\n badge = null,\n children = null,\n classes = DEFAULT_APP_HEADER_CLASSES,\n coordinates,\n currentUser,\n fracFleet = null,\n isMaximized = false,\n logoSrc = null,\n onSettingChange,\n openAnnotationsList,\n primaryAssetStatusBadge = null,\n rig = null,\n showLastAnnotation = true,\n updateCurrentDashboardAppLastAnnotation = DEFAULT_APP_HEADER_UPDATE_CURRENT_DASHBOARD_APP_LAST_ANNOTATION,\n well = null,\n wells = null,\n PadModeComponent = DEFAULT_APP_HEADER_PAD_MODE_COMPONENT,\n activeWellName = null,\n rightSideContent = null,\n}) {\n const { dashboardMeta, disableAppAssetSelection, isMultiRig } = useAppCommons() || {};\n const isSingleAssetDashboard =\n dashboardMeta &&\n !dashboardMeta.isChiplessDashboard &&\n !dashboardMeta.isMultiAsset &&\n !dashboardMeta.isMultiWell;\n const showAssetChips = !isSingleAssetDashboard && !disableAppAssetSelection && !isMultiRig;\n\n const [isAppNameTooltipShown, setIsAppNameTooltipShown] = useState(false);\n const titleRef = useRef(null);\n\n const appCoordinatesWidth = coordinates?.pixelWidth;\n\n useEffect(() => {\n setIsAppNameTooltipShown(titleRef.current?.scrollWidth > titleRef.current?.offsetWidth);\n }, [titleRef.current?.offsetWidth, appCoordinatesWidth]);\n\n const appDimension = getAppDimension(appCoordinatesWidth);\n const appName = getAppName(app);\n const segment = getAppSegment(app);\n const isCompletion = segment === SEGMENTS.COMPLETION;\n\n const {\n isPrimaryAssetStatusVisible,\n isPrimaryNameVisible,\n primaryAssetLink,\n primaryAssetName,\n secondaryAssetLink,\n secondaryAssetName,\n } = getAssetLabels({ appSettings: app?.settings, well, rig, fracFleet, segment });\n const isMobileSize = [APP_LAYOUT_SIZES.MEDIUM, APP_LAYOUT_SIZES.SMALL].includes(appDimension);\n const isCLIApp = app && app.id === DEV_CENTER_CLI_APP_ID;\n const padModeProps = {\n fracFleet,\n wells,\n well,\n onSettingChange,\n appSettings,\n disableActiveWellsInPadSelect:\n app?.package?.manifest?.application?.ui?.disableActiveWellsInPadSelect,\n enableSimulFracInPadSelect: app?.package?.manifest?.application?.ui?.enableSimulFracInPadSelect,\n completionAppType: app?.package?.manifest?.application?.ui?.completionAppType,\n };\n\n const jsStyles = useStyles({ isMobileSize });\n\n return (\n <div className={classNames(jsStyles.appHeaderWrapper, classes.appHeader)}>\n <div className={jsStyles.appHeaderContainer}>\n <div className={classNames(jsStyles.titleBlock, classes.titleBlock)}>\n <div className={classes.appHeaderTitleWrapper} ref={titleRef}>\n <div className={jsStyles.titleWrapper}>\n {logoSrc && (\n <>\n <img className={jsStyles.logo} src={logoSrc} alt=\"company logo\" />\n <div className={jsStyles.separateLine} />\n </>\n )}\n <Tooltip title={isAppNameTooltipShown ? appName : ''} placement=\"bottom\">\n <h6 data-testid={`${PAGE_NAME}_name`} className={jsStyles.title}>\n {appName}\n </h6>\n </Tooltip>\n <VersionBadge appPackage={app?.package} />\n </div>\n {badge}\n </div>\n </div>\n\n <div className={jsStyles.rightBlock}>\n {app && coordinates && (\n <div\n className={classNames(styles.controlsContainer, isMaximized && styles.appMaximized)}\n >\n {!isMobileSize && (\n <>\n {!disableAppAssetSelection && isCompletion && activeWellName && (\n <Typography variant=\"caption\">{activeWellName}</Typography>\n )}\n {!disableAppAssetSelection && isCompletion && (\n <PadModeComponent {...padModeProps} />\n )}\n {children}\n </>\n )}\n {showAssetChips && (\n <HideInNativeApp>\n <div className={styles.assetLabels}>\n {secondaryAssetName && (\n <SecondaryAssetNameLabel\n assetName={secondaryAssetName}\n coordinatesPixelWidth={appCoordinatesWidth}\n dataTestId={`${PAGE_NAME}_secondaryAsset`}\n href={!isCLIApp && secondaryAssetLink}\n icon={isCompletion && <PadIcon />}\n isColored={\n !isCompletion ||\n (app.settings.padId && app.settings.padId !== fracFleet.current_pad_id)\n }\n />\n )}\n {isPrimaryNameVisible && (\n <AssetNameLabel\n assetName={primaryAssetName}\n coordinatesPixelWidth={appCoordinatesWidth}\n dataTestId={`${PAGE_NAME}_primaryAsset`}\n href={!isCLIApp && primaryAssetLink}\n statusBadge={isPrimaryAssetStatusVisible && primaryAssetStatusBadge}\n />\n )}\n </div>\n </HideInNativeApp>\n )}\n </div>\n )}\n\n {showLastAnnotation && appLastAnnotation && (\n <LastAnnotation\n annotation={appLastAnnotation}\n appId={get(app, ['app', 'id'])}\n currentUser={currentUser}\n dashboardAppId={app.id}\n openAnnotationsList={openAnnotationsList}\n updateCurrentDashboardAppLastAnnotation={updateCurrentDashboardAppLastAnnotation}\n />\n )}\n\n {rightSideContent && <div className={styles.rightSideContent}>{rightSideContent}</div>}\n </div>\n </div>\n\n {isMobileSize && (\n <Box display=\"flex\" alignItems=\"center\" mt={1}>\n {!disableAppAssetSelection && isCompletion && !well && (wells || fracFleet) && (\n <div className={styles.padModeSelect}>\n <PadModeComponent {...padModeProps} />\n </div>\n )}\n {children}\n </Box>\n )}\n </div>\n );\n}\n\nAppHeader.propTypes = {\n app: PropTypes.object.isRequired, // eslint-disable-line react/forbid-prop-types\n badge: PropTypes.node,\n classes: PropTypes.shape({\n appHeader: PropTypes.string,\n titleBlock: PropTypes.string,\n appHeaderTitleWrapper: PropTypes.string,\n }),\n showLastAnnotation: PropTypes.bool,\n currentUser: PropTypes.shape({}),\n appLastAnnotation: PropTypes.shape({}),\n updateCurrentDashboardAppLastAnnotation: PropTypes.func,\n openAnnotationsList: PropTypes.func,\n rig: PropTypes.shape({\n name: PropTypes.string,\n asset_id: PropTypes.number,\n }),\n well: PropTypes.shape({\n name: PropTypes.string,\n asset_id: PropTypes.number,\n }),\n fracFleet: PropTypes.shape({\n name: PropTypes.string,\n current_pad_id: PropTypes.number,\n pad_frac_fleets: PropTypes.arrayOf(\n PropTypes.shape({\n pad: PropTypes.shape({\n id: PropTypes.number.isRequired,\n name: PropTypes.string,\n }).isRequired,\n })\n ).isRequired,\n }),\n wells: PropTypes.arrayOf(PropTypes.shape({})),\n coordinates: PropTypes.shape({ pixelWidth: PropTypes.number.isRequired }),\n isMaximized: PropTypes.bool,\n appSettings: PropTypes.shape({}),\n onSettingChange: PropTypes.func,\n children: PropTypes.node,\n logoSrc: PropTypes.string,\n primaryAssetStatusBadge: PropTypes.node,\n PadModeComponent: PropTypes.elementType,\n activeWellName: PropTypes.string,\n rightSideContent: PropTypes.node,\n};\n\nconst DEFAULT_APP_HEADER_CLASSES = {};\nconst DEFAULT_APP_HEADER_UPDATE_CURRENT_DASHBOARD_APP_LAST_ANNOTATION = () => {};\nconst DEFAULT_APP_HEADER_PAD_MODE_COMPONENT = PadMode;\n\nexport default AppHeader;\n"],"names":["PAGE_NAME","getLinkFromWell","well","asset_id","AppHeader","_ref3","_titleRef$current3","_app$package","_app$package$manifest","_app$package$manifest2","_app$package$manifest3","_app$package2","_app$package2$manifes","_app$package2$manifes2","_app$package2$manifes3","_app$package3","_app$package3$manifes","_app$package3$manifes2","_app$package3$manifes3","app","_ref3$appLastAnnotati","appLastAnnotation","_ref3$appSettings","appSettings","_ref3$badge","badge","_ref3$children","children","_ref3$classes","classes","DEFAULT_APP_HEADER_CLASSES","coordinates","currentUser","_ref3$fracFleet","fracFleet","_ref3$isMaximized","isMaximized","_ref3$logoSrc","logoSrc","onSettingChange","openAnnotationsList","_ref3$primaryAssetSta","primaryAssetStatusBadge","_ref3$rig","rig","_ref3$showLastAnnotat","showLastAnnotation","_ref3$updateCurrentDa","updateCurrentDashboardAppLastAnnotation","DEFAULT_APP_HEADER_UPDATE_CURRENT_DASHBOARD_APP_LAST_ANNOTATION","_ref3$well","_ref3$wells","wells","_ref3$PadModeComponen","PadModeComponent","DEFAULT_APP_HEADER_PAD_MODE_COMPONENT","_ref3$activeWellName","activeWellName","_ref3$rightSideConten","rightSideContent","_ref4","useAppCommons","dashboardMeta","disableAppAssetSelection","isMultiRig","showAssetChips","isChiplessDashboard","isMultiAsset","isMultiWell","useState","_useState2","_slicedToArray","_useState","isAppNameTooltipShown","setIsAppNameTooltipShown","titleRef","useRef","appCoordinatesWidth","pixelWidth","useEffect","_titleRef$current","_titleRef$current2","current","scrollWidth","offsetWidth","appDimension","getAppDimension","appName","getAppName","segment","getAppSegment","isCompletion","SEGMENTS","COMPLETION","_getAssetLabels","_ref","_fracFleet$pad_frac_f","_ref$appSettings","isDrilling","DRILLING","wellId","rigId","fracFleetId","padId","pad","pad_frac_fleets","find","_ref2","id","current_pad_id","secondaryAssetName","name","currentPadLink","primaryAssetName","isPrimaryNameVisible","isPrimaryAssetStatusVisible","primaryAssetLink","secondaryAssetLink","concat","getAssetLabels","settings","isMobileSize","APP_LAYOUT_SIZES","MEDIUM","SMALL","includes","isCLIApp","DEV_CENTER_CLI_APP_ID","padModeProps","disableActiveWellsInPadSelect","package","manifest","application","ui","enableSimulFracInPadSelect","completionAppType","jsStyles","useStyles","_jsxs","className","classNames","appHeaderWrapper","appHeader","jsxs","appHeaderContainer","_jsx","jsx","titleBlock","appHeaderTitleWrapper","ref","titleWrapper","_Fragment","logo","src","alt","separateLine","Tooltip","title","placement","VersionBadge","appPackage","rightBlock","styles","controlsContainer","appMaximized","Typography","variant","HideInNativeApp","assetLabels","SecondaryAssetNameLabel","assetName","coordinatesPixelWidth","dataTestId","href","icon","PadIcon","isColored","AssetNameLabel","statusBadge","LastAnnotation","annotation","appId","get","dashboardAppId","Box","display","alignItems","mt","padModeSelect","_objectSpread","propTypes","PropTypes","object","isRequired","node","shape","string","bool","func","number","arrayOf","elementType","PadMode"],"mappings":"4oEAwBO,IAAMA,EAAY,sBAEnBC,EAAkB,SAAAC,GAAI,OAAIA,aAAI,EAAJA,EAAMC,WAAuBD,WAAAA,OAAAA,aAAI,EAAJA,EAAMC,SAAU,EA0C7E,SAASC,EAuBNC,GAAA,IAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAtBDC,IAAAA,IAAGC,EAAAf,EACHgB,kBAAAA,aAAoB,KAAID,EAAAE,EAAAjB,EACxBkB,YAAAA,aAAc,KAAID,EAAAE,EAAAnB,EAClBoB,MAAAA,aAAQ,KAAID,EAAAE,EAAArB,EACZsB,SAAAA,aAAW,KAAID,EAAAE,EAAAvB,EACfwB,QAAAA,aAAUC,EAA0BF,EACpCG,IAAAA,YACAC,IAAAA,YAAWC,EAAA5B,EACX6B,UAAAA,aAAY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I,MAAM,CACnBpF,KAAMgF,EAAS,QAACK,OAChBjM,SAAU4L,EAAS,QAACQ,SAEtBrM,KAAM6L,EAAS,QAACI,MAAM,CACpBpF,KAAMgF,EAAS,QAACK,OAChBjM,SAAU4L,EAAS,QAACQ,SAEtBrK,UAAW6J,EAAS,QAACI,MAAM,CACzBpF,KAAMgF,EAAS,QAACK,OAChBvF,eAAgBkF,EAAS,QAACQ,OAC1B9F,gBAAiBsF,EAAS,QAACS,QACzBT,EAAAA,QAAUI,MAAM,CACd3F,IAAKuF,EAAS,QAACI,MAAM,CACnBvF,GAAImF,EAAAA,QAAUQ,OAAON,WACrBlF,KAAMgF,EAAS,QAACK,SACfH,cAELA,aAEJ7I,MAAO2I,EAAS,QAACS,QAAQT,EAAS,QAACI,MAAM,CAAE,IAC3CpK,YAAagK,EAAS,QAACI,MAAM,CAAErH,WAAYiH,EAAAA,QAAUQ,OAAON,aAC5D7J,YAAa2J,EAAS,QAACM,KACvB9K,YAAawK,EAAAA,QAAUI,MAAM,IAC7B5J,gBAAiBwJ,EAAS,QAACO,KAC3B3K,SAAUoK,EAAS,QAACG,KACpB5J,QAASyJ,EAAS,QAACK,OACnB1J,wBAAyBqJ,EAAS,QAACG,KACnC5I,iBAAkByI,EAAS,QAACU,YAC5BhJ,eAAgBsI,EAAS,QAACK,OAC1BzI,iBAAkBoI,EAAS,QAACG,MAG9B,IAAMpK,EAA6B,CAAA,EAC7BmB,EAAkE,aAClEM,EAAwCmJ"}
@@ -1,2 +1,2 @@
1
- "use strict";var e=require("@babel/runtime/helpers/defineProperty"),t=require("lodash"),r=require("prop-types"),l=require("../../PadModeSelect/PadModeSelect.js"),n=require("../../../constants/completion.js"),a=require("../../../utils/completion.js"),i=require("react/jsx-runtime");function o(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var s=o(e),p=o(r);function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);t&&(l=l.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,l)}return r}function u(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?c(Object(r),!0).forEach((function(t){s.default(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var d=function(e){var r,o=e.fracFleet,p=e.wells,c=e.well,d=e.onSettingChange,f=e.appSettings,b=e.completionAppType,g=e.disableActiveWellsInPadSelect,y=e.enableSimulFracInPadSelect;if(c||t.isEmpty(p)||!o)return null;var P=f.padId,S=b||n.COMPLETION_APP_TYPES.fracMultiWellApp,O=a.getAssetKey(o,c,P),m=t.get(f,["settingsByAsset",O]),v=t.isEmpty(m)?a.getDefaultPadModeSetting(o,c,S,y,P):m,j=(null===(r=o.pad_frac_fleets.find((function(e){return P?+e.pad.id==+P:e.current})))||void 0===r?void 0:r.frac_fleet_lines)||[];return i.jsx(l,{assets:p,completionAppType:S,disableActiveWellsInPadSelect:g,enableSimulFracInPadSelect:y,padModeSetting:v,fracFleetLines:j,onChange:function(e){return d("settingsByAsset",u(u({},t.get(f,"settingsByAsset",{})),{},s.default({},O,e)))}})};d.propTypes={appSettings:p.default.shape({padId:p.default.number}),completionAppType:p.default.string,fracFleet:p.default.shape({}),onSettingChange:p.default.func,well:p.default.shape({}),wells:p.default.arrayOf(p.default.shape()),disableActiveWellsInPadSelect:p.default.bool,enableSimulFracInPadSelect:p.default.bool},d.defaultProps={appSettings:{},completionAppType:void 0,fracFleet:void 0,onSettingChange:t.noop,well:void 0,wells:void 0,disableActiveWellsInPadSelect:!1,enableSimulFracInPadSelect:!1},module.exports=d;
1
+ "use strict";var e=require("@babel/runtime/helpers/defineProperty"),t=require("lodash"),r=require("prop-types"),n=require("../../PadModeSelect/PadModeSelect.js"),l=require("../../../constants/completion.js"),a=require("../../../utils/completion.js"),i=require("react/jsx-runtime");function o(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var s=o(e),c=o(r);function p(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function u(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?p(Object(r),!0).forEach((function(t){s.default(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):p(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var d=function(e){var r,o=e.fracFleet,c=e.wells,p=e.well,d=e.onSettingChange,y=void 0===d?b:d,g=e.appSettings,P=void 0===g?f:g,O=e.completionAppType,S=e.disableActiveWellsInPadSelect,v=void 0!==S&&S,j=e.enableSimulFracInPadSelect,m=void 0!==j&&j;if(p||t.isEmpty(c)||!o)return null;var h=P.padId,A=O||l.COMPLETION_APP_TYPES.fracMultiWellApp,w=a.getAssetKey(o,p,h),I=t.get(P,["settingsByAsset",w]),q=t.isEmpty(I)?a.getDefaultPadModeSetting(o,p,A,m,h):I,E=(null===(r=o.pad_frac_fleets.find((function(e){return h?+e.pad.id==+h:e.current})))||void 0===r?void 0:r.frac_fleet_lines)||[];return i.jsx(n,{assets:c,completionAppType:A,disableActiveWellsInPadSelect:v,enableSimulFracInPadSelect:m,padModeSetting:q,fracFleetLines:E,onChange:function(e){return y("settingsByAsset",u(u({},t.get(P,"settingsByAsset",{})),{},s.default({},w,e)))}})};d.propTypes={appSettings:c.default.shape({padId:c.default.number}),completionAppType:c.default.string,fracFleet:c.default.shape({}),onSettingChange:c.default.func,well:c.default.shape({}),wells:c.default.arrayOf(c.default.shape()),disableActiveWellsInPadSelect:c.default.bool,enableSimulFracInPadSelect:c.default.bool};var f={},b=t.noop;module.exports=d;
2
2
  //# sourceMappingURL=PadMode.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"PadMode.js","sources":["../../../../../src/components/DevCenter/AppHeader/PadMode.js"],"sourcesContent":["import { get, isEmpty, noop } from 'lodash';\nimport PropTypes from 'prop-types';\n\nimport PadModeSelect from '~/components/PadModeSelect';\nimport { COMPLETION_APP_TYPES } from '~/constants/completion';\nimport { getAssetKey, getDefaultPadModeSetting } from '~/utils/completion';\n\nconst PadMode = ({\n fracFleet,\n wells,\n well,\n onSettingChange,\n appSettings,\n completionAppType,\n disableActiveWellsInPadSelect,\n enableSimulFracInPadSelect,\n}) => {\n if (well || isEmpty(wells) || !fracFleet) return null;\n\n // use COMPLETION_APP_TYPES.fracMultiWellApp as a default if not defined in app;\n // this will be moved to the Apps Wizard soon\n // https://corvaqa.atlassian.net/browse/DC-1317\n\n const { padId } = appSettings;\n\n const appType = completionAppType || COMPLETION_APP_TYPES.fracMultiWellApp;\n const assetKey = getAssetKey(fracFleet, well, padId);\n const currentPadModeSetting = get(appSettings, ['settingsByAsset', assetKey]);\n\n const padModeSetting = !isEmpty(currentPadModeSetting)\n ? currentPadModeSetting\n : getDefaultPadModeSetting(fracFleet, well, appType, enableSimulFracInPadSelect, padId);\n\n const lines =\n fracFleet.pad_frac_fleets.find(padFracFleet =>\n padId ? +padFracFleet.pad.id === +padId : padFracFleet.current\n )?.frac_fleet_lines || [];\n\n return (\n <PadModeSelect\n assets={wells}\n completionAppType={appType}\n disableActiveWellsInPadSelect={disableActiveWellsInPadSelect}\n enableSimulFracInPadSelect={enableSimulFracInPadSelect}\n padModeSetting={padModeSetting}\n fracFleetLines={lines}\n onChange={newPadModeSetting =>\n onSettingChange('settingsByAsset', {\n ...get(appSettings, 'settingsByAsset', {}),\n [assetKey]: newPadModeSetting,\n })\n }\n />\n );\n};\n\nPadMode.propTypes = {\n appSettings: PropTypes.shape({\n padId: PropTypes.number,\n }),\n completionAppType: PropTypes.string,\n fracFleet: PropTypes.shape({}),\n onSettingChange: PropTypes.func,\n well: PropTypes.shape({}),\n wells: PropTypes.arrayOf(PropTypes.shape()),\n disableActiveWellsInPadSelect: PropTypes.bool,\n enableSimulFracInPadSelect: PropTypes.bool,\n};\n\nPadMode.defaultProps = {\n appSettings: {},\n completionAppType: undefined,\n fracFleet: undefined,\n onSettingChange: noop,\n well: undefined,\n wells: undefined,\n disableActiveWellsInPadSelect: false,\n enableSimulFracInPadSelect: false,\n};\n\nexport default PadMode;\n"],"names":["PadMode","_ref","_fracFleet$pad_frac_f","fracFleet","wells","well","onSettingChange","appSettings","completionAppType","disableActiveWellsInPadSelect","enableSimulFracInPadSelect","isEmpty","padId","appType","COMPLETION_APP_TYPES","fracMultiWellApp","assetKey","getAssetKey","currentPadModeSetting","get","padModeSetting","getDefaultPadModeSetting","lines","pad_frac_fleets","find","padFracFleet","pad","id","current","frac_fleet_lines","_jsx","PadModeSelect","assets","fracFleetLines","onChange","newPadModeSetting","propTypes","PropTypes","shape","number","string","func","arrayOf","bool","defaultProps","undefined","noop"],"mappings":"07BAOA,IAAMA,EAAU,SASVC,GAAA,IAAAC,EARJC,IAAAA,UACAC,IAAAA,MACAC,IAAAA,KACAC,IAAAA,gBACAC,IAAAA,YACAC,IAAAA,kBACAC,IAAAA,8BACAC,IAAAA,2BAEA,GAAIL,GAAQM,EAAAA,QAAQP,KAAWD,EAAW,OAAO,KAMjD,IAAQS,EAAUL,EAAVK,MAEFC,EAAUL,GAAqBM,EAAoBA,qBAACC,iBACpDC,EAAWC,EAAWA,YAACd,EAAWE,EAAMO,GACxCM,EAAwBC,EAAAA,IAAIZ,EAAa,CAAC,kBAAmBS,IAE7DI,EAAkBT,UAAQO,GAE5BG,2BAAyBlB,EAAWE,EAAMQ,EAASH,EAA4BE,GAD/EM,EAGEI,GACJ,QAAApB,EAAAC,EAAUoB,gBAAgBC,MAAK,SAAAC,GAAY,OACzCb,GAASa,EAAaC,IAAIC,KAAQf,EAAQa,EAAaG,OAAO,WADhE,IAAA1B,OAAA,EAAAA,EAEG2B,mBAAoB,GAEzB,OACEC,EAAAA,IAACC,EAAa,CACZC,OAAQ5B,EACRI,kBAAmBK,EACnBJ,8BAA+BA,EAC/BC,2BAA4BA,EAC5BU,eAAgBA,EAChBa,eAAgBX,EAChBY,SAAU,SAAAC,GAAiB,OACzB7B,EAAgB,kBACXa,EAAAA,EAAAA,CAAAA,EAAAA,EAAGA,IAACZ,EAAa,kBAAmB,CAAA,oBACtCS,EAAWmB,IACZ,GAIV,EAEAnC,EAAQoC,UAAY,CAClB7B,YAAa8B,EAAS,QAACC,MAAM,CAC3B1B,MAAOyB,EAAS,QAACE,SAEnB/B,kBAAmB6B,EAAS,QAACG,OAC7BrC,UAAWkC,EAAAA,QAAUC,MAAM,IAC3BhC,gBAAiB+B,EAAS,QAACI,KAC3BpC,KAAMgC,EAAAA,QAAUC,MAAM,IACtBlC,MAAOiC,EAAAA,QAAUK,QAAQL,EAAS,QAACC,SACnC7B,8BAA+B4B,EAAS,QAACM,KACzCjC,2BAA4B2B,EAAS,QAACM,MAGxC3C,EAAQ4C,aAAe,CACrBrC,YAAa,CAAE,EACfC,uBAAmBqC,EACnB1C,eAAW0C,EACXvC,gBAAiBwC,EAAIA,KACrBzC,UAAMwC,EACNzC,WAAOyC,EACPpC,+BAA+B,EAC/BC,4BAA4B"}
1
+ {"version":3,"file":"PadMode.js","sources":["../../../../../src/components/DevCenter/AppHeader/PadMode.js"],"sourcesContent":["import { get, isEmpty, noop } from 'lodash';\nimport PropTypes from 'prop-types';\n\nimport PadModeSelect from '~/components/PadModeSelect';\nimport { COMPLETION_APP_TYPES } from '~/constants/completion';\nimport { getAssetKey, getDefaultPadModeSetting } from '~/utils/completion';\n\nconst PadMode = ({\n fracFleet,\n wells,\n well,\n onSettingChange = DEFAULT_PAD_MODE_ON_SETTING_CHANGE,\n appSettings = DEFAULT_PAD_MODE_APP_SETTINGS,\n completionAppType,\n disableActiveWellsInPadSelect = false,\n enableSimulFracInPadSelect = false,\n}) => {\n if (well || isEmpty(wells) || !fracFleet) return null;\n\n // use COMPLETION_APP_TYPES.fracMultiWellApp as a default if not defined in app;\n // this will be moved to the Apps Wizard soon\n // https://corvaqa.atlassian.net/browse/DC-1317\n\n const { padId } = appSettings;\n\n const appType = completionAppType || COMPLETION_APP_TYPES.fracMultiWellApp;\n const assetKey = getAssetKey(fracFleet, well, padId);\n const currentPadModeSetting = get(appSettings, ['settingsByAsset', assetKey]);\n\n const padModeSetting = !isEmpty(currentPadModeSetting)\n ? currentPadModeSetting\n : getDefaultPadModeSetting(fracFleet, well, appType, enableSimulFracInPadSelect, padId);\n\n const lines =\n fracFleet.pad_frac_fleets.find(padFracFleet =>\n padId ? +padFracFleet.pad.id === +padId : padFracFleet.current\n )?.frac_fleet_lines || [];\n\n return (\n <PadModeSelect\n assets={wells}\n completionAppType={appType}\n disableActiveWellsInPadSelect={disableActiveWellsInPadSelect}\n enableSimulFracInPadSelect={enableSimulFracInPadSelect}\n padModeSetting={padModeSetting}\n fracFleetLines={lines}\n onChange={newPadModeSetting =>\n onSettingChange('settingsByAsset', {\n ...get(appSettings, 'settingsByAsset', {}),\n [assetKey]: newPadModeSetting,\n })\n }\n />\n );\n};\n\nPadMode.propTypes = {\n appSettings: PropTypes.shape({\n padId: PropTypes.number,\n }),\n completionAppType: PropTypes.string,\n fracFleet: PropTypes.shape({}),\n onSettingChange: PropTypes.func,\n well: PropTypes.shape({}),\n wells: PropTypes.arrayOf(PropTypes.shape()),\n disableActiveWellsInPadSelect: PropTypes.bool,\n enableSimulFracInPadSelect: PropTypes.bool,\n};\n\nconst DEFAULT_PAD_MODE_APP_SETTINGS = {};\nconst DEFAULT_PAD_MODE_ON_SETTING_CHANGE = noop;\n\nexport default PadMode;\n"],"names":["PadMode","_ref","_fracFleet$pad_frac_f","fracFleet","wells","well","_ref$onSettingChange","onSettingChange","DEFAULT_PAD_MODE_ON_SETTING_CHANGE","_ref$appSettings","appSettings","DEFAULT_PAD_MODE_APP_SETTINGS","completionAppType","_ref$disableActiveWel","disableActiveWellsInPadSelect","_ref$enableSimulFracI","enableSimulFracInPadSelect","isEmpty","padId","appType","COMPLETION_APP_TYPES","fracMultiWellApp","assetKey","getAssetKey","currentPadModeSetting","get","padModeSetting","getDefaultPadModeSetting","lines","pad_frac_fleets","find","padFracFleet","pad","id","current","frac_fleet_lines","_jsx","PadModeSelect","assets","fracFleetLines","onChange","newPadModeSetting","propTypes","PropTypes","shape","number","string","func","arrayOf","bool","noop"],"mappings":"07BAOA,IAAMA,EAAU,SASVC,GAAA,IAAAC,EARJC,IAAAA,UACAC,IAAAA,MACAC,IAAAA,KAAIC,EAAAL,EACJM,gBAAAA,aAAkBC,EAAkCF,EAAAG,EAAAR,EACpDS,YAAAA,aAAcC,EAA6BF,EAC3CG,IAAAA,kBAAiBC,EAAAZ,EACjBa,8BAAAA,cAAqCD,EAAAE,EAAAd,EACrCe,2BAAAA,cAAkCD,EAElC,GAAIV,GAAQY,EAAAA,QAAQb,KAAWD,EAAW,OAAO,KAMjD,IAAQe,EAAUR,EAAVQ,MAEFC,EAAUP,GAAqBQ,EAAoBA,qBAACC,iBACpDC,EAAWC,EAAWA,YAACpB,EAAWE,EAAMa,GACxCM,EAAwBC,EAAAA,IAAIf,EAAa,CAAC,kBAAmBY,IAE7DI,EAAkBT,UAAQO,GAE5BG,2BAAyBxB,EAAWE,EAAMc,EAASH,EAA4BE,GAD/EM,EAGEI,GACJ,QAAA1B,EAAAC,EAAU0B,gBAAgBC,MAAK,SAAAC,GAAY,OACzCb,GAASa,EAAaC,IAAIC,KAAQf,EAAQa,EAAaG,OAAO,WADhE,IAAAhC,OAAA,EAAAA,EAEGiC,mBAAoB,GAEzB,OACEC,EAAAA,IAACC,EAAa,CACZC,OAAQlC,EACRQ,kBAAmBO,EACnBL,8BAA+BA,EAC/BE,2BAA4BA,EAC5BU,eAAgBA,EAChBa,eAAgBX,EAChBY,SAAU,SAAAC,GAAiB,OACzBlC,EAAgB,kBACXkB,EAAAA,EAAAA,CAAAA,EAAAA,EAAGA,IAACf,EAAa,kBAAmB,CAAA,oBACtCY,EAAWmB,IACZ,GAIV,EAEAzC,EAAQ0C,UAAY,CAClBhC,YAAaiC,EAAS,QAACC,MAAM,CAC3B1B,MAAOyB,EAAS,QAACE,SAEnBjC,kBAAmB+B,EAAS,QAACG,OAC7B3C,UAAWwC,EAAAA,QAAUC,MAAM,IAC3BrC,gBAAiBoC,EAAS,QAACI,KAC3B1C,KAAMsC,EAAAA,QAAUC,MAAM,IACtBxC,MAAOuC,EAAAA,QAAUK,QAAQL,EAAS,QAACC,SACnC9B,8BAA+B6B,EAAS,QAACM,KACzCjC,2BAA4B2B,EAAS,QAACM,MAGxC,IAAMtC,EAAgC,CAAA,EAChCH,EAAqC0C,EAAIA"}
@@ -1,2 +1,2 @@
1
- "use strict";var e=require("prop-types"),a=require("../AppContext.js"),r=require("./effects/useAppsData.js"),s=require("react/jsx-runtime");function d(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var t=d(e);function u(e){var d=e.children,t=e.dashboardAssetId,u=e.apps,o=e.dashboardMeta,p=r({apps:u,dashboardAssetId:t,dashboardMeta:o});return s.jsx(a.Provider,{value:p,children:d})}u.propTypes={children:t.default.node.isRequired,dashboardAssetId:t.default.string,apps:t.default.arrayOf(t.default.shape({})).isRequired,dashboardMeta:t.default.shape({isChiplessDashboard:t.default.bool})},u.defaultProps={dashboardAssetId:null,dashboardMeta:void 0},module.exports=u;
1
+ "use strict";var e=require("prop-types"),a=require("../AppContext.js"),r=require("./effects/useAppsData.js"),s=require("react/jsx-runtime");function d(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var t=d(e);function u(e){var d=e.children,t=e.dashboardAssetId,u=void 0===t?null:t,i=e.apps,o=e.dashboardMeta,p=r({apps:i,dashboardAssetId:u,dashboardMeta:o});return s.jsx(a.Provider,{value:p,children:d})}u.propTypes={children:t.default.node.isRequired,dashboardAssetId:t.default.string,apps:t.default.arrayOf(t.default.shape({})).isRequired,dashboardMeta:t.default.shape({isChiplessDashboard:t.default.bool})},module.exports=u;
2
2
  //# sourceMappingURL=AppsDataProvider.js.map