@corva/ui 3.75.0-17 → 3.75.0-19

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 (1045) hide show
  1. package/cjs-bundle/components/AddComment/Popover.js +1 -1
  2. package/cjs-bundle/components/AddComment/Popover.js.map +1 -1
  3. package/cjs-bundle/components/AddComment/components/Content.js +1 -1
  4. package/cjs-bundle/components/AddComment/components/Content.js.map +1 -1
  5. package/cjs-bundle/components/AdvancedSlider/Handle.js +1 -1
  6. package/cjs-bundle/components/AdvancedSlider/Handle.js.map +1 -1
  7. package/cjs-bundle/components/AttachFileButton/AttachFileButton.js +1 -1
  8. package/cjs-bundle/components/AttachFileButton/AttachFileButton.js.map +1 -1
  9. package/cjs-bundle/components/Attachment/index.js +1 -1
  10. package/cjs-bundle/components/Attachment/index.js.map +1 -1
  11. package/cjs-bundle/components/AttachmentLightbox/AttachmentLightbox.js +1 -1
  12. package/cjs-bundle/components/AttachmentLightbox/AttachmentLightbox.js.map +1 -1
  13. package/cjs-bundle/components/AttachmentLightbox/AttachmentPreviewPane.js +1 -1
  14. package/cjs-bundle/components/AttachmentLightbox/AttachmentPreviewPane.js.map +1 -1
  15. package/cjs-bundle/components/AttachmentPreview/AttachmentActionsMenu.js +1 -1
  16. package/cjs-bundle/components/AttachmentPreview/AttachmentActionsMenu.js.map +1 -1
  17. package/cjs-bundle/components/AttachmentPreview/AttachmentDownloadLink.js +1 -1
  18. package/cjs-bundle/components/AttachmentPreview/AttachmentDownloadLink.js.map +1 -1
  19. package/cjs-bundle/components/AttachmentPreview/AttachmentTile.js +1 -1
  20. package/cjs-bundle/components/AttachmentPreview/AttachmentTile.js.map +1 -1
  21. package/cjs-bundle/components/AttachmentPreview/SortableAttachments.js +1 -1
  22. package/cjs-bundle/components/AttachmentPreview/SortableAttachments.js.map +1 -1
  23. package/cjs-bundle/components/BICOffsetPickerDialog/index.js +1 -1
  24. package/cjs-bundle/components/BICOffsetPickerDialog/index.js.map +1 -1
  25. package/cjs-bundle/components/Breadcrumbs/index.js +1 -1
  26. package/cjs-bundle/components/Breadcrumbs/index.js.map +1 -1
  27. package/cjs-bundle/components/Button/components/LiveButton/index.js +1 -1
  28. package/cjs-bundle/components/Button/components/LiveButton/index.js.map +1 -1
  29. package/cjs-bundle/components/Button/index.js +1 -1
  30. package/cjs-bundle/components/Casing/CasingTableV2/components/CasingJoints/Editor.js +1 -1
  31. package/cjs-bundle/components/Casing/CasingTableV2/components/CasingJoints/Editor.js.map +1 -1
  32. package/cjs-bundle/components/Casing/CasingTableV2/components/Component.js +1 -1
  33. package/cjs-bundle/components/Casing/CasingTableV2/components/Component.js.map +1 -1
  34. package/cjs-bundle/components/Casing/CasingTableV2/components/DrillPipe/Editor.js +1 -1
  35. package/cjs-bundle/components/Casing/CasingTableV2/components/DrillPipe/Editor.js.map +1 -1
  36. package/cjs-bundle/components/Chart/components/AxisDropdown.js +1 -1
  37. package/cjs-bundle/components/Chart/components/AxisDropdown.js.map +1 -1
  38. package/cjs-bundle/components/Chart/components/ChartSelect.js +1 -1
  39. package/cjs-bundle/components/Chart/components/ChartSelect.js.map +1 -1
  40. package/cjs-bundle/components/Chart/components/buttons/ChartTypeButton.js +1 -1
  41. package/cjs-bundle/components/Chart/components/buttons/ChartTypeButton.js.map +1 -1
  42. package/cjs-bundle/components/Chart/components/buttons/DragToZoomButton.js +1 -1
  43. package/cjs-bundle/components/Chart/components/buttons/DragToZoomButton.js.map +1 -1
  44. package/cjs-bundle/components/Chart/components/buttons/HideAxesButton.js +1 -1
  45. package/cjs-bundle/components/Chart/components/buttons/HideAxesButton.js.map +1 -1
  46. package/cjs-bundle/components/Chart/components/buttons/PanButton.js +1 -1
  47. package/cjs-bundle/components/Chart/components/buttons/PanButton.js.map +1 -1
  48. package/cjs-bundle/components/Chart/components/buttons/ResetZoomButton.js +1 -1
  49. package/cjs-bundle/components/Chart/components/buttons/ResetZoomButton.js.map +1 -1
  50. package/cjs-bundle/components/Chart/components/buttons/ZoomInButton.js +1 -1
  51. package/cjs-bundle/components/Chart/components/buttons/ZoomInButton.js.map +1 -1
  52. package/cjs-bundle/components/Chart/components/buttons/ZoomOutButton.js +1 -1
  53. package/cjs-bundle/components/Chart/components/buttons/ZoomOutButton.js.map +1 -1
  54. package/cjs-bundle/components/Chip/index.js +1 -1
  55. package/cjs-bundle/components/Chip/index.js.map +1 -1
  56. package/cjs-bundle/components/CollapsableSidebar.js +1 -1
  57. package/cjs-bundle/components/CollapsableSidebar.js.map +1 -1
  58. package/cjs-bundle/components/ColorPicker/ColorPicker.js +1 -1
  59. package/cjs-bundle/components/ColorPicker/ColorPicker.js.map +1 -1
  60. package/cjs-bundle/components/ColorPicker/PaletteChromePicker/PaletteChromePicker.js +1 -1
  61. package/cjs-bundle/components/ColorPicker/PaletteChromePicker/PaletteChromePicker.js.map +1 -1
  62. package/cjs-bundle/components/CommentCard/CommentCard.js +1 -1
  63. package/cjs-bundle/components/CommentCard/CommentCard.js.map +1 -1
  64. package/cjs-bundle/components/CommentCard/CommentCardReactions.js +1 -1
  65. package/cjs-bundle/components/CommentCard/CommentCardReactions.js.map +1 -1
  66. package/cjs-bundle/components/CommentCard/CommentCardReplies.js +1 -1
  67. package/cjs-bundle/components/CommentCard/CommentCardReplies.js.map +1 -1
  68. package/cjs-bundle/components/CommentCard/buildCommentReply.js +1 -1
  69. package/cjs-bundle/components/CommentCard/buildCommentReply.js.map +1 -1
  70. package/cjs-bundle/components/CommentComposer/ChatChannelSelector.js +1 -1
  71. package/cjs-bundle/components/CommentComposer/ChatChannelSelector.js.map +1 -1
  72. package/cjs-bundle/components/CommentComposer/CommentComposer.js +1 -1
  73. package/cjs-bundle/components/CommentComposer/CommentComposer.js.map +1 -1
  74. package/cjs-bundle/components/CommentInputNext/CommentInputNext.js +1 -1
  75. package/cjs-bundle/components/CommentInputNext/CommentInputNext.js.map +1 -1
  76. package/cjs-bundle/components/ConfirmationDialog.js +1 -1
  77. package/cjs-bundle/components/ConfirmationDialog.js.map +1 -1
  78. package/cjs-bundle/components/CopyToClipboard/CopyToClipboard.js +1 -1
  79. package/cjs-bundle/components/CopyToClipboard/CopyToClipboard.js.map +1 -1
  80. package/cjs-bundle/components/Counter/index.js +1 -1
  81. package/cjs-bundle/components/Counter/index.js.map +1 -1
  82. package/cjs-bundle/components/DatePicker/index.js +1 -1
  83. package/cjs-bundle/components/DatePicker/index.js.map +1 -1
  84. package/cjs-bundle/components/DateTimePicker/index.js +1 -1
  85. package/cjs-bundle/components/DateTimePicker/index.js.map +1 -1
  86. package/cjs-bundle/components/DevCenter/AppFilterPanelLayout/AppFilterPanelLayout.js +1 -1
  87. package/cjs-bundle/components/DevCenter/AppFilterPanelLayout/AppFilterPanelLayout.js.map +1 -1
  88. package/cjs-bundle/components/DevCenter/AppSettingsPopover/AppSettingsPopover.js +1 -1
  89. package/cjs-bundle/components/DevCenter/AppSettingsPopover/AppSettingsPopover.js.map +1 -1
  90. package/cjs-bundle/components/DevCenter/AppSideBar/AppSideBar.js +1 -1
  91. package/cjs-bundle/components/DevCenter/AppSideBar/AppSideBar.js.map +1 -1
  92. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/DevCenterAppContainer.js +1 -1
  93. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/DevCenterAppContainer.js.map +1 -1
  94. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/AppSettingsDialog.js +1 -1
  95. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/AppSettingsDialog.js.map +1 -1
  96. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/components/RemoveAppButton.js +1 -1
  97. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/components/RemoveAppButton.js.map +1 -1
  98. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchButton.js +1 -1
  99. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchButton.js.map +1 -1
  100. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/LegacyAppActions.js +1 -1
  101. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/LegacyAppActions.js.map +1 -1
  102. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/NonPriorityMenus.js +1 -1
  103. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/NonPriorityMenus.js.map +1 -1
  104. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/PriorityMenus.js +1 -1
  105. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/PriorityMenus.js.map +1 -1
  106. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/RestoreAppSizeButton/index.js +1 -1
  107. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/RestoreAppSizeButton/index.js.map +1 -1
  108. package/cjs-bundle/components/DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedAppPage.js +1 -1
  109. package/cjs-bundle/components/DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedAppPage.js.map +1 -1
  110. package/cjs-bundle/components/DocumentViewer/DocumentViewer.js +1 -1
  111. package/cjs-bundle/components/DocumentViewer/DocumentViewer.js.map +1 -1
  112. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Agitator/Editor.js +1 -1
  113. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Agitator/Editor.js.map +1 -1
  114. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Bit/Editor.js +1 -1
  115. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Bit/Editor.js.map +1 -1
  116. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Component.js +1 -1
  117. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Component.js.map +1 -1
  118. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/DrillCollar/Editor.js +1 -1
  119. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/DrillCollar/Editor.js.map +1 -1
  120. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/DrillPipe/Editor.js +1 -1
  121. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/DrillPipe/Editor.js.map +1 -1
  122. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Jar/Editor.js +1 -1
  123. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Jar/Editor.js.map +1 -1
  124. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Lwd/Editor.js +1 -1
  125. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Lwd/Editor.js.map +1 -1
  126. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Mwd/Editor.js +1 -1
  127. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Mwd/Editor.js.map +1 -1
  128. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Pdm/Editor.js +1 -1
  129. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Pdm/Editor.js.map +1 -1
  130. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Rss/Editor.js +1 -1
  131. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Rss/Editor.js.map +1 -1
  132. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Stabilizer/Editor.js +1 -1
  133. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Stabilizer/Editor.js.map +1 -1
  134. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Sub/Editor.js +1 -1
  135. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Sub/Editor.js.map +1 -1
  136. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Ur/Editor.js +1 -1
  137. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Ur/Editor.js.map +1 -1
  138. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/shared/ConfirmationPopup.js +1 -1
  139. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/shared/ConfirmationPopup.js.map +1 -1
  140. package/cjs-bundle/components/EChartsWrapper/components/Toolbox/Toolbox.js +1 -1
  141. package/cjs-bundle/components/EChartsWrapper/components/Toolbox/Toolbox.js.map +1 -1
  142. package/cjs-bundle/components/EmojiIconButton.js +1 -1
  143. package/cjs-bundle/components/EmojiIconButton.js.map +1 -1
  144. package/cjs-bundle/components/ErrorBoundary/DevCenterAppErrorView/DevCenterAppErrorView.js +1 -1
  145. package/cjs-bundle/components/ErrorBoundary/DevCenterAppErrorView/DevCenterAppErrorView.js.map +1 -1
  146. package/cjs-bundle/components/ErrorBoundary/ErrorBoundary.js +1 -1
  147. package/cjs-bundle/components/ErrorBoundary/ErrorBoundary.js.map +1 -1
  148. package/cjs-bundle/components/FeedCard/useFeedActivity.js +1 -1
  149. package/cjs-bundle/components/FeedCard/useFeedActivity.js.map +1 -1
  150. package/cjs-bundle/components/FeedItem/FeedItem.js +1 -1
  151. package/cjs-bundle/components/FeedItem/FeedItem.js.map +1 -1
  152. package/cjs-bundle/components/FilesDropzone/FilesDropzone.js +1 -1
  153. package/cjs-bundle/components/FilesDropzone/FilesDropzone.js.map +1 -1
  154. package/cjs-bundle/components/FilesLoader/FilesLoader.js +1 -1
  155. package/cjs-bundle/components/FilesLoader/FilesLoader.js.map +1 -1
  156. package/cjs-bundle/components/FilesLoaderV2/FilesLoaderV2.js +1 -1
  157. package/cjs-bundle/components/FilesLoaderV2/FilesLoaderV2.js.map +1 -1
  158. package/cjs-bundle/components/Formula/CloseSuggestion.js +1 -1
  159. package/cjs-bundle/components/Formula/CloseSuggestion.js.map +1 -1
  160. package/cjs-bundle/components/Formula/Formula.js +1 -1
  161. package/cjs-bundle/components/Formula/Formula.js.map +1 -1
  162. package/cjs-bundle/components/GradientManager/GradientManager.js +1 -1
  163. package/cjs-bundle/components/GradientManager/GradientManager.js.map +1 -1
  164. package/cjs-bundle/components/GradientManager/GradientSelect.js +1 -1
  165. package/cjs-bundle/components/GradientManager/GradientSelect.js.map +1 -1
  166. package/cjs-bundle/components/GradientPicker/GradientPicker.js +1 -1
  167. package/cjs-bundle/components/GradientPicker/GradientPicker.js.map +1 -1
  168. package/cjs-bundle/components/HelpCenter/HelpCenterIcon.js +1 -1
  169. package/cjs-bundle/components/HelpCenter/HelpCenterIcon.js.map +1 -1
  170. package/cjs-bundle/components/Hint/Hint.js +1 -1
  171. package/cjs-bundle/components/Hint/Hint.js.map +1 -1
  172. package/cjs-bundle/components/Modal/CorvaModal.js +1 -1
  173. package/cjs-bundle/components/Modal/CorvaModal.js.map +1 -1
  174. package/cjs-bundle/components/Notifications/Toast.js +1 -1
  175. package/cjs-bundle/components/Notifications/Toast.js.map +1 -1
  176. package/cjs-bundle/components/OffsetWellPickerV2/OffsetWellPickerDialog.js +1 -1
  177. package/cjs-bundle/components/OffsetWellPickerV2/OffsetWellPickerDialog.js.map +1 -1
  178. package/cjs-bundle/components/OffsetWellPickerV2/components/Filter/ToggleMapButton.js +1 -1
  179. package/cjs-bundle/components/OffsetWellPickerV2/components/Filter/ToggleMapButton.js.map +1 -1
  180. package/cjs-bundle/components/OffsetWellPickerV2/components/Table/MetricsAddMenu.js +1 -1
  181. package/cjs-bundle/components/OffsetWellPickerV2/components/Table/MetricsAddMenu.js.map +1 -1
  182. package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/MetricsAddMenu.js +1 -1
  183. package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/MetricsAddMenu.js.map +1 -1
  184. package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/index.js +1 -1
  185. package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/index.js.map +1 -1
  186. package/cjs-bundle/components/OffsetWellPickerV3/components/OffsetWellSelectionView/index.js +1 -1
  187. package/cjs-bundle/components/OffsetWellPickerV3/components/OffsetWellSelectionView/index.js.map +1 -1
  188. package/cjs-bundle/components/OffsetWellPickerV3/components/TabSelection/ToggleMapButton.js +1 -1
  189. package/cjs-bundle/components/OffsetWellPickerV3/components/TabSelection/ToggleMapButton.js.map +1 -1
  190. package/cjs-bundle/components/OffsetWellPickerV3/components/TabSelection/index.js +1 -1
  191. package/cjs-bundle/components/OffsetWellPickerV3/components/TabSelection/index.js.map +1 -1
  192. package/cjs-bundle/components/OffsetWellPickerV3/components/WellHubView/index.js +1 -1
  193. package/cjs-bundle/components/OffsetWellPickerV3/components/WellHubView/index.js.map +1 -1
  194. package/cjs-bundle/components/OffsetWellPickerV3/components/shared/OffsetWellTableHead.js +1 -1
  195. package/cjs-bundle/components/OffsetWellPickerV3/components/shared/OffsetWellTableHead.js.map +1 -1
  196. package/cjs-bundle/components/OffsetWellPickerV5/components/AppHeader/components/HeaderActions/HeaderActions.js +1 -1
  197. package/cjs-bundle/components/OffsetWellPickerV5/components/AppHeader/components/HeaderActions/HeaderActions.js.map +1 -1
  198. package/cjs-bundle/components/OffsetWellPickerV5/components/AppHeader/components/LoadAllWellsToggle/LoadAllWellsToggle.js +1 -1
  199. package/cjs-bundle/components/OffsetWellPickerV5/components/AppHeader/components/LoadAllWellsToggle/LoadAllWellsToggle.js.map +1 -1
  200. package/cjs-bundle/components/OffsetWellPickerV5/components/CustomInfoIcon/CustomInfoIcon.js +1 -1
  201. package/cjs-bundle/components/OffsetWellPickerV5/components/CustomInfoIcon/CustomInfoIcon.js.map +1 -1
  202. package/cjs-bundle/components/OffsetWellPickerV5/components/Filter/Filter.js +1 -1
  203. package/cjs-bundle/components/OffsetWellPickerV5/components/Filter/Filter.js.map +1 -1
  204. package/cjs-bundle/components/OffsetWellPickerV5/components/Filter/components/CustomDateFields/CustomDateFields.js +1 -1
  205. package/cjs-bundle/components/OffsetWellPickerV5/components/Filter/components/CustomDateFields/CustomDateFields.js.map +1 -1
  206. package/cjs-bundle/components/OffsetWellPickerV5/components/Filter/components/PeriodFilterSelect/PeriodFilterSelect.js +1 -1
  207. package/cjs-bundle/components/OffsetWellPickerV5/components/Filter/components/PeriodFilterSelect/PeriodFilterSelect.js.map +1 -1
  208. package/cjs-bundle/components/OffsetWellPickerV5/components/Filter/components/SingleFilterSelect/SingleFilterSelect.js +1 -1
  209. package/cjs-bundle/components/OffsetWellPickerV5/components/Filter/components/SingleFilterSelect/SingleFilterSelect.js.map +1 -1
  210. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/ClusterTooltip/ClusterTooltip.js +1 -1
  211. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/ClusterTooltip/ClusterTooltip.js.map +1 -1
  212. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/LayerSwitcher/LayerSwitcher.js +1 -1
  213. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/LayerSwitcher/LayerSwitcher.js.map +1 -1
  214. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapControls/MapControls.js +1 -1
  215. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapControls/MapControls.js.map +1 -1
  216. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapHints/MapHintsStash.js +1 -1
  217. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapHints/MapHintsStash.js.map +1 -1
  218. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/SelectionToast/SelectionToast.js +1 -1
  219. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/SelectionToast/SelectionToast.js.map +1 -1
  220. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/SubjectWellMarker/SubjectWellMarker.js +1 -1
  221. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/SubjectWellMarker/SubjectWellMarker.js.map +1 -1
  222. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/WellTooltip/WellTooltip.js +1 -1
  223. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/WellTooltip/WellTooltip.js.map +1 -1
  224. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellPickerContent/OffsetWellPickerContent.js +1 -1
  225. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellPickerContent/OffsetWellPickerContent.js.map +1 -1
  226. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellPickerV5WithStore/components/CompanySafeguardWrapper/CompanySafeguardWrapper.js +1 -1
  227. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellPickerV5WithStore/components/CompanySafeguardWrapper/CompanySafeguardWrapper.js.map +1 -1
  228. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellPickerV5WithStore/components/UserSettingsWrapper/UserSettingsWrapper.js +1 -1
  229. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellPickerV5WithStore/components/UserSettingsWrapper/UserSettingsWrapper.js.map +1 -1
  230. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/AdvancedSearch.js +1 -1
  231. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/AdvancedSearch.js.map +1 -1
  232. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/components/AssetResultSection/AssetResultSection.js +1 -1
  233. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/components/AssetResultSection/AssetResultSection.js.map +1 -1
  234. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/components/AutoCompleteAssetSearch/AutoCompleteAssetSearch.js +1 -1
  235. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/components/AutoCompleteAssetSearch/AutoCompleteAssetSearch.js.map +1 -1
  236. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/CompanyCell/CompanyCell.js +1 -1
  237. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/CompanyCell/CompanyCell.js.map +1 -1
  238. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/FormationCell/FormationCell.js +1 -1
  239. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/FormationCell/FormationCell.js.map +1 -1
  240. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/InterventionAssetCell/InterventionAssetCell.js +1 -1
  241. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/InterventionAssetCell/InterventionAssetCell.js.map +1 -1
  242. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/PadNameCell/PadNameCell.js +1 -1
  243. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/PadNameCell/PadNameCell.js.map +1 -1
  244. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/RigCell/RigCell.js +1 -1
  245. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/RigCell/RigCell.js.map +1 -1
  246. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/WellNameCell/WellNameCell.js +1 -1
  247. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/WellNameCell/WellNameCell.js.map +1 -1
  248. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/SettingsMenu.js +1 -1
  249. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/SettingsMenu.js.map +1 -1
  250. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/MetricsSettingsSection/MetricsSettingsSection.js +1 -1
  251. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/MetricsSettingsSection/MetricsSettingsSection.js.map +1 -1
  252. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/SettingsAccordion/SettingsAccordion.js +1 -1
  253. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/SettingsAccordion/SettingsAccordion.js.map +1 -1
  254. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/TableSettingsSection/TableSettingsSection.js +1 -1
  255. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/TableSettingsSection/TableSettingsSection.js.map +1 -1
  256. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/WellNameHeaderCell/WellNameHeaderCell.js +1 -1
  257. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/WellNameHeaderCell/WellNameHeaderCell.js.map +1 -1
  258. package/cjs-bundle/components/OffsetWellPickerV5/components/PickerModalActions/PickerModalActions.js +1 -1
  259. package/cjs-bundle/components/OffsetWellPickerV5/components/PickerModalActions/PickerModalActions.js.map +1 -1
  260. package/cjs-bundle/components/OffsetWellPickerV5/hooks/use-well-data-pipeline/useWellDataPipeline.js +1 -1
  261. package/cjs-bundle/components/OffsetWellPickerV5/hooks/use-well-data-pipeline/useWellDataPipeline.js.map +1 -1
  262. package/cjs-bundle/components/OffsetWellPickerV5/hooks/useIsAdmin.js +1 -1
  263. package/cjs-bundle/components/OffsetWellPickerV5/hooks/useIsAdmin.js.map +1 -1
  264. package/cjs-bundle/components/PadModeSelect/FracModeLabel.js +1 -1
  265. package/cjs-bundle/components/PadModeSelect/FracModeLabel.js.map +1 -1
  266. package/cjs-bundle/components/PadModeSelect/PadModeSelect.js +1 -1
  267. package/cjs-bundle/components/PadModeSelect/PadModeSelect.js.map +1 -1
  268. package/cjs-bundle/components/PadOffsetsPicker/StagesSelector.js +1 -1
  269. package/cjs-bundle/components/PadOffsetsPicker/StagesSelector.js.map +1 -1
  270. package/cjs-bundle/components/PadOffsetsPickerV2/PadOffsetsPickerV2.js +1 -1
  271. package/cjs-bundle/components/PadOffsetsPickerV2/PadOffsetsPickerV2.js.map +1 -1
  272. package/cjs-bundle/components/ParameterCharts/components/TraceHeader.js +1 -1
  273. package/cjs-bundle/components/ParameterCharts/components/TraceHeader.js.map +1 -1
  274. package/cjs-bundle/components/PinnableFilters/components/FiltersToggler.js +1 -1
  275. package/cjs-bundle/components/PinnableFilters/components/FiltersToggler.js.map +1 -1
  276. package/cjs-bundle/components/RealTimeValuesSidebar/RealTimeValuesBox/RealTimeBoxEditDialog.js +1 -1
  277. package/cjs-bundle/components/RealTimeValuesSidebar/RealTimeValuesBox/RealTimeBoxEditDialog.js.map +1 -1
  278. package/cjs-bundle/components/RealTimeValuesSidebar/SidebarFooter.js +1 -1
  279. package/cjs-bundle/components/RealTimeValuesSidebar/SidebarFooter.js.map +1 -1
  280. package/cjs-bundle/components/Search/Search.js +1 -1
  281. package/cjs-bundle/components/Search/Search.js.map +1 -1
  282. package/cjs-bundle/components/Select/SelectFilterBy.js +1 -1
  283. package/cjs-bundle/components/Select/SelectFilterBy.js.map +1 -1
  284. package/cjs-bundle/components/SettingEditors/ColorEditor/index.js +1 -1
  285. package/cjs-bundle/components/SettingEditors/ColorEditor/index.js.map +1 -1
  286. package/cjs-bundle/components/Stepper/Step/Step.js +1 -1
  287. package/cjs-bundle/components/Stepper/Step/Step.js.map +1 -1
  288. package/cjs-bundle/components/Table/TableCell/TableCell.js +1 -1
  289. package/cjs-bundle/components/Table/TableCell/TableCell.js.map +1 -1
  290. package/cjs-bundle/components/Table/TablePaginationActions/TablePaginationActions.js +1 -1
  291. package/cjs-bundle/components/Table/TablePaginationActions/TablePaginationActions.js.map +1 -1
  292. package/cjs-bundle/components/Table/TableSortLabel/TableSortLabel.js +1 -1
  293. package/cjs-bundle/components/Table/TableSortLabel/TableSortLabel.js.map +1 -1
  294. package/cjs-bundle/components/Toaster/Toaster.js +1 -1
  295. package/cjs-bundle/components/Toaster/Toaster.js.map +1 -1
  296. package/cjs-bundle/components/index.js +1 -1
  297. package/cjs-bundle/componentsV2/Accordion/Accordion.js +1 -1
  298. package/cjs-bundle/componentsV2/Accordion/Accordion.js.map +1 -1
  299. package/cjs-bundle/componentsV2/AppContainer/AppContainer.constants.scss.js +2 -0
  300. package/cjs-bundle/componentsV2/AppContainer/AppContainer.constants.scss.js.map +1 -0
  301. package/cjs-bundle/componentsV2/AppContainer/AppContainer.js +1 -1
  302. package/cjs-bundle/componentsV2/AppContainer/AppContainer.js.map +1 -1
  303. package/cjs-bundle/componentsV2/AppContainer/AppContainer.scss.js +1 -1
  304. package/cjs-bundle/componentsV2/AppContainer/Content.js +1 -1
  305. package/cjs-bundle/componentsV2/AppContainer/Content.js.map +1 -1
  306. package/cjs-bundle/componentsV2/AppDqPopover/DqAlertTooltip/DqAlertTooltip.js +1 -1
  307. package/cjs-bundle/componentsV2/AppDqPopover/DqAlertTooltip/DqAlertTooltip.js.map +1 -1
  308. package/cjs-bundle/componentsV2/AppDqPopover/DqAsset/DqAsset.js +1 -1
  309. package/cjs-bundle/componentsV2/AppDqPopover/DqAsset/DqAsset.js.map +1 -1
  310. package/cjs-bundle/componentsV2/AppFooter/DqPopover/DqPopover.js +1 -1
  311. package/cjs-bundle/componentsV2/AppFooter/DqPopover/DqPopover.js.map +1 -1
  312. package/cjs-bundle/componentsV2/AppFooter/DqPopover/DqStatusIcon/DqStatusIcon.js +1 -1
  313. package/cjs-bundle/componentsV2/AppFooter/DqPopover/DqStatusIcon/DqStatusIcon.js.map +1 -1
  314. package/cjs-bundle/componentsV2/AppFooter/Warning.js +1 -1
  315. package/cjs-bundle/componentsV2/AppFooter/Warning.js.map +1 -1
  316. package/cjs-bundle/componentsV2/AppHeader/AppAssets/utils.js +1 -1
  317. package/cjs-bundle/componentsV2/AppHeader/AppAssets/utils.js.map +1 -1
  318. package/cjs-bundle/componentsV2/AppHeader/V3/Actions/Actions.js +1 -1
  319. package/cjs-bundle/componentsV2/AppHeader/V3/Actions/Actions.js.map +1 -1
  320. package/cjs-bundle/componentsV2/AppHeader/V3/Actions/Actions.scss.js +1 -1
  321. package/cjs-bundle/componentsV2/AppHeader/V3/AppHeaderV3.js +1 -1
  322. package/cjs-bundle/componentsV2/AppHeader/V3/AppHeaderV3.js.map +1 -1
  323. package/cjs-bundle/componentsV2/AppHeader/V3/AppTitle/AppTitle.js +1 -1
  324. package/cjs-bundle/componentsV2/AppHeader/V3/AppTitle/AppTitle.js.map +1 -1
  325. package/cjs-bundle/componentsV2/AppHeader/V3/AssetSelector/AssetSelector.js +1 -1
  326. package/cjs-bundle/componentsV2/AppHeader/V3/AssetSelector/AssetSelector.js.map +1 -1
  327. package/cjs-bundle/componentsV2/AppHeader/V3/AssetSelector/AssetSelectorChip/AssetSelectorChip.js +1 -1
  328. package/cjs-bundle/componentsV2/AppHeader/V3/AssetSelector/AssetSelectorChip/AssetSelectorChip.js.map +1 -1
  329. package/cjs-bundle/componentsV2/AppHeader/V3/AssetSelector/AssetSelectorSelect/AssetSelectorContent.js +1 -1
  330. package/cjs-bundle/componentsV2/AppHeader/V3/AssetSelector/AssetSelectorSelect/AssetSelectorContent.js.map +1 -1
  331. package/cjs-bundle/componentsV2/AppHeader/V3/AssetSelector/constants.js +1 -1
  332. package/cjs-bundle/componentsV2/AppHeader/V3/AssetSelector/constants.js.map +1 -1
  333. package/cjs-bundle/componentsV2/AppHeader/V3/DqStatusIcon/DqStatusIcon.js +1 -1
  334. package/cjs-bundle/componentsV2/AppHeader/V3/DqStatusIcon/DqStatusIcon.js.map +1 -1
  335. package/cjs-bundle/componentsV2/AppHeader/V3/SettingsButton/SettingsButton.js +1 -1
  336. package/cjs-bundle/componentsV2/AppHeader/V3/SettingsButton/SettingsButton.js.map +1 -1
  337. package/cjs-bundle/componentsV2/AppHeader/V3/VersionSelect/VersionSelect.js +1 -1
  338. package/cjs-bundle/componentsV2/AppHeader/V3/VersionSelect/VersionSelect.js.map +1 -1
  339. package/cjs-bundle/componentsV2/AppPanel/AppPanel.js +2 -0
  340. package/cjs-bundle/componentsV2/AppPanel/AppPanel.js.map +1 -0
  341. package/cjs-bundle/componentsV2/AppPanel/AppPanelDisplay.js +2 -0
  342. package/cjs-bundle/componentsV2/AppPanel/AppPanelDisplay.js.map +1 -0
  343. package/cjs-bundle/componentsV2/AppPanel/AppPanelDisplay.scss.js +2 -0
  344. package/cjs-bundle/componentsV2/AppPanel/AppPanelDisplay.scss.js.map +1 -0
  345. package/cjs-bundle/componentsV2/AppPanel/AppPanelIdContext.js +2 -0
  346. package/cjs-bundle/componentsV2/AppPanel/AppPanelIdContext.js.map +1 -0
  347. package/cjs-bundle/componentsV2/AppPanel/AppPanelsContext.js +2 -0
  348. package/cjs-bundle/componentsV2/AppPanel/AppPanelsContext.js.map +1 -0
  349. package/cjs-bundle/componentsV2/AppPanel/Header/Header.js +2 -0
  350. package/cjs-bundle/componentsV2/AppPanel/Header/Header.js.map +1 -0
  351. package/cjs-bundle/componentsV2/AppPanel/utils.js +2 -0
  352. package/cjs-bundle/componentsV2/AppPanel/utils.js.map +1 -0
  353. package/cjs-bundle/componentsV2/AppSettings/AppSettings.js +1 -1
  354. package/cjs-bundle/componentsV2/AppSettings/AppSettings.js.map +1 -1
  355. package/cjs-bundle/componentsV2/AppSettings/AppSettings.scss.js +1 -1
  356. package/cjs-bundle/componentsV2/AppSettingsDivider/AppSettingsDivider.js +1 -1
  357. package/cjs-bundle/componentsV2/AppSettingsDivider/AppSettingsDivider.js.map +1 -1
  358. package/cjs-bundle/componentsV2/AppSettingsDivider/AppSettingsDivider.scss.js +1 -1
  359. package/cjs-bundle/componentsV2/Autocomplete/Autocomplete.js +1 -1
  360. package/cjs-bundle/componentsV2/Autocomplete/Autocomplete.js.map +1 -1
  361. package/cjs-bundle/componentsV2/Breadcrumbs/Breadcrumbs.js +1 -1
  362. package/cjs-bundle/componentsV2/Breadcrumbs/Breadcrumbs.js.map +1 -1
  363. package/cjs-bundle/componentsV2/ButtonLive/ButtonLive.js +1 -1
  364. package/cjs-bundle/componentsV2/ButtonLive/ButtonLive.js.map +1 -1
  365. package/cjs-bundle/componentsV2/ChartAxisExtreme/ChartAxisExtreme.js +1 -1
  366. package/cjs-bundle/componentsV2/ChartAxisExtreme/ChartAxisExtreme.js.map +1 -1
  367. package/cjs-bundle/componentsV2/Chip/Chip.js +1 -1
  368. package/cjs-bundle/componentsV2/Chip/Chip.js.map +1 -1
  369. package/cjs-bundle/componentsV2/ColorPicker/ColorPicker.js +1 -1
  370. package/cjs-bundle/componentsV2/ColorPicker/ColorPicker.js.map +1 -1
  371. package/cjs-bundle/componentsV2/ColorPicker/Swatches/Swatches.js +1 -1
  372. package/cjs-bundle/componentsV2/ColorPicker/Swatches/Swatches.js.map +1 -1
  373. package/cjs-bundle/componentsV2/CompletionsOffsetWellPicker/AssetSearchInput/AssetSearchInput.js +1 -1
  374. package/cjs-bundle/componentsV2/CompletionsOffsetWellPicker/AssetSearchInput/AssetSearchInput.js.map +1 -1
  375. package/cjs-bundle/componentsV2/CompletionsOffsetWellPicker/CompletionsOffsetWellPicker.js +1 -1
  376. package/cjs-bundle/componentsV2/CompletionsOffsetWellPicker/CompletionsOffsetWellPicker.js.map +1 -1
  377. package/cjs-bundle/componentsV2/CompletionsOffsetWellPicker/Map/Map.js +1 -1
  378. package/cjs-bundle/componentsV2/CompletionsOffsetWellPicker/Map/Map.js.map +1 -1
  379. package/cjs-bundle/componentsV2/CompletionsOffsetWellPicker/ModalTitle/ModalTitle.js +1 -1
  380. package/cjs-bundle/componentsV2/CompletionsOffsetWellPicker/ModalTitle/ModalTitle.js.map +1 -1
  381. package/cjs-bundle/componentsV2/CompletionsOffsetWellPicker/PadsTable/PadsTable.js +1 -1
  382. package/cjs-bundle/componentsV2/CompletionsOffsetWellPicker/PadsTable/PadsTable.js.map +1 -1
  383. package/cjs-bundle/componentsV2/CompletionsOffsetWellPicker/PadsTable/helpers/columns.js +1 -1
  384. package/cjs-bundle/componentsV2/CompletionsOffsetWellPicker/PadsTable/helpers/columns.js.map +1 -1
  385. package/cjs-bundle/componentsV2/CopyToClipboard/CopyToClipboard.js +1 -1
  386. package/cjs-bundle/componentsV2/CopyToClipboard/CopyToClipboard.js.map +1 -1
  387. package/cjs-bundle/componentsV2/Counter/Counter.js +1 -1
  388. package/cjs-bundle/componentsV2/Counter/Counter.js.map +1 -1
  389. package/cjs-bundle/componentsV2/DatePicker/CalendarControls/CalendarControls.js +1 -1
  390. package/cjs-bundle/componentsV2/DatePicker/CalendarControls/CalendarControls.js.map +1 -1
  391. package/cjs-bundle/componentsV2/DatePicker/Input/Input.js +1 -1
  392. package/cjs-bundle/componentsV2/DatePicker/Input/Input.js.map +1 -1
  393. package/cjs-bundle/componentsV2/DatePicker/TimePicker/TimePicker.js +1 -1
  394. package/cjs-bundle/componentsV2/DatePicker/TimePicker/TimePicker.js.map +1 -1
  395. package/cjs-bundle/componentsV2/DragHandle/DragHandle.js +1 -1
  396. package/cjs-bundle/componentsV2/DragHandle/DragHandle.js.map +1 -1
  397. package/cjs-bundle/componentsV2/FilesDropzone/FilesDropzone.js +1 -1
  398. package/cjs-bundle/componentsV2/FilesDropzone/FilesDropzone.js.map +1 -1
  399. package/cjs-bundle/componentsV2/FilesLoader/FilesLoader.js +1 -1
  400. package/cjs-bundle/componentsV2/FilesLoader/FilesLoader.js.map +1 -1
  401. package/cjs-bundle/componentsV2/Hint/Hint.js +1 -1
  402. package/cjs-bundle/componentsV2/Hint/Hint.js.map +1 -1
  403. package/cjs-bundle/componentsV2/ImageViewer/ImageViewer.js +1 -1
  404. package/cjs-bundle/componentsV2/ImageViewer/ImageViewer.js.map +1 -1
  405. package/cjs-bundle/componentsV2/InterventionEventSelector/InterventionEventSelector.js +1 -1
  406. package/cjs-bundle/componentsV2/InterventionEventSelector/InterventionEventSelector.js.map +1 -1
  407. package/cjs-bundle/componentsV2/ModalWindow/ModalWindow.js +1 -1
  408. package/cjs-bundle/componentsV2/ModalWindow/ModalWindow.js.map +1 -1
  409. package/cjs-bundle/componentsV2/OffsetWellsButton/OffsetWellsButton.js +1 -1
  410. package/cjs-bundle/componentsV2/OffsetWellsButton/OffsetWellsButton.js.map +1 -1
  411. package/cjs-bundle/componentsV2/OffsetWellsButton/useOffsetWellsIcon.js +1 -1
  412. package/cjs-bundle/componentsV2/OffsetWellsButton/useOffsetWellsIcon.js.map +1 -1
  413. package/cjs-bundle/componentsV2/PadModeSelect/FracModeLabel/FracModeLabel.js +1 -1
  414. package/cjs-bundle/componentsV2/PadModeSelect/FracModeLabel/FracModeLabel.js.map +1 -1
  415. package/cjs-bundle/componentsV2/PadModeSelect/PadModeSelect.js +1 -1
  416. package/cjs-bundle/componentsV2/PadModeSelect/PadModeSelect.js.map +1 -1
  417. package/cjs-bundle/componentsV2/Paper/Paper.js.map +1 -1
  418. package/cjs-bundle/componentsV2/Popover/Popover.js +1 -1
  419. package/cjs-bundle/componentsV2/Popover/Popover.js.map +1 -1
  420. package/cjs-bundle/componentsV2/PopoverPanel/PopoverPanel.scss.js +1 -1
  421. package/cjs-bundle/componentsV2/PopoverPanel/PopoverPanelHeader/PopoverPanelHeader.js +1 -1
  422. package/cjs-bundle/componentsV2/PopoverPanel/PopoverPanelHeader/PopoverPanelHeader.js.map +1 -1
  423. package/cjs-bundle/componentsV2/SliderAdvanced/Bar.js +1 -1
  424. package/cjs-bundle/componentsV2/SliderAdvanced/Bar.js.map +1 -1
  425. package/cjs-bundle/componentsV2/SliderAdvanced/HandleWrapper.js +1 -1
  426. package/cjs-bundle/componentsV2/SliderAdvanced/HandleWrapper.js.map +1 -1
  427. package/cjs-bundle/componentsV2/Stepper/Step/Step.js +1 -1
  428. package/cjs-bundle/componentsV2/Stepper/Step/Step.js.map +1 -1
  429. package/cjs-bundle/componentsV2/TemplatesControl/FolderMenu/FolderMenu.js +1 -1
  430. package/cjs-bundle/componentsV2/TemplatesControl/FolderMenu/FolderMenu.js.map +1 -1
  431. package/cjs-bundle/componentsV2/TemplatesControl/MoveToFolderMenu/MoveToFolderMenu.js +1 -1
  432. package/cjs-bundle/componentsV2/TemplatesControl/MoveToFolderMenu/MoveToFolderMenu.js.map +1 -1
  433. package/cjs-bundle/componentsV2/TemplatesControl/Popover/Popover.js +1 -1
  434. package/cjs-bundle/componentsV2/TemplatesControl/Popover/Popover.js.map +1 -1
  435. package/cjs-bundle/componentsV2/TemplatesControl/PopoverFooter/PopoverFooter.js +1 -1
  436. package/cjs-bundle/componentsV2/TemplatesControl/PopoverFooter/PopoverFooter.js.map +1 -1
  437. package/cjs-bundle/componentsV2/TemplatesControl/PopoverSearch/PopoverSearch.js +1 -1
  438. package/cjs-bundle/componentsV2/TemplatesControl/PopoverSearch/PopoverSearch.js.map +1 -1
  439. package/cjs-bundle/componentsV2/TemplatesControl/PublishModal/PublishModal.js +1 -1
  440. package/cjs-bundle/componentsV2/TemplatesControl/PublishModal/PublishModal.js.map +1 -1
  441. package/cjs-bundle/componentsV2/TemplatesControl/ShareModal/ShareModal.js +1 -1
  442. package/cjs-bundle/componentsV2/TemplatesControl/ShareModal/ShareModal.js.map +1 -1
  443. package/cjs-bundle/componentsV2/TemplatesControl/TemplateMenu/IconMenu/IconMenu.js +1 -1
  444. package/cjs-bundle/componentsV2/TemplatesControl/TemplateMenu/IconMenu/IconMenu.js.map +1 -1
  445. package/cjs-bundle/componentsV2/TemplatesControl/TemplatesTreeMenuHeader/TemplatesTreeMenuHeader.js +1 -1
  446. package/cjs-bundle/componentsV2/TemplatesControl/TemplatesTreeMenuHeader/TemplatesTreeMenuHeader.js.map +1 -1
  447. package/cjs-bundle/componentsV2/TemplatesControl/TemplatesTreeNodeItem/TemplatesTreeNodeItem.js +1 -1
  448. package/cjs-bundle/componentsV2/TemplatesControl/TemplatesTreeNodeItem/TemplatesTreeNodeItem.js.map +1 -1
  449. package/cjs-bundle/componentsV2/TemplatesControl/Toggle/Toggle.js +1 -1
  450. package/cjs-bundle/componentsV2/TemplatesControl/Toggle/Toggle.js.map +1 -1
  451. package/cjs-bundle/componentsV2/TemplatesControl/templateMenuItems/CopyTemplate.js +1 -1
  452. package/cjs-bundle/componentsV2/TemplatesControl/templateMenuItems/CopyTemplate.js.map +1 -1
  453. package/cjs-bundle/componentsV2/TemplatesControl/templateMenuItems/ExportTemplate.js +1 -1
  454. package/cjs-bundle/componentsV2/TemplatesControl/templateMenuItems/ExportTemplate.js.map +1 -1
  455. package/cjs-bundle/componentsV2/TemplatesControl/templateMenuItems/MoveTemplateOutOfFolder.js +1 -1
  456. package/cjs-bundle/componentsV2/TemplatesControl/templateMenuItems/MoveTemplateOutOfFolder.js.map +1 -1
  457. package/cjs-bundle/componentsV2/TemplatesControl/templateMenuItems/MoveTemplateToFolder.js +1 -1
  458. package/cjs-bundle/componentsV2/TemplatesControl/templateMenuItems/MoveTemplateToFolder.js.map +1 -1
  459. package/cjs-bundle/componentsV2/TemplatesControl/templateMenuItems/RemoveTemplate.js +1 -1
  460. package/cjs-bundle/componentsV2/TemplatesControl/templateMenuItems/RemoveTemplate.js.map +1 -1
  461. package/cjs-bundle/componentsV2/TemplatesControl/templateMenuItems/RevertTemplate.js +1 -1
  462. package/cjs-bundle/componentsV2/TemplatesControl/templateMenuItems/RevertTemplate.js.map +1 -1
  463. package/cjs-bundle/componentsV2/TemplatesControl/templateMenuItems/ShareTemplate.js +1 -1
  464. package/cjs-bundle/componentsV2/TemplatesControl/templateMenuItems/ShareTemplate.js.map +1 -1
  465. package/cjs-bundle/componentsV2/TemplatesControl/templateMenuItems/UnfollowTemplate.js +1 -1
  466. package/cjs-bundle/componentsV2/TemplatesControl/templateMenuItems/UnfollowTemplate.js.map +1 -1
  467. package/cjs-bundle/componentsV2/TextInput/TextInput.js +1 -1
  468. package/cjs-bundle/componentsV2/TextInput/TextInput.js.map +1 -1
  469. package/cjs-bundle/componentsV2/TextInputBase/TextInputBase.js +1 -1
  470. package/cjs-bundle/componentsV2/TextInputBase/TextInputBase.js.map +1 -1
  471. package/cjs-bundle/componentsV2/TextInputBase/components/InfoIcon.js +1 -1
  472. package/cjs-bundle/componentsV2/TextInputBase/components/InfoIcon.js.map +1 -1
  473. package/cjs-bundle/componentsV2/TextInputNext/TextInputNext.js +1 -1
  474. package/cjs-bundle/componentsV2/TextInputNext/TextInputNext.js.map +1 -1
  475. package/cjs-bundle/componentsV2/index.js +1 -1
  476. package/cjs-bundle/config/theme/index.js +1 -1
  477. package/cjs-bundle/config/theme/index.js.map +1 -1
  478. package/cjs-bundle/effects/index.js +1 -1
  479. package/cjs-bundle/effects/useGlobalOffsetWellsSync.js +1 -1
  480. package/cjs-bundle/effects/useGlobalOffsetWellsSync.js.map +1 -1
  481. package/cjs-bundle/icons/customIcons/icons/PinOne.js +2 -0
  482. package/cjs-bundle/icons/customIcons/icons/PinOne.js.map +1 -0
  483. package/cjs-bundle/icons/customIcons/icons/PinOneCrossed.js +2 -0
  484. package/cjs-bundle/icons/customIcons/icons/PinOneCrossed.js.map +1 -0
  485. package/cjs-bundle/icons/index.js +1 -1
  486. package/cjs-bundle/testing/AppTestWrapper/AppTestWrapper.js +1 -1
  487. package/cjs-bundle/testing/AppTestWrapper/AppTestWrapper.js.map +1 -1
  488. package/cjs-bundle/utils/feed.js +1 -1
  489. package/cjs-bundle/utils/feed.js.map +1 -1
  490. package/components/AddComment/Popover.js +1 -1
  491. package/components/AddComment/Popover.js.map +1 -1
  492. package/components/AddComment/components/Content.js +1 -1
  493. package/components/AddComment/components/Content.js.map +1 -1
  494. package/components/AdvancedSlider/Handle.js +1 -1
  495. package/components/AdvancedSlider/Handle.js.map +1 -1
  496. package/components/AttachFileButton/AttachFileButton.js +1 -1
  497. package/components/AttachFileButton/AttachFileButton.js.map +1 -1
  498. package/components/Attachment/index.js +1 -1
  499. package/components/Attachment/index.js.map +1 -1
  500. package/components/AttachmentLightbox/AttachmentLightbox.js +1 -1
  501. package/components/AttachmentLightbox/AttachmentLightbox.js.map +1 -1
  502. package/components/AttachmentLightbox/AttachmentPreviewPane.js +1 -1
  503. package/components/AttachmentLightbox/AttachmentPreviewPane.js.map +1 -1
  504. package/components/AttachmentPreview/AttachmentActionsMenu.js +1 -1
  505. package/components/AttachmentPreview/AttachmentActionsMenu.js.map +1 -1
  506. package/components/AttachmentPreview/AttachmentDownloadLink.js +1 -1
  507. package/components/AttachmentPreview/AttachmentDownloadLink.js.map +1 -1
  508. package/components/AttachmentPreview/AttachmentTile.js +1 -1
  509. package/components/AttachmentPreview/AttachmentTile.js.map +1 -1
  510. package/components/AttachmentPreview/SortableAttachments.js +1 -1
  511. package/components/AttachmentPreview/SortableAttachments.js.map +1 -1
  512. package/components/BICOffsetPickerDialog/index.js +1 -1
  513. package/components/BICOffsetPickerDialog/index.js.map +1 -1
  514. package/components/Breadcrumbs/index.js +1 -1
  515. package/components/Breadcrumbs/index.js.map +1 -1
  516. package/components/Button/components/LiveButton/index.js +1 -1
  517. package/components/Button/components/LiveButton/index.js.map +1 -1
  518. package/components/Button/index.js +1 -1
  519. package/components/Casing/CasingTableV2/components/CasingJoints/Editor.js +1 -1
  520. package/components/Casing/CasingTableV2/components/CasingJoints/Editor.js.map +1 -1
  521. package/components/Casing/CasingTableV2/components/Component.js +1 -1
  522. package/components/Casing/CasingTableV2/components/Component.js.map +1 -1
  523. package/components/Casing/CasingTableV2/components/DrillPipe/Editor.js +1 -1
  524. package/components/Casing/CasingTableV2/components/DrillPipe/Editor.js.map +1 -1
  525. package/components/Chart/components/AxisDropdown.js +1 -1
  526. package/components/Chart/components/AxisDropdown.js.map +1 -1
  527. package/components/Chart/components/ChartSelect.js +1 -1
  528. package/components/Chart/components/ChartSelect.js.map +1 -1
  529. package/components/Chart/components/buttons/ChartTypeButton.js +1 -1
  530. package/components/Chart/components/buttons/ChartTypeButton.js.map +1 -1
  531. package/components/Chart/components/buttons/DragToZoomButton.js +1 -1
  532. package/components/Chart/components/buttons/DragToZoomButton.js.map +1 -1
  533. package/components/Chart/components/buttons/HideAxesButton.js +1 -1
  534. package/components/Chart/components/buttons/HideAxesButton.js.map +1 -1
  535. package/components/Chart/components/buttons/PanButton.js +1 -1
  536. package/components/Chart/components/buttons/PanButton.js.map +1 -1
  537. package/components/Chart/components/buttons/ResetZoomButton.js +1 -1
  538. package/components/Chart/components/buttons/ResetZoomButton.js.map +1 -1
  539. package/components/Chart/components/buttons/ZoomInButton.js +1 -1
  540. package/components/Chart/components/buttons/ZoomInButton.js.map +1 -1
  541. package/components/Chart/components/buttons/ZoomOutButton.js +1 -1
  542. package/components/Chart/components/buttons/ZoomOutButton.js.map +1 -1
  543. package/components/Chip/index.js +1 -1
  544. package/components/Chip/index.js.map +1 -1
  545. package/components/CollapsableSidebar.js +1 -1
  546. package/components/CollapsableSidebar.js.map +1 -1
  547. package/components/ColorPicker/ColorPicker.js +1 -1
  548. package/components/ColorPicker/ColorPicker.js.map +1 -1
  549. package/components/ColorPicker/PaletteChromePicker/PaletteChromePicker.js +1 -1
  550. package/components/ColorPicker/PaletteChromePicker/PaletteChromePicker.js.map +1 -1
  551. package/components/CommentCard/CommentCard.js +1 -1
  552. package/components/CommentCard/CommentCard.js.map +1 -1
  553. package/components/CommentCard/CommentCardReactions.js +1 -1
  554. package/components/CommentCard/CommentCardReactions.js.map +1 -1
  555. package/components/CommentCard/CommentCardReplies.js +1 -1
  556. package/components/CommentCard/CommentCardReplies.js.map +1 -1
  557. package/components/CommentCard/buildCommentReply.js +1 -1
  558. package/components/CommentCard/buildCommentReply.js.map +1 -1
  559. package/components/CommentComposer/ChatChannelSelector.js +1 -1
  560. package/components/CommentComposer/ChatChannelSelector.js.map +1 -1
  561. package/components/CommentComposer/CommentComposer.js +1 -1
  562. package/components/CommentComposer/CommentComposer.js.map +1 -1
  563. package/components/CommentInputNext/CommentInputNext.js +1 -1
  564. package/components/CommentInputNext/CommentInputNext.js.map +1 -1
  565. package/components/ConfirmationDialog.d.ts +75 -12
  566. package/components/ConfirmationDialog.js +1 -1
  567. package/components/ConfirmationDialog.js.map +1 -1
  568. package/components/CopyToClipboard/CopyToClipboard.js +1 -1
  569. package/components/CopyToClipboard/CopyToClipboard.js.map +1 -1
  570. package/components/Counter/index.js +1 -1
  571. package/components/Counter/index.js.map +1 -1
  572. package/components/DatePicker/index.js +1 -1
  573. package/components/DatePicker/index.js.map +1 -1
  574. package/components/DateTimePicker/index.js +1 -1
  575. package/components/DateTimePicker/index.js.map +1 -1
  576. package/components/DevCenter/AppFilterPanelLayout/AppFilterPanelLayout.js +1 -1
  577. package/components/DevCenter/AppFilterPanelLayout/AppFilterPanelLayout.js.map +1 -1
  578. package/components/DevCenter/AppSettingsPopover/AppSettingsPopover.js +1 -1
  579. package/components/DevCenter/AppSettingsPopover/AppSettingsPopover.js.map +1 -1
  580. package/components/DevCenter/AppSideBar/AppSideBar.js +1 -1
  581. package/components/DevCenter/AppSideBar/AppSideBar.js.map +1 -1
  582. package/components/DevCenter/DevCenterAppContainer/DevCenterAppContainer.js +1 -1
  583. package/components/DevCenter/DevCenterAppContainer/DevCenterAppContainer.js.map +1 -1
  584. package/components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/AppSettingsDialog.js +1 -1
  585. package/components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/AppSettingsDialog.js.map +1 -1
  586. package/components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/components/RemoveAppButton.js +1 -1
  587. package/components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/components/RemoveAppButton.js.map +1 -1
  588. package/components/DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchButton.js +1 -1
  589. package/components/DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchButton.js.map +1 -1
  590. package/components/DevCenter/DevCenterAppContainer/components/LegacyAppActions.js +1 -1
  591. package/components/DevCenter/DevCenterAppContainer/components/LegacyAppActions.js.map +1 -1
  592. package/components/DevCenter/DevCenterAppContainer/components/NonPriorityMenus.js +1 -1
  593. package/components/DevCenter/DevCenterAppContainer/components/NonPriorityMenus.js.map +1 -1
  594. package/components/DevCenter/DevCenterAppContainer/components/PriorityMenus.js +1 -1
  595. package/components/DevCenter/DevCenterAppContainer/components/PriorityMenus.js.map +1 -1
  596. package/components/DevCenter/DevCenterAppContainer/components/RestoreAppSizeButton/index.js +1 -1
  597. package/components/DevCenter/DevCenterAppContainer/components/RestoreAppSizeButton/index.js.map +1 -1
  598. package/components/DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedAppPage.js +1 -1
  599. package/components/DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedAppPage.js.map +1 -1
  600. package/components/DocumentViewer/DocumentViewer.js +1 -1
  601. package/components/DocumentViewer/DocumentViewer.js.map +1 -1
  602. package/components/Drillstring/BHAComponentsTable/components/Agitator/Editor.js +1 -1
  603. package/components/Drillstring/BHAComponentsTable/components/Agitator/Editor.js.map +1 -1
  604. package/components/Drillstring/BHAComponentsTable/components/Bit/Editor.js +1 -1
  605. package/components/Drillstring/BHAComponentsTable/components/Bit/Editor.js.map +1 -1
  606. package/components/Drillstring/BHAComponentsTable/components/Component.js +1 -1
  607. package/components/Drillstring/BHAComponentsTable/components/Component.js.map +1 -1
  608. package/components/Drillstring/BHAComponentsTable/components/DrillCollar/Editor.js +1 -1
  609. package/components/Drillstring/BHAComponentsTable/components/DrillCollar/Editor.js.map +1 -1
  610. package/components/Drillstring/BHAComponentsTable/components/DrillPipe/Editor.js +1 -1
  611. package/components/Drillstring/BHAComponentsTable/components/DrillPipe/Editor.js.map +1 -1
  612. package/components/Drillstring/BHAComponentsTable/components/Jar/Editor.js +1 -1
  613. package/components/Drillstring/BHAComponentsTable/components/Jar/Editor.js.map +1 -1
  614. package/components/Drillstring/BHAComponentsTable/components/Lwd/Editor.js +1 -1
  615. package/components/Drillstring/BHAComponentsTable/components/Lwd/Editor.js.map +1 -1
  616. package/components/Drillstring/BHAComponentsTable/components/Mwd/Editor.js +1 -1
  617. package/components/Drillstring/BHAComponentsTable/components/Mwd/Editor.js.map +1 -1
  618. package/components/Drillstring/BHAComponentsTable/components/Pdm/Editor.js +1 -1
  619. package/components/Drillstring/BHAComponentsTable/components/Pdm/Editor.js.map +1 -1
  620. package/components/Drillstring/BHAComponentsTable/components/Rss/Editor.js +1 -1
  621. package/components/Drillstring/BHAComponentsTable/components/Rss/Editor.js.map +1 -1
  622. package/components/Drillstring/BHAComponentsTable/components/Stabilizer/Editor.js +1 -1
  623. package/components/Drillstring/BHAComponentsTable/components/Stabilizer/Editor.js.map +1 -1
  624. package/components/Drillstring/BHAComponentsTable/components/Sub/Editor.js +1 -1
  625. package/components/Drillstring/BHAComponentsTable/components/Sub/Editor.js.map +1 -1
  626. package/components/Drillstring/BHAComponentsTable/components/Ur/Editor.js +1 -1
  627. package/components/Drillstring/BHAComponentsTable/components/Ur/Editor.js.map +1 -1
  628. package/components/Drillstring/BHAComponentsTable/components/shared/ConfirmationPopup.js +1 -1
  629. package/components/Drillstring/BHAComponentsTable/components/shared/ConfirmationPopup.js.map +1 -1
  630. package/components/EChartsWrapper/components/Toolbox/Toolbox.js +1 -1
  631. package/components/EChartsWrapper/components/Toolbox/Toolbox.js.map +1 -1
  632. package/components/EmojiIconButton.d.ts +4 -34
  633. package/components/EmojiIconButton.d.ts.map +1 -1
  634. package/components/EmojiIconButton.js +1 -1
  635. package/components/EmojiIconButton.js.map +1 -1
  636. package/components/ErrorBoundary/DevCenterAppErrorView/DevCenterAppErrorView.js +1 -1
  637. package/components/ErrorBoundary/DevCenterAppErrorView/DevCenterAppErrorView.js.map +1 -1
  638. package/components/ErrorBoundary/ErrorBoundary.js +1 -1
  639. package/components/ErrorBoundary/ErrorBoundary.js.map +1 -1
  640. package/components/FeedCard/useFeedActivity.js +1 -1
  641. package/components/FeedCard/useFeedActivity.js.map +1 -1
  642. package/components/FeedItem/FeedItem.js +1 -1
  643. package/components/FeedItem/FeedItem.js.map +1 -1
  644. package/components/FilesDropzone/FilesDropzone.js +1 -1
  645. package/components/FilesDropzone/FilesDropzone.js.map +1 -1
  646. package/components/FilesLoader/FilesLoader.js +1 -1
  647. package/components/FilesLoader/FilesLoader.js.map +1 -1
  648. package/components/FilesLoaderV2/FilesLoaderV2.js +1 -1
  649. package/components/FilesLoaderV2/FilesLoaderV2.js.map +1 -1
  650. package/components/Formula/CloseSuggestion.js +1 -1
  651. package/components/Formula/CloseSuggestion.js.map +1 -1
  652. package/components/Formula/Formula.js +1 -1
  653. package/components/Formula/Formula.js.map +1 -1
  654. package/components/GradientManager/GradientManager.js +1 -1
  655. package/components/GradientManager/GradientManager.js.map +1 -1
  656. package/components/GradientManager/GradientSelect.js +1 -1
  657. package/components/GradientManager/GradientSelect.js.map +1 -1
  658. package/components/GradientPicker/GradientPicker.js +1 -1
  659. package/components/GradientPicker/GradientPicker.js.map +1 -1
  660. package/components/HelpCenter/HelpCenterIcon.js +1 -1
  661. package/components/HelpCenter/HelpCenterIcon.js.map +1 -1
  662. package/components/Hint/Hint.js +1 -1
  663. package/components/Hint/Hint.js.map +1 -1
  664. package/components/Modal/CorvaModal.js +1 -1
  665. package/components/Modal/CorvaModal.js.map +1 -1
  666. package/components/Notifications/Toast.js +1 -1
  667. package/components/Notifications/Toast.js.map +1 -1
  668. package/components/OffsetWellPickerV2/OffsetWellPickerDialog.js +1 -1
  669. package/components/OffsetWellPickerV2/OffsetWellPickerDialog.js.map +1 -1
  670. package/components/OffsetWellPickerV2/components/Filter/ToggleMapButton.js +1 -1
  671. package/components/OffsetWellPickerV2/components/Filter/ToggleMapButton.js.map +1 -1
  672. package/components/OffsetWellPickerV2/components/Table/MetricsAddMenu.js +1 -1
  673. package/components/OffsetWellPickerV2/components/Table/MetricsAddMenu.js.map +1 -1
  674. package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/MetricsAddMenu.js +1 -1
  675. package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/MetricsAddMenu.js.map +1 -1
  676. package/components/OffsetWellPickerV3/components/CustomSelectionView/index.js +1 -1
  677. package/components/OffsetWellPickerV3/components/CustomSelectionView/index.js.map +1 -1
  678. package/components/OffsetWellPickerV3/components/OffsetWellSelectionView/index.js +1 -1
  679. package/components/OffsetWellPickerV3/components/OffsetWellSelectionView/index.js.map +1 -1
  680. package/components/OffsetWellPickerV3/components/TabSelection/ToggleMapButton.js +1 -1
  681. package/components/OffsetWellPickerV3/components/TabSelection/ToggleMapButton.js.map +1 -1
  682. package/components/OffsetWellPickerV3/components/TabSelection/index.js +1 -1
  683. package/components/OffsetWellPickerV3/components/TabSelection/index.js.map +1 -1
  684. package/components/OffsetWellPickerV3/components/WellHubView/index.js +1 -1
  685. package/components/OffsetWellPickerV3/components/WellHubView/index.js.map +1 -1
  686. package/components/OffsetWellPickerV3/components/shared/OffsetWellTableHead.js +1 -1
  687. package/components/OffsetWellPickerV3/components/shared/OffsetWellTableHead.js.map +1 -1
  688. package/components/OffsetWellPickerV5/components/AppHeader/components/HeaderActions/HeaderActions.js +1 -1
  689. package/components/OffsetWellPickerV5/components/AppHeader/components/HeaderActions/HeaderActions.js.map +1 -1
  690. package/components/OffsetWellPickerV5/components/AppHeader/components/LoadAllWellsToggle/LoadAllWellsToggle.js +1 -1
  691. package/components/OffsetWellPickerV5/components/AppHeader/components/LoadAllWellsToggle/LoadAllWellsToggle.js.map +1 -1
  692. package/components/OffsetWellPickerV5/components/CustomInfoIcon/CustomInfoIcon.js +1 -1
  693. package/components/OffsetWellPickerV5/components/CustomInfoIcon/CustomInfoIcon.js.map +1 -1
  694. package/components/OffsetWellPickerV5/components/Filter/Filter.js +1 -1
  695. package/components/OffsetWellPickerV5/components/Filter/Filter.js.map +1 -1
  696. package/components/OffsetWellPickerV5/components/Filter/components/CustomDateFields/CustomDateFields.js +1 -1
  697. package/components/OffsetWellPickerV5/components/Filter/components/CustomDateFields/CustomDateFields.js.map +1 -1
  698. package/components/OffsetWellPickerV5/components/Filter/components/PeriodFilterSelect/PeriodFilterSelect.js +1 -1
  699. package/components/OffsetWellPickerV5/components/Filter/components/PeriodFilterSelect/PeriodFilterSelect.js.map +1 -1
  700. package/components/OffsetWellPickerV5/components/Filter/components/SingleFilterSelect/SingleFilterSelect.js +1 -1
  701. package/components/OffsetWellPickerV5/components/Filter/components/SingleFilterSelect/SingleFilterSelect.js.map +1 -1
  702. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/ClusterTooltip/ClusterTooltip.js +1 -1
  703. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/ClusterTooltip/ClusterTooltip.js.map +1 -1
  704. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/LayerSwitcher/LayerSwitcher.js +1 -1
  705. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/LayerSwitcher/LayerSwitcher.js.map +1 -1
  706. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapControls/MapControls.js +1 -1
  707. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapControls/MapControls.js.map +1 -1
  708. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapHints/MapHintsStash.js +1 -1
  709. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapHints/MapHintsStash.js.map +1 -1
  710. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/SelectionToast/SelectionToast.js +1 -1
  711. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/SelectionToast/SelectionToast.js.map +1 -1
  712. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/SubjectWellMarker/SubjectWellMarker.js +1 -1
  713. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/SubjectWellMarker/SubjectWellMarker.js.map +1 -1
  714. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/WellTooltip/WellTooltip.js +1 -1
  715. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/WellTooltip/WellTooltip.js.map +1 -1
  716. package/components/OffsetWellPickerV5/components/OffsetWellPickerContent/OffsetWellPickerContent.js +1 -1
  717. package/components/OffsetWellPickerV5/components/OffsetWellPickerContent/OffsetWellPickerContent.js.map +1 -1
  718. package/components/OffsetWellPickerV5/components/OffsetWellPickerV5WithStore/components/CompanySafeguardWrapper/CompanySafeguardWrapper.js +1 -1
  719. package/components/OffsetWellPickerV5/components/OffsetWellPickerV5WithStore/components/CompanySafeguardWrapper/CompanySafeguardWrapper.js.map +1 -1
  720. package/components/OffsetWellPickerV5/components/OffsetWellPickerV5WithStore/components/UserSettingsWrapper/UserSettingsWrapper.js +1 -1
  721. package/components/OffsetWellPickerV5/components/OffsetWellPickerV5WithStore/components/UserSettingsWrapper/UserSettingsWrapper.js.map +1 -1
  722. package/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/AdvancedSearch.js +1 -1
  723. package/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/AdvancedSearch.js.map +1 -1
  724. package/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/components/AssetResultSection/AssetResultSection.js +1 -1
  725. package/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/components/AssetResultSection/AssetResultSection.js.map +1 -1
  726. package/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/components/AutoCompleteAssetSearch/AutoCompleteAssetSearch.js +1 -1
  727. package/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/components/AutoCompleteAssetSearch/AutoCompleteAssetSearch.js.map +1 -1
  728. package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/CompanyCell/CompanyCell.js +1 -1
  729. package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/CompanyCell/CompanyCell.js.map +1 -1
  730. package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/FormationCell/FormationCell.js +1 -1
  731. package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/FormationCell/FormationCell.js.map +1 -1
  732. package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/InterventionAssetCell/InterventionAssetCell.js +1 -1
  733. package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/InterventionAssetCell/InterventionAssetCell.js.map +1 -1
  734. package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/PadNameCell/PadNameCell.js +1 -1
  735. package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/PadNameCell/PadNameCell.js.map +1 -1
  736. package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/RigCell/RigCell.js +1 -1
  737. package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/RigCell/RigCell.js.map +1 -1
  738. package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/WellNameCell/WellNameCell.js +1 -1
  739. package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/WellNameCell/WellNameCell.js.map +1 -1
  740. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/SettingsMenu.js +1 -1
  741. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/SettingsMenu.js.map +1 -1
  742. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/MetricsSettingsSection/MetricsSettingsSection.js +1 -1
  743. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/MetricsSettingsSection/MetricsSettingsSection.js.map +1 -1
  744. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/SettingsAccordion/SettingsAccordion.js +1 -1
  745. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/SettingsAccordion/SettingsAccordion.js.map +1 -1
  746. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/TableSettingsSection/TableSettingsSection.js +1 -1
  747. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/TableSettingsSection/TableSettingsSection.js.map +1 -1
  748. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/WellNameHeaderCell/WellNameHeaderCell.js +1 -1
  749. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/WellNameHeaderCell/WellNameHeaderCell.js.map +1 -1
  750. package/components/OffsetWellPickerV5/components/PickerModalActions/PickerModalActions.js +1 -1
  751. package/components/OffsetWellPickerV5/components/PickerModalActions/PickerModalActions.js.map +1 -1
  752. package/components/OffsetWellPickerV5/hooks/use-well-data-pipeline/useWellDataPipeline.js +1 -1
  753. package/components/OffsetWellPickerV5/hooks/use-well-data-pipeline/useWellDataPipeline.js.map +1 -1
  754. package/components/OffsetWellPickerV5/hooks/useIsAdmin.js +1 -1
  755. package/components/OffsetWellPickerV5/hooks/useIsAdmin.js.map +1 -1
  756. package/components/PadModeSelect/FracModeLabel.js +1 -1
  757. package/components/PadModeSelect/FracModeLabel.js.map +1 -1
  758. package/components/PadModeSelect/PadModeSelect.js +1 -1
  759. package/components/PadModeSelect/PadModeSelect.js.map +1 -1
  760. package/components/PadOffsetsPicker/StagesSelector.js +1 -1
  761. package/components/PadOffsetsPicker/StagesSelector.js.map +1 -1
  762. package/components/PadOffsetsPickerV2/PadOffsetsPickerV2.js +1 -1
  763. package/components/PadOffsetsPickerV2/PadOffsetsPickerV2.js.map +1 -1
  764. package/components/ParameterCharts/components/TraceHeader.js +1 -1
  765. package/components/ParameterCharts/components/TraceHeader.js.map +1 -1
  766. package/components/PinnableFilters/components/FiltersToggler.js +1 -1
  767. package/components/PinnableFilters/components/FiltersToggler.js.map +1 -1
  768. package/components/RealTimeValuesSidebar/RealTimeValuesBox/RealTimeBoxEditDialog.js +1 -1
  769. package/components/RealTimeValuesSidebar/RealTimeValuesBox/RealTimeBoxEditDialog.js.map +1 -1
  770. package/components/RealTimeValuesSidebar/SidebarFooter.js +1 -1
  771. package/components/RealTimeValuesSidebar/SidebarFooter.js.map +1 -1
  772. package/components/Search/Search.js +1 -1
  773. package/components/Search/Search.js.map +1 -1
  774. package/components/Select/SelectFilterBy.js +1 -1
  775. package/components/Select/SelectFilterBy.js.map +1 -1
  776. package/components/SettingEditors/ColorEditor/index.js +1 -1
  777. package/components/SettingEditors/ColorEditor/index.js.map +1 -1
  778. package/components/Stepper/Step/Step.js +1 -1
  779. package/components/Stepper/Step/Step.js.map +1 -1
  780. package/components/Table/TableCell/TableCell.js +1 -1
  781. package/components/Table/TableCell/TableCell.js.map +1 -1
  782. package/components/Table/TablePaginationActions/TablePaginationActions.js +1 -1
  783. package/components/Table/TablePaginationActions/TablePaginationActions.js.map +1 -1
  784. package/components/Table/TableSortLabel/TableSortLabel.js +1 -1
  785. package/components/Table/TableSortLabel/TableSortLabel.js.map +1 -1
  786. package/components/Toaster/Toaster.js +1 -1
  787. package/components/Toaster/Toaster.js.map +1 -1
  788. package/components/__tests__/ConfirmationDialog.test.d.ts +2 -0
  789. package/components/__tests__/ConfirmationDialog.test.d.ts.map +1 -0
  790. package/components/__tests__/EmojiIconButton.test.d.ts +2 -0
  791. package/components/__tests__/EmojiIconButton.test.d.ts.map +1 -0
  792. package/components/index.js +1 -1
  793. package/componentsV2/Accordion/Accordion.js +1 -1
  794. package/componentsV2/Accordion/Accordion.js.map +1 -1
  795. package/componentsV2/AppContainer/AppContainer.constants.scss.js +2 -0
  796. package/componentsV2/AppContainer/AppContainer.constants.scss.js.map +1 -0
  797. package/componentsV2/AppContainer/AppContainer.d.ts +5 -0
  798. package/componentsV2/AppContainer/AppContainer.d.ts.map +1 -1
  799. package/componentsV2/AppContainer/AppContainer.js +1 -1
  800. package/componentsV2/AppContainer/AppContainer.js.map +1 -1
  801. package/componentsV2/AppContainer/AppContainer.scss.js +1 -1
  802. package/componentsV2/AppContainer/Content.d.ts +0 -4
  803. package/componentsV2/AppContainer/Content.d.ts.map +1 -1
  804. package/componentsV2/AppContainer/Content.js +1 -1
  805. package/componentsV2/AppContainer/Content.js.map +1 -1
  806. package/componentsV2/AppDqPopover/DqAlertTooltip/DqAlertTooltip.js +1 -1
  807. package/componentsV2/AppDqPopover/DqAlertTooltip/DqAlertTooltip.js.map +1 -1
  808. package/componentsV2/AppDqPopover/DqAsset/DqAsset.js +1 -1
  809. package/componentsV2/AppDqPopover/DqAsset/DqAsset.js.map +1 -1
  810. package/componentsV2/AppFooter/DqPopover/DqPopover.js +1 -1
  811. package/componentsV2/AppFooter/DqPopover/DqPopover.js.map +1 -1
  812. package/componentsV2/AppFooter/DqPopover/DqStatusIcon/DqStatusIcon.js +1 -1
  813. package/componentsV2/AppFooter/DqPopover/DqStatusIcon/DqStatusIcon.js.map +1 -1
  814. package/componentsV2/AppFooter/Warning.js +1 -1
  815. package/componentsV2/AppFooter/Warning.js.map +1 -1
  816. package/componentsV2/AppHeader/AppAssets/utils.js +1 -1
  817. package/componentsV2/AppHeader/AppAssets/utils.js.map +1 -1
  818. package/componentsV2/AppHeader/V3/Actions/Actions.d.ts +1 -3
  819. package/componentsV2/AppHeader/V3/Actions/Actions.d.ts.map +1 -1
  820. package/componentsV2/AppHeader/V3/Actions/Actions.js +1 -1
  821. package/componentsV2/AppHeader/V3/Actions/Actions.js.map +1 -1
  822. package/componentsV2/AppHeader/V3/Actions/Actions.scss.js +1 -1
  823. package/componentsV2/AppHeader/V3/AppHeaderV3.d.ts +1 -1
  824. package/componentsV2/AppHeader/V3/AppHeaderV3.d.ts.map +1 -1
  825. package/componentsV2/AppHeader/V3/AppHeaderV3.js +1 -1
  826. package/componentsV2/AppHeader/V3/AppHeaderV3.js.map +1 -1
  827. package/componentsV2/AppHeader/V3/AppHeaderV3.stories.d.ts.map +1 -1
  828. package/componentsV2/AppHeader/V3/AppTitle/AppTitle.js +1 -1
  829. package/componentsV2/AppHeader/V3/AppTitle/AppTitle.js.map +1 -1
  830. package/componentsV2/AppHeader/V3/AssetSelector/AssetSelector.js +1 -1
  831. package/componentsV2/AppHeader/V3/AssetSelector/AssetSelector.js.map +1 -1
  832. package/componentsV2/AppHeader/V3/AssetSelector/AssetSelectorChip/AssetSelectorChip.js +1 -1
  833. package/componentsV2/AppHeader/V3/AssetSelector/AssetSelectorChip/AssetSelectorChip.js.map +1 -1
  834. package/componentsV2/AppHeader/V3/AssetSelector/AssetSelectorSelect/AssetSelectorContent.js +1 -1
  835. package/componentsV2/AppHeader/V3/AssetSelector/AssetSelectorSelect/AssetSelectorContent.js.map +1 -1
  836. package/componentsV2/AppHeader/V3/AssetSelector/constants.js +1 -1
  837. package/componentsV2/AppHeader/V3/AssetSelector/constants.js.map +1 -1
  838. package/componentsV2/AppHeader/V3/DqStatusIcon/DqStatusIcon.js +1 -1
  839. package/componentsV2/AppHeader/V3/DqStatusIcon/DqStatusIcon.js.map +1 -1
  840. package/componentsV2/AppHeader/V3/SettingsButton/SettingsButton.d.ts +1 -2
  841. package/componentsV2/AppHeader/V3/SettingsButton/SettingsButton.d.ts.map +1 -1
  842. package/componentsV2/AppHeader/V3/SettingsButton/SettingsButton.js +1 -1
  843. package/componentsV2/AppHeader/V3/SettingsButton/SettingsButton.js.map +1 -1
  844. package/componentsV2/AppHeader/V3/VersionSelect/VersionSelect.js +1 -1
  845. package/componentsV2/AppHeader/V3/VersionSelect/VersionSelect.js.map +1 -1
  846. package/componentsV2/AppPanel/AppPanel.d.ts +16 -0
  847. package/componentsV2/AppPanel/AppPanel.d.ts.map +1 -0
  848. package/componentsV2/AppPanel/AppPanel.js +2 -0
  849. package/componentsV2/AppPanel/AppPanel.js.map +1 -0
  850. package/componentsV2/AppPanel/AppPanelDisplay.d.ts +7 -0
  851. package/componentsV2/AppPanel/AppPanelDisplay.d.ts.map +1 -0
  852. package/componentsV2/AppPanel/AppPanelDisplay.js +2 -0
  853. package/componentsV2/AppPanel/AppPanelDisplay.js.map +1 -0
  854. package/componentsV2/AppPanel/AppPanelDisplay.scss.js +2 -0
  855. package/componentsV2/AppPanel/AppPanelDisplay.scss.js.map +1 -0
  856. package/componentsV2/AppPanel/AppPanelIdContext.d.ts +7 -0
  857. package/componentsV2/AppPanel/AppPanelIdContext.d.ts.map +1 -0
  858. package/componentsV2/AppPanel/AppPanelIdContext.js +2 -0
  859. package/componentsV2/AppPanel/AppPanelIdContext.js.map +1 -0
  860. package/componentsV2/AppPanel/AppPanels.stories.d.ts +15 -0
  861. package/componentsV2/AppPanel/AppPanels.stories.d.ts.map +1 -0
  862. package/componentsV2/AppPanel/AppPanelsContext.d.ts +61 -0
  863. package/componentsV2/AppPanel/AppPanelsContext.d.ts.map +1 -0
  864. package/componentsV2/AppPanel/AppPanelsContext.js +2 -0
  865. package/componentsV2/AppPanel/AppPanelsContext.js.map +1 -0
  866. package/componentsV2/AppPanel/Header/Header.d.ts +9 -0
  867. package/componentsV2/AppPanel/Header/Header.d.ts.map +1 -0
  868. package/componentsV2/AppPanel/Header/Header.js +2 -0
  869. package/componentsV2/AppPanel/Header/Header.js.map +1 -0
  870. package/componentsV2/AppPanel/Header/index.d.ts +2 -0
  871. package/componentsV2/AppPanel/Header/index.d.ts.map +1 -0
  872. package/componentsV2/AppPanel/index.d.ts +3 -0
  873. package/componentsV2/AppPanel/index.d.ts.map +1 -0
  874. package/componentsV2/AppPanel/utils.d.ts +53 -0
  875. package/componentsV2/AppPanel/utils.d.ts.map +1 -0
  876. package/componentsV2/AppPanel/utils.js +2 -0
  877. package/componentsV2/AppPanel/utils.js.map +1 -0
  878. package/componentsV2/AppSettings/AppSettings.d.ts +1 -6
  879. package/componentsV2/AppSettings/AppSettings.d.ts.map +1 -1
  880. package/componentsV2/AppSettings/AppSettings.js +1 -1
  881. package/componentsV2/AppSettings/AppSettings.js.map +1 -1
  882. package/componentsV2/AppSettings/AppSettings.scss.js +1 -1
  883. package/componentsV2/AppSettings/index.d.ts +0 -1
  884. package/componentsV2/AppSettings/index.d.ts.map +1 -1
  885. package/componentsV2/AppSettingsDivider/AppSettingsDivider.d.ts.map +1 -1
  886. package/componentsV2/AppSettingsDivider/AppSettingsDivider.js +1 -1
  887. package/componentsV2/AppSettingsDivider/AppSettingsDivider.js.map +1 -1
  888. package/componentsV2/AppSettingsDivider/AppSettingsDivider.scss.js +1 -1
  889. package/componentsV2/Autocomplete/Autocomplete.js +1 -1
  890. package/componentsV2/Autocomplete/Autocomplete.js.map +1 -1
  891. package/componentsV2/Breadcrumbs/Breadcrumbs.js +1 -1
  892. package/componentsV2/Breadcrumbs/Breadcrumbs.js.map +1 -1
  893. package/componentsV2/ButtonLive/ButtonLive.js +1 -1
  894. package/componentsV2/ButtonLive/ButtonLive.js.map +1 -1
  895. package/componentsV2/ChartAxisExtreme/ChartAxisExtreme.js +1 -1
  896. package/componentsV2/ChartAxisExtreme/ChartAxisExtreme.js.map +1 -1
  897. package/componentsV2/Chip/Chip.js +1 -1
  898. package/componentsV2/Chip/Chip.js.map +1 -1
  899. package/componentsV2/ColorPicker/ColorPicker.js +1 -1
  900. package/componentsV2/ColorPicker/ColorPicker.js.map +1 -1
  901. package/componentsV2/ColorPicker/Swatches/Swatches.js +1 -1
  902. package/componentsV2/ColorPicker/Swatches/Swatches.js.map +1 -1
  903. package/componentsV2/CompletionsOffsetWellPicker/AssetSearchInput/AssetSearchInput.js +1 -1
  904. package/componentsV2/CompletionsOffsetWellPicker/AssetSearchInput/AssetSearchInput.js.map +1 -1
  905. package/componentsV2/CompletionsOffsetWellPicker/CompletionsOffsetWellPicker.js +1 -1
  906. package/componentsV2/CompletionsOffsetWellPicker/CompletionsOffsetWellPicker.js.map +1 -1
  907. package/componentsV2/CompletionsOffsetWellPicker/Map/Map.js +1 -1
  908. package/componentsV2/CompletionsOffsetWellPicker/Map/Map.js.map +1 -1
  909. package/componentsV2/CompletionsOffsetWellPicker/ModalTitle/ModalTitle.js +1 -1
  910. package/componentsV2/CompletionsOffsetWellPicker/ModalTitle/ModalTitle.js.map +1 -1
  911. package/componentsV2/CompletionsOffsetWellPicker/PadsTable/PadsTable.js +1 -1
  912. package/componentsV2/CompletionsOffsetWellPicker/PadsTable/PadsTable.js.map +1 -1
  913. package/componentsV2/CompletionsOffsetWellPicker/PadsTable/helpers/columns.js +1 -1
  914. package/componentsV2/CompletionsOffsetWellPicker/PadsTable/helpers/columns.js.map +1 -1
  915. package/componentsV2/CopyToClipboard/CopyToClipboard.js +1 -1
  916. package/componentsV2/CopyToClipboard/CopyToClipboard.js.map +1 -1
  917. package/componentsV2/Counter/Counter.js +1 -1
  918. package/componentsV2/Counter/Counter.js.map +1 -1
  919. package/componentsV2/DatePicker/CalendarControls/CalendarControls.js +1 -1
  920. package/componentsV2/DatePicker/CalendarControls/CalendarControls.js.map +1 -1
  921. package/componentsV2/DatePicker/Input/Input.js +1 -1
  922. package/componentsV2/DatePicker/Input/Input.js.map +1 -1
  923. package/componentsV2/DatePicker/TimePicker/TimePicker.js +1 -1
  924. package/componentsV2/DatePicker/TimePicker/TimePicker.js.map +1 -1
  925. package/componentsV2/DragHandle/DragHandle.js +1 -1
  926. package/componentsV2/DragHandle/DragHandle.js.map +1 -1
  927. package/componentsV2/FilesDropzone/FilesDropzone.js +1 -1
  928. package/componentsV2/FilesDropzone/FilesDropzone.js.map +1 -1
  929. package/componentsV2/FilesLoader/FilesLoader.js +1 -1
  930. package/componentsV2/FilesLoader/FilesLoader.js.map +1 -1
  931. package/componentsV2/Hint/Hint.js +1 -1
  932. package/componentsV2/Hint/Hint.js.map +1 -1
  933. package/componentsV2/ImageViewer/ImageViewer.js +1 -1
  934. package/componentsV2/ImageViewer/ImageViewer.js.map +1 -1
  935. package/componentsV2/InterventionEventSelector/InterventionEventSelector.js +1 -1
  936. package/componentsV2/InterventionEventSelector/InterventionEventSelector.js.map +1 -1
  937. package/componentsV2/ModalWindow/ModalWindow.js +1 -1
  938. package/componentsV2/ModalWindow/ModalWindow.js.map +1 -1
  939. package/componentsV2/OffsetWellsButton/OffsetWellsButton.js +1 -1
  940. package/componentsV2/OffsetWellsButton/OffsetWellsButton.js.map +1 -1
  941. package/componentsV2/OffsetWellsButton/useOffsetWellsIcon.js +1 -1
  942. package/componentsV2/OffsetWellsButton/useOffsetWellsIcon.js.map +1 -1
  943. package/componentsV2/PadModeSelect/FracModeLabel/FracModeLabel.js +1 -1
  944. package/componentsV2/PadModeSelect/FracModeLabel/FracModeLabel.js.map +1 -1
  945. package/componentsV2/PadModeSelect/PadModeSelect.js +1 -1
  946. package/componentsV2/PadModeSelect/PadModeSelect.js.map +1 -1
  947. package/componentsV2/Paper/Paper.d.ts +2 -1
  948. package/componentsV2/Paper/Paper.d.ts.map +1 -1
  949. package/componentsV2/Paper/Paper.js.map +1 -1
  950. package/componentsV2/Popover/Popover.d.ts +5 -1
  951. package/componentsV2/Popover/Popover.d.ts.map +1 -1
  952. package/componentsV2/Popover/Popover.js +1 -1
  953. package/componentsV2/Popover/Popover.js.map +1 -1
  954. package/componentsV2/PopoverPanel/PopoverPanel.scss.js +1 -1
  955. package/componentsV2/PopoverPanel/PopoverPanelHeader/PopoverPanelHeader.d.ts +2 -1
  956. package/componentsV2/PopoverPanel/PopoverPanelHeader/PopoverPanelHeader.d.ts.map +1 -1
  957. package/componentsV2/PopoverPanel/PopoverPanelHeader/PopoverPanelHeader.js +1 -1
  958. package/componentsV2/PopoverPanel/PopoverPanelHeader/PopoverPanelHeader.js.map +1 -1
  959. package/componentsV2/SliderAdvanced/Bar.js +1 -1
  960. package/componentsV2/SliderAdvanced/Bar.js.map +1 -1
  961. package/componentsV2/SliderAdvanced/HandleWrapper.js +1 -1
  962. package/componentsV2/SliderAdvanced/HandleWrapper.js.map +1 -1
  963. package/componentsV2/Stepper/Step/Step.js +1 -1
  964. package/componentsV2/Stepper/Step/Step.js.map +1 -1
  965. package/componentsV2/TemplatesControl/FolderMenu/FolderMenu.js +1 -1
  966. package/componentsV2/TemplatesControl/FolderMenu/FolderMenu.js.map +1 -1
  967. package/componentsV2/TemplatesControl/MoveToFolderMenu/MoveToFolderMenu.js +1 -1
  968. package/componentsV2/TemplatesControl/MoveToFolderMenu/MoveToFolderMenu.js.map +1 -1
  969. package/componentsV2/TemplatesControl/Popover/Popover.d.ts.map +1 -1
  970. package/componentsV2/TemplatesControl/Popover/Popover.js +1 -1
  971. package/componentsV2/TemplatesControl/Popover/Popover.js.map +1 -1
  972. package/componentsV2/TemplatesControl/PopoverFooter/PopoverFooter.js +1 -1
  973. package/componentsV2/TemplatesControl/PopoverFooter/PopoverFooter.js.map +1 -1
  974. package/componentsV2/TemplatesControl/PopoverSearch/PopoverSearch.js +1 -1
  975. package/componentsV2/TemplatesControl/PopoverSearch/PopoverSearch.js.map +1 -1
  976. package/componentsV2/TemplatesControl/PublishModal/PublishModal.js +1 -1
  977. package/componentsV2/TemplatesControl/PublishModal/PublishModal.js.map +1 -1
  978. package/componentsV2/TemplatesControl/ShareModal/ShareModal.js +1 -1
  979. package/componentsV2/TemplatesControl/ShareModal/ShareModal.js.map +1 -1
  980. package/componentsV2/TemplatesControl/TemplateMenu/IconMenu/IconMenu.js +1 -1
  981. package/componentsV2/TemplatesControl/TemplateMenu/IconMenu/IconMenu.js.map +1 -1
  982. package/componentsV2/TemplatesControl/TemplatesTreeMenuHeader/TemplatesTreeMenuHeader.js +1 -1
  983. package/componentsV2/TemplatesControl/TemplatesTreeMenuHeader/TemplatesTreeMenuHeader.js.map +1 -1
  984. package/componentsV2/TemplatesControl/TemplatesTreeNodeItem/TemplatesTreeNodeItem.js +1 -1
  985. package/componentsV2/TemplatesControl/TemplatesTreeNodeItem/TemplatesTreeNodeItem.js.map +1 -1
  986. package/componentsV2/TemplatesControl/Toggle/Toggle.js +1 -1
  987. package/componentsV2/TemplatesControl/Toggle/Toggle.js.map +1 -1
  988. package/componentsV2/TemplatesControl/templateMenuItems/CopyTemplate.js +1 -1
  989. package/componentsV2/TemplatesControl/templateMenuItems/CopyTemplate.js.map +1 -1
  990. package/componentsV2/TemplatesControl/templateMenuItems/ExportTemplate.js +1 -1
  991. package/componentsV2/TemplatesControl/templateMenuItems/ExportTemplate.js.map +1 -1
  992. package/componentsV2/TemplatesControl/templateMenuItems/MoveTemplateOutOfFolder.js +1 -1
  993. package/componentsV2/TemplatesControl/templateMenuItems/MoveTemplateOutOfFolder.js.map +1 -1
  994. package/componentsV2/TemplatesControl/templateMenuItems/MoveTemplateToFolder.js +1 -1
  995. package/componentsV2/TemplatesControl/templateMenuItems/MoveTemplateToFolder.js.map +1 -1
  996. package/componentsV2/TemplatesControl/templateMenuItems/RemoveTemplate.js +1 -1
  997. package/componentsV2/TemplatesControl/templateMenuItems/RemoveTemplate.js.map +1 -1
  998. package/componentsV2/TemplatesControl/templateMenuItems/RevertTemplate.js +1 -1
  999. package/componentsV2/TemplatesControl/templateMenuItems/RevertTemplate.js.map +1 -1
  1000. package/componentsV2/TemplatesControl/templateMenuItems/ShareTemplate.js +1 -1
  1001. package/componentsV2/TemplatesControl/templateMenuItems/ShareTemplate.js.map +1 -1
  1002. package/componentsV2/TemplatesControl/templateMenuItems/UnfollowTemplate.js +1 -1
  1003. package/componentsV2/TemplatesControl/templateMenuItems/UnfollowTemplate.js.map +1 -1
  1004. package/componentsV2/TextInput/TextInput.js +1 -1
  1005. package/componentsV2/TextInput/TextInput.js.map +1 -1
  1006. package/componentsV2/TextInputBase/TextInputBase.js +1 -1
  1007. package/componentsV2/TextInputBase/TextInputBase.js.map +1 -1
  1008. package/componentsV2/TextInputBase/components/InfoIcon.js +1 -1
  1009. package/componentsV2/TextInputBase/components/InfoIcon.js.map +1 -1
  1010. package/componentsV2/TextInputNext/TextInputNext.js +1 -1
  1011. package/componentsV2/TextInputNext/TextInputNext.js.map +1 -1
  1012. package/componentsV2/index.d.ts +1 -0
  1013. package/componentsV2/index.d.ts.map +1 -1
  1014. package/componentsV2/index.js +1 -1
  1015. package/config/theme/index.js +1 -1
  1016. package/config/theme/index.js.map +1 -1
  1017. package/effects/index.d.ts +1 -1
  1018. package/effects/index.d.ts.map +1 -1
  1019. package/effects/index.js +1 -1
  1020. package/effects/useGlobalOffsetWellsSync.js +1 -1
  1021. package/effects/useGlobalOffsetWellsSync.js.map +1 -1
  1022. package/icons/customIcons/icons/PinOne.d.ts +2 -0
  1023. package/icons/customIcons/icons/PinOne.d.ts.map +1 -0
  1024. package/icons/customIcons/icons/PinOne.js +2 -0
  1025. package/icons/customIcons/icons/PinOne.js.map +1 -0
  1026. package/icons/customIcons/icons/PinOneCrossed.d.ts +2 -0
  1027. package/icons/customIcons/icons/PinOneCrossed.d.ts.map +1 -0
  1028. package/icons/customIcons/icons/PinOneCrossed.js +2 -0
  1029. package/icons/customIcons/icons/PinOneCrossed.js.map +1 -0
  1030. package/icons/customIcons/icons/index.d.ts +2 -0
  1031. package/icons/customIcons/icons/index.d.ts.map +1 -1
  1032. package/icons/index.js +1 -1
  1033. package/mcp-server/server.mjs +130 -23
  1034. package/package.json +1 -1
  1035. package/testing/AppTestWrapper/AppTestWrapper.js +1 -1
  1036. package/testing/AppTestWrapper/AppTestWrapper.js.map +1 -1
  1037. package/tsconfig.tsbuildinfo +1 -1
  1038. package/utils/feed.js +1 -1
  1039. package/utils/feed.js.map +1 -1
  1040. package/cjs-bundle/componentsV2/AppSettings/AppSettingsPinningContext.js +0 -2
  1041. package/cjs-bundle/componentsV2/AppSettings/AppSettingsPinningContext.js.map +0 -1
  1042. package/componentsV2/AppSettings/AppSettingsPinningContext.d.ts +0 -21
  1043. package/componentsV2/AppSettings/AppSettingsPinningContext.d.ts.map +0 -1
  1044. package/componentsV2/AppSettings/AppSettingsPinningContext.js +0 -2
  1045. package/componentsV2/AppSettings/AppSettingsPinningContext.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"AttachmentActionsMenu.js","sources":["../../../../src/components/AttachmentPreview/AttachmentActionsMenu.tsx"],"sourcesContent":["import { MouseEvent, RefObject, useEffect, useState } from 'react';\n\nimport { ButtonIcon } from '../../componentsV2/ButtonIcon';\nimport { Tooltip } from '../../componentsV2/Tooltip';\nimport { Menu } from '../../componentsV2/Menu';\nimport { copyImageToClipboard, getCanCopyImages } from '../AttachmentLightbox/copyImageToClipboard';\n\nimport { AttachmentPreviewItem } from './AttachmentPreview.types';\n\nimport { LinkOneIcon, MoreOneIcon, PictureIcon, ShareTwoIcon } from '~/icons';\nimport { showErrorNotification, showSuccessNotification } from '~/utils/notificationToasts';\nimport utils from '~/utils/main';\n\nexport type AttachmentActionsMenuProps = {\n item: AttachmentPreviewItem;\n /** Adds \"Share file\" to the menu. */\n onShare?: (item: AttachmentPreviewItem) => void;\n /** `xs` sits on a tile, `small` in the preview modal's header. */\n size?: 'xs' | 'small';\n /** Test ids read `<prefix>-more`, `<prefix>-share`, and so on. */\n testIdPrefix?: string;\n tooltip?: string;\n imageRef?: RefObject<HTMLImageElement>;\n className?: string;\n};\n\nexport const AttachmentActionsMenu = ({\n item,\n onShare,\n size = 'small',\n testIdPrefix = 'attachment-preview',\n tooltip = 'More',\n imageRef,\n className,\n}: AttachmentActionsMenuProps) => {\n const [menuAnchor, setMenuAnchor] = useState<HTMLElement | null>(null);\n\n useEffect(() => {\n setMenuAnchor(null);\n }, [item.id]);\n\n const shareableUrl = item.src || item.downloadUrl;\n const canCopyImage = (item.kind ?? 'file') === 'image' && !!item.src && getCanCopyImages();\n\n const copyImage = () => {\n copyImageToClipboard(item.src as string, imageRef?.current).then(copied => {\n if (copied) showSuccessNotification('Image copied to clipboard');\n else showErrorNotification('Could not copy the image');\n });\n };\n\n // A portalled menu still bubbles its clicks up the React tree, where the tile would take\n // them as its own and open the preview over whatever the action just started.\n const runAndClose = (action: () => void) => (event: MouseEvent) => {\n event.stopPropagation();\n action();\n setMenuAnchor(null);\n };\n\n return (\n <>\n <Tooltip title={tooltip}>\n <ButtonIcon\n size={size}\n type=\"tertiaryBg\"\n ariaLabel=\"More actions\"\n isActive={!!menuAnchor}\n className={className}\n onClick={event => {\n event.stopPropagation();\n setMenuAnchor(event.currentTarget);\n }}\n testId={`${testIdPrefix}-more`}\n >\n <MoreOneIcon />\n </ButtonIcon>\n </Tooltip>\n\n {!!menuAnchor && (\n <Menu open anchorEl={menuAnchor} placement=\"bottom-end\" onClose={() => setMenuAnchor(null)}>\n {!!onShare && (\n <Menu.Item\n prefix={<ShareTwoIcon />}\n onClick={runAndClose(() => onShare(item))}\n testId={`${testIdPrefix}-share`}\n >\n Share file\n </Menu.Item>\n )}\n\n <Menu.Item\n prefix={<LinkOneIcon />}\n disabled={!shareableUrl}\n onClick={runAndClose(() => {\n if (!shareableUrl) return;\n utils.copyToClipboard(shareableUrl);\n showSuccessNotification('Link copied to clipboard');\n })}\n testId={`${testIdPrefix}-copy-link`}\n >\n Copy link\n </Menu.Item>\n\n {/* Only images: no browser lets a page put a video or a document on the clipboard. */}\n {canCopyImage && (\n <Menu.Item\n prefix={<PictureIcon />}\n onClick={runAndClose(copyImage)}\n testId={`${testIdPrefix}-copy-image`}\n >\n Copy image\n </Menu.Item>\n )}\n </Menu>\n )}\n </>\n );\n};\n"],"names":["_ref","_item$kind","item","onShare","_ref$size","size","_ref$testIdPrefix","testIdPrefix","_ref$tooltip","tooltip","imageRef","className","useState","_useState2","_slicedToArray","_useState","menuAnchor","setMenuAnchor","useEffect","id","shareableUrl","src","downloadUrl","canCopyImage","kind","getCanCopyImages","runAndClose","action","event","stopPropagation","_jsxs","_Fragment","children","_jsx","Tooltip","title","ButtonIcon","type","ariaLabel","isActive","onClick","currentTarget","testId","concat","MoreOneIcon","Menu","open","anchorEl","placement","onClose","Item","prefix","ShareTwoIcon","LinkOneIcon","disabled","utils","copyToClipboard","showSuccessNotification","PictureIcon","copyImageToClipboard","current","then","copied","showErrorNotification"],"mappings":"qgJA0BqC,SAQHA,GAAA,IAAAC,EAPhCC,IAAAA,KACAC,IAAAA,QAAOC,EAAAJ,EACPK,KAAAA,aAAO,QAAOD,EAAAE,EAAAN,EACdO,aAAAA,aAAe,qBAAoBD,EAAAE,EAAAR,EACnCS,QAAAA,aAAU,OAAMD,EAChBE,IAAAA,SACAC,IAAAA,UAEoCC,EAAAA,EAAQA,SAAqB,MAAKC,EAAAC,EAAAA,QAAAC,EAAA,GAA/DC,EAAUH,EAAA,GAAEI,EAAaJ,EAAA,GAEhCK,EAAAA,WAAU,WACRD,EAAc,KAChB,GAAG,CAACf,EAAKiB,KAET,IAAMC,EAAelB,EAAKmB,KAAOnB,EAAKoB,YAChCC,EAAyC,mBAA1BtB,EAACC,EAAKsB,oBAAQ,WAAyBtB,EAAKmB,KAAOI,EAAAA,mBAWlEC,EAAc,SAACC,GAAkB,OAAK,SAACC,GAC3CA,EAAMC,kBACNF,IACAV,EAAc,MACf,EAED,OACEa,EAAAA,KAAAC,EAAAA,SAAA,CAAAC,SAAA,CACEC,MAACC,UAAO,CAACC,MAAO1B,EAAQuB,SACtBC,MAACG,aAAU,CACT/B,KAAMA,EACNgC,KAAK,aACLC,UAAU,eACVC,WAAYvB,EACZL,UAAWA,EACX6B,QAAS,SAAAZ,GACPA,EAAMC,kBACNZ,EAAcW,EAAMa,cACpB,EACFC,OAAM,GAAAC,OAAKpC,EAAoB,SAAAyB,SAE/BC,EAAAA,IAACW,EAAWA,YAAA,UAIb5B,GACDc,EAAAA,KAACe,EAAAA,KAAI,CAACC,MAAI,EAACC,SAAU/B,EAAYgC,UAAU,aAAaC,QAAS,WAAA,OAAMhC,EAAc,KAAM,EAAAe,SAAA,GACtF7B,GACD8B,EAAAA,IAACY,EAAAA,KAAKK,KAAI,CACRC,OAAQlB,EAAAA,IAACmB,EAAYA,aAAI,IACzBZ,QAASd,GAAY,WAAA,OAAMvB,EAAQD,MACnCwC,OAAM,GAAAC,OAAKpC,EAAqB,UAAAyB,SAAA,eAMpCC,EAAAA,IAACY,EAAIA,KAACK,KAAI,CACRC,OAAQlB,EAAAA,IAACoB,EAAWA,YAAI,IACxBC,UAAWlC,EACXoB,QAASd,GAAY,WACdN,IACLmC,UAAMC,gBAAgBpC,GACtBqC,EAAuBA,wBAAC,4BAC1B,IACAf,OAAM,GAAAC,OAAKpC,EAAyB,cAAAyB,SAAA,cAMrCT,GACCU,MAACY,EAAAA,KAAKK,KAAI,CACRC,OAAQlB,EAAAA,IAACyB,EAAWA,YAAI,IACxBlB,QAASd,GA/DH,WAChBiC,EAAAA,qBAAqBzD,EAAKmB,IAAeX,aAAQ,EAARA,EAAUkD,SAASC,MAAK,SAAAC,GAC3DA,EAAQL,EAAAA,wBAAwB,6BAC/BM,EAAAA,sBAAsB,2BAC7B,OA4DUrB,OAAM,GAAAC,OAAKpC,EAA0B,eAAAyB,SAAA,oBASnD"}
1
+ {"version":3,"file":"AttachmentActionsMenu.js","sources":["../../../../src/components/AttachmentPreview/AttachmentActionsMenu.tsx"],"sourcesContent":["import { MouseEvent, RefObject, useEffect, useState } from 'react';\n\nimport { ButtonIcon } from '../../componentsV2/ButtonIcon';\nimport { Tooltip } from '../../componentsV2/Tooltip';\nimport { Menu } from '../../componentsV2/Menu';\nimport { copyImageToClipboard, getCanCopyImages } from '../AttachmentLightbox/copyImageToClipboard';\n\nimport { AttachmentPreviewItem } from './AttachmentPreview.types';\n\nimport { LinkOneIcon, MoreOneIcon, PictureIcon, ShareTwoIcon } from '~/icons';\nimport { showErrorNotification, showSuccessNotification } from '~/utils/notificationToasts';\nimport utils from '~/utils/main';\n\nexport type AttachmentActionsMenuProps = {\n item: AttachmentPreviewItem;\n /** Adds \"Share file\" to the menu. */\n onShare?: (item: AttachmentPreviewItem) => void;\n /** `xs` sits on a tile, `small` in the preview modal's header. */\n size?: 'xs' | 'small';\n /** Test ids read `<prefix>-more`, `<prefix>-share`, and so on. */\n testIdPrefix?: string;\n tooltip?: string;\n imageRef?: RefObject<HTMLImageElement>;\n className?: string;\n};\n\nexport const AttachmentActionsMenu = ({\n item,\n onShare,\n size = 'small',\n testIdPrefix = 'attachment-preview',\n tooltip = 'More',\n imageRef,\n className,\n}: AttachmentActionsMenuProps) => {\n const [menuAnchor, setMenuAnchor] = useState<HTMLElement | null>(null);\n\n useEffect(() => {\n setMenuAnchor(null);\n }, [item.id]);\n\n const shareableUrl = item.src || item.downloadUrl;\n const canCopyImage = (item.kind ?? 'file') === 'image' && !!item.src && getCanCopyImages();\n\n const copyImage = () => {\n copyImageToClipboard(item.src as string, imageRef?.current).then(copied => {\n if (copied) showSuccessNotification('Image copied to clipboard');\n else showErrorNotification('Could not copy the image');\n });\n };\n\n // A portalled menu still bubbles its clicks up the React tree, where the tile would take\n // them as its own and open the preview over whatever the action just started.\n const runAndClose = (action: () => void) => (event: MouseEvent) => {\n event.stopPropagation();\n action();\n setMenuAnchor(null);\n };\n\n return (\n <>\n <Tooltip title={tooltip}>\n <ButtonIcon\n size={size}\n type=\"tertiaryBg\"\n ariaLabel=\"More actions\"\n isActive={!!menuAnchor}\n className={className}\n onClick={event => {\n event.stopPropagation();\n setMenuAnchor(event.currentTarget);\n }}\n testId={`${testIdPrefix}-more`}\n >\n <MoreOneIcon />\n </ButtonIcon>\n </Tooltip>\n\n {!!menuAnchor && (\n <Menu open anchorEl={menuAnchor} placement=\"bottom-end\" onClose={() => setMenuAnchor(null)}>\n {!!onShare && (\n <Menu.Item\n prefix={<ShareTwoIcon />}\n onClick={runAndClose(() => onShare(item))}\n testId={`${testIdPrefix}-share`}\n >\n Share file\n </Menu.Item>\n )}\n\n <Menu.Item\n prefix={<LinkOneIcon />}\n disabled={!shareableUrl}\n onClick={runAndClose(() => {\n if (!shareableUrl) return;\n utils.copyToClipboard(shareableUrl);\n showSuccessNotification('Link copied to clipboard');\n })}\n testId={`${testIdPrefix}-copy-link`}\n >\n Copy link\n </Menu.Item>\n\n {/* Only images: no browser lets a page put a video or a document on the clipboard. */}\n {canCopyImage && (\n <Menu.Item\n prefix={<PictureIcon />}\n onClick={runAndClose(copyImage)}\n testId={`${testIdPrefix}-copy-image`}\n >\n Copy image\n </Menu.Item>\n )}\n </Menu>\n )}\n </>\n );\n};\n"],"names":["_ref","_item$kind","item","onShare","_ref$size","size","_ref$testIdPrefix","testIdPrefix","_ref$tooltip","tooltip","imageRef","className","useState","_useState2","_slicedToArray","_useState","menuAnchor","setMenuAnchor","useEffect","id","shareableUrl","src","downloadUrl","canCopyImage","kind","getCanCopyImages","runAndClose","action","event","stopPropagation","_jsxs","_Fragment","children","_jsx","Tooltip","title","ButtonIcon","type","ariaLabel","isActive","onClick","currentTarget","testId","concat","MoreOneIcon","Menu","open","anchorEl","placement","onClose","Item","prefix","ShareTwoIcon","LinkOneIcon","disabled","utils","copyToClipboard","showSuccessNotification","PictureIcon","copyImageToClipboard","current","then","copied","showErrorNotification"],"mappings":"knJA0BqC,SAQHA,GAAA,IAAAC,EAPhCC,IAAAA,KACAC,IAAAA,QAAOC,EAAAJ,EACPK,KAAAA,aAAO,QAAOD,EAAAE,EAAAN,EACdO,aAAAA,aAAe,qBAAoBD,EAAAE,EAAA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AAuBA,wBAAC,4BAC1B,IACAf,OAAM,GAAAC,OAAKpC,EAAyB,cAAAyB,SAAA,cAMrCT,GACCU,MAACY,EAAAA,KAAKK,KAAI,CACRC,OAAQlB,EAAAA,IAACyB,EAAWA,YAAI,IACxBlB,QAASd,GA/DH,WAChBiC,EAAAA,qBAAqBzD,EAAKmB,IAAeX,aAAQ,EAARA,EAAUkD,SAASC,MAAK,SAAAC,GAC3DA,EAAQL,EAAAA,wBAAwB,6BAC/BM,EAAAA,sBAAsB,2BAC7B,OA4DUrB,OAAM,GAAAC,OAAKpC,EAA0B,eAAAyB,SAAA,oBASnD"}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var s=require("../../componentsV2/ButtonIcon/ButtonIcon.js"),o=require("../../componentsV2/Tooltip/Tooltip.js"),c=require("../AttachmentLightbox/downloadAttachment.js"),i=require("../../icons/iconParkIcons.js");require("../../icons/customIcons/icons/AddMessage.js"),require("../../icons/customIcons/icons/DragOne.js"),require("../../icons/customIcons/icons/Attention.js"),require("../../icons/customIcons/icons/Collapse.js"),require("../../icons/customIcons/icons/Dashboard.js"),require("../../icons/customIcons/icons/Expand.js"),require("../../icons/customIcons/icons/FolderClosed.js"),require("../../icons/customIcons/icons/FolderClosedFilled.js"),require("../../icons/customIcons/icons/FolderOpened.js"),require("../../icons/customIcons/icons/GreaterOrEqual.js"),require("../../icons/customIcons/icons/LessOrEqual.js"),require("../../icons/customIcons/icons/Search.js"),require("../../icons/customIcons/icons/SearchOne.js"),require("../../icons/customIcons/icons/Wellhub.js"),require("../../icons/customIcons/icons/MultiRuler.js"),require("../../icons/customIcons/icons/Checkbox.js"),require("../../icons/customIcons/icons/CheckboxChecked.js"),require("../../icons/customIcons/icons/CheckboxIndeterminate.js"),require("../../icons/customIcons/icons/Radio.js"),require("../../icons/customIcons/icons/RadioChecked.js"),require("../../icons/customIcons/icons/SimulFrac.js"),require("../../icons/customIcons/icons/ZipperFrac.js"),require("../../icons/customIcons/icons/CautionFilled.js"),require("../../icons/customIcons/icons/InfoRounded.js"),require("../../icons/customIcons/icons/FlameFilled.js"),require("../../icons/customIcons/icons/MoreApp.js"),require("../../icons/customIcons/icons/Pad.js"),require("../../icons/customIcons/icons/DrilloutUnit.js"),require("../../icons/customIcons/icons/FracFleet.js"),require("../../icons/customIcons/icons/Global.js"),require("../../icons/customIcons/icons/Program.js"),require("../../icons/customIcons/icons/Rig.js"),require("../../icons/customIcons/icons/Well.js"),require("../../icons/customIcons/icons/Gap.js"),require("../../icons/customIcons/icons/Pin.js"),require("../../icons/customIcons/icons/CloseOneFilled.js"),require("../../icons/customIcons/icons/AttentionFilled.js"),require("../../icons/customIcons/icons/CheckOneFilled.js"),require("../../icons/customIcons/icons/Archive.js"),require("../../icons/customIcons/icons/ArchiveCancel.js"),require("../../icons/customIcons/icons/Unarchive.js"),require("../../icons/customIcons/icons/Archived.js"),require("../../icons/customIcons/icons/InterventionUnit.js"),require("../../icons/customIcons/icons/CloudDelete.js"),require("../../icons/customIcons/icons/Lasso.js"),require("../../icons/customIcons/icons/Radius.js"),require("../../icons/customIcons/icons/ErrorOps.js"),require("../../icons/customIcons/icons/DataTypeOps.js"),require("../../icons/customIcons/icons/FalsePositiveOps.js"),require("../../icons/customIcons/icons/CalibrationOps.js"),require("../../icons/customIcons/icons/CriticalOps.js"),require("../../icons/customIcons/icons/Company.js"),require("../../icons/customIcons/icons/ArchiveOne.js"),require("../../icons/customIcons/icons/ParseBotFusion.js"),require("../../icons/customIcons/icons/Connect.js"),require("../../icons/customIcons/icons/PuzzleOne.js"),require("../../icons/customIcons/icons/Feed.js"),require("../../icons/customIcons/icons/Prompt.js"),require("../../icons/customIcons/icons/Companies.js"),require("../../icons/customIcons/icons/ClipboardAi.js"),require("../../icons/customIcons/icons/Key.js"),require("../../icons/customIcons/icons/AtSignCrossed.js"),require("../../icons/customIcons/icons/MappingManual.js"),require("../../icons/customIcons/icons/Mapping.js"),require("../../icons/customIcons/icons/Metrics.js"),require("../../icons/customIcons/icons/Drops.js"),require("../../icons/customIcons/icons/ClipboardSearch.js"),require("../../icons/customIcons/icons/Template.js"),require("../../icons/customIcons/icons/ClipboardMetrics.js"),require("../../icons/customIcons/icons/ClipboardBuilder.js"),require("../../icons/customIcons/icons/UnitConversion.js"),require("../../icons/customIcons/icons/NPT.js"),require("../../icons/customIcons/icons/GuidedFrac.js");var n=require("react/jsx-runtime");exports.AttachmentDownloadLink=function(e){var r=e.url,u=e.fileName,t=e.size,m=void 0===t?"small":t,a=e.className,j=e.testId,I=void 0===j?"attachment-download":j;return n.jsx(o.Tooltip,{title:"Download",children:n.jsx("a",{href:r,download:u,target:"_blank",rel:"noopener noreferrer",className:a,"data-testid":I,onClick:function(s){s.preventDefault(),s.stopPropagation(),c.saveAttachment(r,u)},children:n.jsx(s.ButtonIcon,{size:m,type:"tertiaryBg",ariaLabel:"Download",children:n.jsx(i.DownloadIcon,{size:"xs"===m?"small":void 0})})})})};
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var s=require("../../componentsV2/ButtonIcon/ButtonIcon.js"),o=require("../../componentsV2/Tooltip/Tooltip.js"),c=require("../AttachmentLightbox/downloadAttachment.js"),n=require("../../icons/iconParkIcons.js");require("../../icons/customIcons/icons/AddMessage.js"),require("../../icons/customIcons/icons/DragOne.js"),require("../../icons/customIcons/icons/Attention.js"),require("../../icons/customIcons/icons/Collapse.js"),require("../../icons/customIcons/icons/Dashboard.js"),require("../../icons/customIcons/icons/Expand.js"),require("../../icons/customIcons/icons/FolderClosed.js"),require("../../icons/customIcons/icons/FolderClosedFilled.js"),require("../../icons/customIcons/icons/FolderOpened.js"),require("../../icons/customIcons/icons/GreaterOrEqual.js"),require("../../icons/customIcons/icons/LessOrEqual.js"),require("../../icons/customIcons/icons/Search.js"),require("../../icons/customIcons/icons/SearchOne.js"),require("../../icons/customIcons/icons/Wellhub.js"),require("../../icons/customIcons/icons/MultiRuler.js"),require("../../icons/customIcons/icons/Checkbox.js"),require("../../icons/customIcons/icons/CheckboxChecked.js"),require("../../icons/customIcons/icons/CheckboxIndeterminate.js"),require("../../icons/customIcons/icons/Radio.js"),require("../../icons/customIcons/icons/RadioChecked.js"),require("../../icons/customIcons/icons/SimulFrac.js"),require("../../icons/customIcons/icons/ZipperFrac.js"),require("../../icons/customIcons/icons/CautionFilled.js"),require("../../icons/customIcons/icons/InfoRounded.js"),require("../../icons/customIcons/icons/FlameFilled.js"),require("../../icons/customIcons/icons/MoreApp.js"),require("../../icons/customIcons/icons/Pad.js"),require("../../icons/customIcons/icons/DrilloutUnit.js"),require("../../icons/customIcons/icons/FracFleet.js"),require("../../icons/customIcons/icons/Global.js"),require("../../icons/customIcons/icons/Program.js"),require("../../icons/customIcons/icons/Rig.js"),require("../../icons/customIcons/icons/Well.js"),require("../../icons/customIcons/icons/Gap.js"),require("../../icons/customIcons/icons/Pin.js"),require("../../icons/customIcons/icons/PinOne.js"),require("../../icons/customIcons/icons/PinOneCrossed.js"),require("../../icons/customIcons/icons/CloseOneFilled.js"),require("../../icons/customIcons/icons/AttentionFilled.js"),require("../../icons/customIcons/icons/CheckOneFilled.js"),require("../../icons/customIcons/icons/Archive.js"),require("../../icons/customIcons/icons/ArchiveCancel.js"),require("../../icons/customIcons/icons/Unarchive.js"),require("../../icons/customIcons/icons/Archived.js"),require("../../icons/customIcons/icons/InterventionUnit.js"),require("../../icons/customIcons/icons/CloudDelete.js"),require("../../icons/customIcons/icons/Lasso.js"),require("../../icons/customIcons/icons/Radius.js"),require("../../icons/customIcons/icons/ErrorOps.js"),require("../../icons/customIcons/icons/DataTypeOps.js"),require("../../icons/customIcons/icons/FalsePositiveOps.js"),require("../../icons/customIcons/icons/CalibrationOps.js"),require("../../icons/customIcons/icons/CriticalOps.js"),require("../../icons/customIcons/icons/Company.js"),require("../../icons/customIcons/icons/ArchiveOne.js"),require("../../icons/customIcons/icons/ParseBotFusion.js"),require("../../icons/customIcons/icons/Connect.js"),require("../../icons/customIcons/icons/PuzzleOne.js"),require("../../icons/customIcons/icons/Feed.js"),require("../../icons/customIcons/icons/Prompt.js"),require("../../icons/customIcons/icons/Companies.js"),require("../../icons/customIcons/icons/ClipboardAi.js"),require("../../icons/customIcons/icons/Key.js"),require("../../icons/customIcons/icons/AtSignCrossed.js"),require("../../icons/customIcons/icons/MappingManual.js"),require("../../icons/customIcons/icons/Mapping.js"),require("../../icons/customIcons/icons/Metrics.js"),require("../../icons/customIcons/icons/Drops.js"),require("../../icons/customIcons/icons/ClipboardSearch.js"),require("../../icons/customIcons/icons/Template.js"),require("../../icons/customIcons/icons/ClipboardMetrics.js"),require("../../icons/customIcons/icons/ClipboardBuilder.js"),require("../../icons/customIcons/icons/UnitConversion.js"),require("../../icons/customIcons/icons/NPT.js"),require("../../icons/customIcons/icons/GuidedFrac.js");var i=require("react/jsx-runtime");exports.AttachmentDownloadLink=function(e){var r=e.url,u=e.fileName,t=e.size,m=void 0===t?"small":t,a=e.className,j=e.testId,I=void 0===j?"attachment-download":j;return i.jsx(o.Tooltip,{title:"Download",children:i.jsx("a",{href:r,download:u,target:"_blank",rel:"noopener noreferrer",className:a,"data-testid":I,onClick:function(s){s.preventDefault(),s.stopPropagation(),c.saveAttachment(r,u)},children:i.jsx(s.ButtonIcon,{size:m,type:"tertiaryBg",ariaLabel:"Download",children:i.jsx(n.DownloadIcon,{size:"xs"===m?"small":void 0})})})})};
2
2
  //# sourceMappingURL=AttachmentDownloadLink.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"AttachmentDownloadLink.js","sources":["../../../../src/components/AttachmentPreview/AttachmentDownloadLink.tsx"],"sourcesContent":["import { MouseEvent } from 'react';\n\nimport { ButtonIcon } from '../../componentsV2/ButtonIcon';\nimport { Tooltip } from '../../componentsV2/Tooltip';\nimport { saveAttachment } from '../AttachmentLightbox/downloadAttachment';\n\nimport { DownloadIcon } from '~/icons';\n\nexport type AttachmentDownloadLinkProps = {\n url: string;\n fileName: string;\n /** `xs` sits on a tile, `small` in the preview modal's header. */\n size?: 'xs' | 'small';\n className?: string;\n testId?: string;\n};\n\n/** Keeps the link semantics but fetches the bytes, since `download` is ignored cross-origin. */\nexport const AttachmentDownloadLink = ({\n url,\n fileName,\n size = 'small',\n className,\n testId = 'attachment-download',\n}: AttachmentDownloadLinkProps) => {\n const handleClick = (event: MouseEvent) => {\n event.preventDefault();\n event.stopPropagation();\n saveAttachment(url, fileName);\n };\n\n return (\n <Tooltip title=\"Download\">\n <a\n href={url}\n download={fileName}\n target=\"_blank\"\n rel=\"noopener noreferrer\"\n className={className}\n data-testid={testId}\n onClick={handleClick}\n >\n <ButtonIcon size={size} type=\"tertiaryBg\" ariaLabel=\"Download\">\n <DownloadIcon size={size === 'xs' ? 'small' : undefined} />\n </ButtonIcon>\n </a>\n </Tooltip>\n );\n};\n"],"names":["_ref","url","fileName","_ref$size","size","className","_ref$testId","testId","_jsx","Tooltip","title","children","jsx","href","download","target","rel","onClick","event","preventDefault","stopPropagation","saveAttachment","ButtonIcon","type","ariaLabel","DownloadIcon","undefined"],"mappings":"+uIAkBsC,SAMHA,GAAA,IALjCC,IAAAA,IACAC,IAAAA,SAAQC,EAAAH,EACRI,KAAAA,aAAO,QAAOD,EACdE,IAAAA,UAASC,EAAAN,EACTO,OAAAA,aAAS,sBAAqBD,EAQ9B,OACEE,EAAAA,IAACC,EAAAA,QAAO,CAACC,MAAM,WAAUC,SACvBH,EAAAI,IAAA,IAAA,CACEC,KAAMZ,EACNa,SAAUZ,EACVa,OAAO,SACPC,IAAI,sBACJX,UAAWA,EACX,cAAaE,EACbU,QAfc,SAACC,GACnBA,EAAMC,iBACND,EAAME,kBACNC,iBAAepB,EAAKC,IAYKS,SAErBH,MAACc,aAAU,CAAClB,KAAMA,EAAMmB,KAAK,aAAaC,UAAU,WAAUb,SAC5DH,MAACiB,eAAY,CAACrB,KAAe,OAATA,EAAgB,aAAUsB,SAKxD"}
1
+ {"version":3,"file":"AttachmentDownloadLink.js","sources":["../../../../src/components/AttachmentPreview/AttachmentDownloadLink.tsx"],"sourcesContent":["import { MouseEvent } from 'react';\n\nimport { ButtonIcon } from '../../componentsV2/ButtonIcon';\nimport { Tooltip } from '../../componentsV2/Tooltip';\nimport { saveAttachment } from '../AttachmentLightbox/downloadAttachment';\n\nimport { DownloadIcon } from '~/icons';\n\nexport type AttachmentDownloadLinkProps = {\n url: string;\n fileName: string;\n /** `xs` sits on a tile, `small` in the preview modal's header. */\n size?: 'xs' | 'small';\n className?: string;\n testId?: string;\n};\n\n/** Keeps the link semantics but fetches the bytes, since `download` is ignored cross-origin. */\nexport const AttachmentDownloadLink = ({\n url,\n fileName,\n size = 'small',\n className,\n testId = 'attachment-download',\n}: AttachmentDownloadLinkProps) => {\n const handleClick = (event: MouseEvent) => {\n event.preventDefault();\n event.stopPropagation();\n saveAttachment(url, fileName);\n };\n\n return (\n <Tooltip title=\"Download\">\n <a\n href={url}\n download={fileName}\n target=\"_blank\"\n rel=\"noopener noreferrer\"\n className={className}\n data-testid={testId}\n onClick={handleClick}\n >\n <ButtonIcon size={size} type=\"tertiaryBg\" ariaLabel=\"Download\">\n <DownloadIcon size={size === 'xs' ? 'small' : undefined} />\n </ButtonIcon>\n </a>\n </Tooltip>\n );\n};\n"],"names":["_ref","url","fileName","_ref$size","size","className","_ref$testId","testId","_jsx","Tooltip","title","children","jsx","href","download","target","rel","onClick","event","preventDefault","stopPropagation","saveAttachment","ButtonIcon","type","ariaLabel","DownloadIcon","undefined"],"mappings":"41IAkBsC,SAMHA,GAAA,IALjCC,IAAAA,IACAC,IAAAA,SAAQC,EAAAH,EACRI,KAAAA,aAAO,QAAOD,EACdE,IAAAA,UAASC,EAAAN,EACTO,OAAAA,aAAS,sBAAqBD,EAQ9B,OACEE,EAAAA,IAACC,EAAAA,QAAO,CAACC,MAAM,WAAUC,SACvBH,EAAAI,IAAA,IAAA,CACEC,KAAMZ,EACNa,SAAUZ,EACVa,OAAO,SACPC,IAAI,sBACJX,UAAWA,EACX,cAAaE,EACbU,QAfc,SAACC,GACnBA,EAAMC,iBACND,EAAME,kBACNC,iBAAepB,EAAKC,IAYKS,SAErBH,MAACc,aAAU,CAAClB,KAAMA,EAAMmB,KAAK,aAAaC,UAAU,WAAUb,SAC5DH,MAACiB,eAAY,CAACrB,KAAe,OAATA,EAAgB,aAAUsB,SAKxD"}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("@babel/runtime/helpers/defineProperty"),s=require("react"),o=require("classnames"),n=require("../../componentsV2/FileIcon/FileIcon.js"),i=require("../../componentsV2/ButtonIcon/ButtonIcon.js"),c=require("../../componentsV2/Tooltip/Tooltip.js"),r=require("../../componentsV2/LoaderCircular/LoaderCircular.js"),t=require("../../icons/iconParkIcons.js");require("../../icons/customIcons/icons/AddMessage.js"),require("../../icons/customIcons/icons/DragOne.js"),require("../../icons/customIcons/icons/Attention.js"),require("../../icons/customIcons/icons/Collapse.js"),require("../../icons/customIcons/icons/Dashboard.js"),require("../../icons/customIcons/icons/Expand.js"),require("../../icons/customIcons/icons/FolderClosed.js"),require("../../icons/customIcons/icons/FolderClosedFilled.js"),require("../../icons/customIcons/icons/FolderOpened.js"),require("../../icons/customIcons/icons/GreaterOrEqual.js"),require("../../icons/customIcons/icons/LessOrEqual.js"),require("../../icons/customIcons/icons/Search.js"),require("../../icons/customIcons/icons/SearchOne.js"),require("../../icons/customIcons/icons/Wellhub.js"),require("../../icons/customIcons/icons/MultiRuler.js"),require("../../icons/customIcons/icons/Checkbox.js"),require("../../icons/customIcons/icons/CheckboxChecked.js"),require("../../icons/customIcons/icons/CheckboxIndeterminate.js"),require("../../icons/customIcons/icons/Radio.js"),require("../../icons/customIcons/icons/RadioChecked.js"),require("../../icons/customIcons/icons/SimulFrac.js"),require("../../icons/customIcons/icons/ZipperFrac.js"),require("../../icons/customIcons/icons/CautionFilled.js"),require("../../icons/customIcons/icons/InfoRounded.js"),require("../../icons/customIcons/icons/FlameFilled.js"),require("../../icons/customIcons/icons/MoreApp.js"),require("../../icons/customIcons/icons/Pad.js"),require("../../icons/customIcons/icons/DrilloutUnit.js"),require("../../icons/customIcons/icons/FracFleet.js"),require("../../icons/customIcons/icons/Global.js"),require("../../icons/customIcons/icons/Program.js"),require("../../icons/customIcons/icons/Rig.js"),require("../../icons/customIcons/icons/Well.js"),require("../../icons/customIcons/icons/Gap.js"),require("../../icons/customIcons/icons/Pin.js"),require("../../icons/customIcons/icons/CloseOneFilled.js"),require("../../icons/customIcons/icons/AttentionFilled.js"),require("../../icons/customIcons/icons/CheckOneFilled.js"),require("../../icons/customIcons/icons/Archive.js"),require("../../icons/customIcons/icons/ArchiveCancel.js"),require("../../icons/customIcons/icons/Unarchive.js"),require("../../icons/customIcons/icons/Archived.js"),require("../../icons/customIcons/icons/InterventionUnit.js"),require("../../icons/customIcons/icons/CloudDelete.js"),require("../../icons/customIcons/icons/Lasso.js"),require("../../icons/customIcons/icons/Radius.js"),require("../../icons/customIcons/icons/ErrorOps.js"),require("../../icons/customIcons/icons/DataTypeOps.js"),require("../../icons/customIcons/icons/FalsePositiveOps.js"),require("../../icons/customIcons/icons/CalibrationOps.js"),require("../../icons/customIcons/icons/CriticalOps.js"),require("../../icons/customIcons/icons/Company.js"),require("../../icons/customIcons/icons/ArchiveOne.js"),require("../../icons/customIcons/icons/ParseBotFusion.js"),require("../../icons/customIcons/icons/Connect.js"),require("../../icons/customIcons/icons/PuzzleOne.js"),require("../../icons/customIcons/icons/Feed.js"),require("../../icons/customIcons/icons/Prompt.js"),require("../../icons/customIcons/icons/Companies.js"),require("../../icons/customIcons/icons/ClipboardAi.js"),require("../../icons/customIcons/icons/Key.js"),require("../../icons/customIcons/icons/AtSignCrossed.js"),require("../../icons/customIcons/icons/MappingManual.js"),require("../../icons/customIcons/icons/Mapping.js"),require("../../icons/customIcons/icons/Metrics.js"),require("../../icons/customIcons/icons/Drops.js"),require("../../icons/customIcons/icons/ClipboardSearch.js"),require("../../icons/customIcons/icons/Template.js"),require("../../icons/customIcons/icons/ClipboardMetrics.js"),require("../../icons/customIcons/icons/ClipboardBuilder.js"),require("../../icons/customIcons/icons/UnitConversion.js"),require("../../icons/customIcons/icons/NPT.js"),require("../../icons/customIcons/icons/GuidedFrac.js");var u=require("./AttachmentActionsMenu.js"),a=require("./AttachmentImage.js"),l=require("./AttachmentDownloadLink.js"),m=require("./AttachmentPreview.scss.js"),d=require("../../utils/main.js"),j=require("react/jsx-runtime");function I(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var q=I(e),p=I(o);function h(e,s){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);s&&(n=n.filter((function(s){return Object.getOwnPropertyDescriptor(e,s).enumerable}))),o.push.apply(o,n)}return o}function v(e){for(var s=1;s<arguments.length;s++){var o=null!=arguments[s]?arguments[s]:{};s%2?h(Object(o),!0).forEach((function(s){q.default(e,s,o[s])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):h(Object(o)).forEach((function(s){Object.defineProperty(e,s,Object.getOwnPropertyDescriptor(o,s))}))}return e}var f=function(e){var s,o=e.split(".");return o.length>1?(null!==(s=o.pop())&&void 0!==s?s:"").toUpperCase():""},x=function(e){var s=e.item,o=e.onShare,n=e.imageRef,i=d.default.getFileNameWithExtensionFromPath(s.name),c=s.hideDownload?void 0:s.downloadUrl||s.src;return j.jsxs("div",{className:m.tileActions,"data-testid":"attachment-tile-actions",children:[!!c&&j.jsx(l.AttachmentDownloadLink,{url:c,fileName:i,size:"xs",className:m.tileActionLink}),j.jsx(u.AttachmentActionsMenu,{item:s,onShare:o,size:"xs",testIdPrefix:"attachment-tile",tooltip:"More actions",imageRef:n})]})},g=function(e){return function(s){s.stopPropagation(),e()}},b=function(e){var s=e.item,o=e.onRemove,n=e.onRetry;return j.jsxs(j.Fragment,{children:[s.isUploading&&j.jsxs(j.Fragment,{children:[j.jsx("div",{className:m.uploadingOverlay}),j.jsx("div",{className:m.uploadingSpinner,children:j.jsx(r.LoaderCircular,{size:"xs",className:m.loader})})]}),!!s.error&&j.jsxs(j.Fragment,{children:[j.jsx("div",{className:m.errorOverlay}),n&&j.jsx(c.Tooltip,{title:"Retry upload",children:j.jsx("div",{className:m.retryButton,children:j.jsx(i.ButtonIcon,{size:"xs",type:"tertiaryBg",onClick:g((function(){return n(s.id)})),testId:"attachment-retry",children:j.jsx(t.UndoIcon,{size:"small"})})})})]}),o&&!s.isUploading&&j.jsx(c.Tooltip,{title:"Remove",children:j.jsx("div",{className:p.default(m.removeButton,!!s.error&&m.removeButtonVisible),children:j.jsx(i.ButtonIcon,{size:"xs",type:"tertiaryBg",onClick:g((function(){return o(s.id)})),testId:"attachment-remove",children:j.jsx(t.CloseSmallIcon,{size:"small"})})})})]})};exports.AttachmentTile=function(e){var o,i,r=e.item,u=e.onRemove,l=e.onRetry,I=e.onItemClick,q=e.isSelected,h=e.hideActions,g=e.onShare,C=s.useRef(null),y=null!==(o=r.kind)&&void 0!==o?o:"file",O=j.jsx(b,{item:r,onRemove:u,onRetry:l}),F=d.default.getFileNameWithExtensionFromPath(r.name),P=!r.isUploading&&!r.error,N=!!I&&P,A=!h&&!u&&P;if("image"===y||"video"===y)return j.jsxs("div",{className:p.default(m.thumbnail,N&&m.clickable,q&&m.selected,!!r.error&&m.thumbnailError),onClick:N?function(){return null==I?void 0:I(r)}:void 0,children:[j.jsx("div",{className:m.thumbnailInner,children:"image"===y?j.jsx(a.AttachmentImage,{ref:C,src:r.src,alt:F,className:m.thumbnailImage}):j.jsx("video",{src:(i=r.src,i&&!i.includes("#t=")?"".concat(i,"#t=0.1"):i),className:m.thumbnailImage,preload:"metadata",playsInline:!0,muted:!0})}),"video"===y&&j.jsx("div",{className:m.videoOverlay,children:j.jsx(t.PlayOneIcon,{theme:"filled",className:m.playIcon})}),A&&j.jsx(x,{item:r,onShare:g,imageRef:C}),O]});var k,R=j.jsxs(j.Fragment,{children:[j.jsxs("div",{className:m.fileCardContent,children:[j.jsx(n.FileIcon,{name:F}),j.jsxs("div",{className:m.fileInfo,children:[j.jsx(c.Tooltip,{title:F,children:j.jsx("div",{className:m.fileName,children:(k=F,k.replace(/\.[^/.]+$/,""))})}),j.jsx("div",{className:m.fileType,children:f(F)})]})]}),A&&j.jsx(x,{item:r,onShare:g}),O]}),D=N?{role:"button",tabIndex:0,onClick:function(){return null==I?void 0:I(r)},onKeyDown:function(e){e.target===e.currentTarget&&("Enter"!==e.key&&" "!==e.key||(e.preventDefault(),null==I||I(r)))}}:{};return j.jsx("div",v(v({className:p.default(m.fileCard,N&&m.fileCardLink,q&&m.selected,!!r.error&&m.thumbnailError)},D),{},{children:R}))};
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var s=require("@babel/runtime/helpers/defineProperty"),e=require("react"),o=require("classnames"),n=require("../../componentsV2/FileIcon/FileIcon.js"),i=require("../../componentsV2/ButtonIcon/ButtonIcon.js"),c=require("../../componentsV2/Tooltip/Tooltip.js"),r=require("../../componentsV2/LoaderCircular/LoaderCircular.js"),t=require("../../icons/iconParkIcons.js");require("../../icons/customIcons/icons/AddMessage.js"),require("../../icons/customIcons/icons/DragOne.js"),require("../../icons/customIcons/icons/Attention.js"),require("../../icons/customIcons/icons/Collapse.js"),require("../../icons/customIcons/icons/Dashboard.js"),require("../../icons/customIcons/icons/Expand.js"),require("../../icons/customIcons/icons/FolderClosed.js"),require("../../icons/customIcons/icons/FolderClosedFilled.js"),require("../../icons/customIcons/icons/FolderOpened.js"),require("../../icons/customIcons/icons/GreaterOrEqual.js"),require("../../icons/customIcons/icons/LessOrEqual.js"),require("../../icons/customIcons/icons/Search.js"),require("../../icons/customIcons/icons/SearchOne.js"),require("../../icons/customIcons/icons/Wellhub.js"),require("../../icons/customIcons/icons/MultiRuler.js"),require("../../icons/customIcons/icons/Checkbox.js"),require("../../icons/customIcons/icons/CheckboxChecked.js"),require("../../icons/customIcons/icons/CheckboxIndeterminate.js"),require("../../icons/customIcons/icons/Radio.js"),require("../../icons/customIcons/icons/RadioChecked.js"),require("../../icons/customIcons/icons/SimulFrac.js"),require("../../icons/customIcons/icons/ZipperFrac.js"),require("../../icons/customIcons/icons/CautionFilled.js"),require("../../icons/customIcons/icons/InfoRounded.js"),require("../../icons/customIcons/icons/FlameFilled.js"),require("../../icons/customIcons/icons/MoreApp.js"),require("../../icons/customIcons/icons/Pad.js"),require("../../icons/customIcons/icons/DrilloutUnit.js"),require("../../icons/customIcons/icons/FracFleet.js"),require("../../icons/customIcons/icons/Global.js"),require("../../icons/customIcons/icons/Program.js"),require("../../icons/customIcons/icons/Rig.js"),require("../../icons/customIcons/icons/Well.js"),require("../../icons/customIcons/icons/Gap.js"),require("../../icons/customIcons/icons/Pin.js"),require("../../icons/customIcons/icons/PinOne.js"),require("../../icons/customIcons/icons/PinOneCrossed.js"),require("../../icons/customIcons/icons/CloseOneFilled.js"),require("../../icons/customIcons/icons/AttentionFilled.js"),require("../../icons/customIcons/icons/CheckOneFilled.js"),require("../../icons/customIcons/icons/Archive.js"),require("../../icons/customIcons/icons/ArchiveCancel.js"),require("../../icons/customIcons/icons/Unarchive.js"),require("../../icons/customIcons/icons/Archived.js"),require("../../icons/customIcons/icons/InterventionUnit.js"),require("../../icons/customIcons/icons/CloudDelete.js"),require("../../icons/customIcons/icons/Lasso.js"),require("../../icons/customIcons/icons/Radius.js"),require("../../icons/customIcons/icons/ErrorOps.js"),require("../../icons/customIcons/icons/DataTypeOps.js"),require("../../icons/customIcons/icons/FalsePositiveOps.js"),require("../../icons/customIcons/icons/CalibrationOps.js"),require("../../icons/customIcons/icons/CriticalOps.js"),require("../../icons/customIcons/icons/Company.js"),require("../../icons/customIcons/icons/ArchiveOne.js"),require("../../icons/customIcons/icons/ParseBotFusion.js"),require("../../icons/customIcons/icons/Connect.js"),require("../../icons/customIcons/icons/PuzzleOne.js"),require("../../icons/customIcons/icons/Feed.js"),require("../../icons/customIcons/icons/Prompt.js"),require("../../icons/customIcons/icons/Companies.js"),require("../../icons/customIcons/icons/ClipboardAi.js"),require("../../icons/customIcons/icons/Key.js"),require("../../icons/customIcons/icons/AtSignCrossed.js"),require("../../icons/customIcons/icons/MappingManual.js"),require("../../icons/customIcons/icons/Mapping.js"),require("../../icons/customIcons/icons/Metrics.js"),require("../../icons/customIcons/icons/Drops.js"),require("../../icons/customIcons/icons/ClipboardSearch.js"),require("../../icons/customIcons/icons/Template.js"),require("../../icons/customIcons/icons/ClipboardMetrics.js"),require("../../icons/customIcons/icons/ClipboardBuilder.js"),require("../../icons/customIcons/icons/UnitConversion.js"),require("../../icons/customIcons/icons/NPT.js"),require("../../icons/customIcons/icons/GuidedFrac.js");var u=require("./AttachmentActionsMenu.js"),a=require("./AttachmentImage.js"),l=require("./AttachmentDownloadLink.js"),m=require("./AttachmentPreview.scss.js"),j=require("../../utils/main.js"),d=require("react/jsx-runtime");function I(s){return s&&"object"==typeof s&&"default"in s?s:{default:s}}var q=I(s),p=I(o);function h(s,e){var o=Object.keys(s);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(s);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(s,e).enumerable}))),o.push.apply(o,n)}return o}function v(s){for(var e=1;e<arguments.length;e++){var o=null!=arguments[e]?arguments[e]:{};e%2?h(Object(o),!0).forEach((function(e){q.default(s,e,o[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(o)):h(Object(o)).forEach((function(e){Object.defineProperty(s,e,Object.getOwnPropertyDescriptor(o,e))}))}return s}var f=function(s){var e,o=s.split(".");return o.length>1?(null!==(e=o.pop())&&void 0!==e?e:"").toUpperCase():""},x=function(s){var e=s.item,o=s.onShare,n=s.imageRef,i=j.default.getFileNameWithExtensionFromPath(e.name),c=e.hideDownload?void 0:e.downloadUrl||e.src;return d.jsxs("div",{className:m.tileActions,"data-testid":"attachment-tile-actions",children:[!!c&&d.jsx(l.AttachmentDownloadLink,{url:c,fileName:i,size:"xs",className:m.tileActionLink}),d.jsx(u.AttachmentActionsMenu,{item:e,onShare:o,size:"xs",testIdPrefix:"attachment-tile",tooltip:"More actions",imageRef:n})]})},g=function(s){return function(e){e.stopPropagation(),s()}},b=function(s){var e=s.item,o=s.onRemove,n=s.onRetry;return d.jsxs(d.Fragment,{children:[e.isUploading&&d.jsxs(d.Fragment,{children:[d.jsx("div",{className:m.uploadingOverlay}),d.jsx("div",{className:m.uploadingSpinner,children:d.jsx(r.LoaderCircular,{size:"xs",className:m.loader})})]}),!!e.error&&d.jsxs(d.Fragment,{children:[d.jsx("div",{className:m.errorOverlay}),n&&d.jsx(c.Tooltip,{title:"Retry upload",children:d.jsx("div",{className:m.retryButton,children:d.jsx(i.ButtonIcon,{size:"xs",type:"tertiaryBg",onClick:g((function(){return n(e.id)})),testId:"attachment-retry",children:d.jsx(t.UndoIcon,{size:"small"})})})})]}),o&&!e.isUploading&&d.jsx(c.Tooltip,{title:"Remove",children:d.jsx("div",{className:p.default(m.removeButton,!!e.error&&m.removeButtonVisible),children:d.jsx(i.ButtonIcon,{size:"xs",type:"tertiaryBg",onClick:g((function(){return o(e.id)})),testId:"attachment-remove",children:d.jsx(t.CloseSmallIcon,{size:"small"})})})})]})};exports.AttachmentTile=function(s){var o,i,r=s.item,u=s.onRemove,l=s.onRetry,I=s.onItemClick,q=s.isSelected,h=s.hideActions,g=s.onShare,C=e.useRef(null),O=null!==(o=r.kind)&&void 0!==o?o:"file",y=d.jsx(b,{item:r,onRemove:u,onRetry:l}),F=j.default.getFileNameWithExtensionFromPath(r.name),P=!r.isUploading&&!r.error,N=!!I&&P,A=!h&&!u&&P;if("image"===O||"video"===O)return d.jsxs("div",{className:p.default(m.thumbnail,N&&m.clickable,q&&m.selected,!!r.error&&m.thumbnailError),onClick:N?function(){return null==I?void 0:I(r)}:void 0,children:[d.jsx("div",{className:m.thumbnailInner,children:"image"===O?d.jsx(a.AttachmentImage,{ref:C,src:r.src,alt:F,className:m.thumbnailImage}):d.jsx("video",{src:(i=r.src,i&&!i.includes("#t=")?"".concat(i,"#t=0.1"):i),className:m.thumbnailImage,preload:"metadata",playsInline:!0,muted:!0})}),"video"===O&&d.jsx("div",{className:m.videoOverlay,children:d.jsx(t.PlayOneIcon,{theme:"filled",className:m.playIcon})}),A&&d.jsx(x,{item:r,onShare:g,imageRef:C}),y]});var k,R=d.jsxs(d.Fragment,{children:[d.jsxs("div",{className:m.fileCardContent,children:[d.jsx(n.FileIcon,{name:F}),d.jsxs("div",{className:m.fileInfo,children:[d.jsx(c.Tooltip,{title:F,children:d.jsx("div",{className:m.fileName,children:(k=F,k.replace(/\.[^/.]+$/,""))})}),d.jsx("div",{className:m.fileType,children:f(F)})]})]}),A&&d.jsx(x,{item:r,onShare:g}),y]}),D=N?{role:"button",tabIndex:0,onClick:function(){return null==I?void 0:I(r)},onKeyDown:function(s){s.target===s.currentTarget&&("Enter"!==s.key&&" "!==s.key||(s.preventDefault(),null==I||I(r)))}}:{};return d.jsx("div",v(v({className:p.default(m.fileCard,N&&m.fileCardLink,q&&m.selected,!!r.error&&m.thumbnailError)},D),{},{children:R}))};
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.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","jsx","uploadingOverlay","uploadingSpinner","LoaderCircular","loader","error","errorOverlay","Tooltip","title","retryButton","ButtonIcon","type","onClick","id","testId","UndoIcon","classNames","removeButton","removeButtonVisible","CloseSmallIcon","_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","jsxs","FileIcon","fileInfo","replace","fileType","cardInteraction","role","tabIndex","onKeyDown","target","currentTarget","key","preventDefault","_objectSpread","fileCard","fileCardLink"],"mappings":"ysKAkBA,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,EAAK,QAACC,iCAAiCL,EAAKT,MACvDe,EAAcN,EAAKO,kBAAeC,EAAYR,EAAKM,aAAeN,EAAKS,IAE7E,OACEC,EAAAA,KAAA,MAAA,CAAKC,UAAWC,EAAOC,YAAa,cAAY,0BAAyBC,SAAA,GACpER,GACDS,EAAAA,IAACC,EAAAA,uBAAsB,CACrBC,IAAKX,EACLH,SAAUA,EACVe,KAAK,KACLP,UAAWC,EAAOO,iBAItBJ,MAACK,wBAAqB,CACpBpB,KAAMA,EACNC,QAASA,EACTiB,KAAK,KACLG,aAAa,kBACbC,QAAQ,eACRpB,SAAUA,MAIlB,EAEMqB,EAAa,SAACC,GAAkB,OAAK,SAACC,GAC1CA,EAAMC,kBACNF,IACD,EAEKG,EAAe,SAAHC,GAAA,IAAM5B,IAAAA,KAAM6B,IAAAA,SAAUC,IAAAA,QAAO,OAC7CpB,EAAAA,KAAAqB,EAAAA,SAAA,CAAAjB,SACGd,CAAAA,EAAKgC,aACJtB,EAAAA,KAAAqB,EAAAA,SAAA,CAAAjB,SACE,CAAAC,EAAAkB,IAAA,MAAA,CAAKtB,UAAWC,EAAOsB,mBACvBnB,EAAAkB,IAAA,MAAA,CAAKtB,UAAWC,EAAOuB,iBAAiBrB,SACtCC,MAACqB,iBAAc,CAAClB,KAAK,KAAKP,UAAWC,EAAOyB,gBAK/CrC,EA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AWC,EAAO0E,SAASxE,SAAExB,EAAaa,WAGlD4D,GAAehD,EAAAkB,IAACnC,EAAW,CAACE,KAAMA,EAAMC,QAASA,IACjD2D,KAIC2B,EAAkBzB,EACpB,CACE0B,KAAM,SACNC,SAAU,EACV5C,QAAS,WAAA,OAAMU,eAAAA,EAAcvD,EAAK,EAClC0F,UAAW,SAACjE,GAENA,EAAMkE,SAAWlE,EAAMmE,gBACT,UAAdnE,EAAMoE,KAAiC,MAAdpE,EAAMoE,MAGnCpE,EAAMqE,iBACNvC,SAAAA,EAAcvD,IAChB,GAEF,GAEJ,OACEe,MAAA,MAAAgF,EAAAA,EAAA,CACEpF,UAAWsC,EAAU,QACnBrC,EAAOoF,SACPlC,GAAalD,EAAOqF,aACpBzC,GAAc5C,EAAOqD,WACnBjE,EAAKsC,OAAS1B,EAAOsD,iBAErBqB,GAAe,GAAA,CAAAzE,SAElBmE,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","jsx","uploadingOverlay","uploadingSpinner","LoaderCircular","loader","error","errorOverlay","Tooltip","title","retryButton","ButtonIcon","type","onClick","id","testId","UndoIcon","classNames","removeButton","removeButtonVisible","CloseSmallIcon","_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","jsxs","FileIcon","fileInfo","replace","fileType","cardInteraction","role","tabIndex","onKeyDown","target","currentTarget","key","preventDefault","_objectSpread","fileCard","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,EACpB,CACE0B,KAAM,SACNC,SAAU,EACV5C,QAAS,WAAA,OAAMU,eAAAA,EAAcvD,EAAK,EAClC0F,UAAW,SAACjE,GAENA,EAAMkE,SAAWlE,EAAMmE,gBACT,UAAdnE,EAAMoE,KAAiC,MAAdpE,EAAMoE,MAGnCpE,EAAMqE,iBACNvC,SAAAA,EAAcvD,IAChB,GAEF,GAEJ,OACEe,MAAA,MAAAgF,EAAAA,EAAA,CACEpF,UAAWsC,EAAU,QACnBrC,EAAOoF,SACPlC,GAAalD,EAAOqF,aACpBzC,GAAc5C,EAAOqD,WACnBjE,EAAKsC,OAAS1B,EAAOsD,iBAErBqB,GAAe,GAAA,CAAAzE,SAElBmE,IAGP"}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("@babel/runtime/helpers/defineProperty"),n=require("@babel/runtime/helpers/slicedToArray"),s=require("@babel/runtime/helpers/toConsumableArray"),o=require("react"),r=require("react-dom"),c=require("classnames"),i=require("@dnd-kit/core"),t=require("@dnd-kit/sortable"),u=require("../../componentsV2/ButtonIcon/ButtonIcon.js"),a=require("../../icons/iconParkIcons.js");require("../../icons/customIcons/icons/AddMessage.js"),require("../../icons/customIcons/icons/DragOne.js"),require("../../icons/customIcons/icons/Attention.js"),require("../../icons/customIcons/icons/Collapse.js"),require("../../icons/customIcons/icons/Dashboard.js"),require("../../icons/customIcons/icons/Expand.js"),require("../../icons/customIcons/icons/FolderClosed.js"),require("../../icons/customIcons/icons/FolderClosedFilled.js"),require("../../icons/customIcons/icons/FolderOpened.js"),require("../../icons/customIcons/icons/GreaterOrEqual.js"),require("../../icons/customIcons/icons/LessOrEqual.js"),require("../../icons/customIcons/icons/Search.js"),require("../../icons/customIcons/icons/SearchOne.js"),require("../../icons/customIcons/icons/Wellhub.js"),require("../../icons/customIcons/icons/MultiRuler.js"),require("../../icons/customIcons/icons/Checkbox.js"),require("../../icons/customIcons/icons/CheckboxChecked.js"),require("../../icons/customIcons/icons/CheckboxIndeterminate.js"),require("../../icons/customIcons/icons/Radio.js"),require("../../icons/customIcons/icons/RadioChecked.js"),require("../../icons/customIcons/icons/SimulFrac.js"),require("../../icons/customIcons/icons/ZipperFrac.js"),require("../../icons/customIcons/icons/CautionFilled.js"),require("../../icons/customIcons/icons/InfoRounded.js"),require("../../icons/customIcons/icons/FlameFilled.js"),require("../../icons/customIcons/icons/MoreApp.js"),require("../../icons/customIcons/icons/Pad.js"),require("../../icons/customIcons/icons/DrilloutUnit.js"),require("../../icons/customIcons/icons/FracFleet.js"),require("../../icons/customIcons/icons/Global.js"),require("../../icons/customIcons/icons/Program.js"),require("../../icons/customIcons/icons/Rig.js"),require("../../icons/customIcons/icons/Well.js"),require("../../icons/customIcons/icons/Gap.js"),require("../../icons/customIcons/icons/Pin.js"),require("../../icons/customIcons/icons/CloseOneFilled.js"),require("../../icons/customIcons/icons/AttentionFilled.js"),require("../../icons/customIcons/icons/CheckOneFilled.js"),require("../../icons/customIcons/icons/Archive.js"),require("../../icons/customIcons/icons/ArchiveCancel.js"),require("../../icons/customIcons/icons/Unarchive.js"),require("../../icons/customIcons/icons/Archived.js"),require("../../icons/customIcons/icons/InterventionUnit.js"),require("../../icons/customIcons/icons/CloudDelete.js"),require("../../icons/customIcons/icons/Lasso.js"),require("../../icons/customIcons/icons/Radius.js"),require("../../icons/customIcons/icons/ErrorOps.js"),require("../../icons/customIcons/icons/DataTypeOps.js"),require("../../icons/customIcons/icons/FalsePositiveOps.js"),require("../../icons/customIcons/icons/CalibrationOps.js"),require("../../icons/customIcons/icons/CriticalOps.js"),require("../../icons/customIcons/icons/Company.js"),require("../../icons/customIcons/icons/ArchiveOne.js"),require("../../icons/customIcons/icons/ParseBotFusion.js"),require("../../icons/customIcons/icons/Connect.js"),require("../../icons/customIcons/icons/PuzzleOne.js"),require("../../icons/customIcons/icons/Feed.js"),require("../../icons/customIcons/icons/Prompt.js"),require("../../icons/customIcons/icons/Companies.js"),require("../../icons/customIcons/icons/ClipboardAi.js"),require("../../icons/customIcons/icons/Key.js"),require("../../icons/customIcons/icons/AtSignCrossed.js"),require("../../icons/customIcons/icons/MappingManual.js"),require("../../icons/customIcons/icons/Mapping.js"),require("../../icons/customIcons/icons/Metrics.js"),require("../../icons/customIcons/icons/Drops.js"),require("../../icons/customIcons/icons/ClipboardSearch.js"),require("../../icons/customIcons/icons/Template.js"),require("../../icons/customIcons/icons/ClipboardMetrics.js"),require("../../icons/customIcons/icons/ClipboardBuilder.js"),require("../../icons/customIcons/icons/UnitConversion.js"),require("../../icons/customIcons/icons/NPT.js"),require("../../icons/customIcons/icons/GuidedFrac.js");var l=require("./AttachmentTile.js"),m=require("./AttachmentPreview.scss.js");require("../../constants/goals.js"),require("../../constants/segment.js"),require("../../constants/alerts.js"),require("../../constants/apps.js"),require("../../constants/drillstring.js"),require("../../constants/completion.js"),require("../../constants/appPackages.js"),require("../../constants/notifications.js"),require("../../constants/feed.js"),require("../../constants/bha.js"),require("../../constants/corvaCompanyId.js"),require("lodash"),require("../GradientManager/configuration/constants.js");var d=require("../../constants/attachments.js"),j=require("../../utils/main.js"),f=require("react/jsx-runtime");function q(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var I=q(e),p=q(n),v=q(s),g=q(c);function h(e,n){var s=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);n&&(o=o.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),s.push.apply(s,o)}return s}function b(e){for(var n=1;n<arguments.length;n++){var s=null!=arguments[n]?arguments[n]:{};n%2?h(Object(s),!0).forEach((function(n){I.default(e,n,s[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(s)):h(Object(s)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(s,n))}))}return e}var y=function(e){document.body.toggleAttribute(d.DRAGGING_ATTRIBUTE,e)},C=function(){setTimeout((function(){return y(!1)}),0)},O=function(e){var n=e.item,s=e.onRemove,o=e.onRetry,r=e.onItemClick,c=e.insertBefore,i=e.insertAfter,u=e.isFirst,a=t.useSortable({id:String(n.id)}),d=a.attributes,j=a.listeners,q=a.setNodeRef,I=a.isDragging;return f.jsxs("div",b(b(b({ref:q,className:g.default(m.slot,I&&m.slotDragging)},d),j),{},{onKeyDown:function(e){var o;null==j||null===(o=j.onKeyDown)||void 0===o||o.call(j,e),"Delete"!==e.key&&"Backspace"!==e.key||s&&(e.preventDefault(),s(n.id))},children:[c&&f.jsx("div",{className:g.default(m.insertion,u?m.insertionEdge:m.insertionBefore)}),f.jsx("div",{className:m.slotContent,children:f.jsx(l.AttachmentTile,{item:n,onRemove:s,onRetry:o,onItemClick:r})}),i&&f.jsx("div",{className:g.default(m.insertion,m.insertionAfter)})]}))},D=o.forwardRef((function(e,n){var s=e.items,c=e.onRemove,q=e.onRetry,h=e.onItemClick,D=e.onReorder,x=e.className,A=e.testId,R=o.useState(null),S=p.default(R,2),P=S[0],k=S[1],F=o.useState(-1),E=p.default(F,2),w=E[0],G=E[1],T=o.useRef(-1);T.current=w;var N=o.useRef(!1),B=o.useRef([]),M=o.useRef(null),L=i.useSensors(i.useSensor(i.PointerSensor,{activationConstraint:{distance:4}}),i.useSensor(i.KeyboardSensor,{coordinateGetter:t.sortableKeyboardCoordinates})),U=s.map((function(e){return String(e.id)})),z=P?U.indexOf(P):-1,K=s.find((function(e){return String(e.id)===P})),_=function(e){var n,o;return j.default.getFileNameWithExtensionFromPath(null!==(n=null===(o=s[e])||void 0===o?void 0:o.name)&&void 0!==n?n:"file")},W=function(e){T.current=e,G(e)};o.useEffect((function(){return function(){return y(!1)}}),[]);var H=function(e){return(e>z?e-1:e)+1},V={onDragStart:function(e){var n=e.active,s=U.indexOf(String(n.id));return"Grabbed ".concat(_(s),". Position ").concat(s+1," of ").concat(U.length,".")},onDragOver:function(){return T.current<0?"".concat(_(z)," is back at position ").concat(z+1," of ").concat(U.length,"."):"".concat(_(z)," will move to position ").concat(H(T.current)," of ").concat(U.length,".")},onDragEnd:function(){return T.current<0?"".concat(_(z)," was dropped in place."):"".concat(_(z)," was dropped at position ").concat(H(T.current)," of ").concat(U.length,".")},onDragCancel:function(){return"Reordering cancelled. ".concat(_(z)," returned to its position.")}};o.useEffect((function(){if(!(z<0)&&N.current){var e=z,n=function(n){var o={ArrowRight:1,ArrowLeft:-1}[n.key];o&&(e=Math.min(s.length-1,Math.max(0,e+o)),W(function(e){return e===z?-1:e+(e>z?1:0)}(e)))};return document.addEventListener("keydown",n),function(){return document.removeEventListener("keydown",n)}}}),[z,s.length]);var X=function(e){return W(function(e){var n=e.delta,s=e.activatorEvent,o=null==s?void 0:s.clientX,r=M.current;if(z<0||!r||"number"!=typeof o||Number.isNaN(o))return T.current;var c=o+n.x+r.scrollLeft,i=B.current.filter((function(e){return c>=e})).length;return i===z||i===z+1?-1:i}(e))};return f.jsxs(i.DndContext,{sensors:L,accessibility:{announcements:V},collisionDetection:function(e){var n=i.pointerWithin(e);return n.length?n:i.closestCenter(e)},onDragStart:function(e){var n=e.active,s=e.activatorEvent;N.current=s instanceof globalThis.KeyboardEvent;var o=M.current;B.current=o?Array.from(o.children).map((function(e){var n=e.getBoundingClientRect();return n.left+n.width/2+o.scrollLeft})):[],k(String(n.id)),W(-1),y(!0)},onDragMove:X,onDragOver:X,onDragEnd:function(){var e,n,s,o,r,c,i=T.current;i>=0&&z>=0&&D((e=U,n=z,s=i,o=v.default(e),r=o.splice(n,1),c=p.default(r,1)[0],o.splice(s>n?s-1:s,0,c),o)),k(null),W(-1),B.current=[],C()},onDragCancel:function(){k(null),W(-1),B.current=[],C()},children:[f.jsx(t.SortableContext,{items:U,strategy:t.horizontalListSortingStrategy,children:f.jsx("div",b(b({ref:function(e){if(M.current=e,"function"==typeof n)n(e);else if(n){n.current=e}},"data-testid":A,className:g.default(m.scroller,x)},P?I.default({},d.DRAGGING_ATTRIBUTE,"true"):{}),{},{children:s.map((function(e,n){return f.jsx(O,{item:e,onRemove:c,onRetry:q,onItemClick:h,isFirst:0===n,insertBefore:w===n,insertAfter:n===s.length-1&&w===s.length},e.id)}))}))}),r.createPortal(f.jsx(i.DragOverlay,{dropAnimation:null,zIndex:2100,children:K&&f.jsxs("div",b(b({className:m.dragGhost},I.default({},d.DRAGGING_ATTRIBUTE,"true")),{},{children:[f.jsx(l.AttachmentTile,{item:K}),f.jsx("div",{className:m.dragGhostHandle,children:f.jsx(u.ButtonIcon,{size:"xs",type:"tertiaryBg",testId:"attachment-drag-handle",children:f.jsx(a.DragIcon,{size:"small"})})})]}))}),document.body)]})}));exports.SortableAttachments=D;
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("@babel/runtime/helpers/defineProperty"),n=require("@babel/runtime/helpers/slicedToArray"),s=require("@babel/runtime/helpers/toConsumableArray"),o=require("react"),r=require("react-dom"),c=require("classnames"),i=require("@dnd-kit/core"),t=require("@dnd-kit/sortable"),u=require("../../componentsV2/ButtonIcon/ButtonIcon.js"),a=require("../../icons/iconParkIcons.js");require("../../icons/customIcons/icons/AddMessage.js"),require("../../icons/customIcons/icons/DragOne.js"),require("../../icons/customIcons/icons/Attention.js"),require("../../icons/customIcons/icons/Collapse.js"),require("../../icons/customIcons/icons/Dashboard.js"),require("../../icons/customIcons/icons/Expand.js"),require("../../icons/customIcons/icons/FolderClosed.js"),require("../../icons/customIcons/icons/FolderClosedFilled.js"),require("../../icons/customIcons/icons/FolderOpened.js"),require("../../icons/customIcons/icons/GreaterOrEqual.js"),require("../../icons/customIcons/icons/LessOrEqual.js"),require("../../icons/customIcons/icons/Search.js"),require("../../icons/customIcons/icons/SearchOne.js"),require("../../icons/customIcons/icons/Wellhub.js"),require("../../icons/customIcons/icons/MultiRuler.js"),require("../../icons/customIcons/icons/Checkbox.js"),require("../../icons/customIcons/icons/CheckboxChecked.js"),require("../../icons/customIcons/icons/CheckboxIndeterminate.js"),require("../../icons/customIcons/icons/Radio.js"),require("../../icons/customIcons/icons/RadioChecked.js"),require("../../icons/customIcons/icons/SimulFrac.js"),require("../../icons/customIcons/icons/ZipperFrac.js"),require("../../icons/customIcons/icons/CautionFilled.js"),require("../../icons/customIcons/icons/InfoRounded.js"),require("../../icons/customIcons/icons/FlameFilled.js"),require("../../icons/customIcons/icons/MoreApp.js"),require("../../icons/customIcons/icons/Pad.js"),require("../../icons/customIcons/icons/DrilloutUnit.js"),require("../../icons/customIcons/icons/FracFleet.js"),require("../../icons/customIcons/icons/Global.js"),require("../../icons/customIcons/icons/Program.js"),require("../../icons/customIcons/icons/Rig.js"),require("../../icons/customIcons/icons/Well.js"),require("../../icons/customIcons/icons/Gap.js"),require("../../icons/customIcons/icons/Pin.js"),require("../../icons/customIcons/icons/PinOne.js"),require("../../icons/customIcons/icons/PinOneCrossed.js"),require("../../icons/customIcons/icons/CloseOneFilled.js"),require("../../icons/customIcons/icons/AttentionFilled.js"),require("../../icons/customIcons/icons/CheckOneFilled.js"),require("../../icons/customIcons/icons/Archive.js"),require("../../icons/customIcons/icons/ArchiveCancel.js"),require("../../icons/customIcons/icons/Unarchive.js"),require("../../icons/customIcons/icons/Archived.js"),require("../../icons/customIcons/icons/InterventionUnit.js"),require("../../icons/customIcons/icons/CloudDelete.js"),require("../../icons/customIcons/icons/Lasso.js"),require("../../icons/customIcons/icons/Radius.js"),require("../../icons/customIcons/icons/ErrorOps.js"),require("../../icons/customIcons/icons/DataTypeOps.js"),require("../../icons/customIcons/icons/FalsePositiveOps.js"),require("../../icons/customIcons/icons/CalibrationOps.js"),require("../../icons/customIcons/icons/CriticalOps.js"),require("../../icons/customIcons/icons/Company.js"),require("../../icons/customIcons/icons/ArchiveOne.js"),require("../../icons/customIcons/icons/ParseBotFusion.js"),require("../../icons/customIcons/icons/Connect.js"),require("../../icons/customIcons/icons/PuzzleOne.js"),require("../../icons/customIcons/icons/Feed.js"),require("../../icons/customIcons/icons/Prompt.js"),require("../../icons/customIcons/icons/Companies.js"),require("../../icons/customIcons/icons/ClipboardAi.js"),require("../../icons/customIcons/icons/Key.js"),require("../../icons/customIcons/icons/AtSignCrossed.js"),require("../../icons/customIcons/icons/MappingManual.js"),require("../../icons/customIcons/icons/Mapping.js"),require("../../icons/customIcons/icons/Metrics.js"),require("../../icons/customIcons/icons/Drops.js"),require("../../icons/customIcons/icons/ClipboardSearch.js"),require("../../icons/customIcons/icons/Template.js"),require("../../icons/customIcons/icons/ClipboardMetrics.js"),require("../../icons/customIcons/icons/ClipboardBuilder.js"),require("../../icons/customIcons/icons/UnitConversion.js"),require("../../icons/customIcons/icons/NPT.js"),require("../../icons/customIcons/icons/GuidedFrac.js");var l=require("./AttachmentTile.js"),m=require("./AttachmentPreview.scss.js");require("../../constants/goals.js"),require("../../constants/segment.js"),require("../../constants/alerts.js"),require("../../constants/apps.js"),require("../../constants/drillstring.js"),require("../../constants/completion.js"),require("../../constants/appPackages.js"),require("../../constants/notifications.js"),require("../../constants/feed.js"),require("../../constants/bha.js"),require("../../constants/corvaCompanyId.js"),require("lodash"),require("../GradientManager/configuration/constants.js");var d=require("../../constants/attachments.js"),j=require("../../utils/main.js"),f=require("react/jsx-runtime");function q(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var I=q(e),p=q(n),v=q(s),g=q(c);function h(e,n){var s=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);n&&(o=o.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),s.push.apply(s,o)}return s}function b(e){for(var n=1;n<arguments.length;n++){var s=null!=arguments[n]?arguments[n]:{};n%2?h(Object(s),!0).forEach((function(n){I.default(e,n,s[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(s)):h(Object(s)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(s,n))}))}return e}var y=function(e){document.body.toggleAttribute(d.DRAGGING_ATTRIBUTE,e)},C=function(){setTimeout((function(){return y(!1)}),0)},O=function(e){var n=e.item,s=e.onRemove,o=e.onRetry,r=e.onItemClick,c=e.insertBefore,i=e.insertAfter,u=e.isFirst,a=t.useSortable({id:String(n.id)}),d=a.attributes,j=a.listeners,q=a.setNodeRef,I=a.isDragging;return f.jsxs("div",b(b(b({ref:q,className:g.default(m.slot,I&&m.slotDragging)},d),j),{},{onKeyDown:function(e){var o;null==j||null===(o=j.onKeyDown)||void 0===o||o.call(j,e),"Delete"!==e.key&&"Backspace"!==e.key||s&&(e.preventDefault(),s(n.id))},children:[c&&f.jsx("div",{className:g.default(m.insertion,u?m.insertionEdge:m.insertionBefore)}),f.jsx("div",{className:m.slotContent,children:f.jsx(l.AttachmentTile,{item:n,onRemove:s,onRetry:o,onItemClick:r})}),i&&f.jsx("div",{className:g.default(m.insertion,m.insertionAfter)})]}))},D=o.forwardRef((function(e,n){var s=e.items,c=e.onRemove,q=e.onRetry,h=e.onItemClick,D=e.onReorder,x=e.className,A=e.testId,R=o.useState(null),P=p.default(R,2),S=P[0],k=P[1],F=o.useState(-1),E=p.default(F,2),w=E[0],G=E[1],T=o.useRef(-1);T.current=w;var N=o.useRef(!1),B=o.useRef([]),M=o.useRef(null),L=i.useSensors(i.useSensor(i.PointerSensor,{activationConstraint:{distance:4}}),i.useSensor(i.KeyboardSensor,{coordinateGetter:t.sortableKeyboardCoordinates})),U=s.map((function(e){return String(e.id)})),z=S?U.indexOf(S):-1,K=s.find((function(e){return String(e.id)===S})),_=function(e){var n,o;return j.default.getFileNameWithExtensionFromPath(null!==(n=null===(o=s[e])||void 0===o?void 0:o.name)&&void 0!==n?n:"file")},W=function(e){T.current=e,G(e)};o.useEffect((function(){return function(){return y(!1)}}),[]);var H=function(e){return(e>z?e-1:e)+1},V={onDragStart:function(e){var n=e.active,s=U.indexOf(String(n.id));return"Grabbed ".concat(_(s),". Position ").concat(s+1," of ").concat(U.length,".")},onDragOver:function(){return T.current<0?"".concat(_(z)," is back at position ").concat(z+1," of ").concat(U.length,"."):"".concat(_(z)," will move to position ").concat(H(T.current)," of ").concat(U.length,".")},onDragEnd:function(){return T.current<0?"".concat(_(z)," was dropped in place."):"".concat(_(z)," was dropped at position ").concat(H(T.current)," of ").concat(U.length,".")},onDragCancel:function(){return"Reordering cancelled. ".concat(_(z)," returned to its position.")}};o.useEffect((function(){if(!(z<0)&&N.current){var e=z,n=function(n){var o={ArrowRight:1,ArrowLeft:-1}[n.key];o&&(e=Math.min(s.length-1,Math.max(0,e+o)),W(function(e){return e===z?-1:e+(e>z?1:0)}(e)))};return document.addEventListener("keydown",n),function(){return document.removeEventListener("keydown",n)}}}),[z,s.length]);var X=function(e){return W(function(e){var n=e.delta,s=e.activatorEvent,o=null==s?void 0:s.clientX,r=M.current;if(z<0||!r||"number"!=typeof o||Number.isNaN(o))return T.current;var c=o+n.x+r.scrollLeft,i=B.current.filter((function(e){return c>=e})).length;return i===z||i===z+1?-1:i}(e))};return f.jsxs(i.DndContext,{sensors:L,accessibility:{announcements:V},collisionDetection:function(e){var n=i.pointerWithin(e);return n.length?n:i.closestCenter(e)},onDragStart:function(e){var n=e.active,s=e.activatorEvent;N.current=s instanceof globalThis.KeyboardEvent;var o=M.current;B.current=o?Array.from(o.children).map((function(e){var n=e.getBoundingClientRect();return n.left+n.width/2+o.scrollLeft})):[],k(String(n.id)),W(-1),y(!0)},onDragMove:X,onDragOver:X,onDragEnd:function(){var e,n,s,o,r,c,i=T.current;i>=0&&z>=0&&D((e=U,n=z,s=i,o=v.default(e),r=o.splice(n,1),c=p.default(r,1)[0],o.splice(s>n?s-1:s,0,c),o)),k(null),W(-1),B.current=[],C()},onDragCancel:function(){k(null),W(-1),B.current=[],C()},children:[f.jsx(t.SortableContext,{items:U,strategy:t.horizontalListSortingStrategy,children:f.jsx("div",b(b({ref:function(e){if(M.current=e,"function"==typeof n)n(e);else if(n){n.current=e}},"data-testid":A,className:g.default(m.scroller,x)},S?I.default({},d.DRAGGING_ATTRIBUTE,"true"):{}),{},{children:s.map((function(e,n){return f.jsx(O,{item:e,onRemove:c,onRetry:q,onItemClick:h,isFirst:0===n,insertBefore:w===n,insertAfter:n===s.length-1&&w===s.length},e.id)}))}))}),r.createPortal(f.jsx(i.DragOverlay,{dropAnimation:null,zIndex:2100,children:K&&f.jsxs("div",b(b({className:m.dragGhost},I.default({},d.DRAGGING_ATTRIBUTE,"true")),{},{children:[f.jsx(l.AttachmentTile,{item:K}),f.jsx("div",{className:m.dragGhostHandle,children:f.jsx(u.ButtonIcon,{size:"xs",type:"tertiaryBg",testId:"attachment-drag-handle",children:f.jsx(a.DragIcon,{size:"small"})})})]}))}),document.body)]})}));exports.SortableAttachments=D;
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","jsxs","_objectSpread","ref","className","classNames","styles","slot","slotDragging","onKeyDown","event","_listeners$onKeyDown","key","preventDefault","children","_jsx","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","list","insertAt","_next$splice","moved","splice","SortableContext","strategy","horizontalListSortingStrategy","node","createPortal","DragOverlay","dropAnimation","zIndex","dragGhost","dragGhostHandle","ButtonIcon","size","type","DragIcon"],"mappings":"6rLAmCA,IAEMA,EAAgB,SAACC,GACrBC,SAASC,KAAKC,gBAAgBC,EAAkBA,mBAAEJ,EACpD,EAEMK,EAAkB,WACtBC,YAAW,WAAA,OAAMP,GAAc,EAAM,GAAE,EACzC,EA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F,QAAU,GAC3B5D,KAkBiCiC,SAAA,CAE/BC,MAACiH,kBAAe,CAACtG,MAAO4B,EAAK2E,SAAUC,EAA8BA,8BAAApH,SACnEC,EAAAC,IAAA,MAAAd,EAAAA,EAAA,CACEC,IArJe,SAACgI,GAEtB,GADAvF,EAAYH,QAAU0F,EACH,mBAARhI,EAAoBA,EAAIgI,QAC9B,GAAIhI,EAAK,CACSA,EACRsC,QAAU0F,CACzB,GAgJM,cAAavG,EACbxB,UAAWC,EAAU,QAACC,EAAO2F,SAAU7F,IAClC6B,EAAcrD,EAAAA,QAAAA,GAAAA,EAAAA,mBAAqB,QAAW,CAAA,GAAE,GAAA,CAAAkC,SAEpDY,EAAM6B,KAAI,SAACtE,EAAM4E,GAAK,OACrB9C,EAAAA,IAAChC,EAAY,CAEXE,KAAMA,EACNC,SAAUA,EACVC,QAASA,EACTC,YAAaA,EACbG,QAAmB,IAAVsE,EACTxE,aAAcgD,IAAmBwB,EACjCvE,YAAauE,IAAUnC,EAAMmD,OAAS,GAAKxC,IAAmBX,EAAMmD,QAP/D5F,EAAKS,YAcjB0I,EAAAA,aACCrH,EAAAC,IAACqH,cAAW,CAACC,cAAe,KAAMC,OA3QjB,KA2Q4CzH,SAC1D4C,GACC1D,EAAAA,KAAA,MAAAE,EAAAA,EAAA,CAAKE,UAAWE,EAAOkI,WAAkB5J,EAAAA,QAAAA,CAAAA,EAAAA,EAAAA,mBAAqB,SAAM,CAAA,EAAA,CAAAkC,SAAA,CAClEC,MAACM,iBAAc,CAACpC,KAAMyE,IACtB3C,EAAAC,IAAA,MAAA,CAAKZ,UAAWE,EAAOmI,gBAAgB3H,SACrCC,MAAC2H,aAAU,CAACC,KAAK,KAAKC,KAAK,aAAahH,OAAO,yBAAwBd,SACrEC,MAAC8H,WAAQ,CAACF,KAAK,oBAMzBlK,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","jsxs","_objectSpread","ref","className","classNames","styles","slot","slotDragging","onKeyDown","event","_listeners$onKeyDown","key","preventDefault","children","_jsx","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","list","insertAt","_next$splice","moved","splice","SortableContext","strategy","horizontalListSortingStrategy","node","createPortal","DragOverlay","dropAnimation","zIndex","dragGhost","dragGhostHandle","ButtonIcon","size","type","DragIcon"],"mappings":"0yLAmCA,IAEMA,EAAgB,SAACC,GACrBC,SAASC,KAAKC,gBAAgBC,EAAkBA,mBAAEJ,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,EAAAA,YAAY,CAAEC,GAAIC,OAAOV,EAAKS,MAAhFE,IAAAA,WAAYC,IAAAA,UAAWC,IAAAA,WAAYC,IAAAA,WAa3C,OACEC,EAAAC,KAAA,MAAAC,EAAAA,EAAAA,EAAA,CACEC,IAAKL,EACLM,UAAWC,EAAU,QAACC,EAAOC,KAAMR,GAAcO,EAAOE,eACpDZ,GACAC,GAAS,GAAA,CACbY,UAhBkB,SAACC,GAAyC,IAAAC,EAC9Dd,SAAoB,QAAXc,EAATd,EAAWY,iBAAS,IAAAE,G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