@corva/ui 3.75.0-2 → 3.75.0-21

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 (1735) hide show
  1. package/MCP_README.md +1 -1
  2. package/cjs-bundle/components/AddComment/Popover.js +1 -1
  3. package/cjs-bundle/components/AddComment/Popover.js.map +1 -1
  4. package/cjs-bundle/components/AddComment/components/Content.js +1 -1
  5. package/cjs-bundle/components/AddComment/components/Content.js.map +1 -1
  6. package/cjs-bundle/components/AdvancedSlider/Handle.js +1 -1
  7. package/cjs-bundle/components/AdvancedSlider/Handle.js.map +1 -1
  8. package/cjs-bundle/components/AttachFileButton/AttachFileButton.js +1 -1
  9. package/cjs-bundle/components/AttachFileButton/AttachFileButton.js.map +1 -1
  10. package/cjs-bundle/components/Attachment/index.js +1 -1
  11. package/cjs-bundle/components/Attachment/index.js.map +1 -1
  12. package/cjs-bundle/components/AttachmentLightbox/AttachmentDocument.js +1 -1
  13. package/cjs-bundle/components/AttachmentLightbox/AttachmentDocument.js.map +1 -1
  14. package/cjs-bundle/components/AttachmentLightbox/AttachmentLightbox.js +1 -1
  15. package/cjs-bundle/components/AttachmentLightbox/AttachmentLightbox.js.map +1 -1
  16. package/cjs-bundle/components/AttachmentLightbox/AttachmentPreviewPane.js +1 -1
  17. package/cjs-bundle/components/AttachmentLightbox/AttachmentPreviewPane.js.map +1 -1
  18. package/cjs-bundle/components/AttachmentPreview/AttachmentActionsMenu.js +1 -1
  19. package/cjs-bundle/components/AttachmentPreview/AttachmentActionsMenu.js.map +1 -1
  20. package/cjs-bundle/components/AttachmentPreview/AttachmentDownloadLink.js +1 -1
  21. package/cjs-bundle/components/AttachmentPreview/AttachmentDownloadLink.js.map +1 -1
  22. package/cjs-bundle/components/AttachmentPreview/AttachmentTile.js +1 -1
  23. package/cjs-bundle/components/AttachmentPreview/AttachmentTile.js.map +1 -1
  24. package/cjs-bundle/components/AttachmentPreview/SortableAttachments.js +1 -1
  25. package/cjs-bundle/components/AttachmentPreview/SortableAttachments.js.map +1 -1
  26. package/cjs-bundle/components/AttachmentPreview/useStoredAttachments.js +1 -1
  27. package/cjs-bundle/components/AttachmentPreview/useStoredAttachments.js.map +1 -1
  28. package/cjs-bundle/components/BICOffsetPickerDialog/components/Map/Map.js +1 -1
  29. package/cjs-bundle/components/BICOffsetPickerDialog/components/Map/Map.js.map +1 -1
  30. package/cjs-bundle/components/BICOffsetPickerDialog/index.js +1 -1
  31. package/cjs-bundle/components/BICOffsetPickerDialog/index.js.map +1 -1
  32. package/cjs-bundle/components/Breadcrumbs/index.js +1 -1
  33. package/cjs-bundle/components/Breadcrumbs/index.js.map +1 -1
  34. package/cjs-bundle/components/Button/components/LiveButton/index.js +1 -1
  35. package/cjs-bundle/components/Button/components/LiveButton/index.js.map +1 -1
  36. package/cjs-bundle/components/Button/index.js +1 -1
  37. package/cjs-bundle/components/Casing/CasingTableV2/components/CasingJoints/Editor.js +1 -1
  38. package/cjs-bundle/components/Casing/CasingTableV2/components/CasingJoints/Editor.js.map +1 -1
  39. package/cjs-bundle/components/Casing/CasingTableV2/components/Component.js +1 -1
  40. package/cjs-bundle/components/Casing/CasingTableV2/components/Component.js.map +1 -1
  41. package/cjs-bundle/components/Casing/CasingTableV2/components/DrillPipe/Editor.js +1 -1
  42. package/cjs-bundle/components/Casing/CasingTableV2/components/DrillPipe/Editor.js.map +1 -1
  43. package/cjs-bundle/components/Chart/components/AxisDropdown.js +1 -1
  44. package/cjs-bundle/components/Chart/components/AxisDropdown.js.map +1 -1
  45. package/cjs-bundle/components/Chart/components/ChartSelect.js +1 -1
  46. package/cjs-bundle/components/Chart/components/ChartSelect.js.map +1 -1
  47. package/cjs-bundle/components/Chart/components/buttons/ChartTypeButton.js +1 -1
  48. package/cjs-bundle/components/Chart/components/buttons/ChartTypeButton.js.map +1 -1
  49. package/cjs-bundle/components/Chart/components/buttons/DragToZoomButton.js +1 -1
  50. package/cjs-bundle/components/Chart/components/buttons/DragToZoomButton.js.map +1 -1
  51. package/cjs-bundle/components/Chart/components/buttons/HideAxesButton.js +1 -1
  52. package/cjs-bundle/components/Chart/components/buttons/HideAxesButton.js.map +1 -1
  53. package/cjs-bundle/components/Chart/components/buttons/PanButton.js +1 -1
  54. package/cjs-bundle/components/Chart/components/buttons/PanButton.js.map +1 -1
  55. package/cjs-bundle/components/Chart/components/buttons/ResetZoomButton.js +1 -1
  56. package/cjs-bundle/components/Chart/components/buttons/ResetZoomButton.js.map +1 -1
  57. package/cjs-bundle/components/Chart/components/buttons/ZoomInButton.js +1 -1
  58. package/cjs-bundle/components/Chart/components/buttons/ZoomInButton.js.map +1 -1
  59. package/cjs-bundle/components/Chart/components/buttons/ZoomOutButton.js +1 -1
  60. package/cjs-bundle/components/Chart/components/buttons/ZoomOutButton.js.map +1 -1
  61. package/cjs-bundle/components/Chip/index.js +1 -1
  62. package/cjs-bundle/components/Chip/index.js.map +1 -1
  63. package/cjs-bundle/components/CollapsableSidebar.js +1 -1
  64. package/cjs-bundle/components/CollapsableSidebar.js.map +1 -1
  65. package/cjs-bundle/components/CollapsibleContent.js +1 -1
  66. package/cjs-bundle/components/CollapsibleContent.js.map +1 -1
  67. package/cjs-bundle/components/ColorPicker/ColorPicker.js +1 -1
  68. package/cjs-bundle/components/ColorPicker/ColorPicker.js.map +1 -1
  69. package/cjs-bundle/components/ColorPicker/PaletteChromePicker/PaletteChromePicker.js +1 -1
  70. package/cjs-bundle/components/ColorPicker/PaletteChromePicker/PaletteChromePicker.js.map +1 -1
  71. package/cjs-bundle/components/CommentCard/CommentCard.js +1 -1
  72. package/cjs-bundle/components/CommentCard/CommentCard.js.map +1 -1
  73. package/cjs-bundle/components/CommentCard/CommentCardReactions.js +1 -1
  74. package/cjs-bundle/components/CommentCard/CommentCardReactions.js.map +1 -1
  75. package/cjs-bundle/components/CommentCard/CommentCardReplies.js +1 -1
  76. package/cjs-bundle/components/CommentCard/CommentCardReplies.js.map +1 -1
  77. package/cjs-bundle/components/CommentCard/buildCommentReply.js +1 -1
  78. package/cjs-bundle/components/CommentCard/buildCommentReply.js.map +1 -1
  79. package/cjs-bundle/components/CommentComposer/ChatChannelSelector.js +1 -1
  80. package/cjs-bundle/components/CommentComposer/ChatChannelSelector.js.map +1 -1
  81. package/cjs-bundle/components/CommentComposer/ChatChannelSelector.scss.js +1 -1
  82. package/cjs-bundle/components/CommentComposer/CommentComposer.js +1 -1
  83. package/cjs-bundle/components/CommentComposer/CommentComposer.js.map +1 -1
  84. package/cjs-bundle/components/CommentComposer/useAttachmentUpload.js +1 -1
  85. package/cjs-bundle/components/CommentComposer/useAttachmentUpload.js.map +1 -1
  86. package/cjs-bundle/components/CommentInputNext/CommentInputNext.js +1 -1
  87. package/cjs-bundle/components/CommentInputNext/CommentInputNext.js.map +1 -1
  88. package/cjs-bundle/components/ConfirmationDialog.js +1 -1
  89. package/cjs-bundle/components/ConfirmationDialog.js.map +1 -1
  90. package/cjs-bundle/components/CopyToClipboard/CopyToClipboard.js +1 -1
  91. package/cjs-bundle/components/CopyToClipboard/CopyToClipboard.js.map +1 -1
  92. package/cjs-bundle/components/Counter/index.js +1 -1
  93. package/cjs-bundle/components/Counter/index.js.map +1 -1
  94. package/cjs-bundle/components/DatePicker/index.js +1 -1
  95. package/cjs-bundle/components/DatePicker/index.js.map +1 -1
  96. package/cjs-bundle/components/DateTimePicker/index.js +1 -1
  97. package/cjs-bundle/components/DateTimePicker/index.js.map +1 -1
  98. package/cjs-bundle/components/DevCenter/AppFilterPanelLayout/AppFilterPanelLayout.js +1 -1
  99. package/cjs-bundle/components/DevCenter/AppFilterPanelLayout/AppFilterPanelLayout.js.map +1 -1
  100. package/cjs-bundle/components/DevCenter/AppSettingsPopover/AppSettingsPopover.js +1 -1
  101. package/cjs-bundle/components/DevCenter/AppSettingsPopover/AppSettingsPopover.js.map +1 -1
  102. package/cjs-bundle/components/DevCenter/AppSideBar/AppSideBar.js +1 -1
  103. package/cjs-bundle/components/DevCenter/AppSideBar/AppSideBar.js.map +1 -1
  104. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/DevCenterAppContainer.js +1 -1
  105. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/DevCenterAppContainer.js.map +1 -1
  106. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/AppActions/AppActions.js.map +1 -1
  107. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/AppSettingsDialog.js +1 -1
  108. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/AppSettingsDialog.js.map +1 -1
  109. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/components/RemoveAppButton.js +1 -1
  110. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/components/RemoveAppButton.js.map +1 -1
  111. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/components/SettingsAccordion.js.map +1 -1
  112. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/styles.js.map +1 -1
  113. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchButton.js +1 -1
  114. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchButton.js.map +1 -1
  115. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchContext.js +1 -1
  116. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchContext.js.map +1 -1
  117. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchProvider.js +1 -1
  118. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchProvider.js.map +1 -1
  119. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/DcFullscreenElemsCoordinatorProvider.js.map +1 -1
  120. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/IsInsideDcFullscreenElemProvider.js.map +1 -1
  121. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/DevCenterAppDialogs.js +1 -1
  122. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/DevCenterAppDialogs.js.map +1 -1
  123. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/DevCenterAppView/DevCenterAppView.js +1 -1
  124. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/DevCenterAppView/DevCenterAppView.js.map +1 -1
  125. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/DevCenterAppView/components/ChooseAssetButton.js.map +1 -1
  126. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/FullscreenButton/FullscreenButton.js +1 -1
  127. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/FullscreenButton/FullscreenButton.js.map +1 -1
  128. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/IsInsideIsolatedDcAppProvider.js.map +1 -0
  129. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/LegacyAppActions.js +1 -1
  130. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/LegacyAppActions.js.map +1 -1
  131. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/NonPriorityMenus.js +2 -0
  132. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/NonPriorityMenus.js.map +1 -0
  133. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/PriorityMenus.js +1 -1
  134. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/PriorityMenus.js.map +1 -1
  135. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/RestoreAppSizeButton/index.js +1 -1
  136. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/RestoreAppSizeButton/index.js.map +1 -1
  137. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/effects/useAnnotationsData.js +1 -1
  138. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/effects/useAnnotationsData.js.map +1 -1
  139. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/effects/useAnnotationsList.js.map +1 -1
  140. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/effects/useAppMaximized.js.map +1 -1
  141. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/effects/useDevCenterAppProps.js.map +1 -1
  142. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/utils.js +1 -1
  143. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/utils.js.map +1 -1
  144. package/cjs-bundle/components/DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedAppPage.js +1 -1
  145. package/cjs-bundle/components/DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedAppPage.js.map +1 -1
  146. package/cjs-bundle/components/DocumentViewer/DocumentViewer.js +1 -1
  147. package/cjs-bundle/components/DocumentViewer/DocumentViewer.js.map +1 -1
  148. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Agitator/Editor.js +1 -1
  149. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Agitator/Editor.js.map +1 -1
  150. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Bit/Editor.js +1 -1
  151. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Bit/Editor.js.map +1 -1
  152. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Component.js +1 -1
  153. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Component.js.map +1 -1
  154. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/DrillCollar/Editor.js +1 -1
  155. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/DrillCollar/Editor.js.map +1 -1
  156. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/DrillPipe/Editor.js +1 -1
  157. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/DrillPipe/Editor.js.map +1 -1
  158. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Jar/Editor.js +1 -1
  159. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Jar/Editor.js.map +1 -1
  160. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Lwd/Editor.js +1 -1
  161. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Lwd/Editor.js.map +1 -1
  162. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Mwd/Editor.js +1 -1
  163. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Mwd/Editor.js.map +1 -1
  164. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Pdm/Editor.js +1 -1
  165. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Pdm/Editor.js.map +1 -1
  166. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Rss/Editor.js +1 -1
  167. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Rss/Editor.js.map +1 -1
  168. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Stabilizer/Editor.js +1 -1
  169. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Stabilizer/Editor.js.map +1 -1
  170. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Sub/Editor.js +1 -1
  171. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Sub/Editor.js.map +1 -1
  172. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Ur/Editor.js +1 -1
  173. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Ur/Editor.js.map +1 -1
  174. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/shared/ConfirmationPopup.js +1 -1
  175. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/shared/ConfirmationPopup.js.map +1 -1
  176. package/cjs-bundle/components/Drillstring/BhaIndicator/styles.css.js +1 -1
  177. package/cjs-bundle/components/EChartsWrapper/components/Toolbox/Toolbox.js +1 -1
  178. package/cjs-bundle/components/EChartsWrapper/components/Toolbox/Toolbox.js.map +1 -1
  179. package/cjs-bundle/components/EmojiIconButton.js +1 -1
  180. package/cjs-bundle/components/EmojiIconButton.js.map +1 -1
  181. package/cjs-bundle/components/ErrorBoundary/DevCenterAppErrorView/DevCenterAppErrorView.js +1 -1
  182. package/cjs-bundle/components/ErrorBoundary/DevCenterAppErrorView/DevCenterAppErrorView.js.map +1 -1
  183. package/cjs-bundle/components/ErrorBoundary/ErrorBoundary.js +1 -1
  184. package/cjs-bundle/components/ErrorBoundary/ErrorBoundary.js.map +1 -1
  185. package/cjs-bundle/components/FeedCard/useFeedActivity.js +1 -1
  186. package/cjs-bundle/components/FeedCard/useFeedActivity.js.map +1 -1
  187. package/cjs-bundle/components/FeedItem/FeedItem.js +1 -1
  188. package/cjs-bundle/components/FeedItem/FeedItem.js.map +1 -1
  189. package/cjs-bundle/components/FeedItem/components/FeedComments.js +1 -1
  190. package/cjs-bundle/components/FeedItem/components/FeedComments.js.map +1 -1
  191. package/cjs-bundle/components/FeedItem/components/Icon.js +1 -1
  192. package/cjs-bundle/components/FeedItem/components/Icon.js.map +1 -1
  193. package/cjs-bundle/components/FeedItem/components/LessonsLearnedLeafIcon.js +1 -1
  194. package/cjs-bundle/components/FeedItem/components/LessonsLearnedLeafIcon.js.map +1 -1
  195. package/cjs-bundle/components/FeedItem/feedItemTypes/AlertFeedItem.js +1 -1
  196. package/cjs-bundle/components/FeedItem/feedItemTypes/AlertFeedItem.js.map +1 -1
  197. package/cjs-bundle/components/FeedItem/feedItemTypes/AppAnnotationFeedItem/index.js +1 -1
  198. package/cjs-bundle/components/FeedItem/feedItemTypes/AppAnnotationFeedItem/index.js.map +1 -1
  199. package/cjs-bundle/components/FeedItem/feedItemTypes/AppAnnotationFeedItem/styles.scss.js +2 -0
  200. package/cjs-bundle/components/FeedItem/feedItemTypes/BhaFeedItem/BhaFeedItem.js +1 -1
  201. package/cjs-bundle/components/FeedItem/feedItemTypes/BhaFeedItem/BhaFeedItem.js.map +1 -1
  202. package/cjs-bundle/components/FeedItem/feedItemTypes/BhaFeedItem/components/BhaNumber.js +1 -1
  203. package/cjs-bundle/components/FeedItem/feedItemTypes/BhaFeedItem/components/BhaNumber.js.map +1 -1
  204. package/cjs-bundle/components/FeedItem/feedItemTypes/BhaFeedItem/components/Info.js +1 -1
  205. package/cjs-bundle/components/FeedItem/feedItemTypes/BhaFeedItem/components/Info.js.map +1 -1
  206. package/cjs-bundle/components/FeedItem/feedItemTypes/BhaFeedItem/components/NoData.js +1 -1
  207. package/cjs-bundle/components/FeedItem/feedItemTypes/BhaFeedItem/components/NoData.js.map +1 -1
  208. package/cjs-bundle/components/FeedItem/feedItemTypes/BhaFeedItem/styles.scss.js +2 -0
  209. package/cjs-bundle/components/FeedItem/feedItemTypes/CompletionDailyCostFeedItem.js +1 -1
  210. package/cjs-bundle/components/FeedItem/feedItemTypes/CompletionDailyCostFeedItem.js.map +1 -1
  211. package/cjs-bundle/components/FeedItem/feedItemTypes/CompletionDocumentFeedItem.js +1 -1
  212. package/cjs-bundle/components/FeedItem/feedItemTypes/CompletionDocumentFeedItem.js.map +1 -1
  213. package/cjs-bundle/components/FeedItem/feedItemTypes/CompletionNptFeedItem.js +1 -1
  214. package/cjs-bundle/components/FeedItem/feedItemTypes/CompletionNptFeedItem.js.map +1 -1
  215. package/cjs-bundle/components/FeedItem/feedItemTypes/CompletionOperationSummaryFeedItem.js +1 -1
  216. package/cjs-bundle/components/FeedItem/feedItemTypes/CompletionOperationSummaryFeedItem.js.map +1 -1
  217. package/cjs-bundle/components/FeedItem/feedItemTypes/CompletionOperationalNoteFeedItem.js +1 -1
  218. package/cjs-bundle/components/FeedItem/feedItemTypes/CompletionOperationalNoteFeedItem.js.map +1 -1
  219. package/cjs-bundle/components/FeedItem/feedItemTypes/DepthCommentFeedItem.js +1 -1
  220. package/cjs-bundle/components/FeedItem/feedItemTypes/DepthCommentFeedItem.js.map +1 -1
  221. package/cjs-bundle/components/FeedItem/feedItemTypes/DocumentFeedItem.js +1 -1
  222. package/cjs-bundle/components/FeedItem/feedItemTypes/DocumentFeedItem.js.map +1 -1
  223. package/cjs-bundle/components/FeedItem/feedItemTypes/DrillerMemoFeedItem.js +1 -1
  224. package/cjs-bundle/components/FeedItem/feedItemTypes/DrillerMemoFeedItem.js.map +1 -1
  225. package/cjs-bundle/components/FeedItem/feedItemTypes/DrillingDailyCostFeedItem.js +1 -1
  226. package/cjs-bundle/components/FeedItem/feedItemTypes/DrillingDailyCostFeedItem.js.map +1 -1
  227. package/cjs-bundle/components/FeedItem/feedItemTypes/DrillingOperationSummaryFeedItem.js +1 -1
  228. package/cjs-bundle/components/FeedItem/feedItemTypes/DrillingOperationSummaryFeedItem.js.map +1 -1
  229. package/cjs-bundle/components/FeedItem/feedItemTypes/DrillingOperationalNoteFeedItem.js +1 -1
  230. package/cjs-bundle/components/FeedItem/feedItemTypes/DrillingOperationalNoteFeedItem.js.map +1 -1
  231. package/cjs-bundle/components/FeedItem/feedItemTypes/DvDCommentFeedItem.js +1 -1
  232. package/cjs-bundle/components/FeedItem/feedItemTypes/DvDCommentFeedItem.js.map +1 -1
  233. package/cjs-bundle/components/FeedItem/feedItemTypes/FluidReportFeedItem.js +1 -1
  234. package/cjs-bundle/components/FeedItem/feedItemTypes/FluidReportFeedItem.js.map +1 -1
  235. package/cjs-bundle/components/FeedItem/feedItemTypes/GenericDataCommentFeedItem.js +1 -1
  236. package/cjs-bundle/components/FeedItem/feedItemTypes/GenericDataCommentFeedItem.js.map +1 -1
  237. package/cjs-bundle/components/FeedItem/feedItemTypes/GeosteeringFeedItem.js +1 -1
  238. package/cjs-bundle/components/FeedItem/feedItemTypes/GeosteeringFeedItem.js.map +1 -1
  239. package/cjs-bundle/components/FeedItem/feedItemTypes/HookloadCommentFeedItem.js +1 -1
  240. package/cjs-bundle/components/FeedItem/feedItemTypes/HookloadCommentFeedItem.js.map +1 -1
  241. package/cjs-bundle/components/FeedItem/feedItemTypes/LessonsLearnedFeedItem/index.js +1 -1
  242. package/cjs-bundle/components/FeedItem/feedItemTypes/LessonsLearnedFeedItem/index.js.map +1 -1
  243. package/cjs-bundle/components/FeedItem/feedItemTypes/NptFeedItem.js +1 -1
  244. package/cjs-bundle/components/FeedItem/feedItemTypes/NptFeedItem.js.map +1 -1
  245. package/cjs-bundle/components/FeedItem/feedItemTypes/NptLessonsCommentFeedItem.js +1 -1
  246. package/cjs-bundle/components/FeedItem/feedItemTypes/NptLessonsCommentFeedItem.js.map +1 -1
  247. package/cjs-bundle/components/FeedItem/feedItemTypes/PCCommentFeedItem.js +1 -1
  248. package/cjs-bundle/components/FeedItem/feedItemTypes/PCCommentFeedItem.js.map +1 -1
  249. package/cjs-bundle/components/FeedItem/feedItemTypes/PostFeedItem.js +1 -1
  250. package/cjs-bundle/components/FeedItem/feedItemTypes/PostFeedItem.js.map +1 -1
  251. package/cjs-bundle/components/FeedItem/feedItemTypes/SurveyStationFeedItem/components/AccuracyPlan.js +1 -1
  252. package/cjs-bundle/components/FeedItem/feedItemTypes/SurveyStationFeedItem/components/AccuracyPlan.js.map +1 -1
  253. package/cjs-bundle/components/FeedItem/feedItemTypes/SurveyStationFeedItem/components/ActualPointInfo.js +1 -1
  254. package/cjs-bundle/components/FeedItem/feedItemTypes/SurveyStationFeedItem/components/ActualPointInfo.js.map +1 -1
  255. package/cjs-bundle/components/FeedItem/feedItemTypes/SurveyStationFeedItem/components/Warning.js +1 -1
  256. package/cjs-bundle/components/FeedItem/feedItemTypes/SurveyStationFeedItem/components/Warning.js.map +1 -1
  257. package/cjs-bundle/components/FeedItem/feedItemTypes/SurveyStationFeedItem/index.js +1 -1
  258. package/cjs-bundle/components/FeedItem/feedItemTypes/SurveyStationFeedItem/index.js.map +1 -1
  259. package/cjs-bundle/components/FeedItem/feedItemTypes/TracesMemoFeedItem.js +1 -1
  260. package/cjs-bundle/components/FeedItem/feedItemTypes/TracesMemoFeedItem.js.map +1 -1
  261. package/cjs-bundle/components/FeedItem/feedItemTypes/WellPlanFeedItem/components/TargetChanges.js +1 -1
  262. package/cjs-bundle/components/FeedItem/feedItemTypes/WellPlanFeedItem/components/TargetChanges.js.map +1 -1
  263. package/cjs-bundle/components/FeedItem/feedItemTypes/WellPlanFeedItem/components/VerticalSectionAzimuth.js +1 -1
  264. package/cjs-bundle/components/FeedItem/feedItemTypes/WellPlanFeedItem/components/VerticalSectionAzimuth.js.map +1 -1
  265. package/cjs-bundle/components/FeedItem/feedItemTypes/WellPlanFeedItem/index.js +1 -1
  266. package/cjs-bundle/components/FeedItem/feedItemTypes/WellPlanFeedItem/index.js.map +1 -1
  267. package/cjs-bundle/components/FeedItem/feedItemTypes/WellPlanFeedItem/styles.scss.js +2 -0
  268. package/cjs-bundle/components/FeedItem/feedItemTypes/components/ContextRow.js +2 -0
  269. package/cjs-bundle/components/FeedItem/feedItemTypes/components/ContextRow.js.map +1 -0
  270. package/cjs-bundle/components/FeedItem/feedItemTypes/components/FeedAttachment.js +2 -0
  271. package/cjs-bundle/components/FeedItem/feedItemTypes/components/FeedAttachment.js.map +1 -0
  272. package/cjs-bundle/components/FilesDropzone/FilesDropzone.js +1 -1
  273. package/cjs-bundle/components/FilesDropzone/FilesDropzone.js.map +1 -1
  274. package/cjs-bundle/components/FilesLoader/FilesLoader.js +1 -1
  275. package/cjs-bundle/components/FilesLoader/FilesLoader.js.map +1 -1
  276. package/cjs-bundle/components/FilesLoaderV2/FilesLoaderV2.js +1 -1
  277. package/cjs-bundle/components/FilesLoaderV2/FilesLoaderV2.js.map +1 -1
  278. package/cjs-bundle/components/Formula/CloseSuggestion.js +1 -1
  279. package/cjs-bundle/components/Formula/CloseSuggestion.js.map +1 -1
  280. package/cjs-bundle/components/Formula/Formula.js +1 -1
  281. package/cjs-bundle/components/Formula/Formula.js.map +1 -1
  282. package/cjs-bundle/components/GradientManager/GradientManager.js +1 -1
  283. package/cjs-bundle/components/GradientManager/GradientManager.js.map +1 -1
  284. package/cjs-bundle/components/GradientManager/GradientSelect.js +1 -1
  285. package/cjs-bundle/components/GradientManager/GradientSelect.js.map +1 -1
  286. package/cjs-bundle/components/GradientPicker/GradientPicker.js +1 -1
  287. package/cjs-bundle/components/GradientPicker/GradientPicker.js.map +1 -1
  288. package/cjs-bundle/components/HelpCenter/HelpCenterIcon.js +1 -1
  289. package/cjs-bundle/components/HelpCenter/HelpCenterIcon.js.map +1 -1
  290. package/cjs-bundle/components/Hint/Hint.js +1 -1
  291. package/cjs-bundle/components/Hint/Hint.js.map +1 -1
  292. package/cjs-bundle/components/Modal/CorvaModal.js +1 -1
  293. package/cjs-bundle/components/Modal/CorvaModal.js.map +1 -1
  294. package/cjs-bundle/components/Modal/Modal.js +1 -1
  295. package/cjs-bundle/components/Modal/Modal.js.map +1 -1
  296. package/cjs-bundle/components/Notifications/Toast.js +1 -1
  297. package/cjs-bundle/components/Notifications/Toast.js.map +1 -1
  298. package/cjs-bundle/components/OffsetWellMap/OffsetWellMap.js +1 -1
  299. package/cjs-bundle/components/OffsetWellMap/OffsetWellMap.js.map +1 -1
  300. package/cjs-bundle/components/OffsetWellPickerV2/OffsetWellPickerDialog.js +1 -1
  301. package/cjs-bundle/components/OffsetWellPickerV2/OffsetWellPickerDialog.js.map +1 -1
  302. package/cjs-bundle/components/OffsetWellPickerV2/components/Filter/ToggleMapButton.js +1 -1
  303. package/cjs-bundle/components/OffsetWellPickerV2/components/Filter/ToggleMapButton.js.map +1 -1
  304. package/cjs-bundle/components/OffsetWellPickerV2/components/Map/Map.js +1 -1
  305. package/cjs-bundle/components/OffsetWellPickerV2/components/Map/Map.js.map +1 -1
  306. package/cjs-bundle/components/OffsetWellPickerV2/components/Table/MetricsAddMenu.js +1 -1
  307. package/cjs-bundle/components/OffsetWellPickerV2/components/Table/MetricsAddMenu.js.map +1 -1
  308. package/cjs-bundle/components/OffsetWellPickerV2/effects/index.js +1 -1
  309. package/cjs-bundle/components/OffsetWellPickerV2/effects/index.js.map +1 -1
  310. package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/components/Map/Map.js +1 -1
  311. package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/components/Map/Map.js.map +1 -1
  312. package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/MetricsAddMenu.js +1 -1
  313. package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/MetricsAddMenu.js.map +1 -1
  314. package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/effects/index.js +1 -1
  315. package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/effects/index.js.map +1 -1
  316. package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/index.js +1 -1
  317. package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/index.js.map +1 -1
  318. package/cjs-bundle/components/OffsetWellPickerV3/components/OffsetWellSelectionView/index.js +1 -1
  319. package/cjs-bundle/components/OffsetWellPickerV3/components/OffsetWellSelectionView/index.js.map +1 -1
  320. package/cjs-bundle/components/OffsetWellPickerV3/components/TabSelection/ToggleMapButton.js +1 -1
  321. package/cjs-bundle/components/OffsetWellPickerV3/components/TabSelection/ToggleMapButton.js.map +1 -1
  322. package/cjs-bundle/components/OffsetWellPickerV3/components/TabSelection/index.js +1 -1
  323. package/cjs-bundle/components/OffsetWellPickerV3/components/TabSelection/index.js.map +1 -1
  324. package/cjs-bundle/components/OffsetWellPickerV3/components/WellHubView/index.js +1 -1
  325. package/cjs-bundle/components/OffsetWellPickerV3/components/WellHubView/index.js.map +1 -1
  326. package/cjs-bundle/components/OffsetWellPickerV3/components/shared/OffsetWellTableHead.js +1 -1
  327. package/cjs-bundle/components/OffsetWellPickerV3/components/shared/OffsetWellTableHead.js.map +1 -1
  328. package/cjs-bundle/components/OffsetWellPickerV5/components/AppHeader/components/HeaderActions/HeaderActions.js +1 -1
  329. package/cjs-bundle/components/OffsetWellPickerV5/components/AppHeader/components/HeaderActions/HeaderActions.js.map +1 -1
  330. package/cjs-bundle/components/OffsetWellPickerV5/components/AppHeader/components/LoadAllWellsToggle/LoadAllWellsToggle.js +1 -1
  331. package/cjs-bundle/components/OffsetWellPickerV5/components/AppHeader/components/LoadAllWellsToggle/LoadAllWellsToggle.js.map +1 -1
  332. package/cjs-bundle/components/OffsetWellPickerV5/components/CustomInfoIcon/CustomInfoIcon.js +1 -1
  333. package/cjs-bundle/components/OffsetWellPickerV5/components/CustomInfoIcon/CustomInfoIcon.js.map +1 -1
  334. package/cjs-bundle/components/OffsetWellPickerV5/components/Filter/Filter.js +1 -1
  335. package/cjs-bundle/components/OffsetWellPickerV5/components/Filter/Filter.js.map +1 -1
  336. package/cjs-bundle/components/OffsetWellPickerV5/components/Filter/components/CustomDateFields/CustomDateFields.js +1 -1
  337. package/cjs-bundle/components/OffsetWellPickerV5/components/Filter/components/CustomDateFields/CustomDateFields.js.map +1 -1
  338. package/cjs-bundle/components/OffsetWellPickerV5/components/Filter/components/PeriodFilterSelect/PeriodFilterSelect.js +1 -1
  339. package/cjs-bundle/components/OffsetWellPickerV5/components/Filter/components/PeriodFilterSelect/PeriodFilterSelect.js.map +1 -1
  340. package/cjs-bundle/components/OffsetWellPickerV5/components/Filter/components/SingleFilterSelect/SingleFilterSelect.js +1 -1
  341. package/cjs-bundle/components/OffsetWellPickerV5/components/Filter/components/SingleFilterSelect/SingleFilterSelect.js.map +1 -1
  342. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/ClusterTooltip/ClusterTooltip.js +1 -1
  343. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/ClusterTooltip/ClusterTooltip.js.map +1 -1
  344. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/LayerSwitcher/LayerSwitcher.js +1 -1
  345. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/LayerSwitcher/LayerSwitcher.js.map +1 -1
  346. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapControls/MapControls.js +1 -1
  347. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapControls/MapControls.js.map +1 -1
  348. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapHints/MapHintsStash.js +1 -1
  349. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapHints/MapHintsStash.js.map +1 -1
  350. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/SelectionToast/SelectionToast.js +1 -1
  351. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/SelectionToast/SelectionToast.js.map +1 -1
  352. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/SubjectWellMarker/SubjectWellMarker.js +1 -1
  353. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/SubjectWellMarker/SubjectWellMarker.js.map +1 -1
  354. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/WellTooltip/WellTooltip.js +1 -1
  355. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/WellTooltip/WellTooltip.js.map +1 -1
  356. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useMapTooltipState.js +1 -1
  357. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useMapTooltipState.js.map +1 -1
  358. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useSelectionToolOrchestration.js +1 -1
  359. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useSelectionToolOrchestration.js.map +1 -1
  360. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/utils/well-markers-utils.js +1 -1
  361. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/utils/well-markers-utils.js.map +1 -1
  362. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellPickerContent/OffsetWellPickerContent.js +1 -1
  363. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellPickerContent/OffsetWellPickerContent.js.map +1 -1
  364. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellPickerV5WithStore/components/CompanySafeguardWrapper/CompanySafeguardWrapper.js +1 -1
  365. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellPickerV5WithStore/components/CompanySafeguardWrapper/CompanySafeguardWrapper.js.map +1 -1
  366. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellPickerV5WithStore/components/UserSettingsWrapper/UserSettingsWrapper.js +1 -1
  367. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellPickerV5WithStore/components/UserSettingsWrapper/UserSettingsWrapper.js.map +1 -1
  368. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/AdvancedSearch.js +1 -1
  369. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/AdvancedSearch.js.map +1 -1
  370. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/components/AssetResultSection/AssetResultSection.js +1 -1
  371. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/components/AssetResultSection/AssetResultSection.js.map +1 -1
  372. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/components/AutoCompleteAssetSearch/AutoCompleteAssetSearch.js +1 -1
  373. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/components/AutoCompleteAssetSearch/AutoCompleteAssetSearch.js.map +1 -1
  374. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/CompanyCell/CompanyCell.js +1 -1
  375. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/CompanyCell/CompanyCell.js.map +1 -1
  376. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/DateCell/DateCell.js +2 -0
  377. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/DateCell/DateCell.js.map +1 -0
  378. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/FormationCell/FormationCell.js +1 -1
  379. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/FormationCell/FormationCell.js.map +1 -1
  380. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/InterventionAssetCell/InterventionAssetCell.js +1 -1
  381. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/InterventionAssetCell/InterventionAssetCell.js.map +1 -1
  382. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/PadNameCell/PadNameCell.js +1 -1
  383. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/PadNameCell/PadNameCell.js.map +1 -1
  384. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/RigCell/RigCell.js +1 -1
  385. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/RigCell/RigCell.js.map +1 -1
  386. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/WellNameCell/WellNameCell.js +1 -1
  387. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/WellNameCell/WellNameCell.js.map +1 -1
  388. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/OffsetWellsTableHead/OffsetWellsTableHead.js +1 -1
  389. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/OffsetWellsTableHead/OffsetWellsTableHead.js.map +1 -1
  390. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/OffsetWellsTableRow/OffsetWellsTableRow.js +1 -1
  391. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/OffsetWellsTableRow/OffsetWellsTableRow.js.map +1 -1
  392. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/SettingsMenu.js +1 -1
  393. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/SettingsMenu.js.map +1 -1
  394. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/MetricsSettingsSection/MetricsSettingsSection.js +1 -1
  395. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/MetricsSettingsSection/MetricsSettingsSection.js.map +1 -1
  396. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/SettingsAccordion/SettingsAccordion.js +1 -1
  397. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/SettingsAccordion/SettingsAccordion.js.map +1 -1
  398. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/TableSettingsSection/TableSettingsSection.js +1 -1
  399. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/TableSettingsSection/TableSettingsSection.js.map +1 -1
  400. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SkeletonTableRow/SkeletonTableRow.js +1 -1
  401. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SkeletonTableRow/SkeletonTableRow.js.map +1 -1
  402. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/WellNameHeaderCell/WellNameHeaderCell.js +1 -1
  403. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/WellNameHeaderCell/WellNameHeaderCell.js.map +1 -1
  404. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/hooks/useTableColumns.js +1 -1
  405. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/hooks/useTableColumns.js.map +1 -1
  406. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/useRowInteractions.js +1 -1
  407. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/useRowInteractions.js.map +1 -1
  408. package/cjs-bundle/components/OffsetWellPickerV5/components/PickerModalActions/PickerModalActions.js +1 -1
  409. package/cjs-bundle/components/OffsetWellPickerV5/components/PickerModalActions/PickerModalActions.js.map +1 -1
  410. package/cjs-bundle/components/OffsetWellPickerV5/constants.js +1 -1
  411. package/cjs-bundle/components/OffsetWellPickerV5/constants.js.map +1 -1
  412. package/cjs-bundle/components/OffsetWellPickerV5/hooks/use-well-data-pipeline/useWellDataPipeline.js +1 -1
  413. package/cjs-bundle/components/OffsetWellPickerV5/hooks/use-well-data-pipeline/useWellDataPipeline.js.map +1 -1
  414. package/cjs-bundle/components/OffsetWellPickerV5/hooks/use-well-data-pipeline/wellTransformations.js +1 -1
  415. package/cjs-bundle/components/OffsetWellPickerV5/hooks/use-well-data-pipeline/wellTransformations.js.map +1 -1
  416. package/cjs-bundle/components/OffsetWellPickerV5/hooks/useIsAdmin.js +1 -1
  417. package/cjs-bundle/components/OffsetWellPickerV5/hooks/useIsAdmin.js.map +1 -1
  418. package/cjs-bundle/components/OffsetWellPickerV5/hooks/useSortedWells.js +1 -1
  419. package/cjs-bundle/components/OffsetWellPickerV5/hooks/useSortedWells.js.map +1 -1
  420. package/cjs-bundle/components/OffsetWellPickerV5/utils/doesWellPassFilters.js +1 -1
  421. package/cjs-bundle/components/OffsetWellPickerV5/utils/doesWellPassFilters.js.map +1 -1
  422. package/cjs-bundle/components/OffsetWellPickerV5/utils/getCoordinatedWells.js +1 -1
  423. package/cjs-bundle/components/OffsetWellPickerV5/utils/getCoordinatedWells.js.map +1 -1
  424. package/cjs-bundle/components/OffsetWellPickerV5/utils/sortWellsBy.js +2 -0
  425. package/cjs-bundle/components/OffsetWellPickerV5/utils/sortWellsBy.js.map +1 -0
  426. package/cjs-bundle/components/PadModeSelect/FracModeLabel.js +1 -1
  427. package/cjs-bundle/components/PadModeSelect/FracModeLabel.js.map +1 -1
  428. package/cjs-bundle/components/PadModeSelect/PadModeSelect.js +1 -1
  429. package/cjs-bundle/components/PadModeSelect/PadModeSelect.js.map +1 -1
  430. package/cjs-bundle/components/PadOffsetsPicker/StagesSelector.js +1 -1
  431. package/cjs-bundle/components/PadOffsetsPicker/StagesSelector.js.map +1 -1
  432. package/cjs-bundle/components/PadOffsetsPickerV2/PadOffsetsPickerV2.js +1 -1
  433. package/cjs-bundle/components/PadOffsetsPickerV2/PadOffsetsPickerV2.js.map +1 -1
  434. package/cjs-bundle/components/ParameterCharts/components/TraceHeader.js +1 -1
  435. package/cjs-bundle/components/ParameterCharts/components/TraceHeader.js.map +1 -1
  436. package/cjs-bundle/components/PinnableFilters/components/FiltersToggler.js +1 -1
  437. package/cjs-bundle/components/PinnableFilters/components/FiltersToggler.js.map +1 -1
  438. package/cjs-bundle/components/Popover/Popover.js +1 -1
  439. package/cjs-bundle/components/Popover/Popover.js.map +1 -1
  440. package/cjs-bundle/components/Popper/Popper.js +1 -1
  441. package/cjs-bundle/components/Popper/Popper.js.map +1 -1
  442. package/cjs-bundle/components/RealTimeValuesSidebar/RealTimeValuesBox/RealTimeBoxEditDialog.js +1 -1
  443. package/cjs-bundle/components/RealTimeValuesSidebar/RealTimeValuesBox/RealTimeBoxEditDialog.js.map +1 -1
  444. package/cjs-bundle/components/RealTimeValuesSidebar/SidebarFooter.js +1 -1
  445. package/cjs-bundle/components/RealTimeValuesSidebar/SidebarFooter.js.map +1 -1
  446. package/cjs-bundle/components/Search/Search.js +1 -1
  447. package/cjs-bundle/components/Search/Search.js.map +1 -1
  448. package/cjs-bundle/components/Select/SelectFilterBy.js +1 -1
  449. package/cjs-bundle/components/Select/SelectFilterBy.js.map +1 -1
  450. package/cjs-bundle/components/SettingEditors/ColorEditor/index.js +1 -1
  451. package/cjs-bundle/components/SettingEditors/ColorEditor/index.js.map +1 -1
  452. package/cjs-bundle/components/Stepper/Step/Step.js +1 -1
  453. package/cjs-bundle/components/Stepper/Step/Step.js.map +1 -1
  454. package/cjs-bundle/components/Table/TableCell/TableCell.js +1 -1
  455. package/cjs-bundle/components/Table/TableCell/TableCell.js.map +1 -1
  456. package/cjs-bundle/components/Table/TablePaginationActions/TablePaginationActions.js +1 -1
  457. package/cjs-bundle/components/Table/TablePaginationActions/TablePaginationActions.js.map +1 -1
  458. package/cjs-bundle/components/Table/TableSortLabel/TableSortLabel.js +1 -1
  459. package/cjs-bundle/components/Table/TableSortLabel/TableSortLabel.js.map +1 -1
  460. package/cjs-bundle/components/Template/TemplateSharingDialog/ChipSelector.js +1 -1
  461. package/cjs-bundle/components/Template/TemplateSharingDialog/ChipSelector.js.map +1 -1
  462. package/cjs-bundle/components/Toaster/Toaster.js +1 -1
  463. package/cjs-bundle/components/Toaster/Toaster.js.map +1 -1
  464. package/cjs-bundle/components/Tooltip/Tooltip.js +1 -1
  465. package/cjs-bundle/components/Tooltip/Tooltip.js.map +1 -1
  466. package/cjs-bundle/components/UserMention/index.js +1 -1
  467. package/cjs-bundle/components/UserMention/index.js.map +1 -1
  468. package/cjs-bundle/components/index.js +1 -1
  469. package/cjs-bundle/componentsV2/Accordion/Accordion.js +1 -1
  470. package/cjs-bundle/componentsV2/Accordion/Accordion.js.map +1 -1
  471. package/cjs-bundle/componentsV2/AppContainer/AppContainer.constants.scss.js +2 -0
  472. package/cjs-bundle/{components/DevCenter/DevCenterAppContainer/components/AppInfoMessage/AppInfoMessage.css.js.map → componentsV2/AppContainer/AppContainer.constants.scss.js.map} +1 -1
  473. package/cjs-bundle/componentsV2/AppContainer/AppContainer.js +1 -1
  474. package/cjs-bundle/componentsV2/AppContainer/AppContainer.js.map +1 -1
  475. package/cjs-bundle/componentsV2/AppContainer/AppContainer.scss.js +1 -1
  476. package/cjs-bundle/componentsV2/AppContainer/Content.js +1 -1
  477. package/cjs-bundle/componentsV2/AppContainer/Content.js.map +1 -1
  478. package/cjs-bundle/componentsV2/AppDqPopover/DqAlertTooltip/DqAlertTooltip.js +1 -1
  479. package/cjs-bundle/componentsV2/AppDqPopover/DqAlertTooltip/DqAlertTooltip.js.map +1 -1
  480. package/cjs-bundle/componentsV2/AppDqPopover/DqAsset/DqAsset.js +1 -1
  481. package/cjs-bundle/componentsV2/AppDqPopover/DqAsset/DqAsset.js.map +1 -1
  482. package/cjs-bundle/componentsV2/AppFooter/DqPopover/DqPopover.js +1 -1
  483. package/cjs-bundle/componentsV2/AppFooter/DqPopover/DqPopover.js.map +1 -1
  484. package/cjs-bundle/componentsV2/AppFooter/DqPopover/DqStatusIcon/DqStatusIcon.js +1 -1
  485. package/cjs-bundle/componentsV2/AppFooter/DqPopover/DqStatusIcon/DqStatusIcon.js.map +1 -1
  486. package/cjs-bundle/componentsV2/AppFooter/Warning.js +1 -1
  487. package/cjs-bundle/componentsV2/AppFooter/Warning.js.map +1 -1
  488. package/cjs-bundle/componentsV2/AppHeader/AppAssets/utils.js +1 -1
  489. package/cjs-bundle/componentsV2/AppHeader/AppAssets/utils.js.map +1 -1
  490. package/cjs-bundle/componentsV2/AppHeader/V3/Actions/Actions.js +1 -1
  491. package/cjs-bundle/componentsV2/AppHeader/V3/Actions/Actions.js.map +1 -1
  492. package/cjs-bundle/componentsV2/AppHeader/V3/Actions/Actions.scss.js +1 -1
  493. package/cjs-bundle/componentsV2/AppHeader/V3/AppHeaderV3.js +1 -1
  494. package/cjs-bundle/componentsV2/AppHeader/V3/AppHeaderV3.js.map +1 -1
  495. package/cjs-bundle/componentsV2/AppHeader/V3/AppTitle/AppTitle.js +1 -1
  496. package/cjs-bundle/componentsV2/AppHeader/V3/AppTitle/AppTitle.js.map +1 -1
  497. package/cjs-bundle/componentsV2/AppHeader/V3/AssetSelector/AssetSelector.js +1 -1
  498. package/cjs-bundle/componentsV2/AppHeader/V3/AssetSelector/AssetSelector.js.map +1 -1
  499. package/cjs-bundle/componentsV2/AppHeader/V3/AssetSelector/AssetSelectorChip/AssetSelectorChip.js +1 -1
  500. package/cjs-bundle/componentsV2/AppHeader/V3/AssetSelector/AssetSelectorChip/AssetSelectorChip.js.map +1 -1
  501. package/cjs-bundle/componentsV2/AppHeader/V3/AssetSelector/AssetSelectorSelect/AssetSelectorContent.js +1 -1
  502. package/cjs-bundle/componentsV2/AppHeader/V3/AssetSelector/AssetSelectorSelect/AssetSelectorContent.js.map +1 -1
  503. package/cjs-bundle/componentsV2/AppHeader/V3/AssetSelector/constants.js +1 -1
  504. package/cjs-bundle/componentsV2/AppHeader/V3/AssetSelector/constants.js.map +1 -1
  505. package/cjs-bundle/componentsV2/AppHeader/V3/DqStatusIcon/DqStatusIcon.js +1 -1
  506. package/cjs-bundle/componentsV2/AppHeader/V3/DqStatusIcon/DqStatusIcon.js.map +1 -1
  507. package/cjs-bundle/componentsV2/AppHeader/V3/SettingsButton/SettingsButton.js +1 -1
  508. package/cjs-bundle/componentsV2/AppHeader/V3/SettingsButton/SettingsButton.js.map +1 -1
  509. package/cjs-bundle/componentsV2/AppHeader/V3/VersionSelect/VersionSelect.js +1 -1
  510. package/cjs-bundle/componentsV2/AppHeader/V3/VersionSelect/VersionSelect.js.map +1 -1
  511. package/cjs-bundle/componentsV2/AppPanel/AppPanel.js +2 -0
  512. package/cjs-bundle/componentsV2/AppPanel/AppPanel.js.map +1 -0
  513. package/cjs-bundle/componentsV2/AppPanel/AppPanelDisplay.js +2 -0
  514. package/cjs-bundle/componentsV2/AppPanel/AppPanelDisplay.js.map +1 -0
  515. package/cjs-bundle/componentsV2/AppPanel/AppPanelDisplay.scss.js +2 -0
  516. package/cjs-bundle/componentsV2/AppPanel/AppPanelDisplay.scss.js.map +1 -0
  517. package/cjs-bundle/componentsV2/AppPanel/AppPanelIdContext.js +2 -0
  518. package/cjs-bundle/componentsV2/AppPanel/AppPanelIdContext.js.map +1 -0
  519. package/cjs-bundle/componentsV2/AppPanel/AppPanelsContext.js +2 -0
  520. package/cjs-bundle/componentsV2/AppPanel/AppPanelsContext.js.map +1 -0
  521. package/cjs-bundle/componentsV2/AppPanel/Header/Header.js +2 -0
  522. package/cjs-bundle/componentsV2/AppPanel/Header/Header.js.map +1 -0
  523. package/cjs-bundle/componentsV2/AppPanel/utils.js +2 -0
  524. package/cjs-bundle/componentsV2/AppPanel/utils.js.map +1 -0
  525. package/cjs-bundle/componentsV2/AppSettings/AppSettings.js +1 -1
  526. package/cjs-bundle/componentsV2/AppSettings/AppSettings.js.map +1 -1
  527. package/cjs-bundle/componentsV2/AppSettings/AppSettings.scss.js +1 -1
  528. package/cjs-bundle/componentsV2/AppSettingsDivider/AppSettingsDivider.js +1 -1
  529. package/cjs-bundle/componentsV2/AppSettingsDivider/AppSettingsDivider.js.map +1 -1
  530. package/cjs-bundle/componentsV2/AppSettingsDivider/AppSettingsDivider.scss.js +1 -1
  531. package/cjs-bundle/componentsV2/Autocomplete/Autocomplete.js +1 -1
  532. package/cjs-bundle/componentsV2/Autocomplete/Autocomplete.js.map +1 -1
  533. package/cjs-bundle/componentsV2/Breadcrumbs/Breadcrumbs.js +1 -1
  534. package/cjs-bundle/componentsV2/Breadcrumbs/Breadcrumbs.js.map +1 -1
  535. package/cjs-bundle/componentsV2/ButtonLive/ButtonLive.js +1 -1
  536. package/cjs-bundle/componentsV2/ButtonLive/ButtonLive.js.map +1 -1
  537. package/cjs-bundle/componentsV2/ChartAxisExtreme/ChartAxisExtreme.js +1 -1
  538. package/cjs-bundle/componentsV2/ChartAxisExtreme/ChartAxisExtreme.js.map +1 -1
  539. package/cjs-bundle/componentsV2/ChartAxisExtreme/ChartAxisExtremeDragTracker.js +1 -1
  540. package/cjs-bundle/componentsV2/ChartAxisExtreme/ChartAxisExtremeDragTracker.js.map +1 -1
  541. package/cjs-bundle/componentsV2/Chip/Chip.js +1 -1
  542. package/cjs-bundle/componentsV2/Chip/Chip.js.map +1 -1
  543. package/cjs-bundle/componentsV2/ColorPicker/ColorPicker.js +1 -1
  544. package/cjs-bundle/componentsV2/ColorPicker/ColorPicker.js.map +1 -1
  545. package/cjs-bundle/componentsV2/ColorPicker/Swatches/Swatches.js +1 -1
  546. package/cjs-bundle/componentsV2/ColorPicker/Swatches/Swatches.js.map +1 -1
  547. package/cjs-bundle/componentsV2/CompletionsOffsetWellPicker/AssetSearchInput/AssetSearchInput.js +1 -1
  548. package/cjs-bundle/componentsV2/CompletionsOffsetWellPicker/AssetSearchInput/AssetSearchInput.js.map +1 -1
  549. package/cjs-bundle/componentsV2/CompletionsOffsetWellPicker/CompletionsOffsetWellPicker.js +1 -1
  550. package/cjs-bundle/componentsV2/CompletionsOffsetWellPicker/CompletionsOffsetWellPicker.js.map +1 -1
  551. package/cjs-bundle/componentsV2/CompletionsOffsetWellPicker/Map/Map.js +1 -1
  552. package/cjs-bundle/componentsV2/CompletionsOffsetWellPicker/Map/Map.js.map +1 -1
  553. package/cjs-bundle/componentsV2/CompletionsOffsetWellPicker/ModalTitle/ModalTitle.js +1 -1
  554. package/cjs-bundle/componentsV2/CompletionsOffsetWellPicker/ModalTitle/ModalTitle.js.map +1 -1
  555. package/cjs-bundle/componentsV2/CompletionsOffsetWellPicker/PadsTable/PadsTable.js +1 -1
  556. package/cjs-bundle/componentsV2/CompletionsOffsetWellPicker/PadsTable/PadsTable.js.map +1 -1
  557. package/cjs-bundle/componentsV2/CompletionsOffsetWellPicker/PadsTable/helpers/columns.js +1 -1
  558. package/cjs-bundle/componentsV2/CompletionsOffsetWellPicker/PadsTable/helpers/columns.js.map +1 -1
  559. package/cjs-bundle/componentsV2/CompletionsOffsetWellPicker/hooks/usePadsByRadius.js +1 -1
  560. package/cjs-bundle/componentsV2/CompletionsOffsetWellPicker/hooks/usePadsByRadius.js.map +1 -1
  561. package/cjs-bundle/componentsV2/CopyToClipboard/CopyToClipboard.js +1 -1
  562. package/cjs-bundle/componentsV2/CopyToClipboard/CopyToClipboard.js.map +1 -1
  563. package/cjs-bundle/componentsV2/Counter/Counter.js +1 -1
  564. package/cjs-bundle/componentsV2/Counter/Counter.js.map +1 -1
  565. package/cjs-bundle/componentsV2/DatePicker/CalendarControls/CalendarControls.js +1 -1
  566. package/cjs-bundle/componentsV2/DatePicker/CalendarControls/CalendarControls.js.map +1 -1
  567. package/cjs-bundle/componentsV2/DatePicker/CalendarControls/CalendarControls.scss.js +1 -1
  568. package/cjs-bundle/componentsV2/DatePicker/CalendarGrid/CalendarGrid.js +1 -1
  569. package/cjs-bundle/componentsV2/DatePicker/CalendarGrid/CalendarGrid.js.map +1 -1
  570. package/cjs-bundle/componentsV2/DatePicker/CalendarGrid/CalendarGrid.scss.js +1 -1
  571. package/cjs-bundle/componentsV2/DatePicker/DatePicker.js +1 -1
  572. package/cjs-bundle/componentsV2/DatePicker/DatePicker.js.map +1 -1
  573. package/cjs-bundle/componentsV2/DatePicker/DatePicker.scss.js +1 -1
  574. package/cjs-bundle/componentsV2/DatePicker/Input/Input.js +1 -1
  575. package/cjs-bundle/componentsV2/DatePicker/Input/Input.js.map +1 -1
  576. package/cjs-bundle/componentsV2/DatePicker/Input/Input.scss.js +2 -0
  577. package/cjs-bundle/componentsV2/DatePicker/Input/Input.scss.js.map +1 -0
  578. package/cjs-bundle/componentsV2/DatePicker/TimePicker/TimePicker.js +1 -1
  579. package/cjs-bundle/componentsV2/DatePicker/TimePicker/TimePicker.js.map +1 -1
  580. package/cjs-bundle/componentsV2/DatePicker/TimePicker/TimePicker.scss.js +1 -1
  581. package/cjs-bundle/componentsV2/DatePicker/utils.js +1 -1
  582. package/cjs-bundle/componentsV2/DatePicker/utils.js.map +1 -1
  583. package/cjs-bundle/componentsV2/DragHandle/DragHandle.js +1 -1
  584. package/cjs-bundle/componentsV2/DragHandle/DragHandle.js.map +1 -1
  585. package/cjs-bundle/componentsV2/FilesDropzone/FilesDropzone.js +1 -1
  586. package/cjs-bundle/componentsV2/FilesDropzone/FilesDropzone.js.map +1 -1
  587. package/cjs-bundle/componentsV2/FilesLoader/FilesLoader.js +1 -1
  588. package/cjs-bundle/componentsV2/FilesLoader/FilesLoader.js.map +1 -1
  589. package/cjs-bundle/componentsV2/Hint/Hint.js +1 -1
  590. package/cjs-bundle/componentsV2/Hint/Hint.js.map +1 -1
  591. package/cjs-bundle/componentsV2/ImageViewer/ImageViewer.js +1 -1
  592. package/cjs-bundle/componentsV2/ImageViewer/ImageViewer.js.map +1 -1
  593. package/cjs-bundle/componentsV2/InterventionEventSelector/InterventionEventSelector.js +1 -1
  594. package/cjs-bundle/componentsV2/InterventionEventSelector/InterventionEventSelector.js.map +1 -1
  595. package/cjs-bundle/componentsV2/Modal/Modal.js +1 -1
  596. package/cjs-bundle/componentsV2/Modal/Modal.js.map +1 -1
  597. package/cjs-bundle/componentsV2/ModalWindow/ModalWindow.js +1 -1
  598. package/cjs-bundle/componentsV2/ModalWindow/ModalWindow.js.map +1 -1
  599. package/cjs-bundle/componentsV2/OffsetWellsButton/OffsetWellsButton.js +1 -1
  600. package/cjs-bundle/componentsV2/OffsetWellsButton/OffsetWellsButton.js.map +1 -1
  601. package/cjs-bundle/componentsV2/OffsetWellsButton/useOffsetWellsIcon.js +1 -1
  602. package/cjs-bundle/componentsV2/OffsetWellsButton/useOffsetWellsIcon.js.map +1 -1
  603. package/cjs-bundle/componentsV2/PadModeSelect/FracModeLabel/FracModeLabel.js +1 -1
  604. package/cjs-bundle/componentsV2/PadModeSelect/FracModeLabel/FracModeLabel.js.map +1 -1
  605. package/cjs-bundle/componentsV2/PadModeSelect/PadModeSelect.js +1 -1
  606. package/cjs-bundle/componentsV2/PadModeSelect/PadModeSelect.js.map +1 -1
  607. package/cjs-bundle/componentsV2/Paper/Paper.js.map +1 -1
  608. package/cjs-bundle/componentsV2/Popover/Popover.js +1 -1
  609. package/cjs-bundle/componentsV2/Popover/Popover.js.map +1 -1
  610. package/cjs-bundle/componentsV2/PopoverPanel/PopoverPanel.scss.js +1 -1
  611. package/cjs-bundle/componentsV2/PopoverPanel/PopoverPanelHeader/PopoverPanelHeader.js +1 -1
  612. package/cjs-bundle/componentsV2/PopoverPanel/PopoverPanelHeader/PopoverPanelHeader.js.map +1 -1
  613. package/cjs-bundle/componentsV2/Popper/Popper.js +1 -1
  614. package/cjs-bundle/componentsV2/Popper/Popper.js.map +1 -1
  615. package/cjs-bundle/componentsV2/SliderAdvanced/Bar.js +1 -1
  616. package/cjs-bundle/componentsV2/SliderAdvanced/Bar.js.map +1 -1
  617. package/cjs-bundle/componentsV2/SliderAdvanced/HandleWrapper.js +1 -1
  618. package/cjs-bundle/componentsV2/SliderAdvanced/HandleWrapper.js.map +1 -1
  619. package/cjs-bundle/componentsV2/Stepper/Step/Step.js +1 -1
  620. package/cjs-bundle/componentsV2/Stepper/Step/Step.js.map +1 -1
  621. package/cjs-bundle/componentsV2/TemplatesControl/FolderMenu/FolderMenu.js +1 -1
  622. package/cjs-bundle/componentsV2/TemplatesControl/FolderMenu/FolderMenu.js.map +1 -1
  623. package/cjs-bundle/componentsV2/TemplatesControl/MoveToFolderMenu/MoveToFolderMenu.js +1 -1
  624. package/cjs-bundle/componentsV2/TemplatesControl/MoveToFolderMenu/MoveToFolderMenu.js.map +1 -1
  625. package/cjs-bundle/componentsV2/TemplatesControl/Popover/Popover.js +1 -1
  626. package/cjs-bundle/componentsV2/TemplatesControl/Popover/Popover.js.map +1 -1
  627. package/cjs-bundle/componentsV2/TemplatesControl/PopoverFooter/PopoverFooter.js +1 -1
  628. package/cjs-bundle/componentsV2/TemplatesControl/PopoverFooter/PopoverFooter.js.map +1 -1
  629. package/cjs-bundle/componentsV2/TemplatesControl/PopoverSearch/PopoverSearch.js +1 -1
  630. package/cjs-bundle/componentsV2/TemplatesControl/PopoverSearch/PopoverSearch.js.map +1 -1
  631. package/cjs-bundle/componentsV2/TemplatesControl/PublishModal/PublishModal.js +1 -1
  632. package/cjs-bundle/componentsV2/TemplatesControl/PublishModal/PublishModal.js.map +1 -1
  633. package/cjs-bundle/componentsV2/TemplatesControl/ShareModal/ShareModal.js +1 -1
  634. package/cjs-bundle/componentsV2/TemplatesControl/ShareModal/ShareModal.js.map +1 -1
  635. package/cjs-bundle/componentsV2/TemplatesControl/TemplateMenu/IconMenu/IconMenu.js +1 -1
  636. package/cjs-bundle/componentsV2/TemplatesControl/TemplateMenu/IconMenu/IconMenu.js.map +1 -1
  637. package/cjs-bundle/componentsV2/TemplatesControl/TemplatesTreeMenuHeader/TemplatesTreeMenuHeader.js +1 -1
  638. package/cjs-bundle/componentsV2/TemplatesControl/TemplatesTreeMenuHeader/TemplatesTreeMenuHeader.js.map +1 -1
  639. package/cjs-bundle/componentsV2/TemplatesControl/TemplatesTreeNodeItem/TemplatesTreeNodeItem.js +1 -1
  640. package/cjs-bundle/componentsV2/TemplatesControl/TemplatesTreeNodeItem/TemplatesTreeNodeItem.js.map +1 -1
  641. package/cjs-bundle/componentsV2/TemplatesControl/Toggle/Toggle.js +1 -1
  642. package/cjs-bundle/componentsV2/TemplatesControl/Toggle/Toggle.js.map +1 -1
  643. package/cjs-bundle/componentsV2/TemplatesControl/templateMenuItems/CopyTemplate.js +1 -1
  644. package/cjs-bundle/componentsV2/TemplatesControl/templateMenuItems/CopyTemplate.js.map +1 -1
  645. package/cjs-bundle/componentsV2/TemplatesControl/templateMenuItems/ExportTemplate.js +1 -1
  646. package/cjs-bundle/componentsV2/TemplatesControl/templateMenuItems/ExportTemplate.js.map +1 -1
  647. package/cjs-bundle/componentsV2/TemplatesControl/templateMenuItems/MoveTemplateOutOfFolder.js +1 -1
  648. package/cjs-bundle/componentsV2/TemplatesControl/templateMenuItems/MoveTemplateOutOfFolder.js.map +1 -1
  649. package/cjs-bundle/componentsV2/TemplatesControl/templateMenuItems/MoveTemplateToFolder.js +1 -1
  650. package/cjs-bundle/componentsV2/TemplatesControl/templateMenuItems/MoveTemplateToFolder.js.map +1 -1
  651. package/cjs-bundle/componentsV2/TemplatesControl/templateMenuItems/RemoveTemplate.js +1 -1
  652. package/cjs-bundle/componentsV2/TemplatesControl/templateMenuItems/RemoveTemplate.js.map +1 -1
  653. package/cjs-bundle/componentsV2/TemplatesControl/templateMenuItems/RevertTemplate.js +1 -1
  654. package/cjs-bundle/componentsV2/TemplatesControl/templateMenuItems/RevertTemplate.js.map +1 -1
  655. package/cjs-bundle/componentsV2/TemplatesControl/templateMenuItems/ShareTemplate.js +1 -1
  656. package/cjs-bundle/componentsV2/TemplatesControl/templateMenuItems/ShareTemplate.js.map +1 -1
  657. package/cjs-bundle/componentsV2/TemplatesControl/templateMenuItems/UnfollowTemplate.js +1 -1
  658. package/cjs-bundle/componentsV2/TemplatesControl/templateMenuItems/UnfollowTemplate.js.map +1 -1
  659. package/cjs-bundle/componentsV2/TextInput/TextInput.js +1 -1
  660. package/cjs-bundle/componentsV2/TextInput/TextInput.js.map +1 -1
  661. package/cjs-bundle/componentsV2/TextInputBase/TextInputBase.js +1 -1
  662. package/cjs-bundle/componentsV2/TextInputBase/TextInputBase.js.map +1 -1
  663. package/cjs-bundle/componentsV2/TextInputBase/components/InfoIcon.js +1 -1
  664. package/cjs-bundle/componentsV2/TextInputBase/components/InfoIcon.js.map +1 -1
  665. package/cjs-bundle/componentsV2/TextInputNext/TextInputNext.js +1 -1
  666. package/cjs-bundle/componentsV2/TextInputNext/TextInputNext.js.map +1 -1
  667. package/cjs-bundle/componentsV2/ToggleButtons/ToggleButtons.scss.js +1 -1
  668. package/cjs-bundle/componentsV2/Tooltip/Tooltip.js +1 -1
  669. package/cjs-bundle/componentsV2/Tooltip/Tooltip.js.map +1 -1
  670. package/cjs-bundle/componentsV2/WellArchivedMessage/WellArchivedMessage.js +1 -1
  671. package/cjs-bundle/componentsV2/WellArchivedMessage/WellArchivedMessage.js.map +1 -1
  672. package/cjs-bundle/componentsV2/index.js +1 -1
  673. package/cjs-bundle/componentsV2/utils.js +1 -1
  674. package/cjs-bundle/componentsV2/utils.js.map +1 -1
  675. package/cjs-bundle/config/theme/index.js +1 -1
  676. package/cjs-bundle/config/theme/index.js.map +1 -1
  677. package/cjs-bundle/constants/feed.js +1 -1
  678. package/cjs-bundle/constants/feed.js.map +1 -1
  679. package/cjs-bundle/effects/index.js +1 -1
  680. package/cjs-bundle/effects/useGlobalOffsetWellsSync.js +1 -1
  681. package/cjs-bundle/effects/useGlobalOffsetWellsSync.js.map +1 -1
  682. package/cjs-bundle/effects/useSignedURL.js +1 -1
  683. package/cjs-bundle/effects/useSignedURL.js.map +1 -1
  684. package/cjs-bundle/icons/customIcons/icons/FlameFilled.js +2 -0
  685. package/cjs-bundle/icons/customIcons/icons/FlameFilled.js.map +1 -0
  686. package/cjs-bundle/icons/customIcons/icons/InfoRounded.js +2 -0
  687. package/cjs-bundle/icons/customIcons/icons/InfoRounded.js.map +1 -0
  688. package/cjs-bundle/icons/customIcons/icons/PinOne.js +2 -0
  689. package/cjs-bundle/icons/customIcons/icons/PinOne.js.map +1 -0
  690. package/cjs-bundle/icons/customIcons/icons/PinOneCrossed.js +2 -0
  691. package/cjs-bundle/icons/customIcons/icons/PinOneCrossed.js.map +1 -0
  692. package/cjs-bundle/icons/index.js +1 -1
  693. package/cjs-bundle/permissions/useProvidePermissions.js +1 -1
  694. package/cjs-bundle/permissions/useProvidePermissions.js.map +1 -1
  695. package/cjs-bundle/testing/AppTestWrapper/AppTestWrapper.js +1 -1
  696. package/cjs-bundle/testing/AppTestWrapper/AppTestWrapper.js.map +1 -1
  697. package/cjs-bundle/utils/feed.js +1 -1
  698. package/cjs-bundle/utils/feed.js.map +1 -1
  699. package/cjs-bundle/utils/links.js +1 -1
  700. package/cjs-bundle/utils/links.js.map +1 -1
  701. package/cjs-bundle/utils/signedLinkCache.js +2 -0
  702. package/cjs-bundle/utils/signedLinkCache.js.map +1 -0
  703. package/components/AddComment/Popover.js +1 -1
  704. package/components/AddComment/Popover.js.map +1 -1
  705. package/components/AddComment/components/Content.js +1 -1
  706. package/components/AddComment/components/Content.js.map +1 -1
  707. package/components/AdvancedSlider/Handle.js +1 -1
  708. package/components/AdvancedSlider/Handle.js.map +1 -1
  709. package/components/AttachFileButton/AttachFileButton.js +1 -1
  710. package/components/AttachFileButton/AttachFileButton.js.map +1 -1
  711. package/components/Attachment/index.js +1 -1
  712. package/components/Attachment/index.js.map +1 -1
  713. package/components/AttachmentLightbox/AttachmentDocument.js +1 -1
  714. package/components/AttachmentLightbox/AttachmentDocument.js.map +1 -1
  715. package/components/AttachmentLightbox/AttachmentLightbox.js +1 -1
  716. package/components/AttachmentLightbox/AttachmentLightbox.js.map +1 -1
  717. package/components/AttachmentLightbox/AttachmentPreviewPane.js +1 -1
  718. package/components/AttachmentLightbox/AttachmentPreviewPane.js.map +1 -1
  719. package/components/AttachmentPreview/AttachmentActionsMenu.js +1 -1
  720. package/components/AttachmentPreview/AttachmentActionsMenu.js.map +1 -1
  721. package/components/AttachmentPreview/AttachmentDownloadLink.js +1 -1
  722. package/components/AttachmentPreview/AttachmentDownloadLink.js.map +1 -1
  723. package/components/AttachmentPreview/AttachmentPreview.types.d.ts +2 -0
  724. package/components/AttachmentPreview/AttachmentPreview.types.d.ts.map +1 -1
  725. package/components/AttachmentPreview/AttachmentTile.js +1 -1
  726. package/components/AttachmentPreview/AttachmentTile.js.map +1 -1
  727. package/components/AttachmentPreview/SortableAttachments.js +1 -1
  728. package/components/AttachmentPreview/SortableAttachments.js.map +1 -1
  729. package/components/AttachmentPreview/useStoredAttachments.d.ts.map +1 -1
  730. package/components/AttachmentPreview/useStoredAttachments.js +1 -1
  731. package/components/AttachmentPreview/useStoredAttachments.js.map +1 -1
  732. package/components/BICOffsetPickerDialog/components/Map/Map.d.ts.map +1 -1
  733. package/components/BICOffsetPickerDialog/components/Map/Map.js +1 -1
  734. package/components/BICOffsetPickerDialog/components/Map/Map.js.map +1 -1
  735. package/components/BICOffsetPickerDialog/index.js +1 -1
  736. package/components/BICOffsetPickerDialog/index.js.map +1 -1
  737. package/components/Breadcrumbs/index.js +1 -1
  738. package/components/Breadcrumbs/index.js.map +1 -1
  739. package/components/Button/components/LiveButton/index.js +1 -1
  740. package/components/Button/components/LiveButton/index.js.map +1 -1
  741. package/components/Button/index.js +1 -1
  742. package/components/Casing/CasingTableV2/components/CasingJoints/Editor.js +1 -1
  743. package/components/Casing/CasingTableV2/components/CasingJoints/Editor.js.map +1 -1
  744. package/components/Casing/CasingTableV2/components/Component.js +1 -1
  745. package/components/Casing/CasingTableV2/components/Component.js.map +1 -1
  746. package/components/Casing/CasingTableV2/components/DrillPipe/Editor.js +1 -1
  747. package/components/Casing/CasingTableV2/components/DrillPipe/Editor.js.map +1 -1
  748. package/components/Chart/components/AxisDropdown.js +1 -1
  749. package/components/Chart/components/AxisDropdown.js.map +1 -1
  750. package/components/Chart/components/ChartSelect.js +1 -1
  751. package/components/Chart/components/ChartSelect.js.map +1 -1
  752. package/components/Chart/components/buttons/ChartTypeButton.js +1 -1
  753. package/components/Chart/components/buttons/ChartTypeButton.js.map +1 -1
  754. package/components/Chart/components/buttons/DragToZoomButton.js +1 -1
  755. package/components/Chart/components/buttons/DragToZoomButton.js.map +1 -1
  756. package/components/Chart/components/buttons/HideAxesButton.js +1 -1
  757. package/components/Chart/components/buttons/HideAxesButton.js.map +1 -1
  758. package/components/Chart/components/buttons/PanButton.js +1 -1
  759. package/components/Chart/components/buttons/PanButton.js.map +1 -1
  760. package/components/Chart/components/buttons/ResetZoomButton.js +1 -1
  761. package/components/Chart/components/buttons/ResetZoomButton.js.map +1 -1
  762. package/components/Chart/components/buttons/ZoomInButton.js +1 -1
  763. package/components/Chart/components/buttons/ZoomInButton.js.map +1 -1
  764. package/components/Chart/components/buttons/ZoomOutButton.js +1 -1
  765. package/components/Chart/components/buttons/ZoomOutButton.js.map +1 -1
  766. package/components/Chip/index.js +1 -1
  767. package/components/Chip/index.js.map +1 -1
  768. package/components/CollapsableSidebar.js +1 -1
  769. package/components/CollapsableSidebar.js.map +1 -1
  770. package/components/CollapsibleContent.d.ts.map +1 -1
  771. package/components/CollapsibleContent.js +1 -1
  772. package/components/CollapsibleContent.js.map +1 -1
  773. package/components/ColorPicker/ColorPicker.js +1 -1
  774. package/components/ColorPicker/ColorPicker.js.map +1 -1
  775. package/components/ColorPicker/PaletteChromePicker/PaletteChromePicker.js +1 -1
  776. package/components/ColorPicker/PaletteChromePicker/PaletteChromePicker.js.map +1 -1
  777. package/components/CommentCard/CommentCard.d.ts.map +1 -1
  778. package/components/CommentCard/CommentCard.js +1 -1
  779. package/components/CommentCard/CommentCard.js.map +1 -1
  780. package/components/CommentCard/CommentCardReactions.js +1 -1
  781. package/components/CommentCard/CommentCardReactions.js.map +1 -1
  782. package/components/CommentCard/CommentCardReplies.js +1 -1
  783. package/components/CommentCard/CommentCardReplies.js.map +1 -1
  784. package/components/CommentCard/buildCommentReply.js +1 -1
  785. package/components/CommentCard/buildCommentReply.js.map +1 -1
  786. package/components/CommentComposer/ChatChannelSelector.d.ts.map +1 -1
  787. package/components/CommentComposer/ChatChannelSelector.js +1 -1
  788. package/components/CommentComposer/ChatChannelSelector.js.map +1 -1
  789. package/components/CommentComposer/ChatChannelSelector.scss.js +1 -1
  790. package/components/CommentComposer/CommentComposer.js +1 -1
  791. package/components/CommentComposer/CommentComposer.js.map +1 -1
  792. package/components/CommentComposer/useAttachmentUpload.d.ts.map +1 -1
  793. package/components/CommentComposer/useAttachmentUpload.js +1 -1
  794. package/components/CommentComposer/useAttachmentUpload.js.map +1 -1
  795. package/components/CommentInputNext/CommentInputNext.js +1 -1
  796. package/components/CommentInputNext/CommentInputNext.js.map +1 -1
  797. package/components/ConfirmationDialog.d.ts +75 -12
  798. package/components/ConfirmationDialog.js +1 -1
  799. package/components/ConfirmationDialog.js.map +1 -1
  800. package/components/CopyToClipboard/CopyToClipboard.js +1 -1
  801. package/components/CopyToClipboard/CopyToClipboard.js.map +1 -1
  802. package/components/Counter/index.js +1 -1
  803. package/components/Counter/index.js.map +1 -1
  804. package/components/DatePicker/index.js +1 -1
  805. package/components/DatePicker/index.js.map +1 -1
  806. package/components/DateTimePicker/index.js +1 -1
  807. package/components/DateTimePicker/index.js.map +1 -1
  808. package/components/DevCenter/AppFilterPanelLayout/AppFilterPanelLayout.js +1 -1
  809. package/components/DevCenter/AppFilterPanelLayout/AppFilterPanelLayout.js.map +1 -1
  810. package/components/DevCenter/AppSettingsPopover/AppSettingsPopover.js +1 -1
  811. package/components/DevCenter/AppSettingsPopover/AppSettingsPopover.js.map +1 -1
  812. package/components/DevCenter/AppSideBar/AppSideBar.js +1 -1
  813. package/components/DevCenter/AppSideBar/AppSideBar.js.map +1 -1
  814. package/components/DevCenter/DevCenterAppContainer/DevCenterAppContainer.d.ts +5 -7
  815. package/components/DevCenter/DevCenterAppContainer/DevCenterAppContainer.d.ts.map +1 -1
  816. package/components/DevCenter/DevCenterAppContainer/DevCenterAppContainer.js +1 -1
  817. package/components/DevCenter/DevCenterAppContainer/DevCenterAppContainer.js.map +1 -1
  818. package/components/DevCenter/DevCenterAppContainer/__tests__/DevCenterAppContainer.registerAITools.test.d.ts.map +1 -1
  819. package/components/DevCenter/DevCenterAppContainer/__tests__/DevCenterAppContainer.test.d.ts.map +1 -1
  820. package/components/DevCenter/DevCenterAppContainer/components/AppActions/AppActions.d.ts +4 -3
  821. package/components/DevCenter/DevCenterAppContainer/components/AppActions/AppActions.d.ts.map +1 -1
  822. package/components/DevCenter/DevCenterAppContainer/components/AppActions/AppActions.js.map +1 -1
  823. package/components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/AppSettingsDialog.d.ts +34 -35
  824. package/components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/AppSettingsDialog.d.ts.map +1 -1
  825. package/components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/AppSettingsDialog.js +1 -1
  826. package/components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/AppSettingsDialog.js.map +1 -1
  827. package/components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/__tests__/AppSettingsDialog.test.d.ts.map +1 -1
  828. package/components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/__tests__/RemoveAppButton.test.d.ts.map +1 -1
  829. package/components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/components/RemoveAppButton.d.ts +6 -4
  830. package/components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/components/RemoveAppButton.d.ts.map +1 -1
  831. package/components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/components/RemoveAppButton.js +1 -1
  832. package/components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/components/RemoveAppButton.js.map +1 -1
  833. package/components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/components/SettingsAccordion.d.ts +10 -7
  834. package/components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/components/SettingsAccordion.d.ts.map +1 -1
  835. package/components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/components/SettingsAccordion.js +1 -1
  836. package/components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/components/SettingsAccordion.js.map +1 -1
  837. package/components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/components/index.d.ts +1 -0
  838. package/components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/components/index.d.ts.map +1 -1
  839. package/components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/index.d.ts +1 -1
  840. package/components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/index.d.ts.map +1 -1
  841. package/components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/styles.d.ts +8 -1
  842. package/components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/styles.d.ts.map +1 -1
  843. package/components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/styles.js.map +1 -1
  844. package/components/DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchButton.d.ts +4 -3
  845. package/components/DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchButton.d.ts.map +1 -1
  846. package/components/DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchButton.js +1 -1
  847. package/components/DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchButton.js.map +1 -1
  848. package/components/DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchContext.d.ts +2 -1
  849. package/components/DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchContext.d.ts.map +1 -1
  850. package/components/DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchContext.js +1 -1
  851. package/components/DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchContext.js.map +1 -1
  852. package/components/DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchProvider.d.ts +5 -3
  853. package/components/DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchProvider.d.ts.map +1 -1
  854. package/components/DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchProvider.js +1 -1
  855. package/components/DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchProvider.js.map +1 -1
  856. package/components/DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/DcFullscreenElemsCoordinatorProvider.d.ts +9 -8
  857. package/components/DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/DcFullscreenElemsCoordinatorProvider.d.ts.map +1 -1
  858. package/components/DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/DcFullscreenElemsCoordinatorProvider.js.map +1 -1
  859. package/components/DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/IsInsideDcFullscreenElemProvider.d.ts +4 -3
  860. package/components/DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/IsInsideDcFullscreenElemProvider.d.ts.map +1 -1
  861. package/components/DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/IsInsideDcFullscreenElemProvider.js.map +1 -1
  862. package/components/DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/index.d.ts.map +1 -1
  863. package/components/DevCenter/DevCenterAppContainer/components/DevCenterAppDialogs.d.ts +8 -5
  864. package/components/DevCenter/DevCenterAppContainer/components/DevCenterAppDialogs.d.ts.map +1 -1
  865. package/components/DevCenter/DevCenterAppContainer/components/DevCenterAppDialogs.js +1 -1
  866. package/components/DevCenter/DevCenterAppContainer/components/DevCenterAppDialogs.js.map +1 -1
  867. package/components/DevCenter/DevCenterAppContainer/components/DevCenterAppView/DevCenterAppView.d.ts +15 -15
  868. package/components/DevCenter/DevCenterAppContainer/components/DevCenterAppView/DevCenterAppView.d.ts.map +1 -1
  869. package/components/DevCenter/DevCenterAppContainer/components/DevCenterAppView/DevCenterAppView.js +1 -1
  870. package/components/DevCenter/DevCenterAppContainer/components/DevCenterAppView/DevCenterAppView.js.map +1 -1
  871. package/components/DevCenter/DevCenterAppContainer/components/DevCenterAppView/__tests__/DevCenterAppView.test.d.ts.map +1 -1
  872. package/components/DevCenter/DevCenterAppContainer/components/DevCenterAppView/components/ChooseAssetButton.d.ts +4 -3
  873. package/components/DevCenter/DevCenterAppContainer/components/DevCenterAppView/components/ChooseAssetButton.d.ts.map +1 -1
  874. package/components/DevCenter/DevCenterAppContainer/components/DevCenterAppView/components/ChooseAssetButton.js.map +1 -1
  875. package/components/DevCenter/DevCenterAppContainer/components/FullscreenButton/FullscreenButton.d.ts +5 -9
  876. package/components/DevCenter/DevCenterAppContainer/components/FullscreenButton/FullscreenButton.d.ts.map +1 -1
  877. package/components/DevCenter/DevCenterAppContainer/components/FullscreenButton/FullscreenButton.js +1 -1
  878. package/components/DevCenter/DevCenterAppContainer/components/FullscreenButton/FullscreenButton.js.map +1 -1
  879. package/components/DevCenter/DevCenterAppContainer/components/FullscreenButton/index.d.ts.map +1 -1
  880. package/components/DevCenter/DevCenterAppContainer/components/IsInsideIsolatedDcAppProvider.d.ts.map +1 -0
  881. package/components/DevCenter/DevCenterAppContainer/components/IsInsideIsolatedDcAppProvider.js.map +1 -0
  882. package/components/DevCenter/DevCenterAppContainer/components/LegacyAppActions.d.ts +4 -2
  883. package/components/DevCenter/DevCenterAppContainer/components/LegacyAppActions.d.ts.map +1 -1
  884. package/components/DevCenter/DevCenterAppContainer/components/LegacyAppActions.js +1 -1
  885. package/components/DevCenter/DevCenterAppContainer/components/LegacyAppActions.js.map +1 -1
  886. package/components/DevCenter/DevCenterAppContainer/components/NonPriorityMenus.d.ts +15 -0
  887. package/components/DevCenter/DevCenterAppContainer/components/NonPriorityMenus.d.ts.map +1 -0
  888. package/components/DevCenter/DevCenterAppContainer/components/NonPriorityMenus.js +2 -0
  889. package/components/DevCenter/DevCenterAppContainer/components/NonPriorityMenus.js.map +1 -0
  890. package/components/DevCenter/DevCenterAppContainer/components/PriorityMenus.d.ts +4 -2
  891. package/components/DevCenter/DevCenterAppContainer/components/PriorityMenus.d.ts.map +1 -1
  892. package/components/DevCenter/DevCenterAppContainer/components/PriorityMenus.js +1 -1
  893. package/components/DevCenter/DevCenterAppContainer/components/PriorityMenus.js.map +1 -1
  894. package/components/DevCenter/DevCenterAppContainer/components/RestoreAppSizeButton/index.d.ts +5 -9
  895. package/components/DevCenter/DevCenterAppContainer/components/RestoreAppSizeButton/index.d.ts.map +1 -1
  896. package/components/DevCenter/DevCenterAppContainer/components/RestoreAppSizeButton/index.js +1 -1
  897. package/components/DevCenter/DevCenterAppContainer/components/RestoreAppSizeButton/index.js.map +1 -1
  898. package/components/DevCenter/DevCenterAppContainer/effects/__tests__/useAnnotationsData.test.d.ts.map +1 -1
  899. package/components/DevCenter/DevCenterAppContainer/effects/__tests__/useAppSettings.test.d.ts.map +1 -1
  900. package/components/DevCenter/DevCenterAppContainer/effects/index.d.ts.map +1 -1
  901. package/components/DevCenter/DevCenterAppContainer/effects/useAnnotationsData.d.ts +12 -9
  902. package/components/DevCenter/DevCenterAppContainer/effects/useAnnotationsData.d.ts.map +1 -1
  903. package/components/DevCenter/DevCenterAppContainer/effects/useAnnotationsData.js +1 -1
  904. package/components/DevCenter/DevCenterAppContainer/effects/useAnnotationsData.js.map +1 -1
  905. package/components/DevCenter/DevCenterAppContainer/effects/useAnnotationsList.d.ts +2 -1
  906. package/components/DevCenter/DevCenterAppContainer/effects/useAnnotationsList.d.ts.map +1 -1
  907. package/components/DevCenter/DevCenterAppContainer/effects/useAnnotationsList.js.map +1 -1
  908. package/components/DevCenter/DevCenterAppContainer/effects/useAppMaximized.d.ts +10 -6
  909. package/components/DevCenter/DevCenterAppContainer/effects/useAppMaximized.d.ts.map +1 -1
  910. package/components/DevCenter/DevCenterAppContainer/effects/useAppMaximized.js.map +1 -1
  911. package/components/DevCenter/DevCenterAppContainer/effects/useDevCenterAppProps.d.ts +17 -15
  912. package/components/DevCenter/DevCenterAppContainer/effects/useDevCenterAppProps.d.ts.map +1 -1
  913. package/components/DevCenter/DevCenterAppContainer/effects/useDevCenterAppProps.js.map +1 -1
  914. package/components/DevCenter/DevCenterAppContainer/index.d.ts +1 -1
  915. package/components/DevCenter/DevCenterAppContainer/index.d.ts.map +1 -1
  916. package/components/DevCenter/DevCenterAppContainer/types.d.ts +46 -24
  917. package/components/DevCenter/DevCenterAppContainer/types.d.ts.map +1 -1
  918. package/components/DevCenter/DevCenterAppContainer/utils.d.ts +12 -7
  919. package/components/DevCenter/DevCenterAppContainer/utils.d.ts.map +1 -1
  920. package/components/DevCenter/DevCenterAppContainer/utils.js +1 -1
  921. package/components/DevCenter/DevCenterAppContainer/utils.js.map +1 -1
  922. package/components/DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedAppPage.js +1 -1
  923. package/components/DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedAppPage.js.map +1 -1
  924. package/components/DocumentViewer/DocumentViewer.js +1 -1
  925. package/components/DocumentViewer/DocumentViewer.js.map +1 -1
  926. package/components/Drillstring/BHAComponentDetail/constants.d.ts +2 -2
  927. package/components/Drillstring/BHAComponentsTable/components/Agitator/Editor.js +1 -1
  928. package/components/Drillstring/BHAComponentsTable/components/Agitator/Editor.js.map +1 -1
  929. package/components/Drillstring/BHAComponentsTable/components/Bit/Editor.js +1 -1
  930. package/components/Drillstring/BHAComponentsTable/components/Bit/Editor.js.map +1 -1
  931. package/components/Drillstring/BHAComponentsTable/components/Component.js +1 -1
  932. package/components/Drillstring/BHAComponentsTable/components/Component.js.map +1 -1
  933. package/components/Drillstring/BHAComponentsTable/components/DrillCollar/Editor.js +1 -1
  934. package/components/Drillstring/BHAComponentsTable/components/DrillCollar/Editor.js.map +1 -1
  935. package/components/Drillstring/BHAComponentsTable/components/DrillPipe/Editor.js +1 -1
  936. package/components/Drillstring/BHAComponentsTable/components/DrillPipe/Editor.js.map +1 -1
  937. package/components/Drillstring/BHAComponentsTable/components/Jar/Editor.js +1 -1
  938. package/components/Drillstring/BHAComponentsTable/components/Jar/Editor.js.map +1 -1
  939. package/components/Drillstring/BHAComponentsTable/components/Lwd/Editor.js +1 -1
  940. package/components/Drillstring/BHAComponentsTable/components/Lwd/Editor.js.map +1 -1
  941. package/components/Drillstring/BHAComponentsTable/components/Mwd/Editor.js +1 -1
  942. package/components/Drillstring/BHAComponentsTable/components/Mwd/Editor.js.map +1 -1
  943. package/components/Drillstring/BHAComponentsTable/components/Pdm/Editor.js +1 -1
  944. package/components/Drillstring/BHAComponentsTable/components/Pdm/Editor.js.map +1 -1
  945. package/components/Drillstring/BHAComponentsTable/components/Rss/Editor.js +1 -1
  946. package/components/Drillstring/BHAComponentsTable/components/Rss/Editor.js.map +1 -1
  947. package/components/Drillstring/BHAComponentsTable/components/Stabilizer/Editor.js +1 -1
  948. package/components/Drillstring/BHAComponentsTable/components/Stabilizer/Editor.js.map +1 -1
  949. package/components/Drillstring/BHAComponentsTable/components/Sub/Editor.js +1 -1
  950. package/components/Drillstring/BHAComponentsTable/components/Sub/Editor.js.map +1 -1
  951. package/components/Drillstring/BHAComponentsTable/components/Ur/Editor.js +1 -1
  952. package/components/Drillstring/BHAComponentsTable/components/Ur/Editor.js.map +1 -1
  953. package/components/Drillstring/BHAComponentsTable/components/shared/ConfirmationPopup.js +1 -1
  954. package/components/Drillstring/BHAComponentsTable/components/shared/ConfirmationPopup.js.map +1 -1
  955. package/components/Drillstring/BhaIndicator/styles.css.js +1 -1
  956. package/components/EChartsWrapper/components/Toolbox/Toolbox.js +1 -1
  957. package/components/EChartsWrapper/components/Toolbox/Toolbox.js.map +1 -1
  958. package/components/EmojiIconButton.d.ts +4 -34
  959. package/components/EmojiIconButton.d.ts.map +1 -1
  960. package/components/EmojiIconButton.js +1 -1
  961. package/components/EmojiIconButton.js.map +1 -1
  962. package/components/ErrorBoundary/DevCenterAppErrorView/DevCenterAppErrorView.js +1 -1
  963. package/components/ErrorBoundary/DevCenterAppErrorView/DevCenterAppErrorView.js.map +1 -1
  964. package/components/ErrorBoundary/ErrorBoundary.js +1 -1
  965. package/components/ErrorBoundary/ErrorBoundary.js.map +1 -1
  966. package/components/FeedCard/useFeedActivity.js +1 -1
  967. package/components/FeedCard/useFeedActivity.js.map +1 -1
  968. package/components/FeedItem/FeedItem.js +1 -1
  969. package/components/FeedItem/FeedItem.js.map +1 -1
  970. package/components/FeedItem/components/FeedComments.js +1 -1
  971. package/components/FeedItem/components/FeedComments.js.map +1 -1
  972. package/components/FeedItem/components/Icon.d.ts.map +1 -1
  973. package/components/FeedItem/components/Icon.js +1 -1
  974. package/components/FeedItem/components/Icon.js.map +1 -1
  975. package/components/FeedItem/components/LessonsLearnedLeafIcon.d.ts +3 -1
  976. package/components/FeedItem/components/LessonsLearnedLeafIcon.d.ts.map +1 -1
  977. package/components/FeedItem/components/LessonsLearnedLeafIcon.js +1 -1
  978. package/components/FeedItem/components/LessonsLearnedLeafIcon.js.map +1 -1
  979. package/components/FeedItem/feedItemTypes/AlertFeedItem.d.ts +1 -1
  980. package/components/FeedItem/feedItemTypes/AlertFeedItem.d.ts.map +1 -1
  981. package/components/FeedItem/feedItemTypes/AlertFeedItem.js +1 -1
  982. package/components/FeedItem/feedItemTypes/AlertFeedItem.js.map +1 -1
  983. package/components/FeedItem/feedItemTypes/AppAnnotationFeedItem/index.d.ts.map +1 -1
  984. package/components/FeedItem/feedItemTypes/AppAnnotationFeedItem/index.js +1 -1
  985. package/components/FeedItem/feedItemTypes/AppAnnotationFeedItem/index.js.map +1 -1
  986. package/components/FeedItem/feedItemTypes/AppAnnotationFeedItem/styles.scss.js +2 -0
  987. package/components/FeedItem/feedItemTypes/BhaFeedItem/BhaFeedItem.js +1 -1
  988. package/components/FeedItem/feedItemTypes/BhaFeedItem/BhaFeedItem.js.map +1 -1
  989. package/components/FeedItem/feedItemTypes/BhaFeedItem/components/BhaNumber.d.ts.map +1 -1
  990. package/components/FeedItem/feedItemTypes/BhaFeedItem/components/BhaNumber.js +1 -1
  991. package/components/FeedItem/feedItemTypes/BhaFeedItem/components/BhaNumber.js.map +1 -1
  992. package/components/FeedItem/feedItemTypes/BhaFeedItem/components/Info.d.ts.map +1 -1
  993. package/components/FeedItem/feedItemTypes/BhaFeedItem/components/Info.js +1 -1
  994. package/components/FeedItem/feedItemTypes/BhaFeedItem/components/Info.js.map +1 -1
  995. package/components/FeedItem/feedItemTypes/BhaFeedItem/components/NoData.d.ts.map +1 -1
  996. package/components/FeedItem/feedItemTypes/BhaFeedItem/components/NoData.js +1 -1
  997. package/components/FeedItem/feedItemTypes/BhaFeedItem/components/NoData.js.map +1 -1
  998. package/components/FeedItem/feedItemTypes/BhaFeedItem/styles.scss.js +2 -0
  999. package/components/FeedItem/feedItemTypes/CompletionDailyCostFeedItem.d.ts.map +1 -1
  1000. package/components/FeedItem/feedItemTypes/CompletionDailyCostFeedItem.js +1 -1
  1001. package/components/FeedItem/feedItemTypes/CompletionDailyCostFeedItem.js.map +1 -1
  1002. package/components/FeedItem/feedItemTypes/CompletionDocumentFeedItem.d.ts.map +1 -1
  1003. package/components/FeedItem/feedItemTypes/CompletionDocumentFeedItem.js +1 -1
  1004. package/components/FeedItem/feedItemTypes/CompletionDocumentFeedItem.js.map +1 -1
  1005. package/components/FeedItem/feedItemTypes/CompletionNptFeedItem.d.ts.map +1 -1
  1006. package/components/FeedItem/feedItemTypes/CompletionNptFeedItem.js +1 -1
  1007. package/components/FeedItem/feedItemTypes/CompletionNptFeedItem.js.map +1 -1
  1008. package/components/FeedItem/feedItemTypes/CompletionOperationSummaryFeedItem.d.ts.map +1 -1
  1009. package/components/FeedItem/feedItemTypes/CompletionOperationSummaryFeedItem.js +1 -1
  1010. package/components/FeedItem/feedItemTypes/CompletionOperationSummaryFeedItem.js.map +1 -1
  1011. package/components/FeedItem/feedItemTypes/CompletionOperationalNoteFeedItem.d.ts.map +1 -1
  1012. package/components/FeedItem/feedItemTypes/CompletionOperationalNoteFeedItem.js +1 -1
  1013. package/components/FeedItem/feedItemTypes/CompletionOperationalNoteFeedItem.js.map +1 -1
  1014. package/components/FeedItem/feedItemTypes/DepthCommentFeedItem.d.ts.map +1 -1
  1015. package/components/FeedItem/feedItemTypes/DepthCommentFeedItem.js +1 -1
  1016. package/components/FeedItem/feedItemTypes/DepthCommentFeedItem.js.map +1 -1
  1017. package/components/FeedItem/feedItemTypes/DocumentFeedItem.d.ts +14 -1
  1018. package/components/FeedItem/feedItemTypes/DocumentFeedItem.d.ts.map +1 -1
  1019. package/components/FeedItem/feedItemTypes/DocumentFeedItem.js +1 -1
  1020. package/components/FeedItem/feedItemTypes/DocumentFeedItem.js.map +1 -1
  1021. package/components/FeedItem/feedItemTypes/DrillerMemoFeedItem.d.ts.map +1 -1
  1022. package/components/FeedItem/feedItemTypes/DrillerMemoFeedItem.js +1 -1
  1023. package/components/FeedItem/feedItemTypes/DrillerMemoFeedItem.js.map +1 -1
  1024. package/components/FeedItem/feedItemTypes/DrillingDailyCostFeedItem.d.ts.map +1 -1
  1025. package/components/FeedItem/feedItemTypes/DrillingDailyCostFeedItem.js +1 -1
  1026. package/components/FeedItem/feedItemTypes/DrillingDailyCostFeedItem.js.map +1 -1
  1027. package/components/FeedItem/feedItemTypes/DrillingOperationSummaryFeedItem.d.ts.map +1 -1
  1028. package/components/FeedItem/feedItemTypes/DrillingOperationSummaryFeedItem.js +1 -1
  1029. package/components/FeedItem/feedItemTypes/DrillingOperationSummaryFeedItem.js.map +1 -1
  1030. package/components/FeedItem/feedItemTypes/DrillingOperationalNoteFeedItem.d.ts.map +1 -1
  1031. package/components/FeedItem/feedItemTypes/DrillingOperationalNoteFeedItem.js +1 -1
  1032. package/components/FeedItem/feedItemTypes/DrillingOperationalNoteFeedItem.js.map +1 -1
  1033. package/components/FeedItem/feedItemTypes/DvDCommentFeedItem.d.ts.map +1 -1
  1034. package/components/FeedItem/feedItemTypes/DvDCommentFeedItem.js +1 -1
  1035. package/components/FeedItem/feedItemTypes/DvDCommentFeedItem.js.map +1 -1
  1036. package/components/FeedItem/feedItemTypes/FluidReportFeedItem.d.ts.map +1 -1
  1037. package/components/FeedItem/feedItemTypes/FluidReportFeedItem.js +1 -1
  1038. package/components/FeedItem/feedItemTypes/FluidReportFeedItem.js.map +1 -1
  1039. package/components/FeedItem/feedItemTypes/GenericDataCommentFeedItem.d.ts.map +1 -1
  1040. package/components/FeedItem/feedItemTypes/GenericDataCommentFeedItem.js +1 -1
  1041. package/components/FeedItem/feedItemTypes/GenericDataCommentFeedItem.js.map +1 -1
  1042. package/components/FeedItem/feedItemTypes/GeosteeringFeedItem.d.ts.map +1 -1
  1043. package/components/FeedItem/feedItemTypes/GeosteeringFeedItem.js +1 -1
  1044. package/components/FeedItem/feedItemTypes/GeosteeringFeedItem.js.map +1 -1
  1045. package/components/FeedItem/feedItemTypes/HookloadCommentFeedItem.d.ts.map +1 -1
  1046. package/components/FeedItem/feedItemTypes/HookloadCommentFeedItem.js +1 -1
  1047. package/components/FeedItem/feedItemTypes/HookloadCommentFeedItem.js.map +1 -1
  1048. package/components/FeedItem/feedItemTypes/LessonsLearnedFeedItem/index.d.ts.map +1 -1
  1049. package/components/FeedItem/feedItemTypes/LessonsLearnedFeedItem/index.js +1 -1
  1050. package/components/FeedItem/feedItemTypes/LessonsLearnedFeedItem/index.js.map +1 -1
  1051. package/components/FeedItem/feedItemTypes/NptFeedItem.d.ts.map +1 -1
  1052. package/components/FeedItem/feedItemTypes/NptFeedItem.js +1 -1
  1053. package/components/FeedItem/feedItemTypes/NptFeedItem.js.map +1 -1
  1054. package/components/FeedItem/feedItemTypes/NptLessonsCommentFeedItem.d.ts.map +1 -1
  1055. package/components/FeedItem/feedItemTypes/NptLessonsCommentFeedItem.js +1 -1
  1056. package/components/FeedItem/feedItemTypes/NptLessonsCommentFeedItem.js.map +1 -1
  1057. package/components/FeedItem/feedItemTypes/PCCommentFeedItem.d.ts.map +1 -1
  1058. package/components/FeedItem/feedItemTypes/PCCommentFeedItem.js +1 -1
  1059. package/components/FeedItem/feedItemTypes/PCCommentFeedItem.js.map +1 -1
  1060. package/components/FeedItem/feedItemTypes/PostFeedItem.d.ts.map +1 -1
  1061. package/components/FeedItem/feedItemTypes/PostFeedItem.js +1 -1
  1062. package/components/FeedItem/feedItemTypes/PostFeedItem.js.map +1 -1
  1063. package/components/FeedItem/feedItemTypes/SurveyStationFeedItem/components/AccuracyPlan.d.ts.map +1 -1
  1064. package/components/FeedItem/feedItemTypes/SurveyStationFeedItem/components/AccuracyPlan.js +1 -1
  1065. package/components/FeedItem/feedItemTypes/SurveyStationFeedItem/components/AccuracyPlan.js.map +1 -1
  1066. package/components/FeedItem/feedItemTypes/SurveyStationFeedItem/components/ActualPointInfo.d.ts.map +1 -1
  1067. package/components/FeedItem/feedItemTypes/SurveyStationFeedItem/components/ActualPointInfo.js +1 -1
  1068. package/components/FeedItem/feedItemTypes/SurveyStationFeedItem/components/ActualPointInfo.js.map +1 -1
  1069. package/components/FeedItem/feedItemTypes/SurveyStationFeedItem/components/Warning.d.ts.map +1 -1
  1070. package/components/FeedItem/feedItemTypes/SurveyStationFeedItem/components/Warning.js +1 -1
  1071. package/components/FeedItem/feedItemTypes/SurveyStationFeedItem/components/Warning.js.map +1 -1
  1072. package/components/FeedItem/feedItemTypes/SurveyStationFeedItem/index.d.ts.map +1 -1
  1073. package/components/FeedItem/feedItemTypes/SurveyStationFeedItem/index.js +1 -1
  1074. package/components/FeedItem/feedItemTypes/SurveyStationFeedItem/index.js.map +1 -1
  1075. package/components/FeedItem/feedItemTypes/TracesMemoFeedItem.d.ts.map +1 -1
  1076. package/components/FeedItem/feedItemTypes/TracesMemoFeedItem.js +1 -1
  1077. package/components/FeedItem/feedItemTypes/TracesMemoFeedItem.js.map +1 -1
  1078. package/components/FeedItem/feedItemTypes/WellPlanFeedItem/components/TargetChanges.d.ts.map +1 -1
  1079. package/components/FeedItem/feedItemTypes/WellPlanFeedItem/components/TargetChanges.js +1 -1
  1080. package/components/FeedItem/feedItemTypes/WellPlanFeedItem/components/TargetChanges.js.map +1 -1
  1081. package/components/FeedItem/feedItemTypes/WellPlanFeedItem/components/VerticalSectionAzimuth.d.ts.map +1 -1
  1082. package/components/FeedItem/feedItemTypes/WellPlanFeedItem/components/VerticalSectionAzimuth.js +1 -1
  1083. package/components/FeedItem/feedItemTypes/WellPlanFeedItem/components/VerticalSectionAzimuth.js.map +1 -1
  1084. package/components/FeedItem/feedItemTypes/WellPlanFeedItem/index.js +1 -1
  1085. package/components/FeedItem/feedItemTypes/WellPlanFeedItem/index.js.map +1 -1
  1086. package/components/FeedItem/feedItemTypes/WellPlanFeedItem/styles.scss.js +2 -0
  1087. package/components/FeedItem/feedItemTypes/components/ContextRow.d.ts +79 -0
  1088. package/components/FeedItem/feedItemTypes/components/ContextRow.d.ts.map +1 -0
  1089. package/components/FeedItem/feedItemTypes/components/ContextRow.js +2 -0
  1090. package/components/FeedItem/feedItemTypes/components/ContextRow.js.map +1 -0
  1091. package/components/FeedItem/feedItemTypes/components/FeedAttachment.d.ts +22 -0
  1092. package/components/FeedItem/feedItemTypes/components/FeedAttachment.d.ts.map +1 -0
  1093. package/components/FeedItem/feedItemTypes/components/FeedAttachment.js +2 -0
  1094. package/components/FeedItem/feedItemTypes/components/FeedAttachment.js.map +1 -0
  1095. package/components/FilesDropzone/FilesDropzone.js +1 -1
  1096. package/components/FilesDropzone/FilesDropzone.js.map +1 -1
  1097. package/components/FilesLoader/FilesLoader.js +1 -1
  1098. package/components/FilesLoader/FilesLoader.js.map +1 -1
  1099. package/components/FilesLoaderV2/FilesLoaderV2.js +1 -1
  1100. package/components/FilesLoaderV2/FilesLoaderV2.js.map +1 -1
  1101. package/components/Formula/CloseSuggestion.js +1 -1
  1102. package/components/Formula/CloseSuggestion.js.map +1 -1
  1103. package/components/Formula/Formula.js +1 -1
  1104. package/components/Formula/Formula.js.map +1 -1
  1105. package/components/GradientManager/GradientManager.js +1 -1
  1106. package/components/GradientManager/GradientManager.js.map +1 -1
  1107. package/components/GradientManager/GradientSelect.js +1 -1
  1108. package/components/GradientManager/GradientSelect.js.map +1 -1
  1109. package/components/GradientPicker/GradientPicker.js +1 -1
  1110. package/components/GradientPicker/GradientPicker.js.map +1 -1
  1111. package/components/HelpCenter/HelpCenterIcon.js +1 -1
  1112. package/components/HelpCenter/HelpCenterIcon.js.map +1 -1
  1113. package/components/Hint/Hint.js +1 -1
  1114. package/components/Hint/Hint.js.map +1 -1
  1115. package/components/Modal/CorvaModal.js +1 -1
  1116. package/components/Modal/CorvaModal.js.map +1 -1
  1117. package/components/Modal/Modal.js +1 -1
  1118. package/components/Modal/Modal.js.map +1 -1
  1119. package/components/Notifications/Toast.js +1 -1
  1120. package/components/Notifications/Toast.js.map +1 -1
  1121. package/components/OffsetWellMap/OffsetWellMap.d.ts.map +1 -1
  1122. package/components/OffsetWellMap/OffsetWellMap.js +1 -1
  1123. package/components/OffsetWellMap/OffsetWellMap.js.map +1 -1
  1124. package/components/OffsetWellPickerV2/OffsetWellPickerDialog.js +1 -1
  1125. package/components/OffsetWellPickerV2/OffsetWellPickerDialog.js.map +1 -1
  1126. package/components/OffsetWellPickerV2/components/Filter/ToggleMapButton.js +1 -1
  1127. package/components/OffsetWellPickerV2/components/Filter/ToggleMapButton.js.map +1 -1
  1128. package/components/OffsetWellPickerV2/components/Map/Map.d.ts.map +1 -1
  1129. package/components/OffsetWellPickerV2/components/Map/Map.js +1 -1
  1130. package/components/OffsetWellPickerV2/components/Map/Map.js.map +1 -1
  1131. package/components/OffsetWellPickerV2/components/Table/MetricsAddMenu.js +1 -1
  1132. package/components/OffsetWellPickerV2/components/Table/MetricsAddMenu.js.map +1 -1
  1133. package/components/OffsetWellPickerV2/effects/index.d.ts.map +1 -1
  1134. package/components/OffsetWellPickerV2/effects/index.js +1 -1
  1135. package/components/OffsetWellPickerV2/effects/index.js.map +1 -1
  1136. package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Map/Map.d.ts.map +1 -1
  1137. package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Map/Map.js +1 -1
  1138. package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Map/Map.js.map +1 -1
  1139. package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/MetricsAddMenu.js +1 -1
  1140. package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/MetricsAddMenu.js.map +1 -1
  1141. package/components/OffsetWellPickerV3/components/CustomSelectionView/effects/index.d.ts.map +1 -1
  1142. package/components/OffsetWellPickerV3/components/CustomSelectionView/effects/index.js +1 -1
  1143. package/components/OffsetWellPickerV3/components/CustomSelectionView/effects/index.js.map +1 -1
  1144. package/components/OffsetWellPickerV3/components/CustomSelectionView/index.js +1 -1
  1145. package/components/OffsetWellPickerV3/components/CustomSelectionView/index.js.map +1 -1
  1146. package/components/OffsetWellPickerV3/components/OffsetWellSelectionView/index.js +1 -1
  1147. package/components/OffsetWellPickerV3/components/OffsetWellSelectionView/index.js.map +1 -1
  1148. package/components/OffsetWellPickerV3/components/TabSelection/ToggleMapButton.js +1 -1
  1149. package/components/OffsetWellPickerV3/components/TabSelection/ToggleMapButton.js.map +1 -1
  1150. package/components/OffsetWellPickerV3/components/TabSelection/index.js +1 -1
  1151. package/components/OffsetWellPickerV3/components/TabSelection/index.js.map +1 -1
  1152. package/components/OffsetWellPickerV3/components/WellHubView/index.js +1 -1
  1153. package/components/OffsetWellPickerV3/components/WellHubView/index.js.map +1 -1
  1154. package/components/OffsetWellPickerV3/components/shared/OffsetWellTableHead.js +1 -1
  1155. package/components/OffsetWellPickerV3/components/shared/OffsetWellTableHead.js.map +1 -1
  1156. package/components/OffsetWellPickerV4/effects/useAdvancedWells.d.ts.map +1 -1
  1157. package/components/OffsetWellPickerV4/utils/index.d.ts.map +1 -1
  1158. package/components/OffsetWellPickerV5/components/AppHeader/components/HeaderActions/HeaderActions.js +1 -1
  1159. package/components/OffsetWellPickerV5/components/AppHeader/components/HeaderActions/HeaderActions.js.map +1 -1
  1160. package/components/OffsetWellPickerV5/components/AppHeader/components/LoadAllWellsToggle/LoadAllWellsToggle.js +1 -1
  1161. package/components/OffsetWellPickerV5/components/AppHeader/components/LoadAllWellsToggle/LoadAllWellsToggle.js.map +1 -1
  1162. package/components/OffsetWellPickerV5/components/CustomInfoIcon/CustomInfoIcon.js +1 -1
  1163. package/components/OffsetWellPickerV5/components/CustomInfoIcon/CustomInfoIcon.js.map +1 -1
  1164. package/components/OffsetWellPickerV5/components/Filter/Filter.js +1 -1
  1165. package/components/OffsetWellPickerV5/components/Filter/Filter.js.map +1 -1
  1166. package/components/OffsetWellPickerV5/components/Filter/components/CustomDateFields/CustomDateFields.js +1 -1
  1167. package/components/OffsetWellPickerV5/components/Filter/components/CustomDateFields/CustomDateFields.js.map +1 -1
  1168. package/components/OffsetWellPickerV5/components/Filter/components/PeriodFilterSelect/PeriodFilterSelect.js +1 -1
  1169. package/components/OffsetWellPickerV5/components/Filter/components/PeriodFilterSelect/PeriodFilterSelect.js.map +1 -1
  1170. package/components/OffsetWellPickerV5/components/Filter/components/SingleFilterSelect/SingleFilterSelect.js +1 -1
  1171. package/components/OffsetWellPickerV5/components/Filter/components/SingleFilterSelect/SingleFilterSelect.js.map +1 -1
  1172. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/ClusterTooltip/ClusterTooltip.js +1 -1
  1173. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/ClusterTooltip/ClusterTooltip.js.map +1 -1
  1174. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/LayerSwitcher/LayerSwitcher.js +1 -1
  1175. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/LayerSwitcher/LayerSwitcher.js.map +1 -1
  1176. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapControls/MapControls.js +1 -1
  1177. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapControls/MapControls.js.map +1 -1
  1178. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapHints/MapHintsStash.js +1 -1
  1179. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapHints/MapHintsStash.js.map +1 -1
  1180. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/SelectionToast/SelectionToast.js +1 -1
  1181. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/SelectionToast/SelectionToast.js.map +1 -1
  1182. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/SubjectWellMarker/SubjectWellMarker.js +1 -1
  1183. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/SubjectWellMarker/SubjectWellMarker.js.map +1 -1
  1184. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/WellTooltip/WellTooltip.js +1 -1
  1185. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/WellTooltip/WellTooltip.js.map +1 -1
  1186. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useMapTooltipState.js +1 -1
  1187. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useMapTooltipState.js.map +1 -1
  1188. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useSelectionToolOrchestration.js +1 -1
  1189. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useSelectionToolOrchestration.js.map +1 -1
  1190. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/utils/well-markers-utils.d.ts.map +1 -1
  1191. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/utils/well-markers-utils.js +1 -1
  1192. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/utils/well-markers-utils.js.map +1 -1
  1193. package/components/OffsetWellPickerV5/components/OffsetWellPickerContent/OffsetWellPickerContent.js +1 -1
  1194. package/components/OffsetWellPickerV5/components/OffsetWellPickerContent/OffsetWellPickerContent.js.map +1 -1
  1195. package/components/OffsetWellPickerV5/components/OffsetWellPickerV5WithStore/components/CompanySafeguardWrapper/CompanySafeguardWrapper.js +1 -1
  1196. package/components/OffsetWellPickerV5/components/OffsetWellPickerV5WithStore/components/CompanySafeguardWrapper/CompanySafeguardWrapper.js.map +1 -1
  1197. package/components/OffsetWellPickerV5/components/OffsetWellPickerV5WithStore/components/UserSettingsWrapper/UserSettingsWrapper.js +1 -1
  1198. package/components/OffsetWellPickerV5/components/OffsetWellPickerV5WithStore/components/UserSettingsWrapper/UserSettingsWrapper.js.map +1 -1
  1199. package/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/AdvancedSearch.js +1 -1
  1200. package/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/AdvancedSearch.js.map +1 -1
  1201. package/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/components/AssetResultSection/AssetResultSection.js +1 -1
  1202. package/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/components/AssetResultSection/AssetResultSection.js.map +1 -1
  1203. package/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/components/AutoCompleteAssetSearch/AutoCompleteAssetSearch.js +1 -1
  1204. package/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/components/AutoCompleteAssetSearch/AutoCompleteAssetSearch.js.map +1 -1
  1205. package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/CompanyCell/CompanyCell.js +1 -1
  1206. package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/CompanyCell/CompanyCell.js.map +1 -1
  1207. package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/DateCell/DateCell.d.ts +12 -0
  1208. package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/DateCell/DateCell.d.ts.map +1 -0
  1209. package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/DateCell/DateCell.js +2 -0
  1210. package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/DateCell/DateCell.js.map +1 -0
  1211. package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/DateCell/index.d.ts +2 -0
  1212. package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/{LastActiveCell → DateCell}/index.d.ts.map +1 -1
  1213. package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/FormationCell/FormationCell.js +1 -1
  1214. package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/FormationCell/FormationCell.js.map +1 -1
  1215. package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/InterventionAssetCell/InterventionAssetCell.js +1 -1
  1216. package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/InterventionAssetCell/InterventionAssetCell.js.map +1 -1
  1217. package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/PadNameCell/PadNameCell.js +1 -1
  1218. package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/PadNameCell/PadNameCell.js.map +1 -1
  1219. package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/RigCell/RigCell.js +1 -1
  1220. package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/RigCell/RigCell.js.map +1 -1
  1221. package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/WellNameCell/WellNameCell.js +1 -1
  1222. package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/WellNameCell/WellNameCell.js.map +1 -1
  1223. package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/index.d.ts +1 -1
  1224. package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/index.d.ts.map +1 -1
  1225. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/OffsetWellsTableHead/OffsetWellsTableHead.d.ts.map +1 -1
  1226. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/OffsetWellsTableHead/OffsetWellsTableHead.js +1 -1
  1227. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/OffsetWellsTableHead/OffsetWellsTableHead.js.map +1 -1
  1228. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/OffsetWellsTableRow/OffsetWellsTableRow.d.ts.map +1 -1
  1229. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/OffsetWellsTableRow/OffsetWellsTableRow.js +1 -1
  1230. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/OffsetWellsTableRow/OffsetWellsTableRow.js.map +1 -1
  1231. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/SettingsMenu.js +1 -1
  1232. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/SettingsMenu.js.map +1 -1
  1233. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/MetricsSettingsSection/MetricsSettingsSection.js +1 -1
  1234. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/MetricsSettingsSection/MetricsSettingsSection.js.map +1 -1
  1235. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/SettingsAccordion/SettingsAccordion.js +1 -1
  1236. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/SettingsAccordion/SettingsAccordion.js.map +1 -1
  1237. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/TableSettingsSection/TableSettingsSection.js +1 -1
  1238. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/TableSettingsSection/TableSettingsSection.js.map +1 -1
  1239. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SkeletonTableRow/SkeletonTableRow.d.ts.map +1 -1
  1240. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SkeletonTableRow/SkeletonTableRow.js +1 -1
  1241. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SkeletonTableRow/SkeletonTableRow.js.map +1 -1
  1242. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/WellNameHeaderCell/WellNameHeaderCell.js +1 -1
  1243. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/WellNameHeaderCell/WellNameHeaderCell.js.map +1 -1
  1244. package/components/OffsetWellPickerV5/components/OffsetWellsTable/hooks/useTableColumns.d.ts.map +1 -1
  1245. package/components/OffsetWellPickerV5/components/OffsetWellsTable/hooks/useTableColumns.js +1 -1
  1246. package/components/OffsetWellPickerV5/components/OffsetWellsTable/hooks/useTableColumns.js.map +1 -1
  1247. package/components/OffsetWellPickerV5/components/OffsetWellsTable/useRowInteractions.d.ts +2 -1
  1248. package/components/OffsetWellPickerV5/components/OffsetWellsTable/useRowInteractions.d.ts.map +1 -1
  1249. package/components/OffsetWellPickerV5/components/OffsetWellsTable/useRowInteractions.js +1 -1
  1250. package/components/OffsetWellPickerV5/components/OffsetWellsTable/useRowInteractions.js.map +1 -1
  1251. package/components/OffsetWellPickerV5/components/PickerModalActions/PickerModalActions.js +1 -1
  1252. package/components/OffsetWellPickerV5/components/PickerModalActions/PickerModalActions.js.map +1 -1
  1253. package/components/OffsetWellPickerV5/constants.d.ts +10 -3
  1254. package/components/OffsetWellPickerV5/constants.d.ts.map +1 -1
  1255. package/components/OffsetWellPickerV5/constants.js +1 -1
  1256. package/components/OffsetWellPickerV5/constants.js.map +1 -1
  1257. package/components/OffsetWellPickerV5/hooks/use-well-data-pipeline/useWellDataPipeline.d.ts.map +1 -1
  1258. package/components/OffsetWellPickerV5/hooks/use-well-data-pipeline/useWellDataPipeline.js +1 -1
  1259. package/components/OffsetWellPickerV5/hooks/use-well-data-pipeline/useWellDataPipeline.js.map +1 -1
  1260. package/components/OffsetWellPickerV5/hooks/use-well-data-pipeline/wellTransformations.d.ts.map +1 -1
  1261. package/components/OffsetWellPickerV5/hooks/use-well-data-pipeline/wellTransformations.js +1 -1
  1262. package/components/OffsetWellPickerV5/hooks/use-well-data-pipeline/wellTransformations.js.map +1 -1
  1263. package/components/OffsetWellPickerV5/hooks/useIsAdmin.js +1 -1
  1264. package/components/OffsetWellPickerV5/hooks/useIsAdmin.js.map +1 -1
  1265. package/components/OffsetWellPickerV5/hooks/useSortedWells.d.ts +1 -4
  1266. package/components/OffsetWellPickerV5/hooks/useSortedWells.d.ts.map +1 -1
  1267. package/components/OffsetWellPickerV5/hooks/useSortedWells.js +1 -1
  1268. package/components/OffsetWellPickerV5/hooks/useSortedWells.js.map +1 -1
  1269. package/components/OffsetWellPickerV5/utils/__tests__/sortWellsBy.test.d.ts +2 -0
  1270. package/components/OffsetWellPickerV5/utils/__tests__/sortWellsBy.test.d.ts.map +1 -0
  1271. package/components/OffsetWellPickerV5/utils/doesWellPassFilters.d.ts +0 -1
  1272. package/components/OffsetWellPickerV5/utils/doesWellPassFilters.d.ts.map +1 -1
  1273. package/components/OffsetWellPickerV5/utils/doesWellPassFilters.js +1 -1
  1274. package/components/OffsetWellPickerV5/utils/doesWellPassFilters.js.map +1 -1
  1275. package/components/OffsetWellPickerV5/utils/getCoordinatedWells.d.ts.map +1 -1
  1276. package/components/OffsetWellPickerV5/utils/getCoordinatedWells.js +1 -1
  1277. package/components/OffsetWellPickerV5/utils/getCoordinatedWells.js.map +1 -1
  1278. package/components/OffsetWellPickerV5/utils/sortWellsBy.d.ts +22 -0
  1279. package/components/OffsetWellPickerV5/utils/sortWellsBy.d.ts.map +1 -0
  1280. package/components/OffsetWellPickerV5/utils/sortWellsBy.js +2 -0
  1281. package/components/OffsetWellPickerV5/utils/sortWellsBy.js.map +1 -0
  1282. package/components/PadModeSelect/FracModeLabel.js +1 -1
  1283. package/components/PadModeSelect/FracModeLabel.js.map +1 -1
  1284. package/components/PadModeSelect/PadModeSelect.js +1 -1
  1285. package/components/PadModeSelect/PadModeSelect.js.map +1 -1
  1286. package/components/PadOffsetsPicker/StagesSelector.js +1 -1
  1287. package/components/PadOffsetsPicker/StagesSelector.js.map +1 -1
  1288. package/components/PadOffsetsPickerV2/PadOffsetsPickerV2.js +1 -1
  1289. package/components/PadOffsetsPickerV2/PadOffsetsPickerV2.js.map +1 -1
  1290. package/components/ParameterCharts/components/TraceHeader.js +1 -1
  1291. package/components/ParameterCharts/components/TraceHeader.js.map +1 -1
  1292. package/components/PinnableFilters/components/FiltersToggler.js +1 -1
  1293. package/components/PinnableFilters/components/FiltersToggler.js.map +1 -1
  1294. package/components/Popover/Popover.js +1 -1
  1295. package/components/Popover/Popover.js.map +1 -1
  1296. package/components/Popper/Popper.js +1 -1
  1297. package/components/Popper/Popper.js.map +1 -1
  1298. package/components/RealTimeValuesSidebar/RealTimeValuesBox/RealTimeBoxEditDialog.js +1 -1
  1299. package/components/RealTimeValuesSidebar/RealTimeValuesBox/RealTimeBoxEditDialog.js.map +1 -1
  1300. package/components/RealTimeValuesSidebar/SidebarFooter.js +1 -1
  1301. package/components/RealTimeValuesSidebar/SidebarFooter.js.map +1 -1
  1302. package/components/Search/Search.js +1 -1
  1303. package/components/Search/Search.js.map +1 -1
  1304. package/components/Select/SelectFilterBy.js +1 -1
  1305. package/components/Select/SelectFilterBy.js.map +1 -1
  1306. package/components/SettingEditors/ColorEditor/index.js +1 -1
  1307. package/components/SettingEditors/ColorEditor/index.js.map +1 -1
  1308. package/components/Stepper/Step/Step.js +1 -1
  1309. package/components/Stepper/Step/Step.js.map +1 -1
  1310. package/components/Table/TableCell/TableCell.js +1 -1
  1311. package/components/Table/TableCell/TableCell.js.map +1 -1
  1312. package/components/Table/TablePaginationActions/TablePaginationActions.js +1 -1
  1313. package/components/Table/TablePaginationActions/TablePaginationActions.js.map +1 -1
  1314. package/components/Table/TableSortLabel/TableSortLabel.js +1 -1
  1315. package/components/Table/TableSortLabel/TableSortLabel.js.map +1 -1
  1316. package/components/Template/TemplateSharingDialog/ChipSelector.d.ts +2 -30
  1317. package/components/Template/TemplateSharingDialog/ChipSelector.js +1 -1
  1318. package/components/Template/TemplateSharingDialog/ChipSelector.js.map +1 -1
  1319. package/components/Template/TemplateSharingDialog/__tests__/ChipSelector.test.d.ts +2 -0
  1320. package/components/Template/TemplateSharingDialog/__tests__/ChipSelector.test.d.ts.map +1 -0
  1321. package/components/Toaster/Toaster.js +1 -1
  1322. package/components/Toaster/Toaster.js.map +1 -1
  1323. package/components/Tooltip/Tooltip.js +1 -1
  1324. package/components/Tooltip/Tooltip.js.map +1 -1
  1325. package/components/UserMention/index.js +1 -1
  1326. package/components/UserMention/index.js.map +1 -1
  1327. package/components/__tests__/ConfirmationDialog.test.d.ts +2 -0
  1328. package/components/__tests__/ConfirmationDialog.test.d.ts.map +1 -0
  1329. package/components/__tests__/EmojiIconButton.test.d.ts +2 -0
  1330. package/components/__tests__/EmojiIconButton.test.d.ts.map +1 -0
  1331. package/components/index.js +1 -1
  1332. package/componentsV2/Accordion/Accordion.js +1 -1
  1333. package/componentsV2/Accordion/Accordion.js.map +1 -1
  1334. package/componentsV2/AppContainer/AppContainer.constants.scss.js +2 -0
  1335. package/{components/DevCenter/DevCenterAppContainer/components/AppInfoMessage/AppInfoMessage.css.js.map → componentsV2/AppContainer/AppContainer.constants.scss.js.map} +1 -1
  1336. package/componentsV2/AppContainer/AppContainer.d.ts +5 -0
  1337. package/componentsV2/AppContainer/AppContainer.d.ts.map +1 -1
  1338. package/componentsV2/AppContainer/AppContainer.js +1 -1
  1339. package/componentsV2/AppContainer/AppContainer.js.map +1 -1
  1340. package/componentsV2/AppContainer/AppContainer.scss.js +1 -1
  1341. package/componentsV2/AppContainer/AppContainer.stories.d.ts.map +1 -1
  1342. package/componentsV2/AppContainer/Content.d.ts +0 -4
  1343. package/componentsV2/AppContainer/Content.d.ts.map +1 -1
  1344. package/componentsV2/AppContainer/Content.js +1 -1
  1345. package/componentsV2/AppContainer/Content.js.map +1 -1
  1346. package/componentsV2/AppDqPopover/DqAlertTooltip/DqAlertTooltip.js +1 -1
  1347. package/componentsV2/AppDqPopover/DqAlertTooltip/DqAlertTooltip.js.map +1 -1
  1348. package/componentsV2/AppDqPopover/DqAsset/DqAsset.js +1 -1
  1349. package/componentsV2/AppDqPopover/DqAsset/DqAsset.js.map +1 -1
  1350. package/componentsV2/AppFooter/AppFooter.stories.d.ts.map +1 -1
  1351. package/componentsV2/AppFooter/DqPopover/DqPopover.js +1 -1
  1352. package/componentsV2/AppFooter/DqPopover/DqPopover.js.map +1 -1
  1353. package/componentsV2/AppFooter/DqPopover/DqStatusIcon/DqStatusIcon.js +1 -1
  1354. package/componentsV2/AppFooter/DqPopover/DqStatusIcon/DqStatusIcon.js.map +1 -1
  1355. package/componentsV2/AppFooter/Warning.js +1 -1
  1356. package/componentsV2/AppFooter/Warning.js.map +1 -1
  1357. package/componentsV2/AppHeader/AppAssets/utils.js +1 -1
  1358. package/componentsV2/AppHeader/AppAssets/utils.js.map +1 -1
  1359. package/componentsV2/AppHeader/AppHeader.stories.d.ts.map +1 -1
  1360. package/componentsV2/AppHeader/V3/Actions/Actions.d.ts +1 -3
  1361. package/componentsV2/AppHeader/V3/Actions/Actions.d.ts.map +1 -1
  1362. package/componentsV2/AppHeader/V3/Actions/Actions.js +1 -1
  1363. package/componentsV2/AppHeader/V3/Actions/Actions.js.map +1 -1
  1364. package/componentsV2/AppHeader/V3/Actions/Actions.scss.js +1 -1
  1365. package/componentsV2/AppHeader/V3/AppHeaderV3.d.ts +1 -1
  1366. package/componentsV2/AppHeader/V3/AppHeaderV3.d.ts.map +1 -1
  1367. package/componentsV2/AppHeader/V3/AppHeaderV3.js +1 -1
  1368. package/componentsV2/AppHeader/V3/AppHeaderV3.js.map +1 -1
  1369. package/componentsV2/AppHeader/V3/AppHeaderV3.stories.d.ts.map +1 -1
  1370. package/componentsV2/AppHeader/V3/AppTitle/AppTitle.js +1 -1
  1371. package/componentsV2/AppHeader/V3/AppTitle/AppTitle.js.map +1 -1
  1372. package/componentsV2/AppHeader/V3/AssetSelector/AssetSelector.js +1 -1
  1373. package/componentsV2/AppHeader/V3/AssetSelector/AssetSelector.js.map +1 -1
  1374. package/componentsV2/AppHeader/V3/AssetSelector/AssetSelectorChip/AssetSelectorChip.js +1 -1
  1375. package/componentsV2/AppHeader/V3/AssetSelector/AssetSelectorChip/AssetSelectorChip.js.map +1 -1
  1376. package/componentsV2/AppHeader/V3/AssetSelector/AssetSelectorSelect/AssetSelectorContent.js +1 -1
  1377. package/componentsV2/AppHeader/V3/AssetSelector/AssetSelectorSelect/AssetSelectorContent.js.map +1 -1
  1378. package/componentsV2/AppHeader/V3/AssetSelector/constants.js +1 -1
  1379. package/componentsV2/AppHeader/V3/AssetSelector/constants.js.map +1 -1
  1380. package/componentsV2/AppHeader/V3/DqStatusIcon/DqStatusIcon.js +1 -1
  1381. package/componentsV2/AppHeader/V3/DqStatusIcon/DqStatusIcon.js.map +1 -1
  1382. package/componentsV2/AppHeader/V3/SettingsButton/SettingsButton.d.ts +1 -2
  1383. package/componentsV2/AppHeader/V3/SettingsButton/SettingsButton.d.ts.map +1 -1
  1384. package/componentsV2/AppHeader/V3/SettingsButton/SettingsButton.js +1 -1
  1385. package/componentsV2/AppHeader/V3/SettingsButton/SettingsButton.js.map +1 -1
  1386. package/componentsV2/AppHeader/V3/VersionSelect/VersionSelect.js +1 -1
  1387. package/componentsV2/AppHeader/V3/VersionSelect/VersionSelect.js.map +1 -1
  1388. package/componentsV2/AppPanel/AppPanel.d.ts +16 -0
  1389. package/componentsV2/AppPanel/AppPanel.d.ts.map +1 -0
  1390. package/componentsV2/AppPanel/AppPanel.js +2 -0
  1391. package/componentsV2/AppPanel/AppPanel.js.map +1 -0
  1392. package/componentsV2/AppPanel/AppPanelDisplay.d.ts +7 -0
  1393. package/componentsV2/AppPanel/AppPanelDisplay.d.ts.map +1 -0
  1394. package/componentsV2/AppPanel/AppPanelDisplay.js +2 -0
  1395. package/componentsV2/AppPanel/AppPanelDisplay.js.map +1 -0
  1396. package/componentsV2/AppPanel/AppPanelDisplay.scss.js +2 -0
  1397. package/componentsV2/AppPanel/AppPanelDisplay.scss.js.map +1 -0
  1398. package/componentsV2/AppPanel/AppPanelIdContext.d.ts +7 -0
  1399. package/componentsV2/AppPanel/AppPanelIdContext.d.ts.map +1 -0
  1400. package/componentsV2/AppPanel/AppPanelIdContext.js +2 -0
  1401. package/componentsV2/AppPanel/AppPanelIdContext.js.map +1 -0
  1402. package/componentsV2/AppPanel/AppPanels.stories.d.ts +15 -0
  1403. package/componentsV2/AppPanel/AppPanels.stories.d.ts.map +1 -0
  1404. package/componentsV2/AppPanel/AppPanelsContext.d.ts +61 -0
  1405. package/componentsV2/AppPanel/AppPanelsContext.d.ts.map +1 -0
  1406. package/componentsV2/AppPanel/AppPanelsContext.js +2 -0
  1407. package/componentsV2/AppPanel/AppPanelsContext.js.map +1 -0
  1408. package/componentsV2/AppPanel/Header/Header.d.ts +9 -0
  1409. package/componentsV2/AppPanel/Header/Header.d.ts.map +1 -0
  1410. package/componentsV2/AppPanel/Header/Header.js +2 -0
  1411. package/componentsV2/AppPanel/Header/Header.js.map +1 -0
  1412. package/componentsV2/AppPanel/Header/index.d.ts +2 -0
  1413. package/componentsV2/AppPanel/Header/index.d.ts.map +1 -0
  1414. package/componentsV2/AppPanel/index.d.ts +3 -0
  1415. package/componentsV2/AppPanel/index.d.ts.map +1 -0
  1416. package/componentsV2/AppPanel/utils.d.ts +53 -0
  1417. package/componentsV2/AppPanel/utils.d.ts.map +1 -0
  1418. package/componentsV2/AppPanel/utils.js +2 -0
  1419. package/componentsV2/AppPanel/utils.js.map +1 -0
  1420. package/componentsV2/AppSettings/AppSettings.d.ts +1 -6
  1421. package/componentsV2/AppSettings/AppSettings.d.ts.map +1 -1
  1422. package/componentsV2/AppSettings/AppSettings.js +1 -1
  1423. package/componentsV2/AppSettings/AppSettings.js.map +1 -1
  1424. package/componentsV2/AppSettings/AppSettings.scss.js +1 -1
  1425. package/componentsV2/AppSettings/index.d.ts +0 -1
  1426. package/componentsV2/AppSettings/index.d.ts.map +1 -1
  1427. package/componentsV2/AppSettingsDivider/AppSettingsDivider.d.ts.map +1 -1
  1428. package/componentsV2/AppSettingsDivider/AppSettingsDivider.js +1 -1
  1429. package/componentsV2/AppSettingsDivider/AppSettingsDivider.js.map +1 -1
  1430. package/componentsV2/AppSettingsDivider/AppSettingsDivider.scss.js +1 -1
  1431. package/componentsV2/Autocomplete/Autocomplete.d.ts.map +1 -1
  1432. package/componentsV2/Autocomplete/Autocomplete.js +1 -1
  1433. package/componentsV2/Autocomplete/Autocomplete.js.map +1 -1
  1434. package/componentsV2/Autocomplete/Autocomplete.stories.d.ts.map +1 -1
  1435. package/componentsV2/Autocomplete/AutocompleteNext.stories.d.ts.map +1 -1
  1436. package/componentsV2/Breadcrumbs/Breadcrumbs.js +1 -1
  1437. package/componentsV2/Breadcrumbs/Breadcrumbs.js.map +1 -1
  1438. package/componentsV2/ButtonLive/ButtonLive.js +1 -1
  1439. package/componentsV2/ButtonLive/ButtonLive.js.map +1 -1
  1440. package/componentsV2/ButtonLive/ButtonLive.stories.d.ts.map +1 -1
  1441. package/componentsV2/ChartAxisExtreme/ChartAxisExtreme.js +1 -1
  1442. package/componentsV2/ChartAxisExtreme/ChartAxisExtreme.js.map +1 -1
  1443. package/componentsV2/ChartAxisExtreme/ChartAxisExtreme.stories.d.ts.map +1 -1
  1444. package/componentsV2/ChartAxisExtreme/ChartAxisExtremeDragTracker.js +1 -1
  1445. package/componentsV2/ChartAxisExtreme/ChartAxisExtremeDragTracker.js.map +1 -1
  1446. package/componentsV2/Chip/Chip.js +1 -1
  1447. package/componentsV2/Chip/Chip.js.map +1 -1
  1448. package/componentsV2/ChipAlert/ChipAlert.stories.d.ts.map +1 -1
  1449. package/componentsV2/ColorPicker/ColorPicker.js +1 -1
  1450. package/componentsV2/ColorPicker/ColorPicker.js.map +1 -1
  1451. package/componentsV2/ColorPicker/Swatches/Swatches.js +1 -1
  1452. package/componentsV2/ColorPicker/Swatches/Swatches.js.map +1 -1
  1453. package/componentsV2/CompletionsOffsetWellPicker/AssetSearchInput/AssetSearchInput.js +1 -1
  1454. package/componentsV2/CompletionsOffsetWellPicker/AssetSearchInput/AssetSearchInput.js.map +1 -1
  1455. package/componentsV2/CompletionsOffsetWellPicker/CompletionsOffsetWellPicker.js +1 -1
  1456. package/componentsV2/CompletionsOffsetWellPicker/CompletionsOffsetWellPicker.js.map +1 -1
  1457. package/componentsV2/CompletionsOffsetWellPicker/CompletionsOffsetWellPicker.stories.d.ts.map +1 -1
  1458. package/componentsV2/CompletionsOffsetWellPicker/Map/Map.js +1 -1
  1459. package/componentsV2/CompletionsOffsetWellPicker/Map/Map.js.map +1 -1
  1460. package/componentsV2/CompletionsOffsetWellPicker/ModalTitle/ModalTitle.js +1 -1
  1461. package/componentsV2/CompletionsOffsetWellPicker/ModalTitle/ModalTitle.js.map +1 -1
  1462. package/componentsV2/CompletionsOffsetWellPicker/PadsTable/PadsTable.js +1 -1
  1463. package/componentsV2/CompletionsOffsetWellPicker/PadsTable/PadsTable.js.map +1 -1
  1464. package/componentsV2/CompletionsOffsetWellPicker/PadsTable/helpers/columns.js +1 -1
  1465. package/componentsV2/CompletionsOffsetWellPicker/PadsTable/helpers/columns.js.map +1 -1
  1466. package/componentsV2/CompletionsOffsetWellPicker/hooks/usePadsByRadius.d.ts.map +1 -1
  1467. package/componentsV2/CompletionsOffsetWellPicker/hooks/usePadsByRadius.js +1 -1
  1468. package/componentsV2/CompletionsOffsetWellPicker/hooks/usePadsByRadius.js.map +1 -1
  1469. package/componentsV2/CopyToClipboard/CopyToClipboard.js +1 -1
  1470. package/componentsV2/CopyToClipboard/CopyToClipboard.js.map +1 -1
  1471. package/componentsV2/Counter/Counter.js +1 -1
  1472. package/componentsV2/Counter/Counter.js.map +1 -1
  1473. package/componentsV2/DatePicker/CalendarControls/CalendarControls.d.ts.map +1 -1
  1474. package/componentsV2/DatePicker/CalendarControls/CalendarControls.js +1 -1
  1475. package/componentsV2/DatePicker/CalendarControls/CalendarControls.js.map +1 -1
  1476. package/componentsV2/DatePicker/CalendarControls/CalendarControls.scss.js +1 -1
  1477. package/componentsV2/DatePicker/CalendarGrid/CalendarGrid.js +1 -1
  1478. package/componentsV2/DatePicker/CalendarGrid/CalendarGrid.js.map +1 -1
  1479. package/componentsV2/DatePicker/CalendarGrid/CalendarGrid.scss.js +1 -1
  1480. package/componentsV2/DatePicker/DatePicker.d.ts +4 -1
  1481. package/componentsV2/DatePicker/DatePicker.d.ts.map +1 -1
  1482. package/componentsV2/DatePicker/DatePicker.js +1 -1
  1483. package/componentsV2/DatePicker/DatePicker.js.map +1 -1
  1484. package/componentsV2/DatePicker/DatePicker.scss.js +1 -1
  1485. package/componentsV2/DatePicker/DatePicker.stories.d.ts.map +1 -1
  1486. package/componentsV2/DatePicker/DatePickerNext.stories.d.ts.map +1 -1
  1487. package/componentsV2/DatePicker/Input/Input.d.ts +4 -2
  1488. package/componentsV2/DatePicker/Input/Input.d.ts.map +1 -1
  1489. package/componentsV2/DatePicker/Input/Input.js +1 -1
  1490. package/componentsV2/DatePicker/Input/Input.js.map +1 -1
  1491. package/componentsV2/DatePicker/Input/Input.scss.js +2 -0
  1492. package/componentsV2/DatePicker/Input/Input.scss.js.map +1 -0
  1493. package/componentsV2/DatePicker/TimePicker/TimePicker.d.ts +7 -5
  1494. package/componentsV2/DatePicker/TimePicker/TimePicker.d.ts.map +1 -1
  1495. package/componentsV2/DatePicker/TimePicker/TimePicker.js +1 -1
  1496. package/componentsV2/DatePicker/TimePicker/TimePicker.js.map +1 -1
  1497. package/componentsV2/DatePicker/TimePicker/TimePicker.scss.js +1 -1
  1498. package/componentsV2/DatePicker/utils.d.ts +10 -3
  1499. package/componentsV2/DatePicker/utils.d.ts.map +1 -1
  1500. package/componentsV2/DatePicker/utils.js +1 -1
  1501. package/componentsV2/DatePicker/utils.js.map +1 -1
  1502. package/componentsV2/DragHandle/DragHandle.js +1 -1
  1503. package/componentsV2/DragHandle/DragHandle.js.map +1 -1
  1504. package/componentsV2/EmptyState/EmptyState.stories.d.ts.map +1 -1
  1505. package/componentsV2/FilesDropzone/FilesDropzone.js +1 -1
  1506. package/componentsV2/FilesDropzone/FilesDropzone.js.map +1 -1
  1507. package/componentsV2/FilesLoader/FilesLoader.js +1 -1
  1508. package/componentsV2/FilesLoader/FilesLoader.js.map +1 -1
  1509. package/componentsV2/Grid/Grid.stories.d.ts.map +1 -1
  1510. package/componentsV2/Hint/Hint.js +1 -1
  1511. package/componentsV2/Hint/Hint.js.map +1 -1
  1512. package/componentsV2/ImageViewer/ImageViewer.js +1 -1
  1513. package/componentsV2/ImageViewer/ImageViewer.js.map +1 -1
  1514. package/componentsV2/InterventionEventSelector/InterventionEventSelector.js +1 -1
  1515. package/componentsV2/InterventionEventSelector/InterventionEventSelector.js.map +1 -1
  1516. package/componentsV2/Menu/Menu.stories.d.ts.map +1 -1
  1517. package/componentsV2/Modal/Modal.js +1 -1
  1518. package/componentsV2/Modal/Modal.js.map +1 -1
  1519. package/componentsV2/ModalWindow/ModalWindow.js +1 -1
  1520. package/componentsV2/ModalWindow/ModalWindow.js.map +1 -1
  1521. package/componentsV2/OffsetWellsButton/OffsetWellsButton.js +1 -1
  1522. package/componentsV2/OffsetWellsButton/OffsetWellsButton.js.map +1 -1
  1523. package/componentsV2/OffsetWellsButton/OffsetWellsButton.stories.d.ts.map +1 -1
  1524. package/componentsV2/OffsetWellsButton/useOffsetWellsIcon.js +1 -1
  1525. package/componentsV2/OffsetWellsButton/useOffsetWellsIcon.js.map +1 -1
  1526. package/componentsV2/PadModeSelect/FracModeLabel/FracModeLabel.js +1 -1
  1527. package/componentsV2/PadModeSelect/FracModeLabel/FracModeLabel.js.map +1 -1
  1528. package/componentsV2/PadModeSelect/PadModeSelect.js +1 -1
  1529. package/componentsV2/PadModeSelect/PadModeSelect.js.map +1 -1
  1530. package/componentsV2/Paper/Paper.d.ts +2 -1
  1531. package/componentsV2/Paper/Paper.d.ts.map +1 -1
  1532. package/componentsV2/Paper/Paper.js.map +1 -1
  1533. package/componentsV2/Popover/Popover.d.ts +10 -2
  1534. package/componentsV2/Popover/Popover.d.ts.map +1 -1
  1535. package/componentsV2/Popover/Popover.js +1 -1
  1536. package/componentsV2/Popover/Popover.js.map +1 -1
  1537. package/componentsV2/PopoverPanel/PopoverPanel.scss.js +1 -1
  1538. package/componentsV2/PopoverPanel/PopoverPanel.stories.d.ts.map +1 -1
  1539. package/componentsV2/PopoverPanel/PopoverPanelHeader/PopoverPanelHeader.d.ts +2 -1
  1540. package/componentsV2/PopoverPanel/PopoverPanelHeader/PopoverPanelHeader.d.ts.map +1 -1
  1541. package/componentsV2/PopoverPanel/PopoverPanelHeader/PopoverPanelHeader.js +1 -1
  1542. package/componentsV2/PopoverPanel/PopoverPanelHeader/PopoverPanelHeader.js.map +1 -1
  1543. package/componentsV2/Popper/Popper.d.ts +3 -2
  1544. package/componentsV2/Popper/Popper.d.ts.map +1 -1
  1545. package/componentsV2/Popper/Popper.js +1 -1
  1546. package/componentsV2/Popper/Popper.js.map +1 -1
  1547. package/componentsV2/Select/Select.stories.d.ts.map +1 -1
  1548. package/componentsV2/SliderAdvanced/Bar.js +1 -1
  1549. package/componentsV2/SliderAdvanced/Bar.js.map +1 -1
  1550. package/componentsV2/SliderAdvanced/HandleWrapper.js +1 -1
  1551. package/componentsV2/SliderAdvanced/HandleWrapper.js.map +1 -1
  1552. package/componentsV2/SliderAdvanced/SliderAdvanced.stories.d.ts.map +1 -1
  1553. package/componentsV2/Stepper/Step/Step.js +1 -1
  1554. package/componentsV2/Stepper/Step/Step.js.map +1 -1
  1555. package/componentsV2/TemplatesControl/FolderMenu/FolderMenu.js +1 -1
  1556. package/componentsV2/TemplatesControl/FolderMenu/FolderMenu.js.map +1 -1
  1557. package/componentsV2/TemplatesControl/MoveToFolderMenu/MoveToFolderMenu.js +1 -1
  1558. package/componentsV2/TemplatesControl/MoveToFolderMenu/MoveToFolderMenu.js.map +1 -1
  1559. package/componentsV2/TemplatesControl/Popover/Popover.d.ts.map +1 -1
  1560. package/componentsV2/TemplatesControl/Popover/Popover.js +1 -1
  1561. package/componentsV2/TemplatesControl/Popover/Popover.js.map +1 -1
  1562. package/componentsV2/TemplatesControl/PopoverFooter/PopoverFooter.js +1 -1
  1563. package/componentsV2/TemplatesControl/PopoverFooter/PopoverFooter.js.map +1 -1
  1564. package/componentsV2/TemplatesControl/PopoverSearch/PopoverSearch.js +1 -1
  1565. package/componentsV2/TemplatesControl/PopoverSearch/PopoverSearch.js.map +1 -1
  1566. package/componentsV2/TemplatesControl/PublishModal/PublishModal.js +1 -1
  1567. package/componentsV2/TemplatesControl/PublishModal/PublishModal.js.map +1 -1
  1568. package/componentsV2/TemplatesControl/ShareModal/ShareModal.js +1 -1
  1569. package/componentsV2/TemplatesControl/ShareModal/ShareModal.js.map +1 -1
  1570. package/componentsV2/TemplatesControl/TemplateMenu/IconMenu/IconMenu.js +1 -1
  1571. package/componentsV2/TemplatesControl/TemplateMenu/IconMenu/IconMenu.js.map +1 -1
  1572. package/componentsV2/TemplatesControl/TemplatesControl.stories.d.ts.map +1 -1
  1573. package/componentsV2/TemplatesControl/TemplatesTreeMenuHeader/TemplatesTreeMenuHeader.js +1 -1
  1574. package/componentsV2/TemplatesControl/TemplatesTreeMenuHeader/TemplatesTreeMenuHeader.js.map +1 -1
  1575. package/componentsV2/TemplatesControl/TemplatesTreeNodeItem/TemplatesTreeNodeItem.js +1 -1
  1576. package/componentsV2/TemplatesControl/TemplatesTreeNodeItem/TemplatesTreeNodeItem.js.map +1 -1
  1577. package/componentsV2/TemplatesControl/Toggle/Toggle.js +1 -1
  1578. package/componentsV2/TemplatesControl/Toggle/Toggle.js.map +1 -1
  1579. package/componentsV2/TemplatesControl/templateMenuItems/CopyTemplate.js +1 -1
  1580. package/componentsV2/TemplatesControl/templateMenuItems/CopyTemplate.js.map +1 -1
  1581. package/componentsV2/TemplatesControl/templateMenuItems/ExportTemplate.js +1 -1
  1582. package/componentsV2/TemplatesControl/templateMenuItems/ExportTemplate.js.map +1 -1
  1583. package/componentsV2/TemplatesControl/templateMenuItems/MoveTemplateOutOfFolder.js +1 -1
  1584. package/componentsV2/TemplatesControl/templateMenuItems/MoveTemplateOutOfFolder.js.map +1 -1
  1585. package/componentsV2/TemplatesControl/templateMenuItems/MoveTemplateToFolder.js +1 -1
  1586. package/componentsV2/TemplatesControl/templateMenuItems/MoveTemplateToFolder.js.map +1 -1
  1587. package/componentsV2/TemplatesControl/templateMenuItems/RemoveTemplate.js +1 -1
  1588. package/componentsV2/TemplatesControl/templateMenuItems/RemoveTemplate.js.map +1 -1
  1589. package/componentsV2/TemplatesControl/templateMenuItems/RevertTemplate.js +1 -1
  1590. package/componentsV2/TemplatesControl/templateMenuItems/RevertTemplate.js.map +1 -1
  1591. package/componentsV2/TemplatesControl/templateMenuItems/ShareTemplate.js +1 -1
  1592. package/componentsV2/TemplatesControl/templateMenuItems/ShareTemplate.js.map +1 -1
  1593. package/componentsV2/TemplatesControl/templateMenuItems/UnfollowTemplate.js +1 -1
  1594. package/componentsV2/TemplatesControl/templateMenuItems/UnfollowTemplate.js.map +1 -1
  1595. package/componentsV2/TextInput/TextInput.js +1 -1
  1596. package/componentsV2/TextInput/TextInput.js.map +1 -1
  1597. package/componentsV2/TextInput/TextInput.stories.d.ts.map +1 -1
  1598. package/componentsV2/TextInputBase/TextInputBase.js +1 -1
  1599. package/componentsV2/TextInputBase/TextInputBase.js.map +1 -1
  1600. package/componentsV2/TextInputBase/components/InfoIcon.js +1 -1
  1601. package/componentsV2/TextInputBase/components/InfoIcon.js.map +1 -1
  1602. package/componentsV2/TextInputNext/TextInputNext.js +1 -1
  1603. package/componentsV2/TextInputNext/TextInputNext.js.map +1 -1
  1604. package/componentsV2/TextMiddleTruncated/TextMiddleTruncated.stories.d.ts.map +1 -1
  1605. package/componentsV2/ToggleButtons/ToggleButtons.scss.js +1 -1
  1606. package/componentsV2/Tooltip/Tooltip.js +1 -1
  1607. package/componentsV2/Tooltip/Tooltip.js.map +1 -1
  1608. package/componentsV2/WellArchivedMessage/WellArchivedMessage.js +1 -1
  1609. package/componentsV2/WellArchivedMessage/WellArchivedMessage.js.map +1 -1
  1610. package/componentsV2/index.d.ts +1 -0
  1611. package/componentsV2/index.d.ts.map +1 -1
  1612. package/componentsV2/index.js +1 -1
  1613. package/componentsV2/utils.d.ts +15 -0
  1614. package/componentsV2/utils.d.ts.map +1 -1
  1615. package/componentsV2/utils.js +1 -1
  1616. package/componentsV2/utils.js.map +1 -1
  1617. package/config/theme/index.js +1 -1
  1618. package/config/theme/index.js.map +1 -1
  1619. package/constants/feed.d.ts +1 -1
  1620. package/constants/feed.d.ts.map +1 -1
  1621. package/constants/feed.js +1 -1
  1622. package/constants/feed.js.map +1 -1
  1623. package/effects/index.d.ts +1 -1
  1624. package/effects/index.d.ts.map +1 -1
  1625. package/effects/index.js +1 -1
  1626. package/effects/useGlobalOffsetWellsSync.js +1 -1
  1627. package/effects/useGlobalOffsetWellsSync.js.map +1 -1
  1628. package/effects/useSignedURL.d.ts +1 -1
  1629. package/effects/useSignedURL.d.ts.map +1 -1
  1630. package/effects/useSignedURL.js +1 -1
  1631. package/effects/useSignedURL.js.map +1 -1
  1632. package/icons/customIcons/icons/FlameFilled.d.ts +2 -0
  1633. package/icons/customIcons/icons/FlameFilled.d.ts.map +1 -0
  1634. package/icons/customIcons/icons/FlameFilled.js +2 -0
  1635. package/icons/customIcons/icons/FlameFilled.js.map +1 -0
  1636. package/icons/customIcons/icons/InfoRounded.d.ts +2 -0
  1637. package/icons/customIcons/icons/InfoRounded.d.ts.map +1 -0
  1638. package/icons/customIcons/icons/InfoRounded.js +2 -0
  1639. package/icons/customIcons/icons/InfoRounded.js.map +1 -0
  1640. package/icons/customIcons/icons/PinOne.d.ts +2 -0
  1641. package/icons/customIcons/icons/PinOne.d.ts.map +1 -0
  1642. package/icons/customIcons/icons/PinOne.js +2 -0
  1643. package/icons/customIcons/icons/PinOne.js.map +1 -0
  1644. package/icons/customIcons/icons/PinOneCrossed.d.ts +2 -0
  1645. package/icons/customIcons/icons/PinOneCrossed.d.ts.map +1 -0
  1646. package/icons/customIcons/icons/PinOneCrossed.js +2 -0
  1647. package/icons/customIcons/icons/PinOneCrossed.js.map +1 -0
  1648. package/icons/customIcons/icons/index.d.ts +4 -0
  1649. package/icons/customIcons/icons/index.d.ts.map +1 -1
  1650. package/icons/index.js +1 -1
  1651. package/mcp-server/server.mjs +12166 -531
  1652. package/package.json +2 -1
  1653. package/permissions/useProvidePermissions.d.ts.map +1 -1
  1654. package/permissions/useProvidePermissions.js +1 -1
  1655. package/permissions/useProvidePermissions.js.map +1 -1
  1656. package/storyBookHelpers/__tests__/mutateMeta.agentSummary.test.d.ts +2 -0
  1657. package/storyBookHelpers/__tests__/mutateMeta.agentSummary.test.d.ts.map +1 -0
  1658. package/storyBookHelpers/utils.d.ts +16 -0
  1659. package/storyBookHelpers/utils.d.ts.map +1 -1
  1660. package/testing/AppTestWrapper/AppTestWrapper.js +1 -1
  1661. package/testing/AppTestWrapper/AppTestWrapper.js.map +1 -1
  1662. package/tsconfig.tsbuildinfo +1 -1
  1663. package/utils/__tests__/signedLinkCache.test.d.ts +2 -0
  1664. package/utils/__tests__/signedLinkCache.test.d.ts.map +1 -0
  1665. package/utils/feed.d.ts +8 -0
  1666. package/utils/feed.d.ts.map +1 -1
  1667. package/utils/feed.js +1 -1
  1668. package/utils/feed.js.map +1 -1
  1669. package/utils/links.d.ts.map +1 -1
  1670. package/utils/links.js +1 -1
  1671. package/utils/links.js.map +1 -1
  1672. package/utils/signedLinkCache.d.ts +9 -0
  1673. package/utils/signedLinkCache.d.ts.map +1 -0
  1674. package/utils/signedLinkCache.js +2 -0
  1675. package/utils/signedLinkCache.js.map +1 -0
  1676. package/assets/815107279c4c5fba7639d4e9124e83a5.svg +0 -3
  1677. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/AnnotationsButton.js +0 -2
  1678. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/AnnotationsButton.js.map +0 -1
  1679. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/AppInfoMessage/AppInfoMessage.css.js +0 -2
  1680. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/AppInfoMessage/AppInfoMessage.js +0 -2
  1681. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/AppInfoMessage/AppInfoMessage.js.map +0 -1
  1682. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/IsInsideIsolatedDcAppProvider/IsInsideIsolatedDcAppProvider.js.map +0 -1
  1683. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/NonPriorityMenus/NonPriorityMenus.js +0 -2
  1684. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/NonPriorityMenus/NonPriorityMenus.js.map +0 -1
  1685. package/cjs-bundle/components/FeedItem/feedItemTypes/AppAnnotationFeedItem/styles.css.js +0 -2
  1686. package/cjs-bundle/components/FeedItem/feedItemTypes/BhaFeedItem/styles.css.js +0 -2
  1687. package/cjs-bundle/components/FeedItem/feedItemTypes/WellPlanFeedItem/styles.css.js +0 -2
  1688. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/LastActiveCell/LastActiveCell.js +0 -2
  1689. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/LastActiveCell/LastActiveCell.js.map +0 -1
  1690. package/cjs-bundle/componentsV2/AppSettings/AppSettingsPinningContext.js +0 -2
  1691. package/cjs-bundle/componentsV2/AppSettings/AppSettingsPinningContext.js.map +0 -1
  1692. package/components/DevCenter/DevCenterAppContainer/components/AnnotationsButton.d.ts +0 -5
  1693. package/components/DevCenter/DevCenterAppContainer/components/AnnotationsButton.d.ts.map +0 -1
  1694. package/components/DevCenter/DevCenterAppContainer/components/AnnotationsButton.js +0 -2
  1695. package/components/DevCenter/DevCenterAppContainer/components/AnnotationsButton.js.map +0 -1
  1696. package/components/DevCenter/DevCenterAppContainer/components/AppInfoMessage/AppInfoMessage.css.js +0 -2
  1697. package/components/DevCenter/DevCenterAppContainer/components/AppInfoMessage/AppInfoMessage.d.ts +0 -18
  1698. package/components/DevCenter/DevCenterAppContainer/components/AppInfoMessage/AppInfoMessage.d.ts.map +0 -1
  1699. package/components/DevCenter/DevCenterAppContainer/components/AppInfoMessage/AppInfoMessage.js +0 -2
  1700. package/components/DevCenter/DevCenterAppContainer/components/AppInfoMessage/AppInfoMessage.js.map +0 -1
  1701. package/components/DevCenter/DevCenterAppContainer/components/AppInfoMessage/index.d.ts +0 -2
  1702. package/components/DevCenter/DevCenterAppContainer/components/AppInfoMessage/index.d.ts.map +0 -1
  1703. package/components/DevCenter/DevCenterAppContainer/components/IsInsideIsolatedDcAppProvider/IsInsideIsolatedDcAppProvider.d.ts.map +0 -1
  1704. package/components/DevCenter/DevCenterAppContainer/components/IsInsideIsolatedDcAppProvider/IsInsideIsolatedDcAppProvider.js.map +0 -1
  1705. package/components/DevCenter/DevCenterAppContainer/components/IsInsideIsolatedDcAppProvider/index.d.ts +0 -2
  1706. package/components/DevCenter/DevCenterAppContainer/components/IsInsideIsolatedDcAppProvider/index.d.ts.map +0 -1
  1707. package/components/DevCenter/DevCenterAppContainer/components/NonPriorityMenus/NonPriorityMenus.d.ts +0 -20
  1708. package/components/DevCenter/DevCenterAppContainer/components/NonPriorityMenus/NonPriorityMenus.d.ts.map +0 -1
  1709. package/components/DevCenter/DevCenterAppContainer/components/NonPriorityMenus/NonPriorityMenus.js +0 -2
  1710. package/components/DevCenter/DevCenterAppContainer/components/NonPriorityMenus/NonPriorityMenus.js.map +0 -1
  1711. package/components/DevCenter/DevCenterAppContainer/components/NonPriorityMenus/index.d.ts +0 -2
  1712. package/components/DevCenter/DevCenterAppContainer/components/NonPriorityMenus/index.d.ts.map +0 -1
  1713. package/components/DevCenter/DevCenterAppContainer/components/index.d.ts +0 -12
  1714. package/components/DevCenter/DevCenterAppContainer/components/index.d.ts.map +0 -1
  1715. package/components/FeedItem/feedItemTypes/AppAnnotationFeedItem/styles.css.js +0 -2
  1716. package/components/FeedItem/feedItemTypes/BhaFeedItem/styles.css.js +0 -2
  1717. package/components/FeedItem/feedItemTypes/WellPlanFeedItem/styles.css.js +0 -2
  1718. package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/LastActiveCell/LastActiveCell.d.ts +0 -10
  1719. package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/LastActiveCell/LastActiveCell.d.ts.map +0 -1
  1720. package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/LastActiveCell/LastActiveCell.js +0 -2
  1721. package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/LastActiveCell/LastActiveCell.js.map +0 -1
  1722. package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/LastActiveCell/index.d.ts +0 -2
  1723. package/componentsV2/AppSettings/AppSettingsPinningContext.d.ts +0 -21
  1724. package/componentsV2/AppSettings/AppSettingsPinningContext.d.ts.map +0 -1
  1725. package/componentsV2/AppSettings/AppSettingsPinningContext.js +0 -2
  1726. package/componentsV2/AppSettings/AppSettingsPinningContext.js.map +0 -1
  1727. /package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/{IsInsideIsolatedDcAppProvider/IsInsideIsolatedDcAppProvider.js → IsInsideIsolatedDcAppProvider.js} +0 -0
  1728. /package/cjs-bundle/components/FeedItem/feedItemTypes/AppAnnotationFeedItem/{styles.css.js.map → styles.scss.js.map} +0 -0
  1729. /package/cjs-bundle/components/FeedItem/feedItemTypes/BhaFeedItem/{styles.css.js.map → styles.scss.js.map} +0 -0
  1730. /package/cjs-bundle/components/FeedItem/feedItemTypes/WellPlanFeedItem/{styles.css.js.map → styles.scss.js.map} +0 -0
  1731. /package/components/DevCenter/DevCenterAppContainer/components/{IsInsideIsolatedDcAppProvider/IsInsideIsolatedDcAppProvider.d.ts → IsInsideIsolatedDcAppProvider.d.ts} +0 -0
  1732. /package/components/DevCenter/DevCenterAppContainer/components/{IsInsideIsolatedDcAppProvider/IsInsideIsolatedDcAppProvider.js → IsInsideIsolatedDcAppProvider.js} +0 -0
  1733. /package/components/FeedItem/feedItemTypes/AppAnnotationFeedItem/{styles.css.js.map → styles.scss.js.map} +0 -0
  1734. /package/components/FeedItem/feedItemTypes/BhaFeedItem/{styles.css.js.map → styles.scss.js.map} +0 -0
  1735. /package/components/FeedItem/feedItemTypes/WellPlanFeedItem/{styles.css.js.map → styles.scss.js.map} +0 -0
@@ -1,2 +1,2 @@
1
- import o from"@babel/runtime/helpers/defineProperty";import{useRef as s}from"react";import i from"classnames";import{FileIcon as n}from"../../componentsV2/FileIcon/FileIcon.js";import{ButtonIcon as c}from"../../componentsV2/ButtonIcon/ButtonIcon.js";import{Tooltip as t}from"../../componentsV2/Tooltip/Tooltip.js";import{LoaderCircular as e}from"../../componentsV2/LoaderCircular/LoaderCircular.js";import{PlayOneIcon as r,UndoIcon as m,CloseSmallIcon as a}from"../../icons/iconParkIcons.js";import"../../icons/customIcons/icons/AddMessage.js";import"../../icons/customIcons/icons/DragOne.js";import"../../icons/customIcons/icons/Attention.js";import"../../icons/customIcons/icons/Collapse.js";import"../../icons/customIcons/icons/Dashboard.js";import"../../icons/customIcons/icons/Expand.js";import"../../icons/customIcons/icons/FolderClosed.js";import"../../icons/customIcons/icons/FolderClosedFilled.js";import"../../icons/customIcons/icons/FolderOpened.js";import"../../icons/customIcons/icons/GreaterOrEqual.js";import"../../icons/customIcons/icons/LessOrEqual.js";import"../../icons/customIcons/icons/Search.js";import"../../icons/customIcons/icons/SearchOne.js";import"../../icons/customIcons/icons/Wellhub.js";import"../../icons/customIcons/icons/MultiRuler.js";import"../../icons/customIcons/icons/Checkbox.js";import"../../icons/customIcons/icons/CheckboxChecked.js";import"../../icons/customIcons/icons/CheckboxIndeterminate.js";import"../../icons/customIcons/icons/Radio.js";import"../../icons/customIcons/icons/RadioChecked.js";import"../../icons/customIcons/icons/SimulFrac.js";import"../../icons/customIcons/icons/ZipperFrac.js";import"../../icons/customIcons/icons/CautionFilled.js";import"../../icons/customIcons/icons/MoreApp.js";import"../../icons/customIcons/icons/Pad.js";import"../../icons/customIcons/icons/DrilloutUnit.js";import"../../icons/customIcons/icons/FracFleet.js";import"../../icons/customIcons/icons/Global.js";import"../../icons/customIcons/icons/Program.js";import"../../icons/customIcons/icons/Rig.js";import"../../icons/customIcons/icons/Well.js";import"../../icons/customIcons/icons/Gap.js";import"../../icons/customIcons/icons/Pin.js";import"../../icons/customIcons/icons/CloseOneFilled.js";import"../../icons/customIcons/icons/AttentionFilled.js";import"../../icons/customIcons/icons/CheckOneFilled.js";import"../../icons/customIcons/icons/Archive.js";import"../../icons/customIcons/icons/ArchiveCancel.js";import"../../icons/customIcons/icons/Unarchive.js";import"../../icons/customIcons/icons/Archived.js";import"../../icons/customIcons/icons/InterventionUnit.js";import"../../icons/customIcons/icons/CloudDelete.js";import"../../icons/customIcons/icons/Lasso.js";import"../../icons/customIcons/icons/Radius.js";import"../../icons/customIcons/icons/ErrorOps.js";import"../../icons/customIcons/icons/DataTypeOps.js";import"../../icons/customIcons/icons/FalsePositiveOps.js";import"../../icons/customIcons/icons/CalibrationOps.js";import"../../icons/customIcons/icons/CriticalOps.js";import"../../icons/customIcons/icons/Company.js";import"../../icons/customIcons/icons/ArchiveOne.js";import"../../icons/customIcons/icons/ParseBotFusion.js";import"../../icons/customIcons/icons/Connect.js";import"../../icons/customIcons/icons/PuzzleOne.js";import"../../icons/customIcons/icons/Feed.js";import"../../icons/customIcons/icons/Prompt.js";import"../../icons/customIcons/icons/Companies.js";import"../../icons/customIcons/icons/ClipboardAi.js";import"../../icons/customIcons/icons/Key.js";import"../../icons/customIcons/icons/AtSignCrossed.js";import"../../icons/customIcons/icons/MappingManual.js";import"../../icons/customIcons/icons/Mapping.js";import"../../icons/customIcons/icons/Metrics.js";import"../../icons/customIcons/icons/Drops.js";import"../../icons/customIcons/icons/ClipboardSearch.js";import"../../icons/customIcons/icons/Template.js";import"../../icons/customIcons/icons/ClipboardMetrics.js";import"../../icons/customIcons/icons/ClipboardBuilder.js";import"../../icons/customIcons/icons/UnitConversion.js";import"../../icons/customIcons/icons/NPT.js";import"../../icons/customIcons/icons/GuidedFrac.js";import{AttachmentActionsMenu as l}from"./AttachmentActionsMenu.js";import{AttachmentImage as p}from"./AttachmentImage.js";import{AttachmentDownloadLink as u}from"./AttachmentDownloadLink.js";import d from"./AttachmentPreview.scss.js";import j from"../../utils/main.js";import{jsxs as I,jsx as h,Fragment as f}from"react/jsx-runtime";function v(o,s){var i=Object.keys(o);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(o);s&&(n=n.filter((function(s){return Object.getOwnPropertyDescriptor(o,s).enumerable}))),i.push.apply(i,n)}return i}function b(s){for(var i=1;i<arguments.length;i++){var n=null!=arguments[i]?arguments[i]:{};i%2?v(Object(n),!0).forEach((function(i){o(s,i,n[i])})):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(o){Object.defineProperty(s,o,Object.getOwnPropertyDescriptor(n,o))}))}return s}var C=function(o){var s,i=o.split(".");return i.length>1?(null!==(s=i.pop())&&void 0!==s?s:"").toUpperCase():""},g=function(o){var s=o.item,i=o.onShare,n=o.imageRef,c=j.getFileNameWithExtensionFromPath(s.name),t=s.downloadUrl||s.src;return I("div",{className:d.tileActions,"data-testid":"attachment-tile-actions",children:[!!t&&h(u,{url:t,fileName:c,size:"xs",className:d.tileActionLink}),h(l,{item:s,onShare:i,size:"xs",testIdPrefix:"attachment-tile",tooltip:"More actions",imageRef:n})]})},y=function(o){return function(s){s.stopPropagation(),o()}},O=function(o){var s=o.item,n=o.onRemove,r=o.onRetry;return I(f,{children:[s.isUploading&&I(f,{children:[h("div",{className:d.uploadingOverlay}),h("div",{className:d.uploadingSpinner,children:h(e,{size:"xs",className:d.loader})})]}),!!s.error&&I(f,{children:[h("div",{className:d.errorOverlay}),r&&h(t,{title:"Retry upload",children:h("div",{className:d.retryButton,children:h(c,{size:"xs",type:"tertiaryBg",onClick:y((function(){return r(s.id)})),testId:"attachment-retry",children:h(m,{size:"small"})})})})]}),n&&!s.isUploading&&h(t,{title:"Remove",children:h("div",{className:i(d.removeButton,!!s.error&&d.removeButtonVisible),children:h(c,{size:"xs",type:"tertiaryBg",onClick:y((function(){return n(s.id)})),testId:"attachment-remove",children:h(a,{size:"small"})})})})]})},N=function(o){var c,e,m=o.item,a=o.onRemove,l=o.onRetry,u=o.onItemClick,v=o.isSelected,y=o.hideActions,N=o.onShare,P=s(null),F=null!==(c=m.kind)&&void 0!==c?c:"file",k=h(O,{item:m,onRemove:a,onRetry:l}),A=j.getFileNameWithExtensionFromPath(m.name),R=!m.isUploading&&!m.error,x=!!u&&R,S=!y&&!a&&R;if("image"===F||"video"===F)return I("div",{className:i(d.thumbnail,x&&d.clickable,v&&d.selected,!!m.error&&d.thumbnailError),onClick:x?function(){return null==u?void 0:u(m)}:void 0,children:[h("div",{className:d.thumbnailInner,children:"image"===F?h(p,{ref:P,src:m.src,alt:A,className:d.thumbnailImage}):h("video",{src:(e=m.src,e&&!e.includes("#t=")?"".concat(e,"#t=0.1"):e),className:d.thumbnailImage,preload:"metadata",playsInline:!0,muted:!0})}),"video"===F&&h("div",{className:d.videoOverlay,children:h(r,{theme:"filled",className:d.playIcon})}),S&&h(g,{item:m,onShare:N,imageRef:P}),k]});var D,E=I(f,{children:[I("div",{className:d.fileCardContent,children:[h(n,{name:A}),I("div",{className:d.fileInfo,children:[h(t,{title:A,children:h("div",{className:d.fileName,children:(D=A,D.replace(/\.[^/.]+$/,""))})}),h("div",{className:d.fileType,children:C(A)})]})]}),S&&h(g,{item:m,onShare:N}),k]}),w=x?{role:"button",tabIndex:0,onClick:function(){return null==u?void 0:u(m)},onKeyDown:function(o){o.target===o.currentTarget&&("Enter"!==o.key&&" "!==o.key||(o.preventDefault(),null==u||u(m)))}}:{};return h("div",b(b({className:i(d.fileCard,x&&d.fileCardLink,v&&d.selected,!!m.error&&d.thumbnailError)},w),{},{children:E}))};export{N as AttachmentTile};
1
+ import o from"@babel/runtime/helpers/defineProperty";import{useRef as s}from"react";import i from"classnames";import{FileIcon as n}from"../../componentsV2/FileIcon/FileIcon.js";import{ButtonIcon as c}from"../../componentsV2/ButtonIcon/ButtonIcon.js";import{Tooltip as t}from"../../componentsV2/Tooltip/Tooltip.js";import{LoaderCircular as e}from"../../componentsV2/LoaderCircular/LoaderCircular.js";import{PlayOneIcon as r,UndoIcon as m,CloseSmallIcon as a}from"../../icons/iconParkIcons.js";import"../../icons/customIcons/icons/AddMessage.js";import"../../icons/customIcons/icons/DragOne.js";import"../../icons/customIcons/icons/Attention.js";import"../../icons/customIcons/icons/Collapse.js";import"../../icons/customIcons/icons/Dashboard.js";import"../../icons/customIcons/icons/Expand.js";import"../../icons/customIcons/icons/FolderClosed.js";import"../../icons/customIcons/icons/FolderClosedFilled.js";import"../../icons/customIcons/icons/FolderOpened.js";import"../../icons/customIcons/icons/GreaterOrEqual.js";import"../../icons/customIcons/icons/LessOrEqual.js";import"../../icons/customIcons/icons/Search.js";import"../../icons/customIcons/icons/SearchOne.js";import"../../icons/customIcons/icons/Wellhub.js";import"../../icons/customIcons/icons/MultiRuler.js";import"../../icons/customIcons/icons/Checkbox.js";import"../../icons/customIcons/icons/CheckboxChecked.js";import"../../icons/customIcons/icons/CheckboxIndeterminate.js";import"../../icons/customIcons/icons/Radio.js";import"../../icons/customIcons/icons/RadioChecked.js";import"../../icons/customIcons/icons/SimulFrac.js";import"../../icons/customIcons/icons/ZipperFrac.js";import"../../icons/customIcons/icons/CautionFilled.js";import"../../icons/customIcons/icons/InfoRounded.js";import"../../icons/customIcons/icons/FlameFilled.js";import"../../icons/customIcons/icons/MoreApp.js";import"../../icons/customIcons/icons/Pad.js";import"../../icons/customIcons/icons/DrilloutUnit.js";import"../../icons/customIcons/icons/FracFleet.js";import"../../icons/customIcons/icons/Global.js";import"../../icons/customIcons/icons/Program.js";import"../../icons/customIcons/icons/Rig.js";import"../../icons/customIcons/icons/Well.js";import"../../icons/customIcons/icons/Gap.js";import"../../icons/customIcons/icons/Pin.js";import"../../icons/customIcons/icons/PinOne.js";import"../../icons/customIcons/icons/PinOneCrossed.js";import"../../icons/customIcons/icons/CloseOneFilled.js";import"../../icons/customIcons/icons/AttentionFilled.js";import"../../icons/customIcons/icons/CheckOneFilled.js";import"../../icons/customIcons/icons/Archive.js";import"../../icons/customIcons/icons/ArchiveCancel.js";import"../../icons/customIcons/icons/Unarchive.js";import"../../icons/customIcons/icons/Archived.js";import"../../icons/customIcons/icons/InterventionUnit.js";import"../../icons/customIcons/icons/CloudDelete.js";import"../../icons/customIcons/icons/Lasso.js";import"../../icons/customIcons/icons/Radius.js";import"../../icons/customIcons/icons/ErrorOps.js";import"../../icons/customIcons/icons/DataTypeOps.js";import"../../icons/customIcons/icons/FalsePositiveOps.js";import"../../icons/customIcons/icons/CalibrationOps.js";import"../../icons/customIcons/icons/CriticalOps.js";import"../../icons/customIcons/icons/Company.js";import"../../icons/customIcons/icons/ArchiveOne.js";import"../../icons/customIcons/icons/ParseBotFusion.js";import"../../icons/customIcons/icons/Connect.js";import"../../icons/customIcons/icons/PuzzleOne.js";import"../../icons/customIcons/icons/Feed.js";import"../../icons/customIcons/icons/Prompt.js";import"../../icons/customIcons/icons/Companies.js";import"../../icons/customIcons/icons/ClipboardAi.js";import"../../icons/customIcons/icons/Key.js";import"../../icons/customIcons/icons/AtSignCrossed.js";import"../../icons/customIcons/icons/MappingManual.js";import"../../icons/customIcons/icons/Mapping.js";import"../../icons/customIcons/icons/Metrics.js";import"../../icons/customIcons/icons/Drops.js";import"../../icons/customIcons/icons/ClipboardSearch.js";import"../../icons/customIcons/icons/Template.js";import"../../icons/customIcons/icons/ClipboardMetrics.js";import"../../icons/customIcons/icons/ClipboardBuilder.js";import"../../icons/customIcons/icons/UnitConversion.js";import"../../icons/customIcons/icons/NPT.js";import"../../icons/customIcons/icons/GuidedFrac.js";import{AttachmentActionsMenu as l}from"./AttachmentActionsMenu.js";import{AttachmentImage as p}from"./AttachmentImage.js";import{AttachmentDownloadLink as u}from"./AttachmentDownloadLink.js";import d from"./AttachmentPreview.scss.js";import j from"../../utils/main.js";import{jsxs as I,jsx as h,Fragment as f}from"react/jsx-runtime";function v(o,s){var i=Object.keys(o);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(o);s&&(n=n.filter((function(s){return Object.getOwnPropertyDescriptor(o,s).enumerable}))),i.push.apply(i,n)}return i}function b(s){for(var i=1;i<arguments.length;i++){var n=null!=arguments[i]?arguments[i]:{};i%2?v(Object(n),!0).forEach((function(i){o(s,i,n[i])})):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(o){Object.defineProperty(s,o,Object.getOwnPropertyDescriptor(n,o))}))}return s}var C=function(o){var s,i=o.split(".");return i.length>1?(null!==(s=i.pop())&&void 0!==s?s:"").toUpperCase():""},O=function(o){var s=o.item,i=o.onShare,n=o.imageRef,c=j.getFileNameWithExtensionFromPath(s.name),t=s.hideDownload?void 0:s.downloadUrl||s.src;return I("div",{className:d.tileActions,"data-testid":"attachment-tile-actions",children:[!!t&&h(u,{url:t,fileName:c,size:"xs",className:d.tileActionLink}),h(l,{item:s,onShare:i,size:"xs",testIdPrefix:"attachment-tile",tooltip:"More actions",imageRef:n})]})},g=function(o){return function(s){s.stopPropagation(),o()}},y=function(o){var s=o.item,n=o.onRemove,r=o.onRetry;return I(f,{children:[s.isUploading&&I(f,{children:[h("div",{className:d.uploadingOverlay}),h("div",{className:d.uploadingSpinner,children:h(e,{size:"xs",className:d.loader})})]}),!!s.error&&I(f,{children:[h("div",{className:d.errorOverlay}),r&&h(t,{title:"Retry upload",children:h("div",{className:d.retryButton,children:h(c,{size:"xs",type:"tertiaryBg",onClick:g((function(){return r(s.id)})),testId:"attachment-retry",children:h(m,{size:"small"})})})})]}),n&&!s.isUploading&&h(t,{title:"Remove",children:h("div",{className:i(d.removeButton,!!s.error&&d.removeButtonVisible),children:h(c,{size:"xs",type:"tertiaryBg",onClick:g((function(){return n(s.id)})),testId:"attachment-remove",children:h(a,{size:"small"})})})})]})},P=function(o){var c,e,m=o.item,a=o.onRemove,l=o.onRetry,u=o.onItemClick,v=o.isSelected,g=o.hideActions,P=o.onShare,F=s(null),N=null!==(c=m.kind)&&void 0!==c?c:"file",k=h(y,{item:m,onRemove:a,onRetry:l}),A=j.getFileNameWithExtensionFromPath(m.name),R=!m.isUploading&&!m.error,x=!!u&&R,D=!g&&!a&&R;if("image"===N||"video"===N)return I("div",{className:i(d.thumbnail,x&&d.clickable,v&&d.selected,!!m.error&&d.thumbnailError),onClick:x?function(){return null==u?void 0:u(m)}:void 0,children:[h("div",{className:d.thumbnailInner,children:"image"===N?h(p,{ref:F,src:m.src,alt:A,className:d.thumbnailImage}):h("video",{src:(e=m.src,e&&!e.includes("#t=")?"".concat(e,"#t=0.1"):e),className:d.thumbnailImage,preload:"metadata",playsInline:!0,muted:!0})}),"video"===N&&h("div",{className:d.videoOverlay,children:h(r,{theme:"filled",className:d.playIcon})}),D&&h(O,{item:m,onShare:P,imageRef:F}),k]});var S,w=I(f,{children:[I("div",{className:d.fileCardContent,children:[h(n,{name:A}),I("div",{className:d.fileInfo,children:[h(t,{title:A,children:h("div",{className:d.fileName,children:(S=A,S.replace(/\.[^/.]+$/,""))})}),h("div",{className:d.fileType,children:C(A)})]})]}),D&&h(O,{item:m,onShare:P}),k]}),E=x?{role:"button",tabIndex:0,onClick:function(){return null==u?void 0:u(m)},onKeyDown:function(o){o.target===o.currentTarget&&("Enter"!==o.key&&" "!==o.key||(o.preventDefault(),null==u||u(m)))}}:{};return h("div",b(b({className:i(d.fileCard,x&&d.fileCardLink,v&&d.selected,!!m.error&&d.thumbnailError)},E),{},{children:w}))};export{P as AttachmentTile};
2
2
  //# sourceMappingURL=AttachmentTile.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"AttachmentTile.js","sources":["../../../src/components/AttachmentPreview/AttachmentTile.tsx"],"sourcesContent":["import { KeyboardEvent, MouseEvent, RefObject, useRef } from 'react';\nimport classNames from 'classnames';\n\nimport { FileIcon } from '../../componentsV2/FileIcon';\nimport { ButtonIcon } from '../../componentsV2/ButtonIcon';\nimport { Tooltip } from '../../componentsV2/Tooltip';\nimport { LoaderCircular } from '../../componentsV2/LoaderCircular';\nimport { PlayOneIcon, CloseSmallIcon, UndoIcon } from '../../icons';\n\nimport { AttachmentActionsMenu } from './AttachmentActionsMenu';\nimport { AttachmentImage } from './AttachmentImage';\nimport { AttachmentDownloadLink } from './AttachmentDownloadLink';\nimport { AttachmentPreviewItem, AttachmentPreviewProps } from './AttachmentPreview.types';\n\nimport styles from './AttachmentPreview.scss';\n\nimport utils from '~/utils/main';\n\nconst getExtension = (name: string) => {\n const parts = name.split('.');\n return parts.length > 1 ? (parts.pop() ?? '').toUpperCase() : '';\n};\n\nconst dropExtension = (name: string) => name.replace(/\\.[^/.]+$/, '');\n\n// A bare <video> paints nothing until a frame is decoded; the media fragment forces one.\nconst withFirstFrame = (src?: string) => (src && !src.includes('#t=') ? `${src}#t=0.1` : src);\n\nexport type AttachmentTileProps = {\n item: AttachmentPreviewItem;\n onRemove?: AttachmentPreviewProps['onRemove'];\n onRetry?: AttachmentPreviewProps['onRetry'];\n onItemClick?: AttachmentPreviewProps['onItemClick'];\n isSelected?: boolean;\n hideActions?: boolean;\n /** Adds \"Share file\" to the tile's hover menu. */\n onShare?: (item: AttachmentPreviewItem) => void;\n};\n\nconst TileActions = ({\n item,\n onShare,\n imageRef,\n}: Pick<AttachmentTileProps, 'item' | 'onShare'> & {\n imageRef?: RefObject<HTMLImageElement>;\n}) => {\n const fileName = utils.getFileNameWithExtensionFromPath(item.name);\n const downloadUrl = item.downloadUrl || item.src;\n\n return (\n <div className={styles.tileActions} data-testid=\"attachment-tile-actions\">\n {!!downloadUrl && (\n <AttachmentDownloadLink\n url={downloadUrl}\n fileName={fileName}\n size=\"xs\"\n className={styles.tileActionLink}\n />\n )}\n\n <AttachmentActionsMenu\n item={item}\n onShare={onShare}\n size=\"xs\"\n testIdPrefix=\"attachment-tile\"\n tooltip=\"More actions\"\n imageRef={imageRef}\n />\n </div>\n );\n};\n\nconst stopAndRun = (action: () => void) => (event: MouseEvent) => {\n event.stopPropagation();\n action();\n};\n\nconst TileOverlays = ({ item, onRemove, onRetry }: Omit<AttachmentTileProps, 'onItemClick'>) => (\n <>\n {item.isUploading && (\n <>\n <div className={styles.uploadingOverlay} />\n <div className={styles.uploadingSpinner}>\n <LoaderCircular size=\"xs\" className={styles.loader} />\n </div>\n </>\n )}\n\n {!!item.error && (\n <>\n <div className={styles.errorOverlay} />\n {onRetry && (\n <Tooltip title=\"Retry upload\">\n <div className={styles.retryButton}>\n <ButtonIcon\n size=\"xs\"\n type=\"tertiaryBg\"\n onClick={stopAndRun(() => onRetry(item.id))}\n testId=\"attachment-retry\"\n >\n <UndoIcon size=\"small\" />\n </ButtonIcon>\n </div>\n </Tooltip>\n )}\n </>\n )}\n\n {onRemove && !item.isUploading && (\n <Tooltip title=\"Remove\">\n <div\n className={classNames(styles.removeButton, !!item.error && styles.removeButtonVisible)}\n >\n <ButtonIcon\n size=\"xs\"\n type=\"tertiaryBg\"\n onClick={stopAndRun(() => onRemove(item.id))}\n testId=\"attachment-remove\"\n >\n <CloseSmallIcon size=\"small\" />\n </ButtonIcon>\n </div>\n </Tooltip>\n )}\n </>\n);\n\nexport const AttachmentTile = ({\n item,\n onRemove,\n onRetry,\n onItemClick,\n isSelected,\n hideActions,\n onShare,\n}: AttachmentTileProps) => {\n const imageRef = useRef<HTMLImageElement>(null);\n const kind = item.kind ?? 'file';\n const overlays = <TileOverlays item={item} onRemove={onRemove} onRetry={onRetry} />;\n const fileName = utils.getFileNameWithExtensionFromPath(item.name);\n const isReady = !item.isUploading && !item.error;\n const clickable = !!onItemClick && isReady;\n // A tile being composed shows Remove in the same corner, and has nothing to link to.\n const showActions = !hideActions && !onRemove && isReady;\n\n if (kind === 'image' || kind === 'video') {\n return (\n // eslint-disable-next-line jsx-a11y/no-static-element-interactions, jsx-a11y/click-events-have-key-events\n <div\n className={classNames(\n styles.thumbnail,\n clickable && styles.clickable,\n isSelected && styles.selected,\n !!item.error && styles.thumbnailError\n )}\n onClick={clickable ? () => onItemClick?.(item) : undefined}\n >\n <div className={styles.thumbnailInner}>\n {kind === 'image' ? (\n <AttachmentImage\n ref={imageRef}\n src={item.src}\n alt={fileName}\n className={styles.thumbnailImage}\n />\n ) : (\n <video\n src={withFirstFrame(item.src)}\n className={styles.thumbnailImage}\n preload=\"metadata\"\n playsInline\n muted\n />\n )}\n </div>\n {kind === 'video' && (\n <div className={styles.videoOverlay}>\n <PlayOneIcon theme=\"filled\" className={styles.playIcon} />\n </div>\n )}\n {showActions && <TileActions item={item} onShare={onShare} imageRef={imageRef} />}\n {overlays}\n </div>\n );\n }\n\n const fileCardContent = (\n <>\n <div className={styles.fileCardContent}>\n <FileIcon name={fileName} />\n <div className={styles.fileInfo}>\n <Tooltip title={fileName}>\n <div className={styles.fileName}>{dropExtension(fileName)}</div>\n </Tooltip>\n <div className={styles.fileType}>{getExtension(fileName)}</div>\n </div>\n </div>\n {showActions && <TileActions item={item} onShare={onShare} />}\n {overlays}\n </>\n );\n\n const cardInteraction = clickable\n ? {\n role: 'button',\n tabIndex: 0,\n onClick: () => onItemClick?.(item),\n onKeyDown: (event: KeyboardEvent) => {\n // Keys bubbling from the nested download link must reach it, not open the preview.\n if (event.target !== event.currentTarget) return;\n if (event.key !== 'Enter' && event.key !== ' ') return;\n\n // Space would otherwise scroll the surrounding feed.\n event.preventDefault();\n onItemClick?.(item);\n },\n }\n : {};\n\n return (\n <div\n className={classNames(\n styles.fileCard,\n clickable && styles.fileCardLink,\n isSelected && styles.selected,\n !!item.error && styles.thumbnailError\n )}\n {...cardInteraction}\n >\n {fileCardContent}\n </div>\n );\n};\n"],"names":["getExtension","name","_parts$pop","parts","split","length","pop","toUpperCase","TileActions","_ref","item","onShare","imageRef","fileName","utils","getFileNameWithExtensionFromPath","downloadUrl","src","_jsxs","className","styles","tileActions","children","_jsx","AttachmentDownloadLink","url","size","tileActionLink","AttachmentActionsMenu","testIdPrefix","tooltip","stopAndRun","action","event","stopPropagation","TileOverlays","_ref2","onRemove","onRetry","_Fragment","isUploading","uploadingOverlay","uploadingSpinner","LoaderCircular","loader","error","errorOverlay","Tooltip","title","retryButton","ButtonIcon","type","onClick","id","testId","UndoIcon","classNames","removeButton","removeButtonVisible","CloseSmallIcon","AttachmentTile","_ref3","_item$kind","onItemClick","isSelected","hideActions","useRef","kind","overlays","isReady","clickable","showActions","thumbnail","selected","thumbnailError","undefined","thumbnailInner","AttachmentImage","ref","alt","thumbnailImage","includes","concat","preload","playsInline","muted","videoOverlay","PlayOneIcon","theme","playIcon","fileCardContent","FileIcon","fileInfo","replace","fileType","cardInteraction","role","tabIndex","onKeyDown","target","currentTarget","key","preventDefault","_objectSpread","fileCard","fileCardLink"],"mappings":"y8JAkBA,IAAMA,EAAe,SAACC,GAAiB,IAAAC,EAC/BC,EAAQF,EAAKG,MAAM,KACzB,OAAOD,EAAME,OAAS,GAAoB,QAAfF,EAAAA,EAAMG,aAAS,IAAAJ,EAAAA,EAAA,IAAIK,cAAgB,EAChE,EAkBMC,EAAc,SAMdC,GAAA,IALJC,IAAAA,KACAC,IAAAA,QACAC,IAAAA,SAIMC,EAAWC,EAAMC,iCAAiCL,EAAKT,MACvDe,EAAcN,EAAKM,aAAeN,EAAKO,IAE7C,OACEC,EAAA,MAAA,CAAKC,UAAWC,EAAOC,YAAa,cAAY,0BAAyBC,SAAA,GACpEN,GACDO,EAACC,EAAsB,CACrBC,IAAKT,EACLH,SAAUA,EACVa,KAAK,KACLP,UAAWC,EAAOO,iBAItBJ,EAACK,EAAqB,CACpBlB,KAAMA,EACNC,QAASA,EACTe,KAAK,KACLG,aAAa,kBACbC,QAAQ,eACRlB,SAAUA,MAIlB,EAEMmB,EAAa,SAACC,GAAkB,OAAK,SAACC,GAC1CA,EAAMC,kBACNF,IACD,EAEKG,EAAe,SAAHC,GAAA,IAAM1B,IAAAA,KAAM2B,IAAAA,SAAUC,IAAAA,QAAO,OAC7CpB,EAAAqB,EAAA,CAAAjB,SACGZ,CAAAA,EAAK8B,aACJtB,EAAAqB,EAAA,CAAAjB,SACE,CAAAC,EAAA,MAAA,CAAKJ,UAAWC,EAAOqB,mBACvBlB,EAAA,MAAA,CAAKJ,UAAWC,EAAOsB,iBAAiBpB,SACtCC,EAACoB,EAAc,CAACjB,K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ACV7C,QAAS,WAAA,OAAMW,eAAAA,EAAcrD,EAAK,EAClCwF,UAAW,SAACjE,GAENA,EAAMkE,SAAWlE,EAAMmE,gBACT,UAAdnE,EAAMoE,KAAiC,MAAdpE,EAAMoE,MAGnCpE,EAAMqE,iBACNvC,SAAAA,EAAcrD,IAChB,GAEF,GAEJ,OACEa,EAAA,MAAAgF,EAAAA,EAAA,CACEpF,UAAWqC,EACTpC,EAAOoF,SACPlC,GAAalD,EAAOqF,aACpBzC,GAAc5C,EAAOqD,WACnB/D,EAAKmC,OAASzB,EAAOsD,iBAErBqB,GAAe,GAAA,CAAAzE,SAElBoE,IAGP"}
1
+ {"version":3,"file":"AttachmentTile.js","sources":["../../../src/components/AttachmentPreview/AttachmentTile.tsx"],"sourcesContent":["import { KeyboardEvent, MouseEvent, RefObject, useRef } from 'react';\nimport classNames from 'classnames';\n\nimport { FileIcon } from '../../componentsV2/FileIcon';\nimport { ButtonIcon } from '../../componentsV2/ButtonIcon';\nimport { Tooltip } from '../../componentsV2/Tooltip';\nimport { LoaderCircular } from '../../componentsV2/LoaderCircular';\nimport { PlayOneIcon, CloseSmallIcon, UndoIcon } from '../../icons';\n\nimport { AttachmentActionsMenu } from './AttachmentActionsMenu';\nimport { AttachmentImage } from './AttachmentImage';\nimport { AttachmentDownloadLink } from './AttachmentDownloadLink';\nimport { AttachmentPreviewItem, AttachmentPreviewProps } from './AttachmentPreview.types';\n\nimport styles from './AttachmentPreview.scss';\n\nimport utils from '~/utils/main';\n\nconst getExtension = (name: string) => {\n const parts = name.split('.');\n return parts.length > 1 ? (parts.pop() ?? '').toUpperCase() : '';\n};\n\nconst dropExtension = (name: string) => name.replace(/\\.[^/.]+$/, '');\n\n// A bare <video> paints nothing until a frame is decoded; the media fragment forces one.\nconst withFirstFrame = (src?: string) => (src && !src.includes('#t=') ? `${src}#t=0.1` : src);\n\nexport type AttachmentTileProps = {\n item: AttachmentPreviewItem;\n onRemove?: AttachmentPreviewProps['onRemove'];\n onRetry?: AttachmentPreviewProps['onRetry'];\n onItemClick?: AttachmentPreviewProps['onItemClick'];\n isSelected?: boolean;\n hideActions?: boolean;\n /** Adds \"Share file\" to the tile's hover menu. */\n onShare?: (item: AttachmentPreviewItem) => void;\n};\n\nconst TileActions = ({\n item,\n onShare,\n imageRef,\n}: Pick<AttachmentTileProps, 'item' | 'onShare'> & {\n imageRef?: RefObject<HTMLImageElement>;\n}) => {\n const fileName = utils.getFileNameWithExtensionFromPath(item.name);\n const downloadUrl = item.hideDownload ? undefined : item.downloadUrl || item.src;\n\n return (\n <div className={styles.tileActions} data-testid=\"attachment-tile-actions\">\n {!!downloadUrl && (\n <AttachmentDownloadLink\n url={downloadUrl}\n fileName={fileName}\n size=\"xs\"\n className={styles.tileActionLink}\n />\n )}\n\n <AttachmentActionsMenu\n item={item}\n onShare={onShare}\n size=\"xs\"\n testIdPrefix=\"attachment-tile\"\n tooltip=\"More actions\"\n imageRef={imageRef}\n />\n </div>\n );\n};\n\nconst stopAndRun = (action: () => void) => (event: MouseEvent) => {\n event.stopPropagation();\n action();\n};\n\nconst TileOverlays = ({ item, onRemove, onRetry }: Omit<AttachmentTileProps, 'onItemClick'>) => (\n <>\n {item.isUploading && (\n <>\n <div className={styles.uploadingOverlay} />\n <div className={styles.uploadingSpinner}>\n <LoaderCircular size=\"xs\" className={styles.loader} />\n </div>\n </>\n )}\n\n {!!item.error && (\n <>\n <div className={styles.errorOverlay} />\n {onRetry && (\n <Tooltip title=\"Retry upload\">\n <div className={styles.retryButton}>\n <ButtonIcon\n size=\"xs\"\n type=\"tertiaryBg\"\n onClick={stopAndRun(() => onRetry(item.id))}\n testId=\"attachment-retry\"\n >\n <UndoIcon size=\"small\" />\n </ButtonIcon>\n </div>\n </Tooltip>\n )}\n </>\n )}\n\n {onRemove && !item.isUploading && (\n <Tooltip title=\"Remove\">\n <div\n className={classNames(styles.removeButton, !!item.error && styles.removeButtonVisible)}\n >\n <ButtonIcon\n size=\"xs\"\n type=\"tertiaryBg\"\n onClick={stopAndRun(() => onRemove(item.id))}\n testId=\"attachment-remove\"\n >\n <CloseSmallIcon size=\"small\" />\n </ButtonIcon>\n </div>\n </Tooltip>\n )}\n </>\n);\n\nexport const AttachmentTile = ({\n item,\n onRemove,\n onRetry,\n onItemClick,\n isSelected,\n hideActions,\n onShare,\n}: AttachmentTileProps) => {\n const imageRef = useRef<HTMLImageElement>(null);\n const kind = item.kind ?? 'file';\n const overlays = <TileOverlays item={item} onRemove={onRemove} onRetry={onRetry} />;\n const fileName = utils.getFileNameWithExtensionFromPath(item.name);\n const isReady = !item.isUploading && !item.error;\n const clickable = !!onItemClick && isReady;\n // A tile being composed shows Remove in the same corner, and has nothing to link to.\n const showActions = !hideActions && !onRemove && isReady;\n\n if (kind === 'image' || kind === 'video') {\n return (\n // eslint-disable-next-line jsx-a11y/no-static-element-interactions, jsx-a11y/click-events-have-key-events\n <div\n className={classNames(\n styles.thumbnail,\n clickable && styles.clickable,\n isSelected && styles.selected,\n !!item.error && styles.thumbnailError\n )}\n onClick={clickable ? () => onItemClick?.(item) : undefined}\n >\n <div className={styles.thumbnailInner}>\n {kind === 'image' ? (\n <AttachmentImage\n ref={imageRef}\n src={item.src}\n alt={fileName}\n className={styles.thumbnailImage}\n />\n ) : (\n <video\n src={withFirstFrame(item.src)}\n className={styles.thumbnailImage}\n preload=\"metadata\"\n playsInline\n muted\n />\n )}\n </div>\n {kind === 'video' && (\n <div className={styles.videoOverlay}>\n <PlayOneIcon theme=\"filled\" className={styles.playIcon} />\n </div>\n )}\n {showActions && <TileActions item={item} onShare={onShare} imageRef={imageRef} />}\n {overlays}\n </div>\n );\n }\n\n const fileCardContent = (\n <>\n <div className={styles.fileCardContent}>\n <FileIcon name={fileName} />\n <div className={styles.fileInfo}>\n <Tooltip title={fileName}>\n <div className={styles.fileName}>{dropExtension(fileName)}</div>\n </Tooltip>\n <div className={styles.fileType}>{getExtension(fileName)}</div>\n </div>\n </div>\n {showActions && <TileActions item={item} onShare={onShare} />}\n {overlays}\n </>\n );\n\n const cardInteraction = clickable\n ? {\n role: 'button',\n tabIndex: 0,\n onClick: () => onItemClick?.(item),\n onKeyDown: (event: KeyboardEvent) => {\n // Keys bubbling from the nested download link must reach it, not open the preview.\n if (event.target !== event.currentTarget) return;\n if (event.key !== 'Enter' && event.key !== ' ') return;\n\n // Space would otherwise scroll the surrounding feed.\n event.preventDefault();\n onItemClick?.(item);\n },\n }\n : {};\n\n return (\n <div\n className={classNames(\n styles.fileCard,\n clickable && styles.fileCardLink,\n isSelected && styles.selected,\n !!item.error && styles.thumbnailError\n )}\n {...cardInteraction}\n >\n {fileCardContent}\n </div>\n );\n};\n"],"names":["getExtension","name","_parts$pop","parts","split","length","pop","toUpperCase","TileActions","_ref","item","onShare","imageRef","fileName","utils","getFileNameWithExtensionFromPath","downloadUrl","hideDownload","undefined","src","_jsxs","className","styles","tileActions","children","_jsx","AttachmentDownloadLink","url","size","tileActionLink","AttachmentActionsMenu","testIdPrefix","tooltip","stopAndRun","action","event","stopPropagation","TileOverlays","_ref2","onRemove","onRetry","_Fragment","isUploading","uploadingOverlay","uploadingSpinner","LoaderCircular","loader","error","errorOverlay","Tooltip","title","retryButton","ButtonIcon","type","onClick","id","testId","UndoIcon","classNames","removeButton","removeButtonVisible","CloseSmallIcon","AttachmentTile","_ref3","_item$kind","onItemClick","isSelected","hideActions","useRef","kind","overlays","isReady","clickable","showActions","thumbnail","selected","thumbnailError","thumbnailInner","AttachmentImage","ref","alt","thumbnailImage","includes","concat","preload","playsInline","muted","videoOverlay","PlayOneIcon","theme","playIcon","fileCardContent","FileIcon","fileInfo","replace","fileType","cardInteraction","role","tabIndex","onKeyDown","target","currentTarget","key","preventDefault","_objectSpread","fileCard","fileCardLink"],"mappings":"0pKAkBA,IAAMA,EAAe,SAACC,GAAiB,IAAAC,EAC/BC,EAAQF,EAAKG,MAAM,KACzB,OAAOD,EAAME,OAAS,GAAoB,QAAfF,EAAAA,EAAMG,aAAS,IAAAJ,EAAAA,EAAA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1,2 +1,2 @@
1
- import o from"@babel/runtime/helpers/defineProperty";import n from"@babel/runtime/helpers/slicedToArray";import s from"@babel/runtime/helpers/toConsumableArray";import{forwardRef as t,useState as c,useRef as i,useEffect as r}from"react";import{createPortal as e}from"react-dom";import m from"classnames";import{useSensors as a,useSensor as u,PointerSensor as p,KeyboardSensor as l,DndContext as d,pointerWithin as j,closestCenter as f,DragOverlay as I}from"@dnd-kit/core";import{sortableKeyboardCoordinates as g,SortableContext as v,horizontalListSortingStrategy as h,useSortable as b}from"@dnd-kit/sortable";import{ButtonIcon as y}from"../../componentsV2/ButtonIcon/ButtonIcon.js";import{DragIcon as C}from"../../icons/iconParkIcons.js";import"../../icons/customIcons/icons/AddMessage.js";import"../../icons/customIcons/icons/DragOne.js";import"../../icons/customIcons/icons/Attention.js";import"../../icons/customIcons/icons/Collapse.js";import"../../icons/customIcons/icons/Dashboard.js";import"../../icons/customIcons/icons/Expand.js";import"../../icons/customIcons/icons/FolderClosed.js";import"../../icons/customIcons/icons/FolderClosedFilled.js";import"../../icons/customIcons/icons/FolderOpened.js";import"../../icons/customIcons/icons/GreaterOrEqual.js";import"../../icons/customIcons/icons/LessOrEqual.js";import"../../icons/customIcons/icons/Search.js";import"../../icons/customIcons/icons/SearchOne.js";import"../../icons/customIcons/icons/Wellhub.js";import"../../icons/customIcons/icons/MultiRuler.js";import"../../icons/customIcons/icons/Checkbox.js";import"../../icons/customIcons/icons/CheckboxChecked.js";import"../../icons/customIcons/icons/CheckboxIndeterminate.js";import"../../icons/customIcons/icons/Radio.js";import"../../icons/customIcons/icons/RadioChecked.js";import"../../icons/customIcons/icons/SimulFrac.js";import"../../icons/customIcons/icons/ZipperFrac.js";import"../../icons/customIcons/icons/CautionFilled.js";import"../../icons/customIcons/icons/MoreApp.js";import"../../icons/customIcons/icons/Pad.js";import"../../icons/customIcons/icons/DrilloutUnit.js";import"../../icons/customIcons/icons/FracFleet.js";import"../../icons/customIcons/icons/Global.js";import"../../icons/customIcons/icons/Program.js";import"../../icons/customIcons/icons/Rig.js";import"../../icons/customIcons/icons/Well.js";import"../../icons/customIcons/icons/Gap.js";import"../../icons/customIcons/icons/Pin.js";import"../../icons/customIcons/icons/CloseOneFilled.js";import"../../icons/customIcons/icons/AttentionFilled.js";import"../../icons/customIcons/icons/CheckOneFilled.js";import"../../icons/customIcons/icons/Archive.js";import"../../icons/customIcons/icons/ArchiveCancel.js";import"../../icons/customIcons/icons/Unarchive.js";import"../../icons/customIcons/icons/Archived.js";import"../../icons/customIcons/icons/InterventionUnit.js";import"../../icons/customIcons/icons/CloudDelete.js";import"../../icons/customIcons/icons/Lasso.js";import"../../icons/customIcons/icons/Radius.js";import"../../icons/customIcons/icons/ErrorOps.js";import"../../icons/customIcons/icons/DataTypeOps.js";import"../../icons/customIcons/icons/FalsePositiveOps.js";import"../../icons/customIcons/icons/CalibrationOps.js";import"../../icons/customIcons/icons/CriticalOps.js";import"../../icons/customIcons/icons/Company.js";import"../../icons/customIcons/icons/ArchiveOne.js";import"../../icons/customIcons/icons/ParseBotFusion.js";import"../../icons/customIcons/icons/Connect.js";import"../../icons/customIcons/icons/PuzzleOne.js";import"../../icons/customIcons/icons/Feed.js";import"../../icons/customIcons/icons/Prompt.js";import"../../icons/customIcons/icons/Companies.js";import"../../icons/customIcons/icons/ClipboardAi.js";import"../../icons/customIcons/icons/Key.js";import"../../icons/customIcons/icons/AtSignCrossed.js";import"../../icons/customIcons/icons/MappingManual.js";import"../../icons/customIcons/icons/Mapping.js";import"../../icons/customIcons/icons/Metrics.js";import"../../icons/customIcons/icons/Drops.js";import"../../icons/customIcons/icons/ClipboardSearch.js";import"../../icons/customIcons/icons/Template.js";import"../../icons/customIcons/icons/ClipboardMetrics.js";import"../../icons/customIcons/icons/ClipboardBuilder.js";import"../../icons/customIcons/icons/UnitConversion.js";import"../../icons/customIcons/icons/NPT.js";import"../../icons/customIcons/icons/GuidedFrac.js";import{AttachmentTile as O}from"./AttachmentTile.js";import D from"./AttachmentPreview.scss.js";import"../../constants/goals.js";import"../../constants/segment.js";import"../../constants/alerts.js";import"../../constants/apps.js";import"../../constants/drillstring.js";import"../../constants/completion.js";import"../../constants/appPackages.js";import"../../constants/notifications.js";import"../../constants/feed.js";import"../../constants/bha.js";import"../../constants/corvaCompanyId.js";import"lodash";import"../GradientManager/configuration/constants.js";import{DRAGGING_ATTRIBUTE as k}from"../../constants/attachments.js";import A from"../../utils/main.js";import{jsxs as P,jsx as F}from"react/jsx-runtime";function R(o,n){var s=Object.keys(o);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(o);n&&(t=t.filter((function(n){return Object.getOwnPropertyDescriptor(o,n).enumerable}))),s.push.apply(s,t)}return s}function w(n){for(var s=1;s<arguments.length;s++){var t=null!=arguments[s]?arguments[s]:{};s%2?R(Object(t),!0).forEach((function(s){o(n,s,t[s])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):R(Object(t)).forEach((function(o){Object.defineProperty(n,o,Object.getOwnPropertyDescriptor(t,o))}))}return n}var E=function(o){document.body.toggleAttribute(k,o)},N=function(){setTimeout((function(){return E(!1)}),0)},S=function(o){var n=o.item,s=o.onRemove,t=o.onRetry,c=o.onItemClick,i=o.insertBefore,r=o.insertAfter,e=o.isFirst,a=b({id:String(n.id)}),u=a.attributes,p=a.listeners,l=a.setNodeRef,d=a.isDragging;return P("div",w(w(w({ref:l,className:m(D.slot,d&&D.slotDragging)},u),p),{},{onKeyDown:function(o){var t;null==p||null===(t=p.onKeyDown)||void 0===t||t.call(p,o),"Delete"!==o.key&&"Backspace"!==o.key||s&&(o.preventDefault(),s(n.id))},children:[i&&F("div",{className:m(D.insertion,e?D.insertionEdge:D.insertionBefore)}),F("div",{className:D.slotContent,children:F(O,{item:n,onRemove:s,onRetry:t,onItemClick:c})}),r&&F("div",{className:m(D.insertion,D.insertionAfter)})]}))},x=t((function(t,b){var R=t.items,x=t.onRemove,M=t.onRetry,B=t.onItemClick,G=t.onReorder,L=t.className,T=t.testId,z=c(null),K=n(z,2),U=K[0],W=K[1],q=c(-1),H=n(q,2),V=H[0],X=H[1],Z=i(-1);Z.current=V;var J=i(!1),Q=i([]),Y=i(null),$=a(u(p,{activationConstraint:{distance:4}}),u(l,{coordinateGetter:g})),_=R.map((function(o){return String(o.id)})),oo=U?_.indexOf(U):-1,no=R.find((function(o){return String(o.id)===U})),so=function(o){var n,s;return A.getFileNameWithExtensionFromPath(null!==(n=null===(s=R[o])||void 0===s?void 0:s.name)&&void 0!==n?n:"file")},to=function(o){Z.current=o,X(o)};r((function(){return function(){return E(!1)}}),[]);var co=function(o){return(o>oo?o-1:o)+1},io={onDragStart:function(o){var n=o.active,s=_.indexOf(String(n.id));return"Grabbed ".concat(so(s),". Position ").concat(s+1," of ").concat(_.length,".")},onDragOver:function(){return Z.current<0?"".concat(so(oo)," is back at position ").concat(oo+1," of ").concat(_.length,"."):"".concat(so(oo)," will move to position ").concat(co(Z.current)," of ").concat(_.length,".")},onDragEnd:function(){return Z.current<0?"".concat(so(oo)," was dropped in place."):"".concat(so(oo)," was dropped at position ").concat(co(Z.current)," of ").concat(_.length,".")},onDragCancel:function(){return"Reordering cancelled. ".concat(so(oo)," returned to its position.")}};r((function(){if(!(oo<0)&&J.current){var o=oo,n=function(n){var s={ArrowRight:1,ArrowLeft:-1}[n.key];s&&(o=Math.min(R.length-1,Math.max(0,o+s)),to(function(o){return o===oo?-1:o+(o>oo?1:0)}(o)))};return document.addEventListener("keydown",n),function(){return document.removeEventListener("keydown",n)}}}),[oo,R.length]);var ro=function(o){return to(function(o){var n=o.delta,s=o.activatorEvent,t=null==s?void 0:s.clientX,c=Y.current;if(oo<0||!c||"number"!=typeof t||Number.isNaN(t))return Z.current;var i=t+n.x+c.scrollLeft,r=Q.current.filter((function(o){return i>=o})).length;return r===oo||r===oo+1?-1:r}(o))};return P(d,{sensors:$,accessibility:{announcements:io},collisionDetection:function(o){var n=j(o);return n.length?n:f(o)},onDragStart:function(o){var n=o.active,s=o.activatorEvent;J.current=s instanceof globalThis.KeyboardEvent;var t=Y.current;Q.current=t?Array.from(t.children).map((function(o){var n=o.getBoundingClientRect();return n.left+n.width/2+t.scrollLeft})):[],W(String(n.id)),to(-1),E(!0)},onDragMove:ro,onDragOver:ro,onDragEnd:function(){var o,t,c,i,r,e=Z.current;e>=0&&oo>=0&&G((o=oo,t=e,c=s(_),i=c.splice(o,1),r=n(i,1)[0],c.splice(t>o?t-1:t,0,r),c)),W(null),to(-1),Q.current=[],N()},onDragCancel:function(){W(null),to(-1),Q.current=[],N()},children:[F(v,{items:_,strategy:h,children:F("div",w(w({ref:function(o){if(Y.current=o,"function"==typeof b)b(o);else if(b){b.current=o}},"data-testid":T,className:m(D.scroller,L)},U?o({},k,"true"):{}),{},{children:R.map((function(o,n){return F(S,{item:o,onRemove:x,onRetry:M,onItemClick:B,isFirst:0===n,insertBefore:V===n,insertAfter:n===R.length-1&&V===R.length},o.id)}))}))}),e(F(I,{dropAnimation:null,zIndex:2100,children:no&&P("div",w(w({className:D.dragGhost},o({},k,"true")),{},{children:[F(O,{item:no}),F("div",{className:D.dragGhostHandle,children:F(y,{size:"xs",type:"tertiaryBg",testId:"attachment-drag-handle",children:F(C,{size:"small"})})})]}))}),document.body)]})}));export{x as SortableAttachments};
1
+ import o from"@babel/runtime/helpers/defineProperty";import n from"@babel/runtime/helpers/slicedToArray";import s from"@babel/runtime/helpers/toConsumableArray";import{forwardRef as t,useState as c,useRef as i,useEffect as r}from"react";import{createPortal as e}from"react-dom";import m from"classnames";import{useSensors as a,useSensor as u,PointerSensor as p,KeyboardSensor as l,DndContext as d,pointerWithin as j,closestCenter as f,DragOverlay as I}from"@dnd-kit/core";import{sortableKeyboardCoordinates as g,SortableContext as v,horizontalListSortingStrategy as h,useSortable as b}from"@dnd-kit/sortable";import{ButtonIcon as y}from"../../componentsV2/ButtonIcon/ButtonIcon.js";import{DragIcon as O}from"../../icons/iconParkIcons.js";import"../../icons/customIcons/icons/AddMessage.js";import"../../icons/customIcons/icons/DragOne.js";import"../../icons/customIcons/icons/Attention.js";import"../../icons/customIcons/icons/Collapse.js";import"../../icons/customIcons/icons/Dashboard.js";import"../../icons/customIcons/icons/Expand.js";import"../../icons/customIcons/icons/FolderClosed.js";import"../../icons/customIcons/icons/FolderClosedFilled.js";import"../../icons/customIcons/icons/FolderOpened.js";import"../../icons/customIcons/icons/GreaterOrEqual.js";import"../../icons/customIcons/icons/LessOrEqual.js";import"../../icons/customIcons/icons/Search.js";import"../../icons/customIcons/icons/SearchOne.js";import"../../icons/customIcons/icons/Wellhub.js";import"../../icons/customIcons/icons/MultiRuler.js";import"../../icons/customIcons/icons/Checkbox.js";import"../../icons/customIcons/icons/CheckboxChecked.js";import"../../icons/customIcons/icons/CheckboxIndeterminate.js";import"../../icons/customIcons/icons/Radio.js";import"../../icons/customIcons/icons/RadioChecked.js";import"../../icons/customIcons/icons/SimulFrac.js";import"../../icons/customIcons/icons/ZipperFrac.js";import"../../icons/customIcons/icons/CautionFilled.js";import"../../icons/customIcons/icons/InfoRounded.js";import"../../icons/customIcons/icons/FlameFilled.js";import"../../icons/customIcons/icons/MoreApp.js";import"../../icons/customIcons/icons/Pad.js";import"../../icons/customIcons/icons/DrilloutUnit.js";import"../../icons/customIcons/icons/FracFleet.js";import"../../icons/customIcons/icons/Global.js";import"../../icons/customIcons/icons/Program.js";import"../../icons/customIcons/icons/Rig.js";import"../../icons/customIcons/icons/Well.js";import"../../icons/customIcons/icons/Gap.js";import"../../icons/customIcons/icons/Pin.js";import"../../icons/customIcons/icons/PinOne.js";import"../../icons/customIcons/icons/PinOneCrossed.js";import"../../icons/customIcons/icons/CloseOneFilled.js";import"../../icons/customIcons/icons/AttentionFilled.js";import"../../icons/customIcons/icons/CheckOneFilled.js";import"../../icons/customIcons/icons/Archive.js";import"../../icons/customIcons/icons/ArchiveCancel.js";import"../../icons/customIcons/icons/Unarchive.js";import"../../icons/customIcons/icons/Archived.js";import"../../icons/customIcons/icons/InterventionUnit.js";import"../../icons/customIcons/icons/CloudDelete.js";import"../../icons/customIcons/icons/Lasso.js";import"../../icons/customIcons/icons/Radius.js";import"../../icons/customIcons/icons/ErrorOps.js";import"../../icons/customIcons/icons/DataTypeOps.js";import"../../icons/customIcons/icons/FalsePositiveOps.js";import"../../icons/customIcons/icons/CalibrationOps.js";import"../../icons/customIcons/icons/CriticalOps.js";import"../../icons/customIcons/icons/Company.js";import"../../icons/customIcons/icons/ArchiveOne.js";import"../../icons/customIcons/icons/ParseBotFusion.js";import"../../icons/customIcons/icons/Connect.js";import"../../icons/customIcons/icons/PuzzleOne.js";import"../../icons/customIcons/icons/Feed.js";import"../../icons/customIcons/icons/Prompt.js";import"../../icons/customIcons/icons/Companies.js";import"../../icons/customIcons/icons/ClipboardAi.js";import"../../icons/customIcons/icons/Key.js";import"../../icons/customIcons/icons/AtSignCrossed.js";import"../../icons/customIcons/icons/MappingManual.js";import"../../icons/customIcons/icons/Mapping.js";import"../../icons/customIcons/icons/Metrics.js";import"../../icons/customIcons/icons/Drops.js";import"../../icons/customIcons/icons/ClipboardSearch.js";import"../../icons/customIcons/icons/Template.js";import"../../icons/customIcons/icons/ClipboardMetrics.js";import"../../icons/customIcons/icons/ClipboardBuilder.js";import"../../icons/customIcons/icons/UnitConversion.js";import"../../icons/customIcons/icons/NPT.js";import"../../icons/customIcons/icons/GuidedFrac.js";import{AttachmentTile as C}from"./AttachmentTile.js";import D from"./AttachmentPreview.scss.js";import"../../constants/goals.js";import"../../constants/segment.js";import"../../constants/alerts.js";import"../../constants/apps.js";import"../../constants/drillstring.js";import"../../constants/completion.js";import"../../constants/appPackages.js";import"../../constants/notifications.js";import"../../constants/feed.js";import"../../constants/bha.js";import"../../constants/corvaCompanyId.js";import"lodash";import"../GradientManager/configuration/constants.js";import{DRAGGING_ATTRIBUTE as P}from"../../constants/attachments.js";import k from"../../utils/main.js";import{jsxs as A,jsx as F}from"react/jsx-runtime";function R(o,n){var s=Object.keys(o);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(o);n&&(t=t.filter((function(n){return Object.getOwnPropertyDescriptor(o,n).enumerable}))),s.push.apply(s,t)}return s}function w(n){for(var s=1;s<arguments.length;s++){var t=null!=arguments[s]?arguments[s]:{};s%2?R(Object(t),!0).forEach((function(s){o(n,s,t[s])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):R(Object(t)).forEach((function(o){Object.defineProperty(n,o,Object.getOwnPropertyDescriptor(t,o))}))}return n}var E=function(o){document.body.toggleAttribute(P,o)},N=function(){setTimeout((function(){return E(!1)}),0)},S=function(o){var n=o.item,s=o.onRemove,t=o.onRetry,c=o.onItemClick,i=o.insertBefore,r=o.insertAfter,e=o.isFirst,a=b({id:String(n.id)}),u=a.attributes,p=a.listeners,l=a.setNodeRef,d=a.isDragging;return A("div",w(w(w({ref:l,className:m(D.slot,d&&D.slotDragging)},u),p),{},{onKeyDown:function(o){var t;null==p||null===(t=p.onKeyDown)||void 0===t||t.call(p,o),"Delete"!==o.key&&"Backspace"!==o.key||s&&(o.preventDefault(),s(n.id))},children:[i&&F("div",{className:m(D.insertion,e?D.insertionEdge:D.insertionBefore)}),F("div",{className:D.slotContent,children:F(C,{item:n,onRemove:s,onRetry:t,onItemClick:c})}),r&&F("div",{className:m(D.insertion,D.insertionAfter)})]}))},x=t((function(t,b){var R=t.items,x=t.onRemove,M=t.onRetry,B=t.onItemClick,G=t.onReorder,L=t.className,T=t.testId,z=c(null),K=n(z,2),U=K[0],W=K[1],q=c(-1),H=n(q,2),V=H[0],X=H[1],Z=i(-1);Z.current=V;var J=i(!1),Q=i([]),Y=i(null),$=a(u(p,{activationConstraint:{distance:4}}),u(l,{coordinateGetter:g})),_=R.map((function(o){return String(o.id)})),oo=U?_.indexOf(U):-1,no=R.find((function(o){return String(o.id)===U})),so=function(o){var n,s;return k.getFileNameWithExtensionFromPath(null!==(n=null===(s=R[o])||void 0===s?void 0:s.name)&&void 0!==n?n:"file")},to=function(o){Z.current=o,X(o)};r((function(){return function(){return E(!1)}}),[]);var co=function(o){return(o>oo?o-1:o)+1},io={onDragStart:function(o){var n=o.active,s=_.indexOf(String(n.id));return"Grabbed ".concat(so(s),". Position ").concat(s+1," of ").concat(_.length,".")},onDragOver:function(){return Z.current<0?"".concat(so(oo)," is back at position ").concat(oo+1," of ").concat(_.length,"."):"".concat(so(oo)," will move to position ").concat(co(Z.current)," of ").concat(_.length,".")},onDragEnd:function(){return Z.current<0?"".concat(so(oo)," was dropped in place."):"".concat(so(oo)," was dropped at position ").concat(co(Z.current)," of ").concat(_.length,".")},onDragCancel:function(){return"Reordering cancelled. ".concat(so(oo)," returned to its position.")}};r((function(){if(!(oo<0)&&J.current){var o=oo,n=function(n){var s={ArrowRight:1,ArrowLeft:-1}[n.key];s&&(o=Math.min(R.length-1,Math.max(0,o+s)),to(function(o){return o===oo?-1:o+(o>oo?1:0)}(o)))};return document.addEventListener("keydown",n),function(){return document.removeEventListener("keydown",n)}}}),[oo,R.length]);var ro=function(o){return to(function(o){var n=o.delta,s=o.activatorEvent,t=null==s?void 0:s.clientX,c=Y.current;if(oo<0||!c||"number"!=typeof t||Number.isNaN(t))return Z.current;var i=t+n.x+c.scrollLeft,r=Q.current.filter((function(o){return i>=o})).length;return r===oo||r===oo+1?-1:r}(o))};return A(d,{sensors:$,accessibility:{announcements:io},collisionDetection:function(o){var n=j(o);return n.length?n:f(o)},onDragStart:function(o){var n=o.active,s=o.activatorEvent;J.current=s instanceof globalThis.KeyboardEvent;var t=Y.current;Q.current=t?Array.from(t.children).map((function(o){var n=o.getBoundingClientRect();return n.left+n.width/2+t.scrollLeft})):[],W(String(n.id)),to(-1),E(!0)},onDragMove:ro,onDragOver:ro,onDragEnd:function(){var o,t,c,i,r,e=Z.current;e>=0&&oo>=0&&G((o=oo,t=e,c=s(_),i=c.splice(o,1),r=n(i,1)[0],c.splice(t>o?t-1:t,0,r),c)),W(null),to(-1),Q.current=[],N()},onDragCancel:function(){W(null),to(-1),Q.current=[],N()},children:[F(v,{items:_,strategy:h,children:F("div",w(w({ref:function(o){if(Y.current=o,"function"==typeof b)b(o);else if(b){b.current=o}},"data-testid":T,className:m(D.scroller,L)},U?o({},P,"true"):{}),{},{children:R.map((function(o,n){return F(S,{item:o,onRemove:x,onRetry:M,onItemClick:B,isFirst:0===n,insertBefore:V===n,insertAfter:n===R.length-1&&V===R.length},o.id)}))}))}),e(F(I,{dropAnimation:null,zIndex:2100,children:no&&A("div",w(w({className:D.dragGhost},o({},P,"true")),{},{children:[F(C,{item:no}),F("div",{className:D.dragGhostHandle,children:F(y,{size:"xs",type:"tertiaryBg",testId:"attachment-drag-handle",children:F(O,{size:"small"})})})]}))}),document.body)]})}));export{x as SortableAttachments};
2
2
  //# sourceMappingURL=SortableAttachments.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"SortableAttachments.js","sources":["../../../src/components/AttachmentPreview/SortableAttachments.tsx"],"sourcesContent":["import { forwardRef, KeyboardEvent, MutableRefObject, useEffect, useRef, useState } from 'react';\nimport { createPortal } from 'react-dom';\nimport classNames from 'classnames';\nimport {\n Announcements,\n DndContext,\n DragMoveEvent,\n DragStartEvent,\n DragOverlay,\n KeyboardSensor,\n PointerSensor,\n closestCenter,\n pointerWithin,\n useSensor,\n useSensors,\n} from '@dnd-kit/core';\nimport {\n SortableContext,\n horizontalListSortingStrategy,\n sortableKeyboardCoordinates,\n useSortable,\n} from '@dnd-kit/sortable';\n\nimport { ButtonIcon } from '../../componentsV2/ButtonIcon';\nimport { DragIcon } from '../../icons';\n\nimport { AttachmentTile } from './AttachmentTile';\nimport { AttachmentPreviewItem, AttachmentPreviewProps } from './AttachmentPreview.types';\n\nimport styles from './AttachmentPreview.scss';\n\nimport { DRAGGING_ATTRIBUTE } from '~/constants';\nimport utils from '~/utils/main';\n\n// Above MUI's modal layer (1300) and the platform's panels.\nconst DRAG_GHOST_Z_INDEX = 2100;\n\nconst setDragActive = (isActive: boolean) => {\n document.body.toggleAttribute(DRAGGING_ATTRIBUTE, isActive);\n};\n\nconst clearDragActive = () => {\n setTimeout(() => setDragActive(false), 0);\n};\n\n/** Move `from` to boundary `insertAt` (0 = before everything, length = after everything). */\nconst moveToBoundary = <T,>(list: T[], from: number, insertAt: number): T[] => {\n const next = [...list];\n const [moved] = next.splice(from, 1);\n next.splice(insertAt > from ? insertAt - 1 : insertAt, 0, moved);\n\n return next;\n};\n\nexport type SortableAttachmentsProps = AttachmentPreviewProps & {\n onReorder: NonNullable<AttachmentPreviewProps['onReorder']>;\n};\n\ntype SortableSlotProps = {\n item: AttachmentPreviewItem;\n onRemove?: AttachmentPreviewProps['onRemove'];\n onRetry?: AttachmentPreviewProps['onRetry'];\n onItemClick?: AttachmentPreviewProps['onItemClick'];\n insertBefore: boolean;\n insertAfter: boolean;\n isFirst: boolean;\n};\n\nconst SortableSlot = ({\n item,\n onRemove,\n onRetry,\n onItemClick,\n insertBefore,\n insertAfter,\n isFirst,\n}: SortableSlotProps) => {\n const { attributes, listeners, setNodeRef, isDragging } = useSortable({ id: String(item.id) });\n\n // The sensor owns onKeyDown (space/arrows/escape), so chain onto it rather than replace it.\n const handleKeyDown = (event: KeyboardEvent<HTMLDivElement>) => {\n listeners?.onKeyDown?.(event);\n\n if (event.key !== 'Delete' && event.key !== 'Backspace') return;\n if (!onRemove) return;\n\n event.preventDefault();\n onRemove(item.id);\n };\n\n return (\n <div\n ref={setNodeRef}\n className={classNames(styles.slot, isDragging && styles.slotDragging)}\n {...attributes}\n {...listeners}\n onKeyDown={handleKeyDown}\n >\n {insertBefore && (\n <div\n className={classNames(\n styles.insertion,\n isFirst ? styles.insertionEdge : styles.insertionBefore\n )}\n />\n )}\n <div className={styles.slotContent}>\n <AttachmentTile\n item={item}\n onRemove={onRemove}\n onRetry={onRetry}\n onItemClick={onItemClick}\n />\n </div>\n {insertAfter && <div className={classNames(styles.insertion, styles.insertionAfter)} />}\n </div>\n );\n};\n\nexport const SortableAttachments = forwardRef<HTMLDivElement, SortableAttachmentsProps>(\n ({ items, onRemove, onRetry, onItemClick, onReorder, className, testId }, ref) => {\n const [activeId, setActiveId] = useState<null | string>(null);\n const [insertionIndex, setInsertionIndex] = useState(-1);\n // Read in handlers that must not be re-created as the pointer moves.\n const insertionRef = useRef(-1);\n insertionRef.current = insertionIndex;\n const isKeyboardDragRef = useRef(false);\n const slotMidpointsRef = useRef<number[]>([]);\n\n // The host's ref drives its scroll arrows; this one measures the strip mid-drag.\n const scrollerRef = useRef<HTMLDivElement | null>(null);\n const setScrollerRef = (node: HTMLDivElement | null) => {\n scrollerRef.current = node;\n if (typeof ref === 'function') ref(node);\n else if (ref) {\n const forwardedRef = ref as MutableRefObject<HTMLDivElement | null>;\n forwardedRef.current = node;\n }\n };\n\n const sensors = useSensors(\n // A small threshold keeps Remove and the lightbox clickable on a plain press.\n useSensor(PointerSensor, { activationConstraint: { distance: 4 } }),\n useSensor(KeyboardSensor, { coordinateGetter: sortableKeyboardCoordinates })\n );\n\n const ids = items.map(item => String(item.id));\n const activeIndex = activeId ? ids.indexOf(activeId) : -1;\n const activeItem = items.find(item => String(item.id) === activeId);\n const nameOf = (index: number) =>\n utils.getFileNameWithExtensionFromPath(items[index]?.name ?? 'file');\n\n const setInsertion = (next: number) => {\n insertionRef.current = next;\n setInsertionIndex(next);\n };\n\n useEffect(() => () => setDragActive(false), []);\n\n /** A landing position (0…n-1) expressed as the boundary the insertion bar draws at. */\n const positionToBoundary = (position: number) =>\n position === activeIndex ? -1 : position + (position > activeIndex ? 1 : 0);\n\n // Compare against DOM midpoints captured at drag start: dnd-kit's rects follow its virtual\n // sorted order, which drifts from the screen once transforms are suppressed.\n const resolveInsertion = ({ delta, activatorEvent }: DragMoveEvent) => {\n const startX = (activatorEvent as PointerEvent)?.clientX;\n const scroller = scrollerRef.current;\n if (activeIndex < 0 || !scroller || typeof startX !== 'number' || Number.isNaN(startX)) {\n return insertionRef.current;\n }\n\n const pointerX = startX + delta.x + scroller.scrollLeft;\n const boundary = slotMidpointsRef.current.filter(midpoint => pointerX >= midpoint).length;\n\n // Dropping either side of where it already sits is a no-op.\n return boundary === activeIndex || boundary === activeIndex + 1 ? -1 : boundary;\n };\n\n const positionOf = (boundary: number) => (boundary > activeIndex ? boundary - 1 : boundary) + 1;\n\n const announcements: Announcements = {\n onDragStart: ({ active }) => {\n const index = ids.indexOf(String(active.id));\n\n return `Grabbed ${nameOf(index)}. Position ${index + 1} of ${ids.length}.`;\n },\n onDragOver: () =>\n insertionRef.current < 0\n ? `${nameOf(activeIndex)} is back at position ${activeIndex + 1} of ${ids.length}.`\n : `${nameOf(activeIndex)} will move to position ${positionOf(insertionRef.current)} of ${\n ids.length\n }.`,\n onDragEnd: () =>\n insertionRef.current < 0\n ? `${nameOf(activeIndex)} was dropped in place.`\n : `${nameOf(activeIndex)} was dropped at position ${positionOf(\n insertionRef.current\n )} of ${ids.length}.`,\n onDragCancel: () => `Reordering cancelled. ${nameOf(activeIndex)} returned to its position.`,\n };\n\n // Step by position instead of reading dnd-kit's `over`: its keyboard coordinates come from\n // rect geometry, so a wide tile can clear several narrow ones in one press and pin `over`\n // to the last of them.\n useEffect(() => {\n if (activeIndex < 0 || !isKeyboardDragRef.current) return undefined;\n\n let position = activeIndex;\n const onKeyDown = (event: globalThis.KeyboardEvent) => {\n const step = { ArrowRight: 1, ArrowLeft: -1 }[event.key];\n if (!step) return;\n\n position = Math.min(items.length - 1, Math.max(0, position + step));\n setInsertion(positionToBoundary(position));\n };\n\n document.addEventListener('keydown', onKeyDown);\n\n return () => document.removeEventListener('keydown', onKeyDown);\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [activeIndex, items.length]);\n\n const handleDragStart = ({ active, activatorEvent }: DragStartEvent) => {\n isKeyboardDragRef.current = activatorEvent instanceof globalThis.KeyboardEvent;\n const scroller = scrollerRef.current;\n slotMidpointsRef.current = scroller\n ? Array.from(scroller.children).map(slot => {\n const rect = slot.getBoundingClientRect();\n\n return rect.left + rect.width / 2 + scroller.scrollLeft;\n })\n : [];\n setActiveId(String(active.id));\n setInsertion(-1);\n setDragActive(true);\n };\n\n const handleDragMove = (event: DragMoveEvent) => setInsertion(resolveInsertion(event));\n\n const handleDragEnd = () => {\n // The bar is the source of truth, not `over` — a keyboard drag can move the target\n // without `over` following, and dropping in a gap leaves `over` null.\n const boundary = insertionRef.current;\n if (boundary >= 0 && activeIndex >= 0) {\n onReorder(moveToBoundary(ids, activeIndex, boundary));\n }\n\n setActiveId(null);\n setInsertion(-1);\n slotMidpointsRef.current = [];\n clearDragActive();\n };\n\n const handleDragCancel = () => {\n setActiveId(null);\n setInsertion(-1);\n slotMidpointsRef.current = [];\n clearDragActive();\n };\n\n return (\n <DndContext\n sensors={sensors}\n accessibility={{ announcements }}\n // pointerWithin targets the tile under the cursor; closestCenter covers the gaps\n // between tiles and keyboard drags, where there is no pointer.\n collisionDetection={args => {\n const within = pointerWithin(args);\n\n return within.length ? within : closestCenter(args);\n }}\n onDragStart={handleDragStart}\n onDragMove={handleDragMove}\n onDragOver={handleDragMove}\n onDragEnd={handleDragEnd}\n onDragCancel={handleDragCancel}\n >\n <SortableContext items={ids} strategy={horizontalListSortingStrategy}>\n <div\n ref={setScrollerRef}\n data-testid={testId}\n className={classNames(styles.scroller, className)}\n {...(activeId ? { [DRAGGING_ATTRIBUTE]: 'true' } : {})}\n >\n {items.map((item, index) => (\n <SortableSlot\n key={item.id}\n item={item}\n onRemove={onRemove}\n onRetry={onRetry}\n onItemClick={onItemClick}\n isFirst={index === 0}\n insertBefore={insertionIndex === index}\n insertAfter={index === items.length - 1 && insertionIndex === items.length}\n />\n ))}\n </div>\n </SortableContext>\n\n {/* Portalled so no ancestor transform/backdrop-filter can clip the fixed overlay. */}\n {createPortal(\n <DragOverlay dropAnimation={null} zIndex={DRAG_GHOST_Z_INDEX}>\n {activeItem && (\n <div className={styles.dragGhost} {...{ [DRAGGING_ATTRIBUTE]: 'true' }}>\n <AttachmentTile item={activeItem} />\n <div className={styles.dragGhostHandle}>\n <ButtonIcon size=\"xs\" type=\"tertiaryBg\" testId=\"attachment-drag-handle\">\n <DragIcon size=\"small\" />\n </ButtonIcon>\n </div>\n </div>\n )}\n </DragOverlay>,\n document.body\n )}\n </DndContext>\n );\n }\n);\n"],"names":["setDragActive","isActive","document","body","toggleAttribute","DRAGGING_ATTRIBUTE","clearDragActive","setTimeout","SortableSlot","_ref","item","onRemove","onRetry","onItemClick","insertBefore","insertAfter","isFirst","_useSortable","useSortable","id","String","attributes","listeners","setNodeRef","isDragging","_jsxs","_objectSpread","ref","className","classNames","styles","slot","slotDragging","onKeyDown","event","_listeners$onKeyDown","key","preventDefault","children","_jsx","insertion","insertionEdge","insertionBefore","slotContent","AttachmentTile","insertionAfter","SortableAttachments","forwardRef","_ref2","items","onReorder","testId","useState","_useState2","_slicedToArray","_useState","activeId","setActiveId","_useState3","_useState4","insertionIndex","setInsertionIndex","insertionRef","useRef","current","isKeyboardDragRef","slotMidpointsRef","scrollerRef","sensors","useSensors","useSensor","PointerSensor","activationConstraint","distance","KeyboardSensor","coordinateGetter","sortableKeyboardCoordinates","ids","map","activeIndex","indexOf","activeItem","find","nameOf","index","_items$index$name","_items$index","utils","getFileNameWithExtensionFromPath","name","setInsertion","next","useEffect","positionOf","boundary","announcements","onDragStart","_ref4","active","concat","length","onDragOver","onDragEnd","onDragCancel","position","step","ArrowRight","ArrowLeft","Math","min","max","positionToBoundary","addEventListener","removeEventListener","handleDragMove","_ref3","delta","activatorEvent","startX","clientX","scroller","Number","isNaN","pointerX","x","scrollLeft","filter","midpoint","resolveInsertion","DndContext","accessibility","collisionDetection","args","within","pointerWithin","closestCenter","_ref5","globalThis","KeyboardEvent","Array","from","rect","getBoundingClientRect","left","width","onDragMove","insertAt","_next$splice","moved","list","splice","SortableContext","strategy","horizontalListSortingStrategy","node","createPortal","DragOverlay","dropAnimation","zIndex","dragGhost","dragGhostHandle","ButtonIcon","size","type","DragIcon"],"mappings":"4jLAmCA,IAEMA,EAAgB,SAACC,GACrBC,SAASC,KAAK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b,EAAAA,EAAA,CACEC,IArJe,SAAC+H,GAEtB,GADAvF,EAAYH,QAAU0F,EACH,mBAAR/H,EAAoBA,EAAI+H,QAC9B,GAAI/H,EAAK,CACSA,EACRqC,QAAU0F,CACzB,GAgJM,cAAavG,EACbvB,UAAWC,EAAWC,EAAO0F,SAAU5F,IAClC4B,EAAcnD,EAAAA,GAAAA,EAAqB,QAAW,CAAA,GAAE,GAAA,CAAAiC,SAEpDW,EAAM6B,KAAI,SAACpE,EAAM0E,GAAK,OACrB7C,EAAC/B,EAAY,CAEXE,KAAMA,EACNC,SAAUA,EACVC,QAASA,EACTC,YAAaA,EACbG,QAAmB,IAAVoE,EACTtE,aAAc8C,IAAmBwB,EACjCrE,YAAaqE,IAAUnC,EAAMmD,OAAS,GAAKxC,IAAmBX,EAAMmD,QAP/D1F,EAAKS,YAcjBwI,EACCpH,EAACqH,EAAW,CAACC,cAAe,KAAMC,OA3QjB,KA2Q4CxH,SAC1D2C,IACCxD,EAAA,MAAAC,EAAAA,EAAA,CAAKE,UAAWE,EAAOiI,WAAkB1J,EAAAA,CAAAA,EAAAA,EAAqB,SAAM,CAAA,EAAA,CAAAiC,SAAA,CAClEC,EAACK,EAAc,CAAClC,KAAMuE,KACtB1C,EAAA,MAAA,CAAKX,UAAWE,EAAOkI,gBAAgB1H,SACrCC,EAAC0H,EAAU,CAACC,KAAK,KAAKC,KAAK,aAAahH,OAAO,yBAAwBb,SACrEC,EAAC6H,EAAQ,CAACF,KAAK,oBAMzBhK,SAASC,QAIjB"}
1
+ {"version":3,"file":"SortableAttachments.js","sources":["../../../src/components/AttachmentPreview/SortableAttachments.tsx"],"sourcesContent":["import { forwardRef, KeyboardEvent, MutableRefObject, useEffect, useRef, useState } from 'react';\nimport { createPortal } from 'react-dom';\nimport classNames from 'classnames';\nimport {\n Announcements,\n DndContext,\n DragMoveEvent,\n DragStartEvent,\n DragOverlay,\n KeyboardSensor,\n PointerSensor,\n closestCenter,\n pointerWithin,\n useSensor,\n useSensors,\n} from '@dnd-kit/core';\nimport {\n SortableContext,\n horizontalListSortingStrategy,\n sortableKeyboardCoordinates,\n useSortable,\n} from '@dnd-kit/sortable';\n\nimport { ButtonIcon } from '../../componentsV2/ButtonIcon';\nimport { DragIcon } from '../../icons';\n\nimport { AttachmentTile } from './AttachmentTile';\nimport { AttachmentPreviewItem, AttachmentPreviewProps } from './AttachmentPreview.types';\n\nimport styles from './AttachmentPreview.scss';\n\nimport { DRAGGING_ATTRIBUTE } from '~/constants';\nimport utils from '~/utils/main';\n\n// Above MUI's modal layer (1300) and the platform's panels.\nconst DRAG_GHOST_Z_INDEX = 2100;\n\nconst setDragActive = (isActive: boolean) => {\n document.body.toggleAttribute(DRAGGING_ATTRIBUTE, isActive);\n};\n\nconst clearDragActive = () => {\n setTimeout(() => setDragActive(false), 0);\n};\n\n/** Move `from` to boundary `insertAt` (0 = before everything, length = after everything). */\nconst moveToBoundary = <T,>(list: T[], from: number, insertAt: number): T[] => {\n const next = [...list];\n const [moved] = next.splice(from, 1);\n next.splice(insertAt > from ? insertAt - 1 : insertAt, 0, moved);\n\n return next;\n};\n\nexport type SortableAttachmentsProps = AttachmentPreviewProps & {\n onReorder: NonNullable<AttachmentPreviewProps['onReorder']>;\n};\n\ntype SortableSlotProps = {\n item: AttachmentPreviewItem;\n onRemove?: AttachmentPreviewProps['onRemove'];\n onRetry?: AttachmentPreviewProps['onRetry'];\n onItemClick?: AttachmentPreviewProps['onItemClick'];\n insertBefore: boolean;\n insertAfter: boolean;\n isFirst: boolean;\n};\n\nconst SortableSlot = ({\n item,\n onRemove,\n onRetry,\n onItemClick,\n insertBefore,\n insertAfter,\n isFirst,\n}: SortableSlotProps) => {\n const { attributes, listeners, setNodeRef, isDragging } = useSortable({ id: String(item.id) });\n\n // The sensor owns onKeyDown (space/arrows/escape), so chain onto it rather than replace it.\n const handleKeyDown = (event: KeyboardEvent<HTMLDivElement>) => {\n listeners?.onKeyDown?.(event);\n\n if (event.key !== 'Delete' && event.key !== 'Backspace') return;\n if (!onRemove) return;\n\n event.preventDefault();\n onRemove(item.id);\n };\n\n return (\n <div\n ref={setNodeRef}\n className={classNames(styles.slot, isDragging && styles.slotDragging)}\n {...attributes}\n {...listeners}\n onKeyDown={handleKeyDown}\n >\n {insertBefore && (\n <div\n className={classNames(\n styles.insertion,\n isFirst ? styles.insertionEdge : styles.insertionBefore\n )}\n />\n )}\n <div className={styles.slotContent}>\n <AttachmentTile\n item={item}\n onRemove={onRemove}\n onRetry={onRetry}\n onItemClick={onItemClick}\n />\n </div>\n {insertAfter && <div className={classNames(styles.insertion, styles.insertionAfter)} />}\n </div>\n );\n};\n\nexport const SortableAttachments = forwardRef<HTMLDivElement, SortableAttachmentsProps>(\n ({ items, onRemove, onRetry, onItemClick, onReorder, className, testId }, ref) => {\n const [activeId, setActiveId] = useState<null | string>(null);\n const [insertionIndex, setInsertionIndex] = useState(-1);\n // Read in handlers that must not be re-created as the pointer moves.\n const insertionRef = useRef(-1);\n insertionRef.current = insertionIndex;\n const isKeyboardDragRef = useRef(false);\n const slotMidpointsRef = useRef<number[]>([]);\n\n // The host's ref drives its scroll arrows; this one measures the strip mid-drag.\n const scrollerRef = useRef<HTMLDivElement | null>(null);\n const setScrollerRef = (node: HTMLDivElement | null) => {\n scrollerRef.current = node;\n if (typeof ref === 'function') ref(node);\n else if (ref) {\n const forwardedRef = ref as MutableRefObject<HTMLDivElement | null>;\n forwardedRef.current = node;\n }\n };\n\n const sensors = useSensors(\n // A small threshold keeps Remove and the lightbox clickable on a plain press.\n useSensor(PointerSensor, { activationConstraint: { distance: 4 } }),\n useSensor(KeyboardSensor, { coordinateGetter: sortableKeyboardCoordinates })\n );\n\n const ids = items.map(item => String(item.id));\n const activeIndex = activeId ? ids.indexOf(activeId) : -1;\n const activeItem = items.find(item => String(item.id) === activeId);\n const nameOf = (index: number) =>\n utils.getFileNameWithExtensionFromPath(items[index]?.name ?? 'file');\n\n const setInsertion = (next: number) => {\n insertionRef.current = next;\n setInsertionIndex(next);\n };\n\n useEffect(() => () => setDragActive(false), []);\n\n /** A landing position (0…n-1) expressed as the boundary the insertion bar draws at. */\n const positionToBoundary = (position: number) =>\n position === activeIndex ? -1 : position + (position > activeIndex ? 1 : 0);\n\n // Compare against DOM midpoints captured at drag start: dnd-kit's rects follow its virtual\n // sorted order, which drifts from the screen once transforms are suppressed.\n const resolveInsertion = ({ delta, activatorEvent }: DragMoveEvent) => {\n const startX = (activatorEvent as PointerEvent)?.clientX;\n const scroller = scrollerRef.current;\n if (activeIndex < 0 || !scroller || typeof startX !== 'number' || Number.isNaN(startX)) {\n return insertionRef.current;\n }\n\n const pointerX = startX + delta.x + scroller.scrollLeft;\n const boundary = slotMidpointsRef.current.filter(midpoint => pointerX >= midpoint).length;\n\n // Dropping either side of where it already sits is a no-op.\n return boundary === activeIndex || boundary === activeIndex + 1 ? -1 : boundary;\n };\n\n const positionOf = (boundary: number) => (boundary > activeIndex ? boundary - 1 : boundary) + 1;\n\n const announcements: Announcements = {\n onDragStart: ({ active }) => {\n const index = ids.indexOf(String(active.id));\n\n return `Grabbed ${nameOf(index)}. Position ${index + 1} of ${ids.length}.`;\n },\n onDragOver: () =>\n insertionRef.current < 0\n ? `${nameOf(activeIndex)} is back at position ${activeIndex + 1} of ${ids.length}.`\n : `${nameOf(activeIndex)} will move to position ${positionOf(insertionRef.current)} of ${\n ids.length\n }.`,\n onDragEnd: () =>\n insertionRef.current < 0\n ? `${nameOf(activeIndex)} was dropped in place.`\n : `${nameOf(activeIndex)} was dropped at position ${positionOf(\n insertionRef.current\n )} of ${ids.length}.`,\n onDragCancel: () => `Reordering cancelled. ${nameOf(activeIndex)} returned to its position.`,\n };\n\n // Step by position instead of reading dnd-kit's `over`: its keyboard coordinates come from\n // rect geometry, so a wide tile can clear several narrow ones in one press and pin `over`\n // to the last of them.\n useEffect(() => {\n if (activeIndex < 0 || !isKeyboardDragRef.current) return undefined;\n\n let position = activeIndex;\n const onKeyDown = (event: globalThis.KeyboardEvent) => {\n const step = { ArrowRight: 1, ArrowLeft: -1 }[event.key];\n if (!step) return;\n\n position = Math.min(items.length - 1, Math.max(0, position + step));\n setInsertion(positionToBoundary(position));\n };\n\n document.addEventListener('keydown', onKeyDown);\n\n return () => document.removeEventListener('keydown', onKeyDown);\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [activeIndex, items.length]);\n\n const handleDragStart = ({ active, activatorEvent }: DragStartEvent) => {\n isKeyboardDragRef.current = activatorEvent instanceof globalThis.KeyboardEvent;\n const scroller = scrollerRef.current;\n slotMidpointsRef.current = scroller\n ? Array.from(scroller.children).map(slot => {\n const rect = slot.getBoundingClientRect();\n\n return rect.left + rect.width / 2 + scroller.scrollLeft;\n })\n : [];\n setActiveId(String(active.id));\n setInsertion(-1);\n setDragActive(true);\n };\n\n const handleDragMove = (event: DragMoveEvent) => setInsertion(resolveInsertion(event));\n\n const handleDragEnd = () => {\n // The bar is the source of truth, not `over` — a keyboard drag can move the target\n // without `over` following, and dropping in a gap leaves `over` null.\n const boundary = insertionRef.current;\n if (boundary >= 0 && activeIndex >= 0) {\n onReorder(moveToBoundary(ids, activeIndex, boundary));\n }\n\n setActiveId(null);\n setInsertion(-1);\n slotMidpointsRef.current = [];\n clearDragActive();\n };\n\n const handleDragCancel = () => {\n setActiveId(null);\n setInsertion(-1);\n slotMidpointsRef.current = [];\n clearDragActive();\n };\n\n return (\n <DndContext\n sensors={sensors}\n accessibility={{ announcements }}\n // pointerWithin targets the tile under the cursor; closestCenter covers the gaps\n // between tiles and keyboard drags, where there is no pointer.\n collisionDetection={args => {\n const within = pointerWithin(args);\n\n return within.length ? within : closestCenter(args);\n }}\n onDragStart={handleDragStart}\n onDragMove={handleDragMove}\n onDragOver={handleDragMove}\n onDragEnd={handleDragEnd}\n onDragCancel={handleDragCancel}\n >\n <SortableContext items={ids} strategy={horizontalListSortingStrategy}>\n <div\n ref={setScrollerRef}\n data-testid={testId}\n className={classNames(styles.scroller, className)}\n {...(activeId ? { [DRAGGING_ATTRIBUTE]: 'true' } : {})}\n >\n {items.map((item, index) => (\n <SortableSlot\n key={item.id}\n item={item}\n onRemove={onRemove}\n onRetry={onRetry}\n onItemClick={onItemClick}\n isFirst={index === 0}\n insertBefore={insertionIndex === index}\n insertAfter={index === items.length - 1 && insertionIndex === items.length}\n />\n ))}\n </div>\n </SortableContext>\n\n {/* Portalled so no ancestor transform/backdrop-filter can clip the fixed overlay. */}\n {createPortal(\n <DragOverlay dropAnimation={null} zIndex={DRAG_GHOST_Z_INDEX}>\n {activeItem && (\n <div className={styles.dragGhost} {...{ [DRAGGING_ATTRIBUTE]: 'true' }}>\n <AttachmentTile item={activeItem} />\n <div className={styles.dragGhostHandle}>\n <ButtonIcon size=\"xs\" type=\"tertiaryBg\" testId=\"attachment-drag-handle\">\n <DragIcon size=\"small\" />\n </ButtonIcon>\n </div>\n </div>\n )}\n </DragOverlay>,\n document.body\n )}\n </DndContext>\n );\n }\n);\n"],"names":["setDragActive","isActive","document","body","toggleAttribute","DRAGGING_ATTRIBUTE","clearDragActive","setTimeout","SortableSlot","_ref","item","onRemove","onRetry","onItemClick","insertBefore","insertAfter","isFirst","_useSortable","useSortable","id","String","attributes","listeners","setNodeRef","isDragging","_jsxs","_objectSpread","ref","className","classNames","styles","slot","slotDragging","onKeyDown","event","_listeners$onKeyDown","key","preventDefault","children","_jsx","insertion","insertionEdge","insertionBefore","slotContent","AttachmentTile","insertionAfter","SortableAttachments","forwardRef","_ref2","items","onReorder","testId","useState","_useState2","_slicedToArray","_useState","activeId","setActiveId","_useState3","_useState4","insertionIndex","setInsertionIndex","insertionRef","useRef","current","isKeyboardDragRef","slotMidpointsRef","scrollerRef","sensors","useSensors","useSensor","PointerSensor","activationConstraint","distance","KeyboardSensor","coordinateGetter","sortableKeyboardCoordinates","ids","map","activeIndex","indexOf","activeItem","find","nameOf","index","_items$index$name","_items$index","utils","getFileNameWithExtensionFromPath","name","setInsertion","next","useEffect","positionOf","boundary","announcements","onDragStart","_ref4","active","concat","length","onDragOver","onDragEnd","onDragCancel","position","step","ArrowRight","ArrowLeft","Math","min","max","positionToBoundary","addEventListener","removeEventListener","handleDragMove","_ref3","delta","activatorEvent","startX","clientX","scroller","Number","isNaN","pointerX","x","scrollLeft","filter","midpoint","resolveInsertion","DndContext","accessibility","collisionDetection","args","within","pointerWithin","closestCenter","_ref5","globalThis","KeyboardEvent","Array","from","rect","getBoundingClientRect","left","width","onDragMove","insertAt","_next$splice","moved","list","splice","SortableContext","strategy","horizontalListSortingStrategy","node","createPortal","DragOverlay","dropAnimation","zIndex","dragGhost","dragGhostHandle","ButtonIcon","size","type","DragIcon"],"mappings":"6wLAmCA,IAEMA,EAAgB,SAACC,GACrBC,SAASC,KAAKC,gBAAgBC,EAAoBJ,EACpD,EAEMK,EAAkB,WACtBC,YAAW,WAAA,OAAMP,GAAc,EAAM,GAAE,EACzC,EAyBMQ,EAAe,SAQIC,GAAA,IAPvBC,IAAAA,KACAC,IAAAA,SACAC,IAAAA,QACAC,IAAAA,YACAC,IAAAA,aACAC,IAAAA,YACAC,IAAAA,QAEAC,EAA0DC,EAAY,CAAEC,GAAIC,OAAOV,EAAKS,MAAhFE,IAAAA,WAAYC,IAAAA,UAAWC,IAAAA,WAAYC,IAAAA,WAa3C,OACEC,EAAA,MAAAC,EAAAA,EAAAA,EAAA,CACEC,IAAKJ,EACLK,UAAWC,EAAWC,EAAOC,KAAMP,GAAcM,EAAOE,eACpDX,GACAC,GAAS,GAAA,CACbW,UAhBkB,SAACC,GAAyC,IAAAC,EAC9Db,SAAoB,QAAXa,EAATb,EAAWW,iBAAS,IAAAE,GAApBA,EAAAb,KAAAA,EAAuBY,GAEL,WAAdA,EAAME,KAAkC,cAAdF,EAAME,KAC/BzB,IAELuB,EAAMG,iBACN1B,EAASD,EAAKS,MASamB,SAAA,CAExBxB,GACCyB,EAAA,MAAA,CACEX,UAAWC,EACTC,EAAOU,UACPxB,EAAUc,EAAOW,cAAgBX,EAAOY,mBAI9CH,EAAA,MAAA,CA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AAWE,EAAOkI,gBAAgB1H,SACrCC,EAAC0H,EAAU,CAACC,KAAK,KAAKC,KAAK,aAAahH,OAAO,yBAAwBb,SACrEC,EAAC6H,EAAQ,CAACF,KAAK,oBAMzBhK,SAASC,QAIjB"}
@@ -1 +1 @@
1
- {"version":3,"file":"useStoredAttachments.d.ts","sourceRoot":"","sources":["../../../src/components/AttachmentPreview/useStoredAttachments.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,2BAA2B,CAAC;AAEvE,OAAO,EAAkB,KAAK,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAkB9E;;;GAGG;AACH,eAAO,MAAM,oBAAoB,iBACjB,gBAAgB,EAAE,GAAG,IAAI,KACtC,qBAAqB,EA6DvB,CAAC"}
1
+ {"version":3,"file":"useStoredAttachments.d.ts","sourceRoot":"","sources":["../../../src/components/AttachmentPreview/useStoredAttachments.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,2BAA2B,CAAC;AAEvE,OAAO,EAAkB,KAAK,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AA0B9E;;;GAGG;AACH,eAAO,MAAM,oBAAoB,iBACjB,gBAAgB,EAAE,GAAG,IAAI,KACtC,qBAAqB,EA6DvB,CAAC"}
@@ -1,2 +1,2 @@
1
- import r from"@babel/runtime/helpers/defineProperty";import e from"@babel/runtime/helpers/slicedToArray";import n from"@babel/runtime/helpers/asyncToGenerator";import t from"@babel/runtime/regenerator";import{useState as o,useRef as c,useMemo as i,useEffect as u}from"react";import{getAttachmentKind as a}from"./getAttachmentKind.js";import{getIsStoredKey as f}from"./useStoredAttachment.js";import{getS3DownloadLink as s}from"../../clients/jsonApi/index.js";function p(r,e){var n=Object.keys(r);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(r);e&&(t=t.filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.push.apply(n,t)}return n}function m(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?p(Object(t),!0).forEach((function(n){r(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):p(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}return e}var l=function(){var r=n(t.mark((function r(e,n){var o,c;return t.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,s(e,n);case 3:return o=r.sent,c=o.url,r.abrupt("return",c);case 8:return r.prev=8,r.t0=r.catch(0),console.error('Failed to sign attachment "'.concat(e,'"'),r.t0),r.abrupt("return","");case 12:case"end":return r.stop()}}),r,null,[[0,8]])})));return function(e,n){return r.apply(this,arguments)}}(),b=function(n){var t=o({}),s=e(t,2),p=s[0],b=s[1],h=c(p);h.current=p;var v=i((function(){return null!=n?n:[]}),[n]),O=v.map((function(r){return r.name})).join("|");return u((function(){var e=v.filter((function(r){return!(r.name in h.current)}));if(e.length){var n=!0,t=function(e,n){return b((function(t){return m(m({},t),{},r({},e,m(m({},t[e]),n)))}))};return b((function(r){var n=m({},r);return e.forEach((function(r){var e;n[r.name]=null!==(e=n[r.name])&&void 0!==e?e:{}})),n})),e.forEach((function(r){f(r.name)?l(r.name,"inline").then((function(e){n&&e&&t(r.name,{src:e})})):t(r.name,{src:r.url})})),function(){n=!1}}}),[O]),v.reduce((function(r,e){var n=p[e.name];return null!=n&&n.src?(r.push({id:e.url,name:e.name,src:n.src,kind:a(e),size:e.size}),r):r}),[])};export{b as useStoredAttachments};
1
+ import r from"@babel/runtime/helpers/defineProperty";import e from"@babel/runtime/helpers/slicedToArray";import n from"@babel/runtime/helpers/asyncToGenerator";import t from"@babel/runtime/regenerator";import{useState as o,useRef as u,useMemo as c,useEffect as i}from"react";import{getAttachmentKind as a}from"./getAttachmentKind.js";import{getIsStoredKey as f}from"./useStoredAttachment.js";import{getSignedLink as m,peekSignedLink as s}from"../../utils/signedLinkCache.js";function p(r,e){var n=Object.keys(r);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(r);e&&(t=t.filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.push.apply(n,t)}return n}function l(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?p(Object(t),!0).forEach((function(n){r(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):p(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}return e}var b=function(){var r=n(t.mark((function r(e){return t.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,m(e,"inline");case 3:return r.abrupt("return",r.sent);case 6:return r.prev=6,r.t0=r.catch(0),console.error('Failed to sign attachment "'.concat(e,'"'),r.t0),r.abrupt("return","");case 10:case"end":return r.stop()}}),r,null,[[0,6]])})));return function(e){return r.apply(this,arguments)}}(),h=function(n){var t=o((function(){return function(r){return r.reduce((function(r,e){var n=f(e.name)?s(e.name,"inline"):e.url;return n&&(r[e.name]={src:n}),r}),{})}(null!=n?n:[])})),m=e(t,2),p=m[0],h=m[1],v=u(p);v.current=p;var O=c((function(){return null!=n?n:[]}),[n]),j=O.map((function(r){return r.name})).join("|");return i((function(){var e=O.filter((function(r){return!(r.name in v.current)}));if(e.length){var n=!0,t=function(e,n){return h((function(t){return l(l({},t),{},r({},e,l(l({},t[e]),n)))}))};return h((function(r){var n=l({},r);return e.forEach((function(r){var e;n[r.name]=null!==(e=n[r.name])&&void 0!==e?e:{}})),n})),e.forEach((function(r){f(r.name)?b(r.name).then((function(e){n&&e&&t(r.name,{src:e})})):t(r.name,{src:r.url})})),function(){n=!1}}}),[j]),O.reduce((function(r,e){var n=p[e.name];return null!=n&&n.src?(r.push({id:e.url,name:e.name,src:n.src,kind:a(e),size:e.size}),r):r}),[])};export{h as useStoredAttachments};
2
2
  //# sourceMappingURL=useStoredAttachments.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"useStoredAttachments.js","sources":["../../../src/components/AttachmentPreview/useStoredAttachments.ts"],"sourcesContent":["import { useEffect, useMemo, useRef, useState } from 'react';\n\nimport type { AttachmentPreviewItem } from './AttachmentPreview.types';\nimport { getAttachmentKind } from './getAttachmentKind';\nimport { getIsStoredKey, type StoredAttachment } from './useStoredAttachment';\n\nimport { getS3DownloadLink } from '~/clients/jsonApi';\n\ntype SignedLinks = Record<string, { src?: string }>;\n\nconst getSignedLink = async (name: string, disposition: 'attachment' | 'inline') => {\n try {\n const { url } = await getS3DownloadLink(name, disposition);\n\n return url;\n } catch (error) {\n console.error(`Failed to sign attachment \"${name}\"`, error);\n\n return '';\n }\n};\n\n/**\n * Signs a whole list of stored attachments — the hook-per-file `useStoredAttachment`\n * can't cover a list whose length changes between renders.\n */\nexport const useStoredAttachments = (\n attachments?: StoredAttachment[] | null\n): AttachmentPreviewItem[] => {\n const [links, setLinks] = useState<SignedLinks>({});\n const linksRef = useRef(links);\n linksRef.current = links;\n\n const list = useMemo(() => attachments ?? [], [attachments]);\n const key = list.map(attachment => attachment.name).join('|');\n\n useEffect(() => {\n const pending = list.filter(attachment => !(attachment.name in linksRef.current));\n if (!pending.length) return undefined;\n\n let isActive = true;\n\n const applyLink = (name: string, patch: SignedLinks[string]) =>\n setLinks(prev => ({ ...prev, [name]: { ...prev[name], ...patch } }));\n\n // Claim the names up front so a re-render mid-flight does not ask again.\n setLinks(prev => {\n const claimed = { ...prev };\n\n pending.forEach(attachment => {\n claimed[attachment.name] = claimed[attachment.name] ?? {};\n });\n\n return claimed;\n });\n\n pending.forEach(attachment => {\n // A linked attachment already carries a url that works; only a key of ours needs signing.\n if (!getIsStoredKey(attachment.name)) {\n applyLink(attachment.name, { src: attachment.url });\n\n return;\n }\n\n getSignedLink(attachment.name, 'inline').then(src => {\n if (isActive && src) applyLink(attachment.name, { src });\n });\n });\n\n return () => {\n isActive = false;\n };\n // `key` tracks the list contents; `list` itself is a fresh array on every render.\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [key]);\n\n return list.reduce<AttachmentPreviewItem[]>((acc, attachment) => {\n const link = links[attachment.name];\n if (!link?.src) return acc;\n\n acc.push({\n id: attachment.url,\n name: attachment.name,\n src: link.src,\n kind: getAttachmentKind(attachment),\n size: attachment.size,\n });\n return acc;\n }, []);\n};\n"],"names":["getSignedLink","_ref","_asyncToGenerator","_regeneratorRuntime","mark","_callee","name","disposition","_yield$getS3DownloadL","url","wrap","_context","prev","next","getS3DownloadLink","sent","abrupt","t0","console","error","stop","_x","_x2","apply","this","arguments","useStoredAttachments","attachments","_useState","useState","_useState2","_slicedToArray","links","setLinks","linksRef","useRef","current","list","useMemo","key","map","attachment","join","useEffect","pending","filter","length","isActive","applyLink","patch","_objectSpread","claimed","forEach","_claimed$attachment$n","getIsStoredKey","then","src","reduce","acc","link","push","id","kind","getAttachmentKind","size"],"mappings":"0gCAUA,IAAMA,EAAa,WAAA,IAAGC,EAAAC,EAAAC,EAAAC,MAAA,SAAAC,EAAOC,EAAcC,GAAoC,IAAAC,EAAAC,EAAA,OAAAN,EAAAO,MAAA,SAAAC,GAAA,OAAA,OAAAA,EAAAC,KAAAD,EAAAE,MAAA,KAAA,EAAA,OAAAF,EAAAC,KAAA,EAAAD,EAAAE,KAAA,EAErDC,EAAkBR,EAAMC,GAAY,KAAA,EAA/C,OAA+CC,EAAAG,EAAAI,KAAlDN,IAAAA,IAAGE,EAAAK,OAAA,SAEJP,GAAG,KAAA,EAEkD,OAFlDE,EAAAC,KAAA,EAAAD,EAAAM,GAAAN,EAAA,MAAA,GAEVO,QAAQC,MAAoCb,8BAAAA,OAAAA,EAAe,KAAAK,EAAAM,IAACN,EAAAK,OAAA,SAErD,IAAE,KAAA,GAAA,IAAA,MAAA,OAAAL,EAAAS,OAAA,GAAAf,EAAA,KAAA,CAAA,CAAA,EAAA,IAEZ,KAAA,OAAA,SAVkBgB,EAAAC,GAAA,OAAArB,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AMkB,EAAO3B,EAAMS,EAAWnC,MAC9B,OAAKqD,SAAAA,EAAMH,KAEXE,EAAIE,KAAK,CACPC,GAAIpB,EAAWhC,IACfH,KAAMmC,EAAWnC,KACjBkD,IAAKG,EAAKH,IACVM,KAAMC,EAAkBtB,GACxBuB,KAAMvB,EAAWuB,OAEZN,GATgBA,CAUxB,GAAE,GACL"}
1
+ {"version":3,"file":"useStoredAttachments.js","sources":["../../../src/components/AttachmentPreview/useStoredAttachments.ts"],"sourcesContent":["import { useEffect, useMemo, useRef, useState } from 'react';\n\nimport type { AttachmentPreviewItem } from './AttachmentPreview.types';\nimport { getAttachmentKind } from './getAttachmentKind';\nimport { getIsStoredKey, type StoredAttachment } from './useStoredAttachment';\n\nimport { getSignedLink, peekSignedLink } from '~/utils/signedLinkCache';\n\ntype SignedLinks = Record<string, { src?: string }>;\n\nconst signStoredLink = async (name: string) => {\n try {\n return await getSignedLink(name, 'inline');\n } catch (error) {\n console.error(`Failed to sign attachment \"${name}\"`, error);\n\n return '';\n }\n};\n\nconst seedLinks = (attachments: StoredAttachment[]): SignedLinks =>\n attachments.reduce<SignedLinks>((acc, attachment) => {\n const src = getIsStoredKey(attachment.name)\n ? peekSignedLink(attachment.name, 'inline')\n : attachment.url;\n if (src) acc[attachment.name] = { src };\n\n return acc;\n }, {});\n\n/**\n * Signs a whole list of stored attachments — the hook-per-file `useStoredAttachment`\n * can't cover a list whose length changes between renders.\n */\nexport const useStoredAttachments = (\n attachments?: StoredAttachment[] | null\n): AttachmentPreviewItem[] => {\n const [links, setLinks] = useState<SignedLinks>(() => seedLinks(attachments ?? []));\n const linksRef = useRef(links);\n linksRef.current = links;\n\n const list = useMemo(() => attachments ?? [], [attachments]);\n const key = list.map(attachment => attachment.name).join('|');\n\n useEffect(() => {\n const pending = list.filter(attachment => !(attachment.name in linksRef.current));\n if (!pending.length) return undefined;\n\n let isActive = true;\n\n const applyLink = (name: string, patch: SignedLinks[string]) =>\n setLinks(prev => ({ ...prev, [name]: { ...prev[name], ...patch } }));\n\n // Claim the names up front so a re-render mid-flight does not ask again.\n setLinks(prev => {\n const claimed = { ...prev };\n\n pending.forEach(attachment => {\n claimed[attachment.name] = claimed[attachment.name] ?? {};\n });\n\n return claimed;\n });\n\n pending.forEach(attachment => {\n // A linked attachment already carries a url that works; only a key of ours needs signing.\n if (!getIsStoredKey(attachment.name)) {\n applyLink(attachment.name, { src: attachment.url });\n\n return;\n }\n\n signStoredLink(attachment.name).then(src => {\n if (isActive && src) applyLink(attachment.name, { src });\n });\n });\n\n return () => {\n isActive = false;\n };\n // `key` tracks the list contents; `list` itself is a fresh array on every render.\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [key]);\n\n return list.reduce<AttachmentPreviewItem[]>((acc, attachment) => {\n const link = links[attachment.name];\n if (!link?.src) return acc;\n\n acc.push({\n id: attachment.url,\n name: attachment.name,\n src: link.src,\n kind: getAttachmentKind(attachment),\n size: attachment.size,\n });\n return acc;\n }, []);\n};\n"],"names":["signStoredLink","_ref","_asyncToGenerator","_regeneratorRuntime","mark","name","wrap","_context","prev","next","getSignedLink","abrupt","sent","t0","console","error","stop","_callee","_x","apply","this","arguments","useStoredAttachments","attachments","_useState","useState","reduce","acc","attachment","src","getIsStoredKey","peekSignedLink","url","seedLinks","_useState2","_slicedToArray","links","setLinks","linksRef","useRef","current","list","useMemo","key","map","join","useEffect","pending","filter","length","isActive","applyLink","patch","_objectSpread","claimed","forEach","_claimed$attachment$n","then","link","push","id","kind","getAttachmentKind","size"],"mappings":"0hCAUA,IAAMA,EAAc,WAAA,IAAAC,EAAAC,EAAAC,EAAAC,MAAG,WAAOC,GAAY,OAAAF,EAAAG,MAAA,SAAAC,GAAA,OAAA,OAAAA,EAAAC,KAAAD,EAAAE,MAAA,KAAA,EAAA,OAAAF,EAAAC,KAAA,EAAAD,EAAAE,KAAA,EAEzBC,EAAcL,EAAM,UAAS,KAAA,EAAA,OAAAE,EAAAI,OAAA,SAAAJ,EAAAK,MAAA,KAA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AS,SAAA7B,GACP,IAAM8C,EAAe9C,EAAAA,CAAAA,EAAAA,GAMrB,OAJAuC,EAAQQ,SAAQ,SAAA3B,GAAc,IAAA4B,EAC5BF,EAAQ1B,EAAWvB,MAAgC,QAAxBiD,EAAAA,EAAQ1B,EAAWvB,aAAK,IAAAmD,EAAAA,EAAI,CAAA,CACzD,IAEOF,CACT,IAEAP,EAAQQ,SAAQ,SAAA3B,GAETE,EAAeF,EAAWvB,MAM/BL,EAAe4B,EAAWvB,MAAMoD,MAAK,SAAA5B,GAC/BqB,GAAYrB,GAAKsB,EAAUvB,EAAWvB,KAAM,CAAEwB,IAAAA,GACpD,IAPEsB,EAAUvB,EAAWvB,KAAM,CAAEwB,IAAKD,EAAWI,KAQjD,IAEO,WACLkB,GAAW,EAhCwB,CAoCvC,GAAG,CAACP,IAEGF,EAAKf,QAAgC,SAACC,EAAKC,GAChD,IAAM8B,EAAOtB,EAAMR,EAAWvB,MAC9B,OAAKqD,SAAAA,EAAM7B,KAEXF,EAAIgC,KAAK,CACPC,GAAIhC,EAAWI,IACf3B,KAAMuB,EAAWvB,KACjBwB,IAAK6B,EAAK7B,IACVgC,KAAMC,EAAkBlC,GACxBmC,KAAMnC,EAAWmC,OAEZpC,GATgBA,CAUxB,GAAE,GACL"}
@@ -1 +1 @@
1
- {"version":3,"file":"Map.d.ts","sourceRoot":"","sources":["../../../../../src/components/BICOffsetPickerDialog/components/Map/Map.js"],"names":[],"mappings":"AAUA,OAAO,8BAA8B,CAAC;AA2CtC,iBAAS,QAAQ,CAAC,EAChB,WAAkB,EAClB,KAAK,EACL,WAAkB,EAClB,MAAM,EACN,qBAAkE,EAClE,cAAmD,EACnD,cAAgD,GACjD;;;;;;;;CAAA,+BAmOA"}
1
+ {"version":3,"file":"Map.d.ts","sourceRoot":"","sources":["../../../../../src/components/BICOffsetPickerDialog/components/Map/Map.js"],"names":[],"mappings":"AAUA,OAAO,8BAA8B,CAAC;AAyCtC,iBAAS,QAAQ,CAAC,EAChB,WAAkB,EAClB,KAAK,EACL,WAAkB,EAClB,MAAM,EACN,qBAAkE,EAClE,cAAmD,EACnD,cAAgD,GACjD;;;;;;;;CAAA,+BAmOA"}
@@ -1,2 +1,2 @@
1
- import e from"@babel/runtime/helpers/slicedToArray";import{memo as r,useRef as t,useState as o,useMemo as n,useEffect as i,createElement as u}from"react";import a from"prop-types";import{get as l}from"lodash";import c from"./Map.css.js";import{mapbox as s}from"../../../../utils/index.js";import{createAdaptiveRoot as d}from"../../../../utils/createAdaptiveRoot.js";import"../../../../config/mapboxGl/index.js";import{IS_MAPBOX_ENABLED as p}from"../../../../config/mapbox/index.js";import"mapbox-gl/dist/mapbox-gl.css";import{jsx as f}from"react/jsx-runtime";import m from"mapbox-gl";var v=s.isValidCoordinates,y=[29.749907,-95.358421],g="wells-highlight",h={type:"FeatureCollection",features:[]},w=function(r){var t=e(r,2),o=t[0];return[t[1],o]};function b(r){var a=r.subjectWell,s=void 0===a?null:a,b=r.wells,j=r.offsetWells,C=void 0===j?null:j,M=r.radius,D=r.subjectWellMarkerSize,F=void 0===D?x:D,P=r.wellMarkerSize,L=void 0===P?S:P,W=r.coordsDataPath,k=void 0===W?"settings.top_hole.coordinates":W,z=t(null),B=t(null),I=t(null),R=t(null),T=t(null),q=t(null),N=t(),O=o(!1),A=e(O,2),E=A[0],G=A[1],H=n((function(){return s&&l(s,k)}),[s,k]);i((function(){if(p){B.current=new m.Map({container:z.current,style:"mapbox://styles/mapbox/dark-v9",center:w(y),zoom:1,attributionControl:!1,scrollZoom:!1}),B.current.addControl(new m.NavigationControl({showCompass:!1}),"bottom-right"),B.current.on("load",(function(){B.current.addSource("radius-circle",{type:"geojson",data:h}),B.current.addLayer({id:"radius-circle",type:"fill",source:"radius-circle",paint:{"fill-color":"#03BCD4","fill-opacity":.2}}),B.current.addSource("wells",{type:"geojson",data:h}),B.current.addLayer({id:"wells",type:"circle",source:"wells",paint:{"circle-radius":["get","radius"],"circle-color":"#FFC107","circle-opacity":["get","opacity"]}}),B.current.addSource(g,{type:"geojson",data:h}),B.current.addLayer({id:g,type:"circle",source:g,paint:{"circle-radius":["get","radius"],"circle-color":"#FFC107","circle-opacity":.2}}),G(!0)}));var e=B.current;return function(){var r;null===(r=T.current)||void 0===r||r.unmount(),T.current=null,q.current=null,e.remove(),B.current=null,I.current=null}}}),[]),i((function(){if(B.current&&E)if(H){var r=function(r,t){for(var o=e(r,2),n=o[0],i=o[1],u=arguments.length>2&&void 0!==arguments[2]?arguments[2]:64,a=[],l=t/(111320*Math.cos(n*Math.PI/180)),c=t/110574,s=0;s<=u;s+=1){var d=s/u*(2*Math.PI);a.push([i+l*Math.cos(d),n+c*Math.sin(d)])}return a}(H,1609.34*M);B.current.getSource("radius-circle").setData({type:"Feature",geometry:{type:"Polygon",coordinates:[r]}})}else B.current.getSource("radius-circle").setData(h)}),[M,H,E]);return i((function(){var e;if(B.current&&E){var r=N.current;N.current=b,null===(e=R.current)||void 0===e||e.remove(),B.current.getSource(g).setData(h);var t=C.map((function(e){return e.id})),o=[],n={},i=new m.LngLatBounds;b.forEach((function(e){var r=l(e,k);if(r&&v(r)){var u=s&&s.id===e.id,a=t.includes(e.id),c=u?F:L,d=u||a?1:.3;n[e.id]=e,i.extend(w(r)),o.push({type:"Feature",geometry:{type:"Point",coordinates:w(r)},properties:{wellId:e.id,radius:c,opacity:d}})}})),B.current.getSource("wells").setData({type:"FeatureCollection",features:o}),I.current=o.length?i:null;var a=B.current,c=null,p=function(e){a.getCanvas().style.cursor="pointer";var r=n[e.features[0].properties.wellId];if(r&&r.id!==c){c=r.id;var t=l(r,k);q.current||(q.current=document.createElement("div"),T.current=d(q.current)),T.current.render(u((function(e){var r=e.well;return f("div",{style:{color:"#fff",background:"##414141"},children:f("span",{style:{fontSize:"11px",lineHeight:"16px"},children:l(r,"name")})})}),{well:r})),R.current||(R.current=new m.Popup({closeButton:!1,maxWidth:"none"})),R.current.setLngLat(w(t)).setDOMContent(q.current).addTo(a),function(e,r){B.current.getSource(g).setData({type:"Feature",geometry:{type:"Point",coordinates:w(e)},properties:{radius:3*r}})}(t,e.features[0].properties.radius)}},y=function(){var e;c=null,a.getCanvas().style.cursor="",a.getSource(g).setData(h),null===(e=R.current)||void 0===e||e.remove()},x=function(e){null!=e&&e.point&&a.queryRenderedFeatures(e.point,{layers:[g]}).length||y()};return a.on("mousemove","wells",p),a.on("mouseleave","wells",x),a.on("mouseleave",g,y),setTimeout((function(){B.current&&I.current&&b!==r&&B.current.fitBounds(I.current)}),500),function(){a.off("mousemove","wells",p),a.off("mouseleave","wells",x),a.off("mouseleave",g,y)}}}),[s,b,C,E]),f("div",{className:c.map,children:f("div",{className:c.mapMain,ref:z})})}b.propTypes={subjectWell:a.shape({id:a.number,formation:a.string}),wells:a.arrayOf(a.shape({})).isRequired,offsetWells:a.arrayOf(a.shape({})),radius:a.number.isRequired,subjectWellMarkerSize:a.number,wellMarkerSize:a.number,coordsDataPath:a.string};var x=8,S=5,j=r(b);export{j as default};
1
+ import e from"@babel/runtime/helpers/slicedToArray";import{memo as r,useRef as t,useState as o,useMemo as n,useEffect as i,createElement as u}from"react";import a from"prop-types";import{get as l}from"lodash";import c from"./Map.css.js";import{mapbox as s}from"../../../../utils/index.js";import{createAdaptiveRoot as d}from"../../../../utils/createAdaptiveRoot.js";import"../../../../config/mapboxGl/index.js";import{IS_MAPBOX_ENABLED as p}from"../../../../config/mapbox/index.js";import"mapbox-gl/dist/mapbox-gl.css";import{jsx as f}from"react/jsx-runtime";import m from"mapbox-gl";var v=[29.749907,-95.358421],y="wells-highlight",g={type:"FeatureCollection",features:[]},h=function(r){var t=e(r,2),o=t[0];return[t[1],o]};function w(r){var a=r.subjectWell,w=void 0===a?null:a,S=r.wells,j=r.offsetWells,C=void 0===j?null:j,M=r.radius,D=r.subjectWellMarkerSize,F=void 0===D?b:D,P=r.wellMarkerSize,L=void 0===P?x:P,W=r.coordsDataPath,k=void 0===W?"settings.top_hole.coordinates":W,z=t(null),B=t(null),I=t(null),R=t(null),T=t(null),q=t(null),N=t(),O=o(!1),A=e(O,2),E=A[0],G=A[1],H=n((function(){return w&&l(w,k)}),[w,k]);i((function(){if(p){B.current=new m.Map({container:z.current,style:"mapbox://styles/mapbox/dark-v9",center:h(v),zoom:1,attributionControl:!1,scrollZoom:!1}),B.current.addControl(new m.NavigationControl({showCompass:!1}),"bottom-right"),B.current.on("load",(function(){B.current.addSource("radius-circle",{type:"geojson",data:g}),B.current.addLayer({id:"radius-circle",type:"fill",source:"radius-circle",paint:{"fill-color":"#03BCD4","fill-opacity":.2}}),B.current.addSource("wells",{type:"geojson",data:g}),B.current.addLayer({id:"wells",type:"circle",source:"wells",paint:{"circle-radius":["get","radius"],"circle-color":"#FFC107","circle-opacity":["get","opacity"]}}),B.current.addSource(y,{type:"geojson",data:g}),B.current.addLayer({id:y,type:"circle",source:y,paint:{"circle-radius":["get","radius"],"circle-color":"#FFC107","circle-opacity":.2}}),G(!0)}));var e=B.current;return function(){var r;null===(r=T.current)||void 0===r||r.unmount(),T.current=null,q.current=null,e.remove(),B.current=null,I.current=null}}}),[]),i((function(){if(B.current&&E)if(H){var r=function(r,t){for(var o=e(r,2),n=o[0],i=o[1],u=arguments.length>2&&void 0!==arguments[2]?arguments[2]:64,a=[],l=t/(111320*Math.cos(n*Math.PI/180)),c=t/110574,s=0;s<=u;s+=1){var d=s/u*(2*Math.PI);a.push([i+l*Math.cos(d),n+c*Math.sin(d)])}return a}(H,1609.34*M);B.current.getSource("radius-circle").setData({type:"Feature",geometry:{type:"Polygon",coordinates:[r]}})}else B.current.getSource("radius-circle").setData(g)}),[M,H,E]);return i((function(){var e;if(B.current&&E){var r=N.current;N.current=S,null===(e=R.current)||void 0===e||e.remove(),B.current.getSource(y).setData(g);var t=C.map((function(e){return e.id})),o=[],n={},i=new m.LngLatBounds;S.forEach((function(e){var r=l(e,k);if(r&&s.isValidCoordinates(r)){var u=w&&w.id===e.id,a=t.includes(e.id),c=u?F:L,d=u||a?1:.3;n[e.id]=e,i.extend(h(r)),o.push({type:"Feature",geometry:{type:"Point",coordinates:h(r)},properties:{wellId:e.id,radius:c,opacity:d}})}})),B.current.getSource("wells").setData({type:"FeatureCollection",features:o}),I.current=o.length?i:null;var a=B.current,c=null,p=function(e){a.getCanvas().style.cursor="pointer";var r=n[e.features[0].properties.wellId];if(r&&r.id!==c){c=r.id;var t=l(r,k);q.current||(q.current=document.createElement("div"),T.current=d(q.current)),T.current.render(u((function(e){var r=e.well;return f("div",{style:{color:"#fff",background:"##414141"},children:f("span",{style:{fontSize:"11px",lineHeight:"16px"},children:l(r,"name")})})}),{well:r})),R.current||(R.current=new m.Popup({closeButton:!1,maxWidth:"none"})),R.current.setLngLat(h(t)).setDOMContent(q.current).addTo(a),function(e,r){B.current.getSource(y).setData({type:"Feature",geometry:{type:"Point",coordinates:h(e)},properties:{radius:3*r}})}(t,e.features[0].properties.radius)}},v=function(){var e;c=null,a.getCanvas().style.cursor="",a.getSource(y).setData(g),null===(e=R.current)||void 0===e||e.remove()},b=function(e){null!=e&&e.point&&a.queryRenderedFeatures(e.point,{layers:[y]}).length||v()};return a.on("mousemove","wells",p),a.on("mouseleave","wells",b),a.on("mouseleave",y,v),setTimeout((function(){B.current&&I.current&&S!==r&&B.current.fitBounds(I.current)}),500),function(){a.off("mousemove","wells",p),a.off("mouseleave","wells",b),a.off("mouseleave",y,v)}}}),[w,S,C,E]),f("div",{className:c.map,children:f("div",{className:c.mapMain,ref:z})})}w.propTypes={subjectWell:a.shape({id:a.number,formation:a.string}),wells:a.arrayOf(a.shape({})).isRequired,offsetWells:a.arrayOf(a.shape({})),radius:a.number.isRequired,subjectWellMarkerSize:a.number,wellMarkerSize:a.number,coordsDataPath:a.string};var b=8,x=5,S=r(w);export{S as default};
2
2
  //# sourceMappingURL=Map.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Map.js","sources":["../../../../../src/components/BICOffsetPickerDialog/components/Map/Map.js"],"sourcesContent":["import { createElement, memo, useRef, useEffect, useMemo, useState } from 'react';\nimport PropTypes from 'prop-types';\nimport { get } from 'lodash';\n\nimport styles from './Map.css';\n\nimport { mapbox } from '~/utils';\nimport { createAdaptiveRoot } from '~/utils/createAdaptiveRoot';\nimport mapboxgl from '~/config/mapboxGl';\nimport { IS_MAPBOX_ENABLED } from '~/config/mapbox';\nimport 'mapbox-gl/dist/mapbox-gl.css';\n\nconst { isValidCoordinates } = mapbox;\n\nconst RADIUS_CIRCLE_COLOR = '#03BCD4';\nconst METERS_IN_MILE = 1609.34;\nconst DEFAULT_SUBJECT_WELL_MARKER_SIZE = 8;\nconst DEFAULT_WELL_MARKER_SIZE = 5;\nconst OFFSET_WELL_COLOR = '#FFC107';\n\nconst DEFAULT_COORDS = [29.749907, -95.358421]; // TX coordinates\n\nconst RADIUS_CIRCLE_ID = 'radius-circle';\nconst WELLS_ID = 'wells';\nconst HIGHLIGHT_ID = 'wells-highlight';\nconst EMPTY_FEATURE_COLLECTION = { type: 'FeatureCollection', features: [] };\n\nconst toLngLat = ([lat, lng]) => [lng, lat];\n\n// NOTE: mapbox-gl has no geographic-radius circle primitive, so approximate it with a polygon\nconst makeCirclePolygon = ([lat, lng], radiusMeters, points = 64) => {\n const ring = [];\n const distanceX = radiusMeters / (111320 * Math.cos((lat * Math.PI) / 180));\n const distanceY = radiusMeters / 110574;\n for (let i = 0; i <= points; i += 1) {\n const theta = (i / points) * (2 * Math.PI);\n ring.push([lng + distanceX * Math.cos(theta), lat + distanceY * Math.sin(theta)]);\n }\n return ring;\n};\n\nconst toolTip =\n () =>\n // eslint-disable-next-line react/prop-types\n ({ well }) => {\n return (\n <div style={{ color: '#fff', background: '##414141' }}>\n <span style={{ fontSize: '11px', lineHeight: '16px' }}>{get(well, 'name')}</span>\n </div>\n );\n };\n\n// eslint-disable-next-line no-unused-vars\nfunction WellsMap({\n subjectWell = null,\n wells,\n offsetWells = null,\n radius,\n subjectWellMarkerSize = DEFAULT_WELLS_MAP_SUBJECT_WELL_MARKER_SIZE,\n wellMarkerSize = DEFAULT_WELLS_MAP_WELL_MARKER_SIZE,\n coordsDataPath = 'settings.top_hole.coordinates',\n}) {\n const mapContainerRef = useRef(null);\n const mapRef = useRef(null);\n const markersBoundsRef = useRef(null);\n const popupRef = useRef(null);\n const tooltipRootRef = useRef(null);\n const tooltipContainerRef = useRef(null);\n const prevWellsRef = useRef();\n const [isMapReady, setIsMapReady] = useState(false);\n\n const subjectWellCoords = useMemo(() => {\n return subjectWell && get(subjectWell, coordsDataPath);\n }, [subjectWell, coordsDataPath]);\n\n // NOTE: Initialize map\n useEffect(() => {\n if (!IS_MAPBOX_ENABLED) return undefined;\n\n mapRef.current = new mapboxgl.Map({\n container: mapContainerRef.current,\n style: 'mapbox://styles/mapbox/dark-v9',\n center: toLngLat(DEFAULT_COORDS),\n zoom: 1,\n attributionControl: false,\n scrollZoom: false,\n });\n\n mapRef.current.addControl(\n new mapboxgl.NavigationControl({ showCompass: false }),\n 'bottom-right'\n );\n\n // NOTE: Sources/layers can only be added once the style has loaded.\n // The radius circle layer is added first so well markers render above it (was bringToBack),\n // and the hover highlight layer last so it renders on top of the markers\n mapRef.current.on('load', () => {\n mapRef.current.addSource(RADIUS_CIRCLE_ID, {\n type: 'geojson',\n data: EMPTY_FEATURE_COLLECTION,\n });\n mapRef.current.addLayer({\n id: RADIUS_CIRCLE_ID,\n type: 'fill',\n source: RADIUS_CIRCLE_ID,\n paint: {\n 'fill-color': RADIUS_CIRCLE_COLOR,\n 'fill-opacity': 0.2,\n },\n });\n\n mapRef.current.addSource(WELLS_ID, { type: 'geojson', data: EMPTY_FEATURE_COLLECTION });\n mapRef.current.addLayer({\n id: WELLS_ID,\n type: 'circle',\n source: WELLS_ID,\n paint: {\n 'circle-radius': ['get', 'radius'],\n 'circle-color': OFFSET_WELL_COLOR,\n 'circle-opacity': ['get', 'opacity'],\n },\n });\n\n mapRef.current.addSource(HIGHLIGHT_ID, { type: 'geojson', data: EMPTY_FEATURE_COLLECTION });\n mapRef.current.addLayer({\n id: HIGHLIGHT_ID,\n type: 'circle',\n source: HIGHLIGHT_ID,\n paint: {\n 'circle-radius': ['get', 'radius'],\n 'circle-color': OFFSET_WELL_COLOR,\n 'circle-opacity': 0.2,\n },\n });\n\n setIsMapReady(true);\n });\n\n const map = mapRef.current;\n return () => {\n tooltipRootRef.current?.unmount();\n tooltipRootRef.current = null;\n tooltipContainerRef.current = null;\n\n map.remove();\n mapRef.current = null;\n markersBoundsRef.current = null;\n };\n }, []);\n\n // NOTE: Radius circle\n useEffect(() => {\n if (!mapRef.current || !isMapReady) {\n return;\n }\n\n if (!subjectWellCoords) {\n mapRef.current.getSource(RADIUS_CIRCLE_ID).setData(EMPTY_FEATURE_COLLECTION);\n return;\n }\n\n const ring = makeCirclePolygon(subjectWellCoords, radius * METERS_IN_MILE);\n mapRef.current.getSource(RADIUS_CIRCLE_ID).setData({\n type: 'Feature',\n geometry: { type: 'Polygon', coordinates: [ring] },\n });\n }, [radius, subjectWellCoords, isMapReady]);\n\n const handleMouseOver = (coords, r) => {\n // Highlight the hovered well with a bigger translucent circle\n mapRef.current.getSource(HIGHLIGHT_ID).setData({\n type: 'Feature',\n geometry: { type: 'Point', coordinates: toLngLat(coords) },\n properties: { radius: r * 3 },\n });\n };\n\n // NOTE: Well markers\n useEffect(() => {\n if (!mapRef.current || !isMapReady) {\n return undefined;\n }\n\n const prevWells = prevWellsRef.current;\n prevWellsRef.current = wells;\n\n popupRef.current?.remove();\n mapRef.current.getSource(HIGHLIGHT_ID).setData(EMPTY_FEATURE_COLLECTION);\n\n const offsetWellIds = offsetWells.map(well => well.id);\n\n const features = [];\n const wellsById = {};\n const bounds = new mapboxgl.LngLatBounds();\n wells.forEach(well => {\n const coords = get(well, coordsDataPath);\n\n if (coords && isValidCoordinates(coords)) {\n const isWellSubject = subjectWell && subjectWell.id === well.id;\n const isWellOffset = offsetWellIds.includes(well.id);\n const r = isWellSubject ? subjectWellMarkerSize : wellMarkerSize;\n const opacity = isWellSubject || isWellOffset ? 1 : 0.3;\n\n wellsById[well.id] = well;\n bounds.extend(toLngLat(coords));\n features.push({\n type: 'Feature',\n geometry: { type: 'Point', coordinates: toLngLat(coords) },\n properties: { wellId: well.id, radius: r, opacity },\n });\n }\n });\n\n mapRef.current.getSource(WELLS_ID).setData({ type: 'FeatureCollection', features });\n markersBoundsRef.current = features.length ? bounds : null;\n\n const map = mapRef.current;\n let hoveredWellId = null;\n\n const handleMouseMove = e => {\n map.getCanvas().style.cursor = 'pointer';\n\n const well = wellsById[e.features[0].properties.wellId];\n if (!well || well.id === hoveredWellId) {\n return;\n }\n hoveredWellId = well.id;\n\n const coords = get(well, coordsDataPath);\n\n // Tooltip\n if (!tooltipContainerRef.current) {\n tooltipContainerRef.current = document.createElement('div');\n tooltipRootRef.current = createAdaptiveRoot(tooltipContainerRef.current);\n }\n tooltipRootRef.current.render(createElement(toolTip(), { well }));\n\n if (!popupRef.current) {\n popupRef.current = new mapboxgl.Popup({ closeButton: false, maxWidth: 'none' });\n }\n popupRef.current\n .setLngLat(toLngLat(coords))\n .setDOMContent(tooltipContainerRef.current)\n .addTo(map);\n\n // Highlight\n handleMouseOver(coords, e.features[0].properties.radius);\n };\n\n // NOTE: was the mouseout handler of the Leaflet highlight marker\n const handleHighlightMouseLeave = () => {\n hoveredWellId = null;\n map.getCanvas().style.cursor = '';\n map.getSource(HIGHLIGHT_ID).setData(EMPTY_FEATURE_COLLECTION);\n popupRef.current?.remove();\n };\n\n // NOTE: If the pointer exits before the highlight renders under it, the highlight\n // layer never emits mouseleave — clear here unless the cursor is inside the highlight\n const handleWellsMouseLeave = e => {\n if (e?.point && map.queryRenderedFeatures(e.point, { layers: [HIGHLIGHT_ID] }).length) {\n return;\n }\n handleHighlightMouseLeave();\n };\n\n map.on('mousemove', WELLS_ID, handleMouseMove);\n map.on('mouseleave', WELLS_ID, handleWellsMouseLeave);\n map.on('mouseleave', HIGHLIGHT_ID, handleHighlightMouseLeave);\n\n setTimeout(() => {\n if (mapRef.current && markersBoundsRef.current && wells !== prevWells) {\n mapRef.current.fitBounds(markersBoundsRef.current);\n }\n }, 500);\n\n return () => {\n map.off('mousemove', WELLS_ID, handleMouseMove);\n map.off('mouseleave', WELLS_ID, handleWellsMouseLeave);\n map.off('mouseleave', HIGHLIGHT_ID, handleHighlightMouseLeave);\n };\n }, [subjectWell, wells, offsetWells, isMapReady]);\n\n return (\n <div className={styles.map}>\n <div className={styles.mapMain} ref={mapContainerRef} />\n </div>\n );\n}\n\nWellsMap.propTypes = {\n subjectWell: PropTypes.shape({\n id: PropTypes.number,\n formation: PropTypes.string,\n }),\n wells: PropTypes.arrayOf(PropTypes.shape({})).isRequired,\n offsetWells: PropTypes.arrayOf(PropTypes.shape({})),\n radius: PropTypes.number.isRequired,\n subjectWellMarkerSize: PropTypes.number,\n wellMarkerSize: PropTypes.number,\n coordsDataPath: PropTypes.string,\n};\n\nconst DEFAULT_WELLS_MAP_SUBJECT_WELL_MARKER_SIZE = DEFAULT_SUBJECT_WELL_MARKER_SIZE;\nconst DEFAULT_WELLS_MAP_WELL_MARKER_SIZE = DEFAULT_WELL_MARKER_SIZE;\n\nexport default memo(WellsMap);\n"],"names":["isValidCoordinates","mapbox","DEFAULT_COORDS","HIGHLIGHT_ID","EMPTY_FEATURE_COLLECTION","type","features","toLngLat","_ref","_ref2","_slicedToArray","lat","WellsMap","_ref6","_ref6$subjectWell","subjectWell","wells","_ref6$offsetWells","offsetWells","radius","_ref6$subjectWellMark","subjectWellMarkerSize","DEFAULT_WELLS_MAP_SUBJECT_WELL_MARKER_SIZE","_ref6$wellMarkerSize","wellMarkerSize","DEFAULT_WELLS_MAP_WELL_MARKER_SIZE","_ref6$coordsDataPath","coordsDataPath","mapContainerRef","useRef","mapRef","markersBoundsRef","popupRef","tooltipRootRef","tooltipContainerRef","prevWellsRef","useState","_useState2","_useState","isMapReady","setIsMapReady","subjectWellCoords","useMemo","get","useEffect","IS_MAPBOX_ENABLED","current","mapboxgl","Map","container","style","center","zoom","attributionControl","scrollZoom","addControl","NavigationControl","showCompass","on","addSource","data","addLayer","id","source","paint","map","_tooltipRootRef$curre","unmount","remove","ring","_ref3","radiusMeters","_ref4","lng","points","distanceX","Math","cos","PI","distanceY","i","theta","push","sin","makeCirclePolygon","getSource","setData","geometry","coordinates","_popupRef$current","prevWells","offsetWellIds","well","wellsById","bounds","LngLatBounds","forEach","coords","isWellSubject","isWellOffset","includes","r","opacity","extend","properties","wellId","length","hoveredWellId","handleMouseMove","e","getCanvas","cursor","document","createElement","createAdaptiveRoot","render","_ref5","_jsx","color","background","children","fontSize","lineHeight","Popup","closeButton","maxWidth","setLngLat","setDOMContent","addTo","handleMouseOver","handleHighlightMouseLeave","_popupRef$current2","handleWellsMouseLeave","point","queryRenderedFeatures","layers","setTimeout","fitBounds","off","className","styles","mapMain","ref","propTypes","PropTypes","shape","number","formation","string","arrayOf","isRequired","memo"],"mappings":"wkBAYA,IAAQA,EAAuBC,EAAvBD,mBAQFE,EAAiB,CAAC,WAAY,WAI9BC,EAAe,kBACfC,EAA2B,CAAEC,KAAM,oBAAqBC,SAAU,IAElEC,EAAW,SAAHC,GAAA,IAAAC,EAAAC,EAAAF,EAAA,GAAKG,EAAGF,EAAA,GAAK,MAAM,CAANA,EAAA,GAAYE,EAAI,EA0B3C,SAASC,EAQNC,GAAA,IAAAC,EAAAD,EAPDE,YAAAA,aAAc,KAAID,EAClBE,IAAAA,MAAKC,EAAAJ,EACLK,YAAAA,aAAc,KAAID,EAClBE,IAAAA,OAAMC,EAAAP,EACNQ,sBAAAA,aAAwBC,EAA0CF,EAAAG,EAAAV,EAClEW,eAAAA,aAAiBC,EAAkCF,EAAAG,EAAAb,EACnDc,eAAAA,aAAiB,gCAA+BD,EAE1CE,EAAkBC,EAAO,MACzBC,EAASD,EAAO,MAChBE,EAAmBF,EAAO,MAC1BG,EAAWH,EAAO,MAClBI,EAAiBJ,EAAO,MACxBK,EAAsBL,EAAO,MAC7BM,EAAeN,IACeO,EAAAA,GAAS,GAAMC,EAAA3B,EAAA4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A,MAAA,CAAKsB,UAAWC,EAAOC,QAASC,IAAKlH,KAG3C,CAEAhB,EAASmI,UAAY,CACnBhI,YAAaiI,EAAUC,MAAM,CAC3BnF,GAAIkF,EAAUE,OACdC,UAAWH,EAAUI,SAEvBpI,MAAOgI,EAAUK,QAAQL,EAAUC,MAAM,CAAA,IAAKK,WAC9CpI,YAAa8H,EAAUK,QAAQL,EAAUC,MAAM,CAAE,IACjD9H,OAAQ6H,EAAUE,OAAOI,WACzBjI,sBAAuB2H,EAAUE,OACjC1H,eAAgBwH,EAAUE,OAC1BvH,eAAgBqH,EAAUI,QAG5B,IAAM9H,EA/RmC,EAgSnCG,EA/R2B,EAiSlB8H,EAAAA,EAAK3I"}
1
+ {"version":3,"file":"Map.js","sources":["../../../../../src/components/BICOffsetPickerDialog/components/Map/Map.js"],"sourcesContent":["import { createElement, memo, useRef, useEffect, useMemo, useState } from 'react';\nimport PropTypes from 'prop-types';\nimport { get } from 'lodash';\n\nimport styles from './Map.css';\n\nimport { mapbox } from '~/utils';\nimport { createAdaptiveRoot } from '~/utils/createAdaptiveRoot';\nimport mapboxgl from '~/config/mapboxGl';\nimport { IS_MAPBOX_ENABLED } from '~/config/mapbox';\nimport 'mapbox-gl/dist/mapbox-gl.css';\n\nconst RADIUS_CIRCLE_COLOR = '#03BCD4';\nconst METERS_IN_MILE = 1609.34;\nconst DEFAULT_SUBJECT_WELL_MARKER_SIZE = 8;\nconst DEFAULT_WELL_MARKER_SIZE = 5;\nconst OFFSET_WELL_COLOR = '#FFC107';\n\nconst DEFAULT_COORDS = [29.749907, -95.358421]; // TX coordinates\n\nconst RADIUS_CIRCLE_ID = 'radius-circle';\nconst WELLS_ID = 'wells';\nconst HIGHLIGHT_ID = 'wells-highlight';\nconst EMPTY_FEATURE_COLLECTION = { type: 'FeatureCollection', features: [] };\n\nconst toLngLat = ([lat, lng]) => [lng, lat];\n\n// NOTE: mapbox-gl has no geographic-radius circle primitive, so approximate it with a polygon\nconst makeCirclePolygon = ([lat, lng], radiusMeters, points = 64) => {\n const ring = [];\n const distanceX = radiusMeters / (111320 * Math.cos((lat * Math.PI) / 180));\n const distanceY = radiusMeters / 110574;\n for (let i = 0; i <= points; i += 1) {\n const theta = (i / points) * (2 * Math.PI);\n ring.push([lng + distanceX * Math.cos(theta), lat + distanceY * Math.sin(theta)]);\n }\n return ring;\n};\n\nconst toolTip =\n () =>\n // eslint-disable-next-line react/prop-types\n ({ well }) => {\n return (\n <div style={{ color: '#fff', background: '##414141' }}>\n <span style={{ fontSize: '11px', lineHeight: '16px' }}>{get(well, 'name')}</span>\n </div>\n );\n };\n\n// eslint-disable-next-line no-unused-vars\nfunction WellsMap({\n subjectWell = null,\n wells,\n offsetWells = null,\n radius,\n subjectWellMarkerSize = DEFAULT_WELLS_MAP_SUBJECT_WELL_MARKER_SIZE,\n wellMarkerSize = DEFAULT_WELLS_MAP_WELL_MARKER_SIZE,\n coordsDataPath = 'settings.top_hole.coordinates',\n}) {\n const mapContainerRef = useRef(null);\n const mapRef = useRef(null);\n const markersBoundsRef = useRef(null);\n const popupRef = useRef(null);\n const tooltipRootRef = useRef(null);\n const tooltipContainerRef = useRef(null);\n const prevWellsRef = useRef();\n const [isMapReady, setIsMapReady] = useState(false);\n\n const subjectWellCoords = useMemo(() => {\n return subjectWell && get(subjectWell, coordsDataPath);\n }, [subjectWell, coordsDataPath]);\n\n // NOTE: Initialize map\n useEffect(() => {\n if (!IS_MAPBOX_ENABLED) return undefined;\n\n mapRef.current = new mapboxgl.Map({\n container: mapContainerRef.current,\n style: 'mapbox://styles/mapbox/dark-v9',\n center: toLngLat(DEFAULT_COORDS),\n zoom: 1,\n attributionControl: false,\n scrollZoom: false,\n });\n\n mapRef.current.addControl(\n new mapboxgl.NavigationControl({ showCompass: false }),\n 'bottom-right'\n );\n\n // NOTE: Sources/layers can only be added once the style has loaded.\n // The radius circle layer is added first so well markers render above it (was bringToBack),\n // and the hover highlight layer last so it renders on top of the markers\n mapRef.current.on('load', () => {\n mapRef.current.addSource(RADIUS_CIRCLE_ID, {\n type: 'geojson',\n data: EMPTY_FEATURE_COLLECTION,\n });\n mapRef.current.addLayer({\n id: RADIUS_CIRCLE_ID,\n type: 'fill',\n source: RADIUS_CIRCLE_ID,\n paint: {\n 'fill-color': RADIUS_CIRCLE_COLOR,\n 'fill-opacity': 0.2,\n },\n });\n\n mapRef.current.addSource(WELLS_ID, { type: 'geojson', data: EMPTY_FEATURE_COLLECTION });\n mapRef.current.addLayer({\n id: WELLS_ID,\n type: 'circle',\n source: WELLS_ID,\n paint: {\n 'circle-radius': ['get', 'radius'],\n 'circle-color': OFFSET_WELL_COLOR,\n 'circle-opacity': ['get', 'opacity'],\n },\n });\n\n mapRef.current.addSource(HIGHLIGHT_ID, { type: 'geojson', data: EMPTY_FEATURE_COLLECTION });\n mapRef.current.addLayer({\n id: HIGHLIGHT_ID,\n type: 'circle',\n source: HIGHLIGHT_ID,\n paint: {\n 'circle-radius': ['get', 'radius'],\n 'circle-color': OFFSET_WELL_COLOR,\n 'circle-opacity': 0.2,\n },\n });\n\n setIsMapReady(true);\n });\n\n const map = mapRef.current;\n return () => {\n tooltipRootRef.current?.unmount();\n tooltipRootRef.current = null;\n tooltipContainerRef.current = null;\n\n map.remove();\n mapRef.current = null;\n markersBoundsRef.current = null;\n };\n }, []);\n\n // NOTE: Radius circle\n useEffect(() => {\n if (!mapRef.current || !isMapReady) {\n return;\n }\n\n if (!subjectWellCoords) {\n mapRef.current.getSource(RADIUS_CIRCLE_ID).setData(EMPTY_FEATURE_COLLECTION);\n return;\n }\n\n const ring = makeCirclePolygon(subjectWellCoords, radius * METERS_IN_MILE);\n mapRef.current.getSource(RADIUS_CIRCLE_ID).setData({\n type: 'Feature',\n geometry: { type: 'Polygon', coordinates: [ring] },\n });\n }, [radius, subjectWellCoords, isMapReady]);\n\n const handleMouseOver = (coords, r) => {\n // Highlight the hovered well with a bigger translucent circle\n mapRef.current.getSource(HIGHLIGHT_ID).setData({\n type: 'Feature',\n geometry: { type: 'Point', coordinates: toLngLat(coords) },\n properties: { radius: r * 3 },\n });\n };\n\n // NOTE: Well markers\n useEffect(() => {\n if (!mapRef.current || !isMapReady) {\n return undefined;\n }\n\n const prevWells = prevWellsRef.current;\n prevWellsRef.current = wells;\n\n popupRef.current?.remove();\n mapRef.current.getSource(HIGHLIGHT_ID).setData(EMPTY_FEATURE_COLLECTION);\n\n const offsetWellIds = offsetWells.map(well => well.id);\n\n const features = [];\n const wellsById = {};\n const bounds = new mapboxgl.LngLatBounds();\n wells.forEach(well => {\n const coords = get(well, coordsDataPath);\n\n if (coords && mapbox.isValidCoordinates(coords)) {\n const isWellSubject = subjectWell && subjectWell.id === well.id;\n const isWellOffset = offsetWellIds.includes(well.id);\n const r = isWellSubject ? subjectWellMarkerSize : wellMarkerSize;\n const opacity = isWellSubject || isWellOffset ? 1 : 0.3;\n\n wellsById[well.id] = well;\n bounds.extend(toLngLat(coords));\n features.push({\n type: 'Feature',\n geometry: { type: 'Point', coordinates: toLngLat(coords) },\n properties: { wellId: well.id, radius: r, opacity },\n });\n }\n });\n\n mapRef.current.getSource(WELLS_ID).setData({ type: 'FeatureCollection', features });\n markersBoundsRef.current = features.length ? bounds : null;\n\n const map = mapRef.current;\n let hoveredWellId = null;\n\n const handleMouseMove = e => {\n map.getCanvas().style.cursor = 'pointer';\n\n const well = wellsById[e.features[0].properties.wellId];\n if (!well || well.id === hoveredWellId) {\n return;\n }\n hoveredWellId = well.id;\n\n const coords = get(well, coordsDataPath);\n\n // Tooltip\n if (!tooltipContainerRef.current) {\n tooltipContainerRef.current = document.createElement('div');\n tooltipRootRef.current = createAdaptiveRoot(tooltipContainerRef.current);\n }\n tooltipRootRef.current.render(createElement(toolTip(), { well }));\n\n if (!popupRef.current) {\n popupRef.current = new mapboxgl.Popup({ closeButton: false, maxWidth: 'none' });\n }\n popupRef.current\n .setLngLat(toLngLat(coords))\n .setDOMContent(tooltipContainerRef.current)\n .addTo(map);\n\n // Highlight\n handleMouseOver(coords, e.features[0].properties.radius);\n };\n\n // NOTE: was the mouseout handler of the Leaflet highlight marker\n const handleHighlightMouseLeave = () => {\n hoveredWellId = null;\n map.getCanvas().style.cursor = '';\n map.getSource(HIGHLIGHT_ID).setData(EMPTY_FEATURE_COLLECTION);\n popupRef.current?.remove();\n };\n\n // NOTE: If the pointer exits before the highlight renders under it, the highlight\n // layer never emits mouseleave — clear here unless the cursor is inside the highlight\n const handleWellsMouseLeave = e => {\n if (e?.point && map.queryRenderedFeatures(e.point, { layers: [HIGHLIGHT_ID] }).length) {\n return;\n }\n handleHighlightMouseLeave();\n };\n\n map.on('mousemove', WELLS_ID, handleMouseMove);\n map.on('mouseleave', WELLS_ID, handleWellsMouseLeave);\n map.on('mouseleave', HIGHLIGHT_ID, handleHighlightMouseLeave);\n\n setTimeout(() => {\n if (mapRef.current && markersBoundsRef.current && wells !== prevWells) {\n mapRef.current.fitBounds(markersBoundsRef.current);\n }\n }, 500);\n\n return () => {\n map.off('mousemove', WELLS_ID, handleMouseMove);\n map.off('mouseleave', WELLS_ID, handleWellsMouseLeave);\n map.off('mouseleave', HIGHLIGHT_ID, handleHighlightMouseLeave);\n };\n }, [subjectWell, wells, offsetWells, isMapReady]);\n\n return (\n <div className={styles.map}>\n <div className={styles.mapMain} ref={mapContainerRef} />\n </div>\n );\n}\n\nWellsMap.propTypes = {\n subjectWell: PropTypes.shape({\n id: PropTypes.number,\n formation: PropTypes.string,\n }),\n wells: PropTypes.arrayOf(PropTypes.shape({})).isRequired,\n offsetWells: PropTypes.arrayOf(PropTypes.shape({})),\n radius: PropTypes.number.isRequired,\n subjectWellMarkerSize: PropTypes.number,\n wellMarkerSize: PropTypes.number,\n coordsDataPath: PropTypes.string,\n};\n\nconst DEFAULT_WELLS_MAP_SUBJECT_WELL_MARKER_SIZE = DEFAULT_SUBJECT_WELL_MARKER_SIZE;\nconst DEFAULT_WELLS_MAP_WELL_MARKER_SIZE = DEFAULT_WELL_MARKER_SIZE;\n\nexport default memo(WellsMap);\n"],"names":["DEFAULT_COORDS","HIGHLIGHT_ID","EMPTY_FEATURE_COLLECTION","type","features","toLngLat","_ref","_ref2","_slicedToArray","lat","WellsMap","_ref6","_ref6$subjectWell","subjectWell","wells","_ref6$offsetWells","offsetWells","radius","_ref6$subjectWellMark","subjectWellMarkerSize","DEFAULT_WELLS_MAP_SUBJECT_WELL_MARKER_SIZE","_ref6$wellMarkerSize","wellMarkerSize","DEFAULT_WELLS_MAP_WELL_MARKER_SIZE","_ref6$coordsDataPath","coordsDataPath","mapContainerRef","useRef","mapRef","markersBoundsRef","popupRef","tooltipRootRef","tooltipContainerRef","prevWellsRef","useState","_useState2","_useState","isMapReady","setIsMapReady","subjectWellCoords","useMemo","get","useEffect","IS_MAPBOX_ENABLED","current","mapboxgl","Map","container","style","center","zoom","attributionControl","scrollZoom","addControl","NavigationControl","showCompass","on","addSource","data","addLayer","id","source","paint","map","_tooltipRootRef$curre","unmount","remove","ring","_ref3","radiusMeters","_ref4","lng","points","distanceX","Math","cos","PI","distanceY","i","theta","push","sin","makeCirclePolygon","getSource","setData","geometry","coordinates","_popupRef$current","prevWells","offsetWellIds","well","wellsById","bounds","LngLatBounds","forEach","coords","mapbox","isValidCoordinates","isWellSubject","isWellOffset","includes","r","opacity","extend","properties","wellId","length","hoveredWellId","handleMouseMove","e","getCanvas","cursor","document","createElement","createAdaptiveRoot","render","_ref5","_jsx","color","background","children","fontSize","lineHeight","Popup","closeButton","maxWidth","setLngLat","setDOMContent","addTo","handleMouseOver","handleHighlightMouseLeave","_popupRef$current2","handleWellsMouseLeave","point","queryRenderedFeatures","layers","setTimeout","fitBounds","off","className","styles","mapMain","ref","propTypes","PropTypes","shape","number","formation","string","arrayOf","isRequired","memo"],"mappings":"wkBAYA,IAMMA,EAAiB,CAAC,WAAY,WAI9BC,EAAe,kBACfC,EAA2B,CAAEC,KAAM,oBAAqBC,SAAU,IAElEC,EAAW,SAAHC,GAAA,IAAAC,EAAAC,EAAAF,EAAA,GAAKG,EAA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