@corva/ui 3.66.0-0 → 3.66.0-2

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 (528) 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/BICOffsetPickerDialog/index.js +1 -1
  6. package/cjs-bundle/components/BICOffsetPickerDialog/index.js.map +1 -1
  7. package/cjs-bundle/components/Casing/CasingTableV2/components/CasingJoints/Editor.js +1 -1
  8. package/cjs-bundle/components/Casing/CasingTableV2/components/CasingJoints/Editor.js.map +1 -1
  9. package/cjs-bundle/components/Casing/CasingTableV2/components/Component.js +1 -1
  10. package/cjs-bundle/components/Casing/CasingTableV2/components/Component.js.map +1 -1
  11. package/cjs-bundle/components/Casing/CasingTableV2/components/DrillPipe/Editor.js +1 -1
  12. package/cjs-bundle/components/Casing/CasingTableV2/components/DrillPipe/Editor.js.map +1 -1
  13. package/cjs-bundle/components/CollapsableSidebar.js +1 -1
  14. package/cjs-bundle/components/CollapsableSidebar.js.map +1 -1
  15. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/DevCenterAppContainer.js +1 -1
  16. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/DevCenterAppContainer.js.map +1 -1
  17. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchButton.js +1 -1
  18. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/NonPriorityMenus/NonPriorityMenus.js +1 -1
  19. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/PriorityMenus/PriorityMenus.js +1 -1
  20. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/PriorityMenus/PriorityMenus.js.map +1 -1
  21. package/cjs-bundle/components/DocumentViewer/DocumentViewer.js +1 -1
  22. package/cjs-bundle/components/DocumentViewer/DocumentViewer.js.map +1 -1
  23. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Agitator/Editor.js +1 -1
  24. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Agitator/Editor.js.map +1 -1
  25. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Bit/Editor.js +1 -1
  26. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Bit/Editor.js.map +1 -1
  27. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Component.js +1 -1
  28. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Component.js.map +1 -1
  29. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/DrillCollar/Editor.js +1 -1
  30. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/DrillCollar/Editor.js.map +1 -1
  31. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/DrillPipe/Editor.js +1 -1
  32. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/DrillPipe/Editor.js.map +1 -1
  33. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Jar/Editor.js +1 -1
  34. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Jar/Editor.js.map +1 -1
  35. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Lwd/Editor.js +1 -1
  36. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Lwd/Editor.js.map +1 -1
  37. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Mwd/Editor.js +1 -1
  38. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Mwd/Editor.js.map +1 -1
  39. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Pdm/Editor.js +1 -1
  40. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Pdm/Editor.js.map +1 -1
  41. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Rss/Editor.js +1 -1
  42. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Rss/Editor.js.map +1 -1
  43. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Stabilizer/Editor.js +1 -1
  44. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Stabilizer/Editor.js.map +1 -1
  45. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Sub/Editor.js +1 -1
  46. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Sub/Editor.js.map +1 -1
  47. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Ur/Editor.js +1 -1
  48. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Ur/Editor.js.map +1 -1
  49. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/shared/ConfirmationPopup.js +1 -1
  50. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/shared/ConfirmationPopup.js.map +1 -1
  51. package/cjs-bundle/components/FeedItem/FeedItem.js +1 -1
  52. package/cjs-bundle/components/FeedItem/FeedItem.js.map +1 -1
  53. package/cjs-bundle/components/FeedItem/components/FeedComments.js +1 -1
  54. package/cjs-bundle/components/FeedItem/components/FeedComments.js.map +1 -1
  55. package/cjs-bundle/components/OffsetWellPickerV2/components/Filter/ToggleMapButton.js +1 -1
  56. package/cjs-bundle/components/OffsetWellPickerV2/components/Filter/ToggleMapButton.js.map +1 -1
  57. package/cjs-bundle/components/OffsetWellPickerV2/components/Table/MetricsAddMenu.js +1 -1
  58. package/cjs-bundle/components/OffsetWellPickerV2/components/Table/MetricsAddMenu.js.map +1 -1
  59. package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/MetricsAddMenu.js +1 -1
  60. package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/MetricsAddMenu.js.map +1 -1
  61. package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/index.js +1 -1
  62. package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/index.js.map +1 -1
  63. package/cjs-bundle/components/OffsetWellPickerV3/components/OffsetWellSelectionView/index.js +1 -1
  64. package/cjs-bundle/components/OffsetWellPickerV3/components/OffsetWellSelectionView/index.js.map +1 -1
  65. package/cjs-bundle/components/OffsetWellPickerV3/components/TabSelection/ToggleMapButton.js +1 -1
  66. package/cjs-bundle/components/OffsetWellPickerV3/components/TabSelection/ToggleMapButton.js.map +1 -1
  67. package/cjs-bundle/components/OffsetWellPickerV3/components/TabSelection/index.js +1 -1
  68. package/cjs-bundle/components/OffsetWellPickerV3/components/TabSelection/index.js.map +1 -1
  69. package/cjs-bundle/components/OffsetWellPickerV3/components/WellHubView/index.js +1 -1
  70. package/cjs-bundle/components/OffsetWellPickerV3/components/WellHubView/index.js.map +1 -1
  71. package/cjs-bundle/components/OffsetWellPickerV3/components/shared/OffsetWellTableHead.js +1 -1
  72. package/cjs-bundle/components/OffsetWellPickerV3/components/shared/OffsetWellTableHead.js.map +1 -1
  73. package/cjs-bundle/components/OffsetWellPickerV5/OffsetWellPickerV5.js +1 -1
  74. package/cjs-bundle/components/OffsetWellPickerV5/OffsetWellPickerV5.module.css.js +1 -1
  75. package/cjs-bundle/components/OffsetWellPickerV5/components/AppHeader/components/HeaderActions/HeaderActions.js +1 -1
  76. package/cjs-bundle/components/OffsetWellPickerV5/components/AppHeader/components/LoadAllWellsToggle/LoadAllWellsToggle.js +1 -1
  77. package/cjs-bundle/components/OffsetWellPickerV5/components/Filter/Filter.js +1 -1
  78. package/cjs-bundle/components/OffsetWellPickerV5/components/Filter/Filter.module.css.js +1 -1
  79. package/cjs-bundle/components/OffsetWellPickerV5/components/Filter/components/CustomDateFields/CustomDateFields.js +1 -1
  80. package/cjs-bundle/components/OffsetWellPickerV5/components/Filter/components/PeriodFilterSelect/PeriodFilterSelect.js +1 -1
  81. package/cjs-bundle/components/OffsetWellPickerV5/components/Filter/components/SingleFilterSelect/SingleFilterSelect.js +1 -1
  82. package/cjs-bundle/components/OffsetWellPickerV5/components/Filter/components/VirtualizedListBox/hooks/useContainerMaxHeight.js +1 -1
  83. package/cjs-bundle/components/OffsetWellPickerV5/components/Filter/hooks/useGridEdgeDetection.js +1 -1
  84. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/OffsetWellMap.js +1 -1
  85. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/ClusterTooltip/ClusterTooltip.js +1 -1
  86. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/LayerSwitcher/LayerSwitcher.js +1 -1
  87. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapControls/MapControls.js +1 -1
  88. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapHints/MapHintsStash.js +2 -0
  89. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapHints/MapHintsStash.js.map +1 -0
  90. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapHints/MapHintsStash.module.css.js +2 -0
  91. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapHints/MapHintsStash.module.css.js.map +1 -0
  92. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapOverlayControls/MapOverlayControls.js +1 -1
  93. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapResizeVeil/MapResizeVeil.js +2 -0
  94. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapResizeVeil/MapResizeVeil.js.map +1 -0
  95. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapResizeVeil/MapResizeVeil.module.css.js +2 -0
  96. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapResizeVeil/MapResizeVeil.module.css.js.map +1 -0
  97. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/SubjectWellMarker/SubjectWellMarker.js +1 -1
  98. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/SubjectWellMarker/SubjectWellMarker.module.css.js +1 -1
  99. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useIsMapCompact.js +2 -0
  100. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useIsMapCompact.js.map +1 -0
  101. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useMapResizeOnContainer.js +2 -0
  102. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useMapResizeOnContainer.js.map +1 -0
  103. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useMapTooltipState.js +1 -1
  104. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useOffsetWellMapState.js +1 -1
  105. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useSelectionToolOrchestration.js +1 -1
  106. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/WellsMap/WellsMap.js +1 -1
  107. package/cjs-bundle/components/OffsetWellPickerV5/components/MapColumn/MapColumn.js +1 -1
  108. package/cjs-bundle/components/OffsetWellPickerV5/components/MapResizeHandle/MapResizeHandle.js +2 -0
  109. package/cjs-bundle/components/OffsetWellPickerV5/components/MapResizeHandle/MapResizeHandle.js.map +1 -0
  110. package/cjs-bundle/components/OffsetWellPickerV5/components/MapResizeHandle/MapResizeHandle.module.css.js +2 -0
  111. package/cjs-bundle/components/OffsetWellPickerV5/components/MapResizeHandle/MapResizeHandle.module.css.js.map +1 -0
  112. package/cjs-bundle/components/OffsetWellPickerV5/components/MapResizeHandle/getEffectiveMapWidthBounds.js +2 -0
  113. package/cjs-bundle/components/OffsetWellPickerV5/components/MapResizeHandle/getEffectiveMapWidthBounds.js.map +1 -0
  114. package/cjs-bundle/components/OffsetWellPickerV5/components/MapResizeHandle/useMapResize.js +2 -0
  115. package/cjs-bundle/components/OffsetWellPickerV5/components/MapResizeHandle/useMapResize.js.map +1 -0
  116. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellPickerContent/OffsetWellPickerContent.js +1 -1
  117. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellPickerV5WithStore/components/UserSettingsWrapper/UserSettingsWrapper.js +1 -1
  118. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/AdvancedSearch.js +1 -1
  119. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/AdvancedSearch.module.css.js +1 -1
  120. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/components/AssetResultSection/AssetResultSection.js +1 -1
  121. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/components/AssetTypesSection/AssetTypesSection.js +1 -1
  122. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/components/AutoCompleteAssetSearch/AutoCompleteAssetSearch.js +1 -1
  123. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/OffsetWellsTable.js +1 -1
  124. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/OffsetWellsTable.module.css.js +1 -1
  125. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/CompanyCell/CompanyCell.js +1 -1
  126. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/FormationCell/FormationCell.js +1 -1
  127. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/InterventionAssetCell/InterventionAssetCell.js +1 -1
  128. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/PadNameCell/PadNameCell.js +1 -1
  129. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/RigCell/RigCell.js +1 -1
  130. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/WellNameCell/WellNameCell.js +1 -1
  131. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/WellSectionCell/WellSectionCell.js +1 -1
  132. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/MetricCell/MetricCell.module.css.js +1 -1
  133. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/OffsetWellsTableHead/OffsetWellsTableHead.js +1 -1
  134. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/OffsetWellsTableHead/OffsetWellsTableHead.module.css.js +1 -1
  135. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/OffsetWellsTableRow/OffsetWellsTableRow.js +1 -1
  136. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/OffsetWellsTableRow/OffsetWellsTableRow.module.css.js +1 -1
  137. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/SettingsMenu.js +2 -0
  138. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/SettingsMenu.js.map +1 -0
  139. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/SettingsMenu.module.scss.js +2 -0
  140. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/MetricsSettingsSection/MetricsSettingsSection.js +2 -0
  141. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/MetricsSettingsSection/MetricsSettingsSection.js.map +1 -0
  142. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/MetricsSettingsSection/MetricsSettingsSection.module.scss.js +2 -0
  143. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/MetricsSettingsSection/MetricsSettingsSection.module.scss.js.map +1 -0
  144. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/SettingsAccordion/SettingsAccordion.js +2 -0
  145. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/SettingsAccordion/SettingsAccordion.js.map +1 -0
  146. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/SettingsAccordion/SettingsAccordion.module.scss.js +2 -0
  147. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/SettingsAccordion/SettingsAccordion.module.scss.js.map +1 -0
  148. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/TableSettingsSection/TableSettingsSection.js +2 -0
  149. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/TableSettingsSection/TableSettingsSection.js.map +1 -0
  150. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/TableSettingsSection/TableSettingsSection.module.scss.js +2 -0
  151. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/TableSettingsSection/TableSettingsSection.module.scss.js.map +1 -0
  152. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SkeletonTableRow/SkeletonTableRow.js +1 -1
  153. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SkeletonTableRow/SkeletonTableRow.module.css.js +1 -1
  154. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/WellNameHeaderCell/WellNameHeaderCell.js +1 -1
  155. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/hooks/useHScrollShadowReconcile.js +2 -0
  156. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/hooks/useHScrollShadowReconcile.js.map +1 -0
  157. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/hooks/useTablePagination.js +1 -1
  158. package/cjs-bundle/components/OffsetWellPickerV5/components/PickerModalActions/PickerModalActions.js +1 -1
  159. package/cjs-bundle/components/OffsetWellPickerV5/components/TableSection/TableSection.js +1 -1
  160. package/cjs-bundle/components/OffsetWellPickerV5/constants.js +1 -1
  161. package/cjs-bundle/components/OffsetWellPickerV5/hooks/use-well-data-pipeline/useCompanyMetricKey.js +1 -1
  162. package/cjs-bundle/components/OffsetWellPickerV5/hooks/useElementSize.js +2 -0
  163. package/cjs-bundle/components/OffsetWellPickerV5/hooks/useResizeObserverEffect.js +2 -0
  164. package/cjs-bundle/components/OffsetWellPickerV5/hooks/useResizeObserverEffect.js.map +1 -0
  165. package/cjs-bundle/components/OffsetWellPickerV5/stores/user-settings-store/utils/subscribeToSettingsSave.js +1 -1
  166. package/cjs-bundle/components/OffsetWellPickerV5/stores/view-store/ViewStoreProvider.js +1 -1
  167. package/cjs-bundle/components/OffsetWellPickerV5/stores/view-store/createViewStore.js +1 -1
  168. package/cjs-bundle/components/OffsetWellPickerV5/stores/view-store/utils/useViewStoreSettingsSync.js +1 -1
  169. package/cjs-bundle/components/PadOffsetsPicker/StagesSelector.js +1 -1
  170. package/cjs-bundle/components/PadOffsetsPicker/StagesSelector.js.map +1 -1
  171. package/cjs-bundle/components/PadOffsetsPickerV2/PadOffsetsPickerV2.js +1 -1
  172. package/cjs-bundle/components/Popover/Popover.js +1 -1
  173. package/cjs-bundle/components/Popper/Popper.js +1 -1
  174. package/cjs-bundle/components/RealTimeValuesSidebar/SidebarFooter.js +1 -1
  175. package/cjs-bundle/componentsV2/CompletionsOffsetWellPicker/Map/Map.js +1 -1
  176. package/cjs-bundle/componentsV2/FilesLoader/FilesLoader.js +1 -1
  177. package/cjs-bundle/componentsV2/FilesLoader/FilesLoader.scss.js +1 -1
  178. package/cjs-bundle/componentsV2/FilesLoader/PreviewImage.js +2 -0
  179. package/cjs-bundle/componentsV2/FilesLoader/PreviewImage.js.map +1 -0
  180. package/cjs-bundle/componentsV2/FilesProcessor/FilesProcessor.js +1 -1
  181. package/cjs-bundle/componentsV2/FilesProcessor/Processor.js +1 -1
  182. package/cjs-bundle/componentsV2/WellArchivedMessage/WellArchivedMessage.js +1 -1
  183. package/cjs-bundle/testing/AppTestWrapper/AppTestWrapper.js +1 -1
  184. package/components/AddComment/Popover.js +1 -1
  185. package/components/AddComment/Popover.js.map +1 -1
  186. package/components/AddComment/components/Content.js +1 -1
  187. package/components/AddComment/components/Content.js.map +1 -1
  188. package/components/BICOffsetPickerDialog/index.js +1 -1
  189. package/components/BICOffsetPickerDialog/index.js.map +1 -1
  190. package/components/Casing/CasingTableV2/components/CasingJoints/Editor.js +1 -1
  191. package/components/Casing/CasingTableV2/components/CasingJoints/Editor.js.map +1 -1
  192. package/components/Casing/CasingTableV2/components/Component.js +1 -1
  193. package/components/Casing/CasingTableV2/components/Component.js.map +1 -1
  194. package/components/Casing/CasingTableV2/components/DrillPipe/Editor.js +1 -1
  195. package/components/Casing/CasingTableV2/components/DrillPipe/Editor.js.map +1 -1
  196. package/components/CollapsableSidebar.js +1 -1
  197. package/components/CollapsableSidebar.js.map +1 -1
  198. package/components/DevCenter/DevCenterAppContainer/DevCenterAppContainer.js +1 -1
  199. package/components/DevCenter/DevCenterAppContainer/DevCenterAppContainer.js.map +1 -1
  200. package/components/DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchButton.js +1 -1
  201. package/components/DevCenter/DevCenterAppContainer/components/NonPriorityMenus/NonPriorityMenus.js +1 -1
  202. package/components/DevCenter/DevCenterAppContainer/components/PriorityMenus/PriorityMenus.js +1 -1
  203. package/components/DevCenter/DevCenterAppContainer/components/PriorityMenus/PriorityMenus.js.map +1 -1
  204. package/components/DocumentViewer/DocumentViewer.js +1 -1
  205. package/components/DocumentViewer/DocumentViewer.js.map +1 -1
  206. package/components/Drillstring/BHAComponentsTable/components/Agitator/Editor.js +1 -1
  207. package/components/Drillstring/BHAComponentsTable/components/Agitator/Editor.js.map +1 -1
  208. package/components/Drillstring/BHAComponentsTable/components/Bit/Editor.js +1 -1
  209. package/components/Drillstring/BHAComponentsTable/components/Bit/Editor.js.map +1 -1
  210. package/components/Drillstring/BHAComponentsTable/components/Component.js +1 -1
  211. package/components/Drillstring/BHAComponentsTable/components/Component.js.map +1 -1
  212. package/components/Drillstring/BHAComponentsTable/components/DrillCollar/Editor.js +1 -1
  213. package/components/Drillstring/BHAComponentsTable/components/DrillCollar/Editor.js.map +1 -1
  214. package/components/Drillstring/BHAComponentsTable/components/DrillPipe/Editor.js +1 -1
  215. package/components/Drillstring/BHAComponentsTable/components/DrillPipe/Editor.js.map +1 -1
  216. package/components/Drillstring/BHAComponentsTable/components/Jar/Editor.js +1 -1
  217. package/components/Drillstring/BHAComponentsTable/components/Jar/Editor.js.map +1 -1
  218. package/components/Drillstring/BHAComponentsTable/components/Lwd/Editor.js +1 -1
  219. package/components/Drillstring/BHAComponentsTable/components/Lwd/Editor.js.map +1 -1
  220. package/components/Drillstring/BHAComponentsTable/components/Mwd/Editor.js +1 -1
  221. package/components/Drillstring/BHAComponentsTable/components/Mwd/Editor.js.map +1 -1
  222. package/components/Drillstring/BHAComponentsTable/components/Pdm/Editor.js +1 -1
  223. package/components/Drillstring/BHAComponentsTable/components/Pdm/Editor.js.map +1 -1
  224. package/components/Drillstring/BHAComponentsTable/components/Rss/Editor.js +1 -1
  225. package/components/Drillstring/BHAComponentsTable/components/Rss/Editor.js.map +1 -1
  226. package/components/Drillstring/BHAComponentsTable/components/Stabilizer/Editor.js +1 -1
  227. package/components/Drillstring/BHAComponentsTable/components/Stabilizer/Editor.js.map +1 -1
  228. package/components/Drillstring/BHAComponentsTable/components/Sub/Editor.js +1 -1
  229. package/components/Drillstring/BHAComponentsTable/components/Sub/Editor.js.map +1 -1
  230. package/components/Drillstring/BHAComponentsTable/components/Ur/Editor.js +1 -1
  231. package/components/Drillstring/BHAComponentsTable/components/Ur/Editor.js.map +1 -1
  232. package/components/Drillstring/BHAComponentsTable/components/shared/ConfirmationPopup.js +1 -1
  233. package/components/Drillstring/BHAComponentsTable/components/shared/ConfirmationPopup.js.map +1 -1
  234. package/components/FeedItem/FeedItem.js +1 -1
  235. package/components/FeedItem/FeedItem.js.map +1 -1
  236. package/components/FeedItem/components/FeedComments.js +1 -1
  237. package/components/FeedItem/components/FeedComments.js.map +1 -1
  238. package/components/OffsetWellPickerV2/components/Filter/ToggleMapButton.js +1 -1
  239. package/components/OffsetWellPickerV2/components/Filter/ToggleMapButton.js.map +1 -1
  240. package/components/OffsetWellPickerV2/components/Table/MetricsAddMenu.js +1 -1
  241. package/components/OffsetWellPickerV2/components/Table/MetricsAddMenu.js.map +1 -1
  242. package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/MetricsAddMenu.js +1 -1
  243. package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/MetricsAddMenu.js.map +1 -1
  244. package/components/OffsetWellPickerV3/components/CustomSelectionView/index.js +1 -1
  245. package/components/OffsetWellPickerV3/components/CustomSelectionView/index.js.map +1 -1
  246. package/components/OffsetWellPickerV3/components/OffsetWellSelectionView/index.js +1 -1
  247. package/components/OffsetWellPickerV3/components/OffsetWellSelectionView/index.js.map +1 -1
  248. package/components/OffsetWellPickerV3/components/TabSelection/ToggleMapButton.js +1 -1
  249. package/components/OffsetWellPickerV3/components/TabSelection/ToggleMapButton.js.map +1 -1
  250. package/components/OffsetWellPickerV3/components/TabSelection/index.js +1 -1
  251. package/components/OffsetWellPickerV3/components/TabSelection/index.js.map +1 -1
  252. package/components/OffsetWellPickerV3/components/WellHubView/index.js +1 -1
  253. package/components/OffsetWellPickerV3/components/WellHubView/index.js.map +1 -1
  254. package/components/OffsetWellPickerV3/components/shared/OffsetWellTableHead.js +1 -1
  255. package/components/OffsetWellPickerV3/components/shared/OffsetWellTableHead.js.map +1 -1
  256. package/components/OffsetWellPickerV5/OffsetWellPickerV5.d.ts.map +1 -1
  257. package/components/OffsetWellPickerV5/OffsetWellPickerV5.js +1 -1
  258. package/components/OffsetWellPickerV5/OffsetWellPickerV5.module.css.js +1 -1
  259. package/components/OffsetWellPickerV5/components/AppHeader/components/HeaderActions/HeaderActions.d.ts.map +1 -1
  260. package/components/OffsetWellPickerV5/components/AppHeader/components/HeaderActions/HeaderActions.js +1 -1
  261. package/components/OffsetWellPickerV5/components/AppHeader/components/LoadAllWellsToggle/LoadAllWellsToggle.js +1 -1
  262. package/components/OffsetWellPickerV5/components/Filter/Filter.js +1 -1
  263. package/components/OffsetWellPickerV5/components/Filter/Filter.module.css.js +1 -1
  264. package/components/OffsetWellPickerV5/components/Filter/components/CustomDateFields/CustomDateFields.js +1 -1
  265. package/components/OffsetWellPickerV5/components/Filter/components/PeriodFilterSelect/PeriodFilterSelect.js +1 -1
  266. package/components/OffsetWellPickerV5/components/Filter/components/SingleFilterSelect/SingleFilterSelect.js +1 -1
  267. package/components/OffsetWellPickerV5/components/Filter/components/VirtualizedListBox/hooks/useContainerMaxHeight.d.ts.map +1 -1
  268. package/components/OffsetWellPickerV5/components/Filter/components/VirtualizedListBox/hooks/useContainerMaxHeight.js +1 -1
  269. package/components/OffsetWellPickerV5/components/Filter/hooks/useGridEdgeDetection.d.ts.map +1 -1
  270. package/components/OffsetWellPickerV5/components/Filter/hooks/useGridEdgeDetection.js +1 -1
  271. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/OffsetWellMap.d.ts +2 -0
  272. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/OffsetWellMap.d.ts.map +1 -1
  273. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/OffsetWellMap.js +1 -1
  274. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/ClusterTooltip/ClusterTooltip.js +1 -1
  275. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/LayerSwitcher/LayerSwitcher.js +1 -1
  276. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapControls/MapControls.js +1 -1
  277. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapHints/MapHints.d.ts +1 -1
  278. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapHints/MapHints.d.ts.map +1 -1
  279. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapHints/MapHintsStash.d.ts +17 -0
  280. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapHints/MapHintsStash.d.ts.map +1 -0
  281. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapHints/MapHintsStash.js +2 -0
  282. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapHints/MapHintsStash.js.map +1 -0
  283. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapHints/MapHintsStash.module.css.js +2 -0
  284. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapHints/MapHintsStash.module.css.js.map +1 -0
  285. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapHints/index.d.ts +2 -1
  286. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapHints/index.d.ts.map +1 -1
  287. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapOverlayControls/MapOverlayControls.d.ts +4 -2
  288. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapOverlayControls/MapOverlayControls.d.ts.map +1 -1
  289. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapOverlayControls/MapOverlayControls.js +1 -1
  290. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapResizeVeil/MapResizeVeil.d.ts +12 -0
  291. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapResizeVeil/MapResizeVeil.d.ts.map +1 -0
  292. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapResizeVeil/MapResizeVeil.js +2 -0
  293. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapResizeVeil/MapResizeVeil.js.map +1 -0
  294. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapResizeVeil/MapResizeVeil.module.css.js +2 -0
  295. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapResizeVeil/MapResizeVeil.module.css.js.map +1 -0
  296. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapResizeVeil/__tests__/MapResizeVeil.test.d.ts +2 -0
  297. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapResizeVeil/__tests__/MapResizeVeil.test.d.ts.map +1 -0
  298. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapResizeVeil/index.d.ts +2 -0
  299. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapResizeVeil/index.d.ts.map +1 -0
  300. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/SubjectWellMarker/SubjectWellMarker.d.ts.map +1 -1
  301. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/SubjectWellMarker/SubjectWellMarker.js +1 -1
  302. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/SubjectWellMarker/SubjectWellMarker.module.css.js +1 -1
  303. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/__tests__/useIsMapCompact.test.d.ts +2 -0
  304. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/__tests__/useIsMapCompact.test.d.ts.map +1 -0
  305. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/__tests__/useMapResizeOnContainer.test.d.ts +2 -0
  306. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/__tests__/useMapResizeOnContainer.test.d.ts.map +1 -0
  307. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/index.d.ts +2 -1
  308. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/index.d.ts.map +1 -1
  309. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useIsMapCompact.d.ts +14 -0
  310. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useIsMapCompact.d.ts.map +1 -0
  311. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useIsMapCompact.js +2 -0
  312. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useIsMapCompact.js.map +1 -0
  313. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useMapResizeOnContainer.d.ts +20 -0
  314. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useMapResizeOnContainer.d.ts.map +1 -0
  315. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useMapResizeOnContainer.js +2 -0
  316. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useMapResizeOnContainer.js.map +1 -0
  317. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useMapTooltipState.d.ts.map +1 -1
  318. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useMapTooltipState.js +1 -1
  319. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useOffsetWellMapState.js +1 -1
  320. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useSelectionToolOrchestration.js +1 -1
  321. package/components/OffsetWellPickerV5/components/Map/WellsMap/WellsMap.d.ts +2 -0
  322. package/components/OffsetWellPickerV5/components/Map/WellsMap/WellsMap.d.ts.map +1 -1
  323. package/components/OffsetWellPickerV5/components/Map/WellsMap/WellsMap.js +1 -1
  324. package/components/OffsetWellPickerV5/components/MapColumn/MapColumn.d.ts +3 -1
  325. package/components/OffsetWellPickerV5/components/MapColumn/MapColumn.d.ts.map +1 -1
  326. package/components/OffsetWellPickerV5/components/MapColumn/MapColumn.js +1 -1
  327. package/components/OffsetWellPickerV5/components/MapResizeHandle/MapResizeHandle.d.ts +14 -0
  328. package/components/OffsetWellPickerV5/components/MapResizeHandle/MapResizeHandle.d.ts.map +1 -0
  329. package/components/OffsetWellPickerV5/components/MapResizeHandle/MapResizeHandle.js +2 -0
  330. package/components/OffsetWellPickerV5/components/MapResizeHandle/MapResizeHandle.js.map +1 -0
  331. package/components/OffsetWellPickerV5/components/MapResizeHandle/MapResizeHandle.module.css.js +2 -0
  332. package/components/OffsetWellPickerV5/components/MapResizeHandle/MapResizeHandle.module.css.js.map +1 -0
  333. package/components/OffsetWellPickerV5/components/MapResizeHandle/__tests__/getEffectiveMapWidthBounds.test.d.ts +2 -0
  334. package/components/OffsetWellPickerV5/components/MapResizeHandle/__tests__/getEffectiveMapWidthBounds.test.d.ts.map +1 -0
  335. package/components/OffsetWellPickerV5/components/MapResizeHandle/getEffectiveMapWidthBounds.d.ts +16 -0
  336. package/components/OffsetWellPickerV5/components/MapResizeHandle/getEffectiveMapWidthBounds.d.ts.map +1 -0
  337. package/components/OffsetWellPickerV5/components/MapResizeHandle/getEffectiveMapWidthBounds.js +2 -0
  338. package/components/OffsetWellPickerV5/components/MapResizeHandle/getEffectiveMapWidthBounds.js.map +1 -0
  339. package/components/OffsetWellPickerV5/components/MapResizeHandle/index.d.ts +4 -0
  340. package/components/OffsetWellPickerV5/components/MapResizeHandle/index.d.ts.map +1 -0
  341. package/components/OffsetWellPickerV5/components/MapResizeHandle/useMapResize.d.ts +29 -0
  342. package/components/OffsetWellPickerV5/components/MapResizeHandle/useMapResize.d.ts.map +1 -0
  343. package/components/OffsetWellPickerV5/components/MapResizeHandle/useMapResize.js +2 -0
  344. package/components/OffsetWellPickerV5/components/MapResizeHandle/useMapResize.js.map +1 -0
  345. package/components/OffsetWellPickerV5/components/OffsetWellPickerContent/OffsetWellPickerContent.d.ts +1 -1
  346. package/components/OffsetWellPickerV5/components/OffsetWellPickerContent/OffsetWellPickerContent.d.ts.map +1 -1
  347. package/components/OffsetWellPickerV5/components/OffsetWellPickerContent/OffsetWellPickerContent.js +1 -1
  348. package/components/OffsetWellPickerV5/components/OffsetWellPickerContent/OffsetWellPickerContent.types.d.ts +3 -1
  349. package/components/OffsetWellPickerV5/components/OffsetWellPickerContent/OffsetWellPickerContent.types.d.ts.map +1 -1
  350. package/components/OffsetWellPickerV5/components/OffsetWellPickerV5WithStore/components/UserSettingsWrapper/UserSettingsWrapper.d.ts.map +1 -1
  351. package/components/OffsetWellPickerV5/components/OffsetWellPickerV5WithStore/components/UserSettingsWrapper/UserSettingsWrapper.js +1 -1
  352. package/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/AdvancedSearch.d.ts.map +1 -1
  353. package/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/AdvancedSearch.js +1 -1
  354. package/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/AdvancedSearch.module.css.js +1 -1
  355. package/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/components/AssetResultSection/AssetResultSection.js +1 -1
  356. package/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/components/AssetTypesSection/AssetTypesSection.d.ts.map +1 -1
  357. package/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/components/AssetTypesSection/AssetTypesSection.js +1 -1
  358. package/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/components/AutoCompleteAssetSearch/AutoCompleteAssetSearch.d.ts.map +1 -1
  359. package/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/components/AutoCompleteAssetSearch/AutoCompleteAssetSearch.js +1 -1
  360. package/components/OffsetWellPickerV5/components/OffsetWellsTable/OffsetWellsTable.d.ts.map +1 -1
  361. package/components/OffsetWellPickerV5/components/OffsetWellsTable/OffsetWellsTable.js +1 -1
  362. package/components/OffsetWellPickerV5/components/OffsetWellsTable/OffsetWellsTable.module.css.js +1 -1
  363. package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/CompanyCell/CompanyCell.d.ts +2 -1
  364. package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/CompanyCell/CompanyCell.d.ts.map +1 -1
  365. package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/CompanyCell/CompanyCell.js +1 -1
  366. package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/FormationCell/FormationCell.d.ts +2 -1
  367. package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/FormationCell/FormationCell.d.ts.map +1 -1
  368. package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/FormationCell/FormationCell.js +1 -1
  369. package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/InterventionAssetCell/InterventionAssetCell.d.ts +2 -1
  370. package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/InterventionAssetCell/InterventionAssetCell.d.ts.map +1 -1
  371. package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/InterventionAssetCell/InterventionAssetCell.js +1 -1
  372. package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/PadNameCell/PadNameCell.d.ts +2 -1
  373. package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/PadNameCell/PadNameCell.d.ts.map +1 -1
  374. package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/PadNameCell/PadNameCell.js +1 -1
  375. package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/RigCell/RigCell.d.ts +2 -1
  376. package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/RigCell/RigCell.d.ts.map +1 -1
  377. package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/RigCell/RigCell.js +1 -1
  378. package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/WellNameCell/WellNameCell.d.ts +2 -3
  379. package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/WellNameCell/WellNameCell.d.ts.map +1 -1
  380. package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/WellNameCell/WellNameCell.js +1 -1
  381. package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/WellSectionCell/WellSectionCell.d.ts.map +1 -1
  382. package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/WellSectionCell/WellSectionCell.js +1 -1
  383. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/MetricCell/MetricCell.module.css.js +1 -1
  384. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/OffsetWellsTableHead/OffsetWellsTableHead.d.ts.map +1 -1
  385. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/OffsetWellsTableHead/OffsetWellsTableHead.js +1 -1
  386. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/OffsetWellsTableHead/OffsetWellsTableHead.module.css.js +1 -1
  387. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/OffsetWellsTableRow/OffsetWellsTableRow.d.ts +1 -2
  388. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/OffsetWellsTableRow/OffsetWellsTableRow.d.ts.map +1 -1
  389. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/OffsetWellsTableRow/OffsetWellsTableRow.js +1 -1
  390. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/OffsetWellsTableRow/OffsetWellsTableRow.module.css.js +1 -1
  391. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/SettingsMenu.d.ts +7 -0
  392. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/SettingsMenu.d.ts.map +1 -0
  393. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/SettingsMenu.js +2 -0
  394. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/SettingsMenu.js.map +1 -0
  395. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/SettingsMenu.module.scss.js +2 -0
  396. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/MetricsSettingsSection/MetricsSettingsSection.d.ts +15 -0
  397. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/MetricsSettingsSection/MetricsSettingsSection.d.ts.map +1 -0
  398. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/MetricsSettingsSection/MetricsSettingsSection.js +2 -0
  399. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/MetricsSettingsSection/MetricsSettingsSection.js.map +1 -0
  400. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/MetricsSettingsSection/MetricsSettingsSection.module.scss.js +2 -0
  401. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/MetricsSettingsSection/MetricsSettingsSection.module.scss.js.map +1 -0
  402. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/MetricsSettingsSection/index.d.ts +2 -0
  403. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/MetricsSettingsSection/index.d.ts.map +1 -0
  404. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/SettingsAccordion/SettingsAccordion.d.ts +16 -0
  405. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/SettingsAccordion/SettingsAccordion.d.ts.map +1 -0
  406. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/SettingsAccordion/SettingsAccordion.js +2 -0
  407. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/SettingsAccordion/SettingsAccordion.js.map +1 -0
  408. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/SettingsAccordion/SettingsAccordion.module.scss.js +2 -0
  409. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/SettingsAccordion/SettingsAccordion.module.scss.js.map +1 -0
  410. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/SettingsAccordion/index.d.ts +2 -0
  411. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/SettingsAccordion/index.d.ts.map +1 -0
  412. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/TableSettingsSection/TableSettingsSection.d.ts +7 -0
  413. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/TableSettingsSection/TableSettingsSection.d.ts.map +1 -0
  414. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/TableSettingsSection/TableSettingsSection.js +2 -0
  415. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/TableSettingsSection/TableSettingsSection.js.map +1 -0
  416. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/TableSettingsSection/TableSettingsSection.module.scss.js +2 -0
  417. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/TableSettingsSection/TableSettingsSection.module.scss.js.map +1 -0
  418. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/TableSettingsSection/index.d.ts +2 -0
  419. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/TableSettingsSection/index.d.ts.map +1 -0
  420. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/index.d.ts +2 -0
  421. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/{SubjectWellMark → SettingsMenu}/index.d.ts.map +1 -1
  422. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SkeletonTableRow/SkeletonTableRow.d.ts.map +1 -1
  423. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SkeletonTableRow/SkeletonTableRow.js +1 -1
  424. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SkeletonTableRow/SkeletonTableRow.module.css.js +1 -1
  425. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/WellNameHeaderCell/WellNameHeaderCell.d.ts.map +1 -1
  426. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/WellNameHeaderCell/WellNameHeaderCell.js +1 -1
  427. package/components/OffsetWellPickerV5/components/OffsetWellsTable/hooks/__tests__/useHScrollShadowReconcile.test.d.ts +2 -0
  428. package/components/OffsetWellPickerV5/components/OffsetWellsTable/hooks/__tests__/useHScrollShadowReconcile.test.d.ts.map +1 -0
  429. package/components/OffsetWellPickerV5/components/OffsetWellsTable/hooks/useHScrollShadowReconcile.d.ts +34 -0
  430. package/components/OffsetWellPickerV5/components/OffsetWellsTable/hooks/useHScrollShadowReconcile.d.ts.map +1 -0
  431. package/components/OffsetWellPickerV5/components/OffsetWellsTable/hooks/useHScrollShadowReconcile.js +2 -0
  432. package/components/OffsetWellPickerV5/components/OffsetWellsTable/hooks/useHScrollShadowReconcile.js.map +1 -0
  433. package/components/OffsetWellPickerV5/components/OffsetWellsTable/hooks/useTablePagination.d.ts +1 -2
  434. package/components/OffsetWellPickerV5/components/OffsetWellsTable/hooks/useTablePagination.d.ts.map +1 -1
  435. package/components/OffsetWellPickerV5/components/OffsetWellsTable/hooks/useTablePagination.js +1 -1
  436. package/components/OffsetWellPickerV5/components/PickerModalActions/PickerModalActions.js +1 -1
  437. package/components/OffsetWellPickerV5/components/TableSection/TableSection.d.ts +4 -2
  438. package/components/OffsetWellPickerV5/components/TableSection/TableSection.d.ts.map +1 -1
  439. package/components/OffsetWellPickerV5/components/TableSection/TableSection.js +1 -1
  440. package/components/OffsetWellPickerV5/constants.d.ts +17 -1
  441. package/components/OffsetWellPickerV5/constants.d.ts.map +1 -1
  442. package/components/OffsetWellPickerV5/constants.js +1 -1
  443. package/components/OffsetWellPickerV5/hooks/__tests__/resize-observer-test-utils.d.ts +19 -0
  444. package/components/OffsetWellPickerV5/hooks/__tests__/resize-observer-test-utils.d.ts.map +1 -0
  445. package/components/OffsetWellPickerV5/hooks/__tests__/useResizeObserverEffect.test.d.ts +2 -0
  446. package/components/OffsetWellPickerV5/hooks/__tests__/useResizeObserverEffect.test.d.ts.map +1 -0
  447. package/components/OffsetWellPickerV5/hooks/use-well-data-pipeline/useCompanyMetricKey.d.ts.map +1 -1
  448. package/components/OffsetWellPickerV5/hooks/use-well-data-pipeline/useCompanyMetricKey.js +1 -1
  449. package/components/OffsetWellPickerV5/hooks/useElementSize.d.ts.map +1 -0
  450. package/components/OffsetWellPickerV5/hooks/useElementSize.js +2 -0
  451. package/components/OffsetWellPickerV5/hooks/useResizeObserverEffect.d.ts +14 -0
  452. package/components/OffsetWellPickerV5/hooks/useResizeObserverEffect.d.ts.map +1 -0
  453. package/components/OffsetWellPickerV5/hooks/useResizeObserverEffect.js +2 -0
  454. package/components/OffsetWellPickerV5/hooks/useResizeObserverEffect.js.map +1 -0
  455. package/components/OffsetWellPickerV5/stores/user-settings-store/createUserSettingsStore.d.ts +3 -1
  456. package/components/OffsetWellPickerV5/stores/user-settings-store/createUserSettingsStore.d.ts.map +1 -1
  457. package/components/OffsetWellPickerV5/stores/user-settings-store/utils/subscribeToSettingsSave.d.ts.map +1 -1
  458. package/components/OffsetWellPickerV5/stores/user-settings-store/utils/subscribeToSettingsSave.js +1 -1
  459. package/components/OffsetWellPickerV5/stores/view-store/ViewStoreProvider.d.ts.map +1 -1
  460. package/components/OffsetWellPickerV5/stores/view-store/ViewStoreProvider.js +1 -1
  461. package/components/OffsetWellPickerV5/stores/view-store/__tests__/createViewStore.test.d.ts +2 -0
  462. package/components/OffsetWellPickerV5/stores/view-store/__tests__/createViewStore.test.d.ts.map +1 -0
  463. package/components/OffsetWellPickerV5/stores/view-store/createViewStore.d.ts +6 -0
  464. package/components/OffsetWellPickerV5/stores/view-store/createViewStore.d.ts.map +1 -1
  465. package/components/OffsetWellPickerV5/stores/view-store/createViewStore.js +1 -1
  466. package/components/OffsetWellPickerV5/stores/view-store/utils/useViewStoreSettingsSync.d.ts.map +1 -1
  467. package/components/OffsetWellPickerV5/stores/view-store/utils/useViewStoreSettingsSync.js +1 -1
  468. package/components/PadOffsetsPicker/StagesSelector.js +1 -1
  469. package/components/PadOffsetsPicker/StagesSelector.js.map +1 -1
  470. package/components/PadOffsetsPickerV2/PadOffsetsPickerV2.js +1 -1
  471. package/components/Popover/Popover.js +1 -1
  472. package/components/Popper/Popper.js +1 -1
  473. package/components/RealTimeValuesSidebar/SidebarFooter.js +1 -1
  474. package/componentsV2/CompletionsOffsetWellPicker/Map/Map.js +1 -1
  475. package/componentsV2/FilesLoader/FilesLoader.d.ts +3 -2
  476. package/componentsV2/FilesLoader/FilesLoader.d.ts.map +1 -1
  477. package/componentsV2/FilesLoader/FilesLoader.js +1 -1
  478. package/componentsV2/FilesLoader/FilesLoader.scss.js +1 -1
  479. package/componentsV2/FilesLoader/FilesLoader.stories.d.ts +1 -0
  480. package/componentsV2/FilesLoader/FilesLoader.stories.d.ts.map +1 -1
  481. package/componentsV2/FilesLoader/PreviewImage.d.ts +5 -0
  482. package/componentsV2/FilesLoader/PreviewImage.d.ts.map +1 -0
  483. package/componentsV2/FilesLoader/PreviewImage.js +2 -0
  484. package/componentsV2/FilesLoader/PreviewImage.js.map +1 -0
  485. package/componentsV2/FilesProcessor/FilesProcessor.d.ts +8 -2
  486. package/componentsV2/FilesProcessor/FilesProcessor.d.ts.map +1 -1
  487. package/componentsV2/FilesProcessor/FilesProcessor.js +1 -1
  488. package/componentsV2/FilesProcessor/FilesProcessor.stories.d.ts +1 -0
  489. package/componentsV2/FilesProcessor/FilesProcessor.stories.d.ts.map +1 -1
  490. package/componentsV2/FilesProcessor/Processor.d.ts +2 -1
  491. package/componentsV2/FilesProcessor/Processor.d.ts.map +1 -1
  492. package/componentsV2/FilesProcessor/Processor.js +1 -1
  493. package/componentsV2/WellArchivedMessage/WellArchivedMessage.js +1 -1
  494. package/mcp-server/server.mjs +28 -5
  495. package/package.json +1 -1
  496. package/testing/AppTestWrapper/AppTestWrapper.js +1 -1
  497. package/tsconfig.tsbuildinfo +1 -1
  498. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useElementSize.js +0 -2
  499. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/MetricsSettingMenu/MetricsSettingMenu.js +0 -2
  500. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/MetricsSettingMenu/MetricsSettingMenu.js.map +0 -1
  501. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/MetricsSettingMenu/MetricsSettingMenu.module.scss.js +0 -2
  502. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SubjectWellMark/SubjectWellMark.js +0 -2
  503. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SubjectWellMark/SubjectWellMark.js.map +0 -1
  504. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/useColumnShadow.js +0 -2
  505. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/useColumnShadow.js.map +0 -1
  506. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useElementSize.d.ts.map +0 -1
  507. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useElementSize.js +0 -2
  508. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/MetricsSettingMenu/MetricsSettingMenu.d.ts +0 -7
  509. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/MetricsSettingMenu/MetricsSettingMenu.d.ts.map +0 -1
  510. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/MetricsSettingMenu/MetricsSettingMenu.js +0 -2
  511. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/MetricsSettingMenu/MetricsSettingMenu.js.map +0 -1
  512. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/MetricsSettingMenu/MetricsSettingMenu.module.scss.js +0 -2
  513. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/MetricsSettingMenu/index.d.ts +0 -2
  514. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/MetricsSettingMenu/index.d.ts.map +0 -1
  515. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SubjectWellMark/SubjectWellMark.d.ts +0 -6
  516. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SubjectWellMark/SubjectWellMark.d.ts.map +0 -1
  517. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SubjectWellMark/SubjectWellMark.js +0 -2
  518. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SubjectWellMark/SubjectWellMark.js.map +0 -1
  519. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SubjectWellMark/index.d.ts +0 -2
  520. package/components/OffsetWellPickerV5/components/OffsetWellsTable/useColumnShadow.d.ts +0 -8
  521. package/components/OffsetWellPickerV5/components/OffsetWellsTable/useColumnShadow.d.ts.map +0 -1
  522. package/components/OffsetWellPickerV5/components/OffsetWellsTable/useColumnShadow.js +0 -2
  523. package/components/OffsetWellPickerV5/components/OffsetWellsTable/useColumnShadow.js.map +0 -1
  524. /package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/{MetricsSettingMenu/MetricsSettingMenu.module.scss.js.map → SettingsMenu/SettingsMenu.module.scss.js.map} +0 -0
  525. /package/cjs-bundle/components/OffsetWellPickerV5/{components/Map/OffsetWellMap/hooks → hooks}/useElementSize.js.map +0 -0
  526. /package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/{MetricsSettingMenu/MetricsSettingMenu.module.scss.js.map → SettingsMenu/SettingsMenu.module.scss.js.map} +0 -0
  527. /package/components/OffsetWellPickerV5/{components/Map/OffsetWellMap/hooks → hooks}/useElementSize.d.ts +0 -0
  528. /package/components/OffsetWellPickerV5/{components/Map/OffsetWellMap/hooks → hooks}/useElementSize.js.map +0 -0
@@ -1,2 +1,2 @@
1
- import s from"@babel/runtime/helpers/toConsumableArray";import o from"@babel/runtime/helpers/defineProperty";import{jsxs as t,jsx as i}from"react/jsx-runtime";import{memo as e,useMemo as r,useCallback as n}from"react";import{Text as c}from"../../Text/Text.js";import"../../Grid/Grid.js";import"../../Grid/Cell.js";import"classnames";import"../../Header/Header.scss.js";import"../../Button/Button.js";import"../../ButtonIcon/ButtonIcon.js";import"@babel/runtime/helpers/objectWithoutProperties";import"@material-ui/core";import"../../../components/DevCenter/DevCenterAppContainer/components/IsInsideIsolatedDcAppProvider/IsInsideIsolatedDcAppProvider.js";import"../../../components/DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/IsInsideDcFullscreenElemProvider.js";import"../../../components/DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/DcFullscreenElemsCoordinatorProvider.js";import"@babel/runtime/helpers/slicedToArray";import"uuid";import"../../Tooltip/Tooltip.scss.js";import"../../Popover/Popover.js";import"../../PopoverPanel/PopoverPanel.js";import"../../Radio/Radio.js";import"../../RadioAndCheckboxGroup/RadioAndCheckboxGroup.scss.js";import"../../Checkbox/Checkbox.js";import{TextInput as p}from"../../TextInput/TextInput.js";import"../../TextInputNext/TextInputNext.js";import"../../Label/Label.js";import"lodash";import"../../TextEndTruncated/TextEndTruncated.scss.js";import"../../TextMiddleTruncated/TextMiddleTruncated.constants.js";import"../../TextMiddleTruncated/TextMiddleTruncated.scss.js";import"../../TextLink/TextLink.js";import"../../Chip/Chip.js";import"../../ChipAlert/ChipAlert.js";import"../../ChipIndicator/ChipIndicator.js";import"../../Avatar/Avatar.js";import"../../AvatarGroup/AvatarGroup.js";import"@material-ui/lab";import"../../ToggleButtons/ToggleButtons.scss.js";import"../../Paper/Paper.js";import"../../ModalWindow/ModalWindow.js";import"../../Modal/Modal.scss.js";import"../../Menu/Menu.js";import"@icon-park/react/es/all";import"../../../icons/IconParkProvider.js";import"../../../icons/customIcons/icons/AddMessage.js";import"../../../icons/customIcons/icons/Attention.js";import"../../../icons/customIcons/icons/Collapse.js";import"../../../icons/customIcons/icons/Dashboard.js";import"../../../icons/customIcons/icons/Expand.js";import"../../../icons/customIcons/icons/FolderClosed.js";import"../../../icons/customIcons/icons/FolderClosedFilled.js";import"../../../icons/customIcons/icons/FolderOpened.js";import"../../../icons/customIcons/icons/GreaterOrEqual.js";import"../../../icons/customIcons/icons/LessOrEqual.js";import"../../../icons/customIcons/icons/Search.js";import"../../../icons/customIcons/icons/SearchOne.js";import"../../../icons/customIcons/icons/Wellhub.js";import"../../../icons/customIcons/icons/MultiRuler.js";import"../../../icons/customIcons/icons/Checkbox.js";import"../../../icons/customIcons/icons/CheckboxChecked.js";import"../../../icons/customIcons/icons/CheckboxIndeterminate.js";import"../../../icons/customIcons/icons/Radio.js";import"../../../icons/customIcons/icons/RadioChecked.js";import"../../../icons/customIcons/icons/SimulFrac.js";import"../../../icons/customIcons/icons/ZipperFrac.js";import"../../../icons/customIcons/icons/CautionFilled.js";import"../../../icons/customIcons/icons/MoreApp.js";import"../../../icons/customIcons/icons/Pad.js";import"../../../icons/customIcons/icons/DrilloutUnit.js";import"../../../icons/customIcons/icons/FracFleet.js";import"../../../icons/customIcons/icons/Global.js";import"../../../icons/customIcons/icons/Program.js";import"../../../icons/customIcons/icons/Rig.js";import"../../../icons/customIcons/icons/Well.js";import"../../../icons/customIcons/icons/Gap.js";import"../../../icons/customIcons/icons/Pin.js";import"../../../icons/customIcons/icons/CloseOneFilled.js";import"../../../icons/customIcons/icons/AttentionFilled.js";import"../../../icons/customIcons/icons/CheckOneFilled.js";import"../../../icons/customIcons/icons/Archive.js";import"../../../icons/customIcons/icons/ArchiveCancel.js";import"../../../icons/customIcons/icons/Unarchive.js";import"../../../icons/customIcons/icons/Archived.js";import"../../../icons/customIcons/icons/InterventionUnit.js";import"../../../icons/customIcons/icons/CloudDelete.js";import"../../../icons/customIcons/icons/Lasso.js";import"../../../icons/customIcons/icons/Radius.js";import"../../../icons/customIcons/icons/ErrorOps.js";import"../../../icons/customIcons/icons/DataTypeOps.js";import"../../../icons/customIcons/icons/FalsePositiveOps.js";import"../../../icons/customIcons/icons/CalibrationOps.js";import"../../../icons/customIcons/icons/CriticalOps.js";import"../../../icons/customIcons/icons/Company.js";import"../../../icons/customIcons/icons/ArchiveOne.js";import"../../../icons/customIcons/icons/ParseBotFusion.js";import"../../../icons/customIcons/icons/Connect.js";import"../../../icons/customIcons/icons/PuzzleOne.js";import"../../../icons/customIcons/icons/Feed.js";import"../../../icons/customIcons/icons/Prompt.js";import"../../../icons/customIcons/icons/Companies.js";import"../../../icons/customIcons/icons/ClipboardAi.js";import"../../../icons/customIcons/icons/Key.js";import"../../../icons/customIcons/icons/AtSignCrossed.js";import"../../../icons/customIcons/icons/MappingManual.js";import"../../../icons/customIcons/icons/Mapping.js";import"../../../icons/customIcons/icons/Metrics.js";import"../../../icons/customIcons/icons/Drops.js";import"../../../icons/customIcons/icons/ClipboardSearch.js";import"../../../icons/customIcons/icons/Template.js";import"../../../icons/customIcons/icons/ClipboardMetrics.js";import"../../../icons/customIcons/icons/ClipboardBuilder.js";import"../../../icons/customIcons/icons/UnitConversion.js";import"../../../icons/customIcons/icons/NPT.js";import"../../../icons/customIcons/icons/GuidedFrac.js";import"../../utils.js";import"../../Hint/Hint.scss.js";import"../../Counter/Counter.js";import"../../BadgeBase/BadgeBase.scss.js";import"../../TemplatesControl/TemplatesControl.js";import"zustand";import"../../TemplatesControl/utils.js";import"../../TemplatesControl/icons/folder/index.js";import"../../TemplatesControl/Store/utils.js";import"@babel/runtime/helpers/asyncToGenerator";import"@babel/runtime/regenerator";import"../../TemplatesControl/types.js";import"../../../utils/index.js";import"../../../clients/jsonApi/index.js";import"../../../permissions/PermissionsContext.js";import"../../../permissions/constants/index.js";import"../../../permissions/withPermissionsHOC.js";import"../../../permissions/ProvidePermissions.js";import"../../BadgeDot/BadgeDot.scss.js";import"../../LoaderLinear/LoaderLinear.scss.js";import"../../LoaderLogo/LoaderLogo.constants.js";import"../../LoaderLogo/LoaderLogo.scss.js";import"../../Switch/Switch.js";import"../../Tabs/Tabs.js";import"../../EmptyState/EmptyState.scss.js";import"../../FileIcon/FileIcon.js";import"../../Tag/Tag.js";import"react-dropzone";import"../../FilesDropzone/FilesDropzone.scss.js";import"../../FilesLoader/FilesLoader.scss.js";import"../../FilesProcessor/FilesProcessor.scss.js";import"../../Skeleton/Skeleton.scss.js";import"../../../utils/main.js";import"../../CopyToClipboard/CopyToClipboard.scss.js";import"../../Stepper/Step/Step.scss.js";import"../../Stepper/Stepper.scss.js";import"../../ButtonLive/ButtonLive.js";import"../../ButtonText/ButtonText.js";import"../../IndicatorLive/IndicatorLive.js";import"../../Accordion/Accordion.scss.js";import"../../Breadcrumbs/Breadcrumbs.scss.js";import"../../BadgeComment/BadgeComment.js";import"../../AppContainer/AppContainer.js";import"../../AppContainer/AppContainer.constants.js";import"../../AppFooter/AppFooter.js";import"immutable";import"query-string";import"../../../constants/goals.js";import"../../../constants/segment.js";import"../../../constants/alerts.js";import"../../../constants/apps.js";import"../../../constants/drillstring.js";import"../../../constants/completion.js";import"../../../constants/appPackages.js";import"../../../constants/notifications.js";import"../../../constants/feed.js";import"../../../constants/bha.js";import"../../../constants/corvaCompanyId.js";import"../../../components/GradientManager/configuration/constants.js";import"../../AppCommonsProvider/AppCommonsContext.js";import"../../AppHeader/AppHeader.constants.js";import"../../AppHeader/AppBadge/AppBadge.scss.js";import"../../../components/DevCenter/DevCenterRouterContext/DevCenterRouterContext.js";import"../../../components/DevCenter/DevCenterRouterContext/UniversalLink/UniversalLink.js";import"react-router-dom";import"../../AppHeader/AppAssets/utils.js";import"../../AppHeader/AppAssets/AppAssets.scss.js";import"../../../components/PadModeSelect/PadModeSelect.js";import"../../AppHeader/PadMode/PadMode.scss.js";import"../../../constants/streamSourceType.js";import"../../PadModeSelect/PadModeSelect.js";import"../../PadModeSelect/PadModeSelect.constants.js";import"../../AppCommonsProvider/AppCommonsProvider.js";import"../../../utils/mobileDetect.js";import"../../AppHeader/V3/VersionSelect/VersionSelect.js";import"../../UniversalLink/UniversalLink.scss.js";import"../../AppHeader/V3/AssetChips/AssetChips.scss.js";import"moment";import"../../AppHeader/V3/DqStatusIcon/DqStatusIcon.js";import"../../AppHeader/V3/DqStatusIcon/DqStatusIcon.constants.js";import"../../AppFooter/DqPopover/DqStatusIcon/DqStatusIcon.js";import"../../AppDqPopover/DqAlertTooltip/DqAlertTooltip.scss.js";import"../../AppDqPopover/DqAlert/DqAlert.scss.js";import"../../AppDqPopover/DqAsset/DqAsset.scss.js";import"../../AppDqPopover/AppDqPopover.scss.js";import"../../../components/AppIcon/AppIcon.js";import"../../../utils/getSingleAsset.js";import"../../AppHeader/V3/AssetSelector/AssetSelectorChip/AssetSelectorChip.js";import"../../AppHeader/V3/AssetSelector/constants.js";import"../../AppHeader/V3/AssetSelector/AssetSelectorSelect/AssetSelectorSelect.scss.js";import"../../AppHeader/V3/AssetSelector/AssetSelectorSelect/loadAssets.js";import"../../AppHeader/V3/AssetSelector/AssetSelector.scss.js";import"../../../clients/subscriptions/constants.js";import"querystring";import"uuid/v1";import"../../../clients/subscriptions.v1.js";import"../../../clients/subscriptions/subscriptions-client.factory.js";import"jsona";import"../../../utils/env.js";import"../../../components/StatusBadge/constants.js";import"lodash/set";import"lodash/get";import"lodash/unset";import"../../../clients/api/apiCore.js";import"../../../clients/constants.js";import"../../../clients/sso/auth0.js";import"../../../clients/sso/oauth2.js";import"../../../clients/api/rateLimiter.js";import"lodash/isEmpty";import"lodash/sortBy";import"../../../components/DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchContext.js";import"../../AppSettings/AppSettingsPinningContext.js";import"../../AppHeader/V3/AppTitle/AppTitle.constants.js";import"../../AppHeader/V3/AppTitle/AppTitle.scss.js";import"../../AppHeader/V3/constants.scss.js";import"@babel/runtime/helpers/typeof";import"../../AppHeader/V3/SettingsButton/SettingsButton.js";import"../../AppHeader/V3/SettingsButton/SettingsButton.constants.js";import"../../AppSettings/AppSettings.js";import"../../AppSettings/AppSettings.constants.js";import"../../AppSizeProvider/AppSizeProvider.js";import"../../AppHeader/V3/Actions/Actions.constants.js";import"../../AppHeader/V3/Actions/Actions.scss.js";import"../../AppHeader/V3/AppHeaderV3.scss.js";import"../../AppHeader/AppHeader.scss.js";import"../../OffsetWellsButton/OffsetWellsButton.js";import"../../Autocomplete/Autocomplete.js";import"../../Select/Select.js";import"../../AppSettingsDivider/AppSettingsDivider.scss.js";import"../../WellArchivedMessage/WellArchivedMessage.js";import"../../DatePicker/DatePicker.js";import"../../DragHandle/DragHandle.js";import"../CompletionsOffsetWellPicker.js";import"../../Slider/constants.js";import"../../Slider/components/SliderThumb.js";import"../../Slider/Slider.scss.js";import"react-color";import"../../ColorPicker/Swatches/Swatches.scss.js";import"../../ColorPicker/OpacityDragtracker/OpacityDragTracker.scss.js";import"../../ColorPicker/ColorPicker.scss.js";import m from"../../../components/OffsetWellMap/OffsetWellMap.js";import a from"./Map.scss.js";function l(s,o){var t=Object.keys(s);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(s);o&&(i=i.filter((function(o){return Object.getOwnPropertyDescriptor(s,o).enumerable}))),t.push.apply(t,i)}return t}function j(s){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?l(Object(i),!0).forEach((function(t){o(s,t,i[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(i)):l(Object(i)).forEach((function(o){Object.defineProperty(s,o,Object.getOwnPropertyDescriptor(i,o))}))}return s}var u=e((function(o){var e=o.well,l=o.wells,u=o.pads,d=o.selectedOffsetWellsIds,A=o.onOffsetWellIdsSelect,I=o.radiusMiles,C=o.setFilters,S=o.maxRadiusInMiles,v=r((function(){return u?u.flatMap((function(s){return s.wells})):[]}),[u]),f=r((function(){return e?j({},v.find((function(s){return s.id.toString()===e.id.toString()}))):l?j({},v.find((function(s){return s.id.toString()===l[0].id.toString()}))):void 0}),[v,e,l]),g=n((function(o){var t=u.find((function(s){return s.wells.some((function(s){return s.id===o}))})),i=t?t.wells.map((function(s){return s.id})):[],e=d.some((function(s){return i.includes(s)}));A(e?d.filter((function(s){return!i.includes(s)})):[].concat(s(d),s(i)))}),[A,u,d]),h=n((function(s){var o=""===s?void 0:Number(s);C((function(s){return j(j({},s),{},{radiusMiles:o})}))}),[C]);return t("div",{className:a.map,children:[t("div",{className:a.radiusContainer,children:[i(c,{color:"T6",children:"Radius (mi):"}),i(p,{className:a.textInputWrapper,value:null!=I?I:"",placeholder:"0",onChange:h,inputType:"number",htmlAttributes:{min:0,max:S}})]}),i(m,{classes:{root:a.offsetWellMapRoot,map:a.offsetWellMapRoot},isClickable:!0,isViewOnly:!1,subjectWell:f,wells:v,offsetWellIds:d,radius:null!=I?I:0,activeWellId:(null==f?void 0:f.id)||0,handleChangeOffsetWell:function(s){return s&&g(s.id)}})]})}));export{u as default};
1
+ import s from"@babel/runtime/helpers/toConsumableArray";import o from"@babel/runtime/helpers/defineProperty";import{jsxs as t,jsx as i}from"react/jsx-runtime";import{memo as e,useMemo as r,useCallback as n}from"react";import{Text as c}from"../../Text/Text.js";import"../../Grid/Grid.js";import"../../Grid/Cell.js";import"classnames";import"../../Header/Header.scss.js";import"../../Button/Button.js";import"../../ButtonIcon/ButtonIcon.js";import"@babel/runtime/helpers/objectWithoutProperties";import"@material-ui/core";import"../../../components/DevCenter/DevCenterAppContainer/components/IsInsideIsolatedDcAppProvider/IsInsideIsolatedDcAppProvider.js";import"../../../components/DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/IsInsideDcFullscreenElemProvider.js";import"../../../components/DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/DcFullscreenElemsCoordinatorProvider.js";import"@babel/runtime/helpers/slicedToArray";import"uuid";import"../../Tooltip/Tooltip.scss.js";import"../../Popover/Popover.js";import"../../PopoverPanel/PopoverPanel.js";import"../../Radio/Radio.js";import"../../RadioAndCheckboxGroup/RadioAndCheckboxGroup.scss.js";import"../../Checkbox/Checkbox.js";import{TextInput as p}from"../../TextInput/TextInput.js";import"../../TextInputNext/TextInputNext.js";import"../../Label/Label.js";import"lodash";import"../../TextEndTruncated/TextEndTruncated.scss.js";import"../../TextMiddleTruncated/TextMiddleTruncated.constants.js";import"../../TextMiddleTruncated/TextMiddleTruncated.scss.js";import"../../TextLink/TextLink.js";import"../../Chip/Chip.js";import"../../ChipAlert/ChipAlert.js";import"../../ChipIndicator/ChipIndicator.js";import"../../Avatar/Avatar.js";import"../../AvatarGroup/AvatarGroup.js";import"@material-ui/lab";import"../../ToggleButtons/ToggleButtons.scss.js";import"../../Paper/Paper.js";import"../../ModalWindow/ModalWindow.js";import"../../Modal/Modal.scss.js";import"../../Menu/Menu.js";import"@icon-park/react/es/all";import"../../../icons/IconParkProvider.js";import"../../../icons/customIcons/icons/AddMessage.js";import"../../../icons/customIcons/icons/Attention.js";import"../../../icons/customIcons/icons/Collapse.js";import"../../../icons/customIcons/icons/Dashboard.js";import"../../../icons/customIcons/icons/Expand.js";import"../../../icons/customIcons/icons/FolderClosed.js";import"../../../icons/customIcons/icons/FolderClosedFilled.js";import"../../../icons/customIcons/icons/FolderOpened.js";import"../../../icons/customIcons/icons/GreaterOrEqual.js";import"../../../icons/customIcons/icons/LessOrEqual.js";import"../../../icons/customIcons/icons/Search.js";import"../../../icons/customIcons/icons/SearchOne.js";import"../../../icons/customIcons/icons/Wellhub.js";import"../../../icons/customIcons/icons/MultiRuler.js";import"../../../icons/customIcons/icons/Checkbox.js";import"../../../icons/customIcons/icons/CheckboxChecked.js";import"../../../icons/customIcons/icons/CheckboxIndeterminate.js";import"../../../icons/customIcons/icons/Radio.js";import"../../../icons/customIcons/icons/RadioChecked.js";import"../../../icons/customIcons/icons/SimulFrac.js";import"../../../icons/customIcons/icons/ZipperFrac.js";import"../../../icons/customIcons/icons/CautionFilled.js";import"../../../icons/customIcons/icons/MoreApp.js";import"../../../icons/customIcons/icons/Pad.js";import"../../../icons/customIcons/icons/DrilloutUnit.js";import"../../../icons/customIcons/icons/FracFleet.js";import"../../../icons/customIcons/icons/Global.js";import"../../../icons/customIcons/icons/Program.js";import"../../../icons/customIcons/icons/Rig.js";import"../../../icons/customIcons/icons/Well.js";import"../../../icons/customIcons/icons/Gap.js";import"../../../icons/customIcons/icons/Pin.js";import"../../../icons/customIcons/icons/CloseOneFilled.js";import"../../../icons/customIcons/icons/AttentionFilled.js";import"../../../icons/customIcons/icons/CheckOneFilled.js";import"../../../icons/customIcons/icons/Archive.js";import"../../../icons/customIcons/icons/ArchiveCancel.js";import"../../../icons/customIcons/icons/Unarchive.js";import"../../../icons/customIcons/icons/Archived.js";import"../../../icons/customIcons/icons/InterventionUnit.js";import"../../../icons/customIcons/icons/CloudDelete.js";import"../../../icons/customIcons/icons/Lasso.js";import"../../../icons/customIcons/icons/Radius.js";import"../../../icons/customIcons/icons/ErrorOps.js";import"../../../icons/customIcons/icons/DataTypeOps.js";import"../../../icons/customIcons/icons/FalsePositiveOps.js";import"../../../icons/customIcons/icons/CalibrationOps.js";import"../../../icons/customIcons/icons/CriticalOps.js";import"../../../icons/customIcons/icons/Company.js";import"../../../icons/customIcons/icons/ArchiveOne.js";import"../../../icons/customIcons/icons/ParseBotFusion.js";import"../../../icons/customIcons/icons/Connect.js";import"../../../icons/customIcons/icons/PuzzleOne.js";import"../../../icons/customIcons/icons/Feed.js";import"../../../icons/customIcons/icons/Prompt.js";import"../../../icons/customIcons/icons/Companies.js";import"../../../icons/customIcons/icons/ClipboardAi.js";import"../../../icons/customIcons/icons/Key.js";import"../../../icons/customIcons/icons/AtSignCrossed.js";import"../../../icons/customIcons/icons/MappingManual.js";import"../../../icons/customIcons/icons/Mapping.js";import"../../../icons/customIcons/icons/Metrics.js";import"../../../icons/customIcons/icons/Drops.js";import"../../../icons/customIcons/icons/ClipboardSearch.js";import"../../../icons/customIcons/icons/Template.js";import"../../../icons/customIcons/icons/ClipboardMetrics.js";import"../../../icons/customIcons/icons/ClipboardBuilder.js";import"../../../icons/customIcons/icons/UnitConversion.js";import"../../../icons/customIcons/icons/NPT.js";import"../../../icons/customIcons/icons/GuidedFrac.js";import"../../utils.js";import"../../Hint/Hint.scss.js";import"../../Counter/Counter.js";import"../../BadgeBase/BadgeBase.scss.js";import"../../TemplatesControl/TemplatesControl.js";import"zustand";import"../../TemplatesControl/utils.js";import"../../TemplatesControl/icons/folder/index.js";import"../../TemplatesControl/Store/utils.js";import"@babel/runtime/helpers/asyncToGenerator";import"@babel/runtime/regenerator";import"../../TemplatesControl/types.js";import"../../../utils/index.js";import"../../../clients/jsonApi/index.js";import"../../../permissions/PermissionsContext.js";import"../../../permissions/constants/index.js";import"../../../permissions/withPermissionsHOC.js";import"../../../permissions/ProvidePermissions.js";import"../../BadgeDot/BadgeDot.scss.js";import"../../LoaderLinear/LoaderLinear.scss.js";import"../../LoaderLogo/LoaderLogo.constants.js";import"../../LoaderLogo/LoaderLogo.scss.js";import"../../Switch/Switch.js";import"../../Tabs/Tabs.js";import"../../EmptyState/EmptyState.scss.js";import"../../FileIcon/FileIcon.js";import"../../Tag/Tag.js";import"react-dropzone";import"../../FilesDropzone/FilesDropzone.scss.js";import"../../FilesLoader/FilesLoader.scss.js";import"file-extension";import"image-extensions";import"video-extensions";import"../../FilesProcessor/FilesProcessor.scss.js";import"../../Skeleton/Skeleton.scss.js";import"../../../utils/main.js";import"../../CopyToClipboard/CopyToClipboard.scss.js";import"../../Stepper/Step/Step.scss.js";import"../../Stepper/Stepper.scss.js";import"../../ButtonLive/ButtonLive.js";import"../../ButtonText/ButtonText.js";import"../../IndicatorLive/IndicatorLive.js";import"../../Accordion/Accordion.scss.js";import"../../Breadcrumbs/Breadcrumbs.scss.js";import"../../BadgeComment/BadgeComment.js";import"../../AppContainer/AppContainer.js";import"../../AppContainer/AppContainer.constants.js";import"../../AppFooter/AppFooter.js";import"immutable";import"query-string";import"../../../constants/goals.js";import"../../../constants/segment.js";import"../../../constants/alerts.js";import"../../../constants/apps.js";import"../../../constants/drillstring.js";import"../../../constants/completion.js";import"../../../constants/appPackages.js";import"../../../constants/notifications.js";import"../../../constants/feed.js";import"../../../constants/bha.js";import"../../../constants/corvaCompanyId.js";import"../../../components/GradientManager/configuration/constants.js";import"../../AppCommonsProvider/AppCommonsContext.js";import"../../AppHeader/AppHeader.constants.js";import"../../AppHeader/AppBadge/AppBadge.scss.js";import"../../../components/DevCenter/DevCenterRouterContext/DevCenterRouterContext.js";import"../../../components/DevCenter/DevCenterRouterContext/UniversalLink/UniversalLink.js";import"react-router-dom";import"../../AppHeader/AppAssets/utils.js";import"../../AppHeader/AppAssets/AppAssets.scss.js";import"../../../components/PadModeSelect/PadModeSelect.js";import"../../AppHeader/PadMode/PadMode.scss.js";import"../../../constants/streamSourceType.js";import"../../PadModeSelect/PadModeSelect.js";import"../../PadModeSelect/PadModeSelect.constants.js";import"../../AppCommonsProvider/AppCommonsProvider.js";import"../../../utils/mobileDetect.js";import"../../AppHeader/V3/VersionSelect/VersionSelect.js";import"../../UniversalLink/UniversalLink.scss.js";import"../../AppHeader/V3/AssetChips/AssetChips.scss.js";import"moment";import"../../AppHeader/V3/DqStatusIcon/DqStatusIcon.js";import"../../AppHeader/V3/DqStatusIcon/DqStatusIcon.constants.js";import"../../AppFooter/DqPopover/DqStatusIcon/DqStatusIcon.js";import"../../AppDqPopover/DqAlertTooltip/DqAlertTooltip.scss.js";import"../../AppDqPopover/DqAlert/DqAlert.scss.js";import"../../AppDqPopover/DqAsset/DqAsset.scss.js";import"../../AppDqPopover/AppDqPopover.scss.js";import"../../../components/AppIcon/AppIcon.js";import"../../../utils/getSingleAsset.js";import"../../AppHeader/V3/AssetSelector/AssetSelectorChip/AssetSelectorChip.js";import"../../AppHeader/V3/AssetSelector/constants.js";import"../../AppHeader/V3/AssetSelector/AssetSelectorSelect/AssetSelectorSelect.scss.js";import"../../AppHeader/V3/AssetSelector/AssetSelectorSelect/loadAssets.js";import"../../AppHeader/V3/AssetSelector/AssetSelector.scss.js";import"../../../clients/subscriptions/constants.js";import"querystring";import"uuid/v1";import"../../../clients/subscriptions.v1.js";import"../../../clients/subscriptions/subscriptions-client.factory.js";import"jsona";import"../../../utils/env.js";import"../../../components/StatusBadge/constants.js";import"lodash/set";import"lodash/get";import"lodash/unset";import"../../../clients/api/apiCore.js";import"../../../clients/constants.js";import"../../../clients/sso/auth0.js";import"../../../clients/sso/oauth2.js";import"../../../clients/api/rateLimiter.js";import"lodash/isEmpty";import"lodash/sortBy";import"../../../components/DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchContext.js";import"../../AppSettings/AppSettingsPinningContext.js";import"../../AppHeader/V3/AppTitle/AppTitle.constants.js";import"../../AppHeader/V3/AppTitle/AppTitle.scss.js";import"../../AppHeader/V3/constants.scss.js";import"@babel/runtime/helpers/typeof";import"../../AppHeader/V3/SettingsButton/SettingsButton.js";import"../../AppHeader/V3/SettingsButton/SettingsButton.constants.js";import"../../AppSettings/AppSettings.js";import"../../AppSettings/AppSettings.constants.js";import"../../AppSizeProvider/AppSizeProvider.js";import"../../AppHeader/V3/Actions/Actions.constants.js";import"../../AppHeader/V3/Actions/Actions.scss.js";import"../../AppHeader/V3/AppHeaderV3.scss.js";import"../../AppHeader/AppHeader.scss.js";import"../../OffsetWellsButton/OffsetWellsButton.js";import"../../Autocomplete/Autocomplete.js";import"../../Select/Select.js";import"../../AppSettingsDivider/AppSettingsDivider.scss.js";import"../../WellArchivedMessage/WellArchivedMessage.js";import"../../DatePicker/DatePicker.js";import"../../DragHandle/DragHandle.js";import"../CompletionsOffsetWellPicker.js";import"../../Slider/constants.js";import"../../Slider/components/SliderThumb.js";import"../../Slider/Slider.scss.js";import"react-color";import"../../ColorPicker/Swatches/Swatches.scss.js";import"../../ColorPicker/OpacityDragtracker/OpacityDragTracker.scss.js";import"../../ColorPicker/ColorPicker.scss.js";import m from"../../../components/OffsetWellMap/OffsetWellMap.js";import a from"./Map.scss.js";function l(s,o){var t=Object.keys(s);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(s);o&&(i=i.filter((function(o){return Object.getOwnPropertyDescriptor(s,o).enumerable}))),t.push.apply(t,i)}return t}function j(s){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?l(Object(i),!0).forEach((function(t){o(s,t,i[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(i)):l(Object(i)).forEach((function(o){Object.defineProperty(s,o,Object.getOwnPropertyDescriptor(i,o))}))}return s}var u=e((function(o){var e=o.well,l=o.wells,u=o.pads,d=o.selectedOffsetWellsIds,A=o.onOffsetWellIdsSelect,I=o.radiusMiles,C=o.setFilters,v=o.maxRadiusInMiles,S=r((function(){return u?u.flatMap((function(s){return s.wells})):[]}),[u]),f=r((function(){return e?j({},S.find((function(s){return s.id.toString()===e.id.toString()}))):l?j({},S.find((function(s){return s.id.toString()===l[0].id.toString()}))):void 0}),[S,e,l]),g=n((function(o){var t=u.find((function(s){return s.wells.some((function(s){return s.id===o}))})),i=t?t.wells.map((function(s){return s.id})):[],e=d.some((function(s){return i.includes(s)}));A(e?d.filter((function(s){return!i.includes(s)})):[].concat(s(d),s(i)))}),[A,u,d]),h=n((function(s){var o=""===s?void 0:Number(s);C((function(s){return j(j({},s),{},{radiusMiles:o})}))}),[C]);return t("div",{className:a.map,children:[t("div",{className:a.radiusContainer,children:[i(c,{color:"T6",children:"Radius (mi):"}),i(p,{className:a.textInputWrapper,value:null!=I?I:"",placeholder:"0",onChange:h,inputType:"number",htmlAttributes:{min:0,max:v}})]}),i(m,{classes:{root:a.offsetWellMapRoot,map:a.offsetWellMapRoot},isClickable:!0,isViewOnly:!1,subjectWell:f,wells:S,offsetWellIds:d,radius:null!=I?I:0,activeWellId:(null==f?void 0:f.id)||0,handleChangeOffsetWell:function(s){return s&&g(s.id)}})]})}));export{u as default};
2
2
  //# sourceMappingURL=Map.js.map
@@ -1,6 +1,7 @@
1
1
  import { ReactNode } from 'react';
2
2
  export type FilesLoaderProps = {
3
- name: string;
3
+ name?: string;
4
+ preview?: File | string;
4
5
  indeterminate?: boolean;
5
6
  complete?: boolean;
6
7
  /**
@@ -38,5 +39,5 @@ export type FilesLoaderProps = {
38
39
  className?: string;
39
40
  testId?: string;
40
41
  };
41
- export declare const FilesLoader: ({ formatProgress: propsFormatProgress, className, name, current, total, error, onCancel, onReload, onDelete, indeterminate, complete, testId, }: FilesLoaderProps) => JSX.Element;
42
+ export declare const FilesLoader: ({ formatProgress: propsFormatProgress, className, name, current, total, error, onCancel, onReload, onDelete, indeterminate, complete, testId, preview, }: FilesLoaderProps) => JSX.Element;
42
43
  //# sourceMappingURL=FilesLoader.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"FilesLoader.d.ts","sourceRoot":"","sources":["../../../src/componentsV2/FilesLoader/FilesLoader.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAgBlC,MAAM,MAAM,gBAAgB,GAAG;IAC7B,IAAI,EAAE,MAAM,CAAC;IACb,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB;;;;;;OAMG;IACH,cAAc,CAAC,EAAE,CAAC,KAAK,CAAC,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,KAAK,SAAS,CAAC;IACjE,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,eAAO,MAAM,WAAW,GAAI,iJAczB,gBAAgB,gBAoElB,CAAC"}
1
+ {"version":3,"file":"FilesLoader.d.ts","sourceRoot":"","sources":["../../../src/componentsV2/FilesLoader/FilesLoader.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAkBlC,MAAM,MAAM,gBAAgB,GAAG;IAC7B,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd,OAAO,CAAC,EAAE,IAAI,GAAG,MAAM,CAAC;IACxB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB;;;;;;OAMG;IACH,cAAc,CAAC,EAAE,CAAC,KAAK,CAAC,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,KAAK,SAAS,CAAC;IACjE,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,eAAO,MAAM,WAAW,GAAI,0JAezB,gBAAgB,gBA2ElB,CAAC"}
@@ -1,2 +1,2 @@
1
- import{jsxs as o,jsx as s,Fragment as c}from"react/jsx-runtime";import i from"classnames";import{FileIcon as n}from"../FileIcon/FileIcon.js";import{Text as t}from"../Text/Text.js";import{TextMiddleTruncated as r}from"../TextMiddleTruncated/TextMiddleTruncated.js";import"../TextMiddleTruncated/TextMiddleTruncated.constants.js";import{LoaderLinear as m}from"../LoaderLinear/LoaderLinear.js";import{ButtonIcon as e}from"../ButtonIcon/ButtonIcon.js";import{Tooltip as p}from"../Tooltip/Tooltip.js";import{formatSizeProgress as l}from"./utils.js";import u from"./FilesLoader.scss.js";import{CloseIcon as a,DeleteFourIcon as j,RedoIcon as I}from"../../icons/iconParkIcons.js";import"../../icons/customIcons/icons/AddMessage.js";import"../../icons/customIcons/icons/Attention.js";import"../../icons/customIcons/icons/Collapse.js";import"../../icons/customIcons/icons/Dashboard.js";import"../../icons/customIcons/icons/Expand.js";import"../../icons/customIcons/icons/FolderClosed.js";import"../../icons/customIcons/icons/FolderClosedFilled.js";import"../../icons/customIcons/icons/FolderOpened.js";import"../../icons/customIcons/icons/GreaterOrEqual.js";import"../../icons/customIcons/icons/LessOrEqual.js";import"../../icons/customIcons/icons/Search.js";import"../../icons/customIcons/icons/SearchOne.js";import"../../icons/customIcons/icons/Wellhub.js";import"../../icons/customIcons/icons/MultiRuler.js";import"../../icons/customIcons/icons/Checkbox.js";import"../../icons/customIcons/icons/CheckboxChecked.js";import"../../icons/customIcons/icons/CheckboxIndeterminate.js";import"../../icons/customIcons/icons/Radio.js";import"../../icons/customIcons/icons/RadioChecked.js";import"../../icons/customIcons/icons/SimulFrac.js";import"../../icons/customIcons/icons/ZipperFrac.js";import{CautionFilledCustomIcon as d}from"../../icons/customIcons/icons/CautionFilled.js";import"../../icons/customIcons/icons/MoreApp.js";import"../../icons/customIcons/icons/Pad.js";import"../../icons/customIcons/icons/DrilloutUnit.js";import"../../icons/customIcons/icons/FracFleet.js";import"../../icons/customIcons/icons/Global.js";import"../../icons/customIcons/icons/Program.js";import"../../icons/customIcons/icons/Rig.js";import"../../icons/customIcons/icons/Well.js";import"../../icons/customIcons/icons/Gap.js";import"../../icons/customIcons/icons/Pin.js";import"../../icons/customIcons/icons/CloseOneFilled.js";import"../../icons/customIcons/icons/AttentionFilled.js";import"../../icons/customIcons/icons/CheckOneFilled.js";import"../../icons/customIcons/icons/Archive.js";import"../../icons/customIcons/icons/ArchiveCancel.js";import"../../icons/customIcons/icons/Unarchive.js";import"../../icons/customIcons/icons/Archived.js";import"../../icons/customIcons/icons/InterventionUnit.js";import"../../icons/customIcons/icons/CloudDelete.js";import"../../icons/customIcons/icons/Lasso.js";import"../../icons/customIcons/icons/Radius.js";import"../../icons/customIcons/icons/ErrorOps.js";import"../../icons/customIcons/icons/DataTypeOps.js";import"../../icons/customIcons/icons/FalsePositiveOps.js";import"../../icons/customIcons/icons/CalibrationOps.js";import"../../icons/customIcons/icons/CriticalOps.js";import"../../icons/customIcons/icons/Company.js";import"../../icons/customIcons/icons/ArchiveOne.js";import"../../icons/customIcons/icons/ParseBotFusion.js";import"../../icons/customIcons/icons/Connect.js";import"../../icons/customIcons/icons/PuzzleOne.js";import"../../icons/customIcons/icons/Feed.js";import"../../icons/customIcons/icons/Prompt.js";import"../../icons/customIcons/icons/Companies.js";import"../../icons/customIcons/icons/ClipboardAi.js";import"../../icons/customIcons/icons/Key.js";import"../../icons/customIcons/icons/AtSignCrossed.js";import"../../icons/customIcons/icons/MappingManual.js";import"../../icons/customIcons/icons/Mapping.js";import"../../icons/customIcons/icons/Metrics.js";import"../../icons/customIcons/icons/Drops.js";import"../../icons/customIcons/icons/ClipboardSearch.js";import"../../icons/customIcons/icons/Template.js";import"../../icons/customIcons/icons/ClipboardMetrics.js";import"../../icons/customIcons/icons/ClipboardBuilder.js";import"../../icons/customIcons/icons/UnitConversion.js";import"../../icons/customIcons/icons/NPT.js";import"../../icons/customIcons/icons/GuidedFrac.js";var h=function(h){var C=h.formatProgress,F=h.className,v=h.name,T=h.current,f=h.total,M=h.error,x=h.onCancel,O=h.onReload,b=h.onDelete,k=h.indeterminate,z=h.complete,A=h.testId,P=C||l,g=!k&&void 0!==f&&void 0!==T,N=g?Math.min(100,Math.ceil(T/f*100)):void 0;return o("div",{className:i(u.root,F),"data-testid":A,children:[s(n,{name:v,className:u.icon}),o("div",{className:u.content,children:[s(t,{size:14,children:s(r,{children:v})}),!M&&!z&&o(c,{children:[s(m,{className:u.progressBar,value:N}),g&&o("div",{className:u.progressTextContainer,children:[s(t,{size:12,color:"T6",children:P(f,T)}),o(t,{size:12,color:"T6",children:[N,"%"]})]})]}),M&&o(t,{size:14,className:u.error,children:[s(d,{size:16}),M]})]}),x&&!M&&!z&&s(p,{title:"Cancel",children:s(e,{onClick:x,size:"small",children:s(a,{})})}),b&&(M||z)&&s(p,{title:"Remove File",children:s(e,{onClick:b,size:"small",children:s(j,{})})}),O&&M&&s(p,{title:"Reload",children:s(e,{onClick:O,size:"small",children:s(I,{})})})]})};export{h as FilesLoader};
1
+ import{jsxs as o,jsx as s,Fragment as c}from"react/jsx-runtime";import i from"classnames";import{FileIcon as n}from"../FileIcon/FileIcon.js";import{Text as t}from"../Text/Text.js";import{TextMiddleTruncated as r}from"../TextMiddleTruncated/TextMiddleTruncated.js";import"../TextMiddleTruncated/TextMiddleTruncated.constants.js";import{LoaderLinear as m}from"../LoaderLinear/LoaderLinear.js";import{ButtonIcon as e}from"../ButtonIcon/ButtonIcon.js";import{Tooltip as u}from"../Tooltip/Tooltip.js";import{formatSizeProgress as p}from"./utils.js";import{PreviewImage as l}from"./PreviewImage.js";import a from"./FilesLoader.scss.js";import{CloseIcon as j,DeleteFourIcon as I,RedoIcon as d}from"../../icons/iconParkIcons.js";import"../../icons/customIcons/icons/AddMessage.js";import"../../icons/customIcons/icons/Attention.js";import"../../icons/customIcons/icons/Collapse.js";import"../../icons/customIcons/icons/Dashboard.js";import"../../icons/customIcons/icons/Expand.js";import"../../icons/customIcons/icons/FolderClosed.js";import"../../icons/customIcons/icons/FolderClosedFilled.js";import"../../icons/customIcons/icons/FolderOpened.js";import"../../icons/customIcons/icons/GreaterOrEqual.js";import"../../icons/customIcons/icons/LessOrEqual.js";import"../../icons/customIcons/icons/Search.js";import"../../icons/customIcons/icons/SearchOne.js";import"../../icons/customIcons/icons/Wellhub.js";import"../../icons/customIcons/icons/MultiRuler.js";import"../../icons/customIcons/icons/Checkbox.js";import"../../icons/customIcons/icons/CheckboxChecked.js";import"../../icons/customIcons/icons/CheckboxIndeterminate.js";import"../../icons/customIcons/icons/Radio.js";import"../../icons/customIcons/icons/RadioChecked.js";import"../../icons/customIcons/icons/SimulFrac.js";import"../../icons/customIcons/icons/ZipperFrac.js";import{CautionFilledCustomIcon as F}from"../../icons/customIcons/icons/CautionFilled.js";import"../../icons/customIcons/icons/MoreApp.js";import"../../icons/customIcons/icons/Pad.js";import"../../icons/customIcons/icons/DrilloutUnit.js";import"../../icons/customIcons/icons/FracFleet.js";import"../../icons/customIcons/icons/Global.js";import"../../icons/customIcons/icons/Program.js";import"../../icons/customIcons/icons/Rig.js";import"../../icons/customIcons/icons/Well.js";import"../../icons/customIcons/icons/Gap.js";import"../../icons/customIcons/icons/Pin.js";import"../../icons/customIcons/icons/CloseOneFilled.js";import"../../icons/customIcons/icons/AttentionFilled.js";import"../../icons/customIcons/icons/CheckOneFilled.js";import"../../icons/customIcons/icons/Archive.js";import"../../icons/customIcons/icons/ArchiveCancel.js";import"../../icons/customIcons/icons/Unarchive.js";import"../../icons/customIcons/icons/Archived.js";import"../../icons/customIcons/icons/InterventionUnit.js";import"../../icons/customIcons/icons/CloudDelete.js";import"../../icons/customIcons/icons/Lasso.js";import"../../icons/customIcons/icons/Radius.js";import"../../icons/customIcons/icons/ErrorOps.js";import"../../icons/customIcons/icons/DataTypeOps.js";import"../../icons/customIcons/icons/FalsePositiveOps.js";import"../../icons/customIcons/icons/CalibrationOps.js";import"../../icons/customIcons/icons/CriticalOps.js";import"../../icons/customIcons/icons/Company.js";import"../../icons/customIcons/icons/ArchiveOne.js";import"../../icons/customIcons/icons/ParseBotFusion.js";import"../../icons/customIcons/icons/Connect.js";import"../../icons/customIcons/icons/PuzzleOne.js";import"../../icons/customIcons/icons/Feed.js";import"../../icons/customIcons/icons/Prompt.js";import"../../icons/customIcons/icons/Companies.js";import"../../icons/customIcons/icons/ClipboardAi.js";import"../../icons/customIcons/icons/Key.js";import"../../icons/customIcons/icons/AtSignCrossed.js";import"../../icons/customIcons/icons/MappingManual.js";import"../../icons/customIcons/icons/Mapping.js";import"../../icons/customIcons/icons/Metrics.js";import"../../icons/customIcons/icons/Drops.js";import"../../icons/customIcons/icons/ClipboardSearch.js";import"../../icons/customIcons/icons/Template.js";import"../../icons/customIcons/icons/ClipboardMetrics.js";import"../../icons/customIcons/icons/ClipboardBuilder.js";import"../../icons/customIcons/icons/UnitConversion.js";import"../../icons/customIcons/icons/NPT.js";import"../../icons/customIcons/icons/GuidedFrac.js";import{getIsImage as C}from"../../utils/fileExtension.js";var h=function(h){var D,v=h.formatProgress,f=h.className,x=h.name,T=h.current,M=h.total,z=h.error,A=h.onCancel,B=h.onReload,O=h.onDelete,b=h.indeterminate,g=h.complete,P=h.testId,k=h.preview,E=v||p,N=!b&&void 0!==M&&void 0!==T,R=N&&M>0?Math.min(100,Math.ceil(T/M*100)):void 0,L="string"==typeof k?k:null==k?void 0:k.name,S=x||L||"",y=null===(D=S.match(/((?:[\0-\t\x0B\f\x0E-\u2027\u202A-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])[0-9a-z\u017F\u212A]+)(?:\?(?:[\0-\t\x0B\f\x0E-\u2027\u202A-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*)?$/i))||void 0===D?void 0:D[1];return o("div",{className:i(a.root,f),"data-testid":P,children:[k&&C(y)?s(l,{image:k}):s(n,{name:S,size:Number(a.iconSize)}),o("div",{className:a.content,children:[s(t,{size:14,children:s(r,{children:S})}),!z&&!g&&o(c,{children:[s(m,{className:a.progressBar,value:R}),N&&o("div",{className:a.progressTextContainer,children:[s(t,{size:12,color:"T6",children:E(M,T)}),o(t,{size:12,color:"T6",children:[R,"%"]})]})]}),z&&o(t,{size:14,className:a.error,children:[s(F,{size:16}),z]})]}),A&&!z&&!g&&s(u,{title:"Cancel",children:s(e,{onClick:A,size:"small",children:s(j,{})})}),O&&(z||g)&&s(u,{title:"Remove File",children:s(e,{onClick:O,size:"small",children:s(I,{})})}),B&&z&&s(u,{title:"Reload",children:s(e,{onClick:B,size:"small",children:s(d,{})})})]})};export{h as FilesLoader};
2
2
  //# sourceMappingURL=FilesLoader.js.map
@@ -1,2 +1,2 @@
1
- import e from'./../../ext-esm/style-inject/dist/style-inject.es.js';var r={spacing:"8",root:"FilesLoader_root__qCFhw",icon:"FilesLoader_icon__XusHn",content:"FilesLoader_content__Hkoic",progressBar:"FilesLoader_progressBar__bNJgO",progressTextContainer:"FilesLoader_progressTextContainer__oXRm-",error:"FilesLoader_error__wmxqD"};e(".FilesLoader_root__qCFhw{align-items:center;border:1px solid rgb(from var(--palette-primary-text-1) r g b/.08);border-radius:8px;display:flex;flex-flow:row nowrap;gap:16px;justify-content:space-between;min-height:64px;padding:8px 16px;width:100%}.FilesLoader_icon__XusHn{height:32px;width:32px}.FilesLoader_content__Hkoic{flex-grow:1;min-width:1px}.FilesLoader_progressBar__bNJgO{margin:4px 0}.FilesLoader_progressTextContainer__oXRm-{display:flex;flex-flow:row nowrap;gap:16px;justify-content:space-between;min-width:1px}.FilesLoader_error__wmxqD{align-items:center;color:var(--palette-error-main);display:flex;flex-flow:row nowrap;gap:8px;line-height:16px;padding-top:4px}");export{r as default};
1
+ import e from'./../../ext-esm/style-inject/dist/style-inject.es.js';var r={spacing:"8",iconSize:"32",root:"FilesLoader_root__qCFhw",content:"FilesLoader_content__Hkoic",progressBar:"FilesLoader_progressBar__bNJgO",progressTextContainer:"FilesLoader_progressTextContainer__oXRm-",error:"FilesLoader_error__wmxqD",imagePreview:"FilesLoader_imagePreview__82xZU"};e(".FilesLoader_root__qCFhw{align-items:center;border:1px solid rgb(from var(--palette-primary-text-1) r g b/.08);border-radius:8px;display:flex;flex-flow:row nowrap;gap:16px;justify-content:space-between;min-height:64px;padding:8px 16px;width:100%}.FilesLoader_content__Hkoic{flex-grow:1;min-width:1px}.FilesLoader_progressBar__bNJgO{margin:4px 0}.FilesLoader_progressTextContainer__oXRm-{display:flex;flex-flow:row nowrap;gap:16px;justify-content:space-between;min-width:1px}.FilesLoader_error__wmxqD{align-items:center;color:var(--palette-error-main);display:flex;flex-flow:row nowrap;gap:8px;line-height:16px;padding-top:4px}.FilesLoader_imagePreview__82xZU{background-position:50%;background-size:cover;border-radius:6px;height:32px;width:32px}");export{r as default};
2
2
  //# sourceMappingURL=FilesLoader.scss.js.map
@@ -9,4 +9,5 @@ export declare const LoadingStates: () => JSX.Element;
9
9
  export declare const CompletedState: () => JSX.Element;
10
10
  export declare const ErrorState: () => JSX.Element;
11
11
  export declare const CustomProgressFormatting: () => JSX.Element;
12
+ export declare const WithPreviewImage: () => JSX.Element;
12
13
  //# sourceMappingURL=FilesLoader.stories.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"FilesLoader.stories.d.ts","sourceRoot":"","sources":["../../../src/componentsV2/FilesLoader/FilesLoader.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,uBAAuB,CAAC;AAC7C,OAAO,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAUvC,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAE5C,KAAK,KAAK,GAAG,cAAc,CAAC,OAAO,WAAW,CAAC,CAAC;AAEhD,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,KAAK,CAGrB,CAAC;AA4BF,eAAe,IAAI,CAAC;AAEpB,eAAO,MAAM,OAAO,GAAI,OAAO,KAAK,gBAA+B,CAAC;AAEpE,eAAO,MAAM,aAAa,mBAsBzB,CAAC;AAMF,eAAO,MAAM,cAAc,mBAa1B,CAAC;AAMF,eAAO,MAAM,UAAU,mBAatB,CAAC;AAMF,eAAO,MAAM,wBAAwB,mBAWpC,CAAC"}
1
+ {"version":3,"file":"FilesLoader.stories.d.ts","sourceRoot":"","sources":["../../../src/componentsV2/FilesLoader/FilesLoader.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,uBAAuB,CAAC;AAC7C,OAAO,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAUvC,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAE5C,KAAK,KAAK,GAAG,cAAc,CAAC,OAAO,WAAW,CAAC,CAAC;AAEhD,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,KAAK,CAGrB,CAAC;AA4BF,eAAe,IAAI,CAAC;AAEpB,eAAO,MAAM,OAAO,GAAI,OAAO,KAAK,gBAA+B,CAAC;AAEpE,eAAO,MAAM,aAAa,mBAsBzB,CAAC;AAMF,eAAO,MAAM,cAAc,mBAa1B,CAAC;AAMF,eAAO,MAAM,UAAU,mBAatB,CAAC;AAMF,eAAO,MAAM,wBAAwB,mBAWpC,CAAC;AAMF,eAAO,MAAM,gBAAgB,mBAc5B,CAAC"}
@@ -0,0 +1,5 @@
1
+ export type PreviewImageProps = {
2
+ image: File | string;
3
+ };
4
+ export declare const PreviewImage: ({ image }: PreviewImageProps) => JSX.Element;
5
+ //# sourceMappingURL=PreviewImage.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PreviewImage.d.ts","sourceRoot":"","sources":["../../../src/componentsV2/FilesLoader/PreviewImage.tsx"],"names":[],"mappings":"AAIA,MAAM,MAAM,iBAAiB,GAAG;IAC9B,KAAK,EAAE,IAAI,GAAG,MAAM,CAAC;CACtB,CAAC;AAEF,eAAO,MAAM,YAAY,GAAI,WAAW,iBAAiB,gBAcxD,CAAC"}
@@ -0,0 +1,2 @@
1
+ import{jsx as r}from"react/jsx-runtime";import{useMemo as e,useEffect as t}from"react";import o from"./FilesLoader.scss.js";var n=function(n){var c=n.image,i=e((function(){return"string"==typeof c?c:URL.createObjectURL(c)}),[c]);return t((function(){return function(){URL.revokeObjectURL(i)}}),[i]),r("div",{className:o.imagePreview,style:{backgroundImage:"url(".concat(i,")")}})};export{n as PreviewImage};
2
+ //# sourceMappingURL=PreviewImage.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PreviewImage.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,9 +1,11 @@
1
1
  import { FilesDropzoneProps } from '../FilesDropzone';
2
+ import { FilesLoaderProps } from '../FilesLoader';
2
3
  import { FilesProcessorFunction } from './types';
3
4
  import { ProcessorProps } from './Processor';
4
5
  type ValueItem = {
5
6
  id: string | number;
6
7
  name: string;
8
+ preview?: FilesLoaderProps['preview'];
7
9
  };
8
10
  type FilesProcessorProps<T> = {
9
11
  /**
@@ -23,9 +25,13 @@ type FilesProcessorProps<T> = {
23
25
  /**
24
26
  * Files list to display
25
27
  *
26
- * `type ValueItem = {id: string | number; name: string;};`
28
+ * `type ValueItem = {id: string | number; name: string; preview?: File | string};`
27
29
  */
28
30
  value?: ValueItem[];
31
+ /**
32
+ * Shows preview for images being processed and from `value` prop. Pass `preview` property to an item of `value`.
33
+ */
34
+ preview?: boolean;
29
35
  /**
30
36
  * Used in conjunction with `value`. Called when user presses "delete" button. If undefined - no button is shown
31
37
  * @param item
@@ -66,6 +72,6 @@ type FilesProcessorProps<T> = {
66
72
  className?: string;
67
73
  testId?: string;
68
74
  };
69
- export declare const FilesProcessor: <T extends object>({ multiple, accept, className, processFile, value, onDone, onDelete, maxFiles, maxSize, formatProgress, onProcessingFailure, onStartProcessing, testId, }: FilesProcessorProps<T>) => JSX.Element;
75
+ export declare const FilesProcessor: <T extends object>({ multiple, accept, className, processFile, value, onDone, onDelete, maxFiles, maxSize, formatProgress, onProcessingFailure, onStartProcessing, testId, preview, }: FilesProcessorProps<T>) => JSX.Element;
70
76
  export {};
71
77
  //# sourceMappingURL=FilesProcessor.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"FilesProcessor.d.ts","sourceRoot":"","sources":["../../../src/componentsV2/FilesProcessor/FilesProcessor.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAiB,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAGrE,OAAO,EAAE,sBAAsB,EAAkC,MAAM,SAAS,CAAC;AACjF,OAAO,EAAa,cAAc,EAAE,MAAM,aAAa,CAAC;AAIxD,KAAK,SAAS,GAAG;IACf,EAAE,EAAE,MAAM,GAAG,MAAM,CAAC;IACpB,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AASF,KAAK,mBAAmB,CAAC,CAAC,IAAI;IAC5B;;;;;;OAMG;IACH,WAAW,EAAE,sBAAsB,CAAC,CAAC,CAAC,CAAC;IAEvC;;;;OAIG;IACH,MAAM,EAAE,CAAC,OAAO,EAAE,CAAC,EAAE,KAAK,IAAI,CAAC;IAE/B;;;;OAIG;IACH,KAAK,CAAC,EAAE,SAAS,EAAE,CAAC;IAEpB;;;OAGG;IACH,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,CAAC;IAErC;;OAEG;IACH,iBAAiB,CAAC,EAAE,CAAC,KAAK,EAAE,IAAI,EAAE,KAAK,IAAI,CAAC;IAE5C;;OAEG;IACH,mBAAmB,CAAC,EAAE,CAAC,IAAI,EAAE,IAAI,EAAE,WAAW,CAAC,EAAE,OAAO,EAAE,KAAK,CAAC,EAAE,KAAK,KAAK,IAAI,CAAC;IAEjF;;OAEG;IACH,QAAQ,CAAC,EAAE,kBAAkB,CAAC,UAAU,CAAC,CAAC;IAE1C;;;;OAIG;IACH,MAAM,CAAC,EAAE,kBAAkB,CAAC,QAAQ,CAAC,CAAC;IAEtC;;OAEG;IACH,QAAQ,CAAC,EAAE,kBAAkB,CAAC,UAAU,CAAC,CAAC;IAE1C;;OAEG;IACH,OAAO,CAAC,EAAE,kBAAkB,CAAC,SAAS,CAAC,CAAC;IAExC;;;;OAIG;IACH,cAAc,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,CAAC,gBAAgB,CAAC,CAAC;IAE1D,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,eAAO,MAAM,cAAc,GAAI,CAAC,SAAS,MAAM,EAAE,2JAc9C,mBAAmB,CAAC,CAAC,CAAC,gBA0FxB,CAAC"}
1
+ {"version":3,"file":"FilesProcessor.d.ts","sourceRoot":"","sources":["../../../src/componentsV2/FilesProcessor/FilesProcessor.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAiB,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AACrE,OAAO,EAAe,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAE/D,OAAO,EAAE,sBAAsB,EAAkC,MAAM,SAAS,CAAC;AACjF,OAAO,EAAa,cAAc,EAAE,MAAM,aAAa,CAAC;AAKxD,KAAK,SAAS,GAAG;IACf,EAAE,EAAE,MAAM,GAAG,MAAM,CAAC;IACpB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,CAAC,EAAE,gBAAgB,CAAC,SAAS,CAAC,CAAC;CACvC,CAAC;AASF,KAAK,mBAAmB,CAAC,CAAC,IAAI;IAC5B;;;;;;OAMG;IACH,WAAW,EAAE,sBAAsB,CAAC,CAAC,CAAC,CAAC;IAEvC;;;;OAIG;IACH,MAAM,EAAE,CAAC,OAAO,EAAE,CAAC,EAAE,KAAK,IAAI,CAAC;IAE/B;;;;OAIG;IACH,KAAK,CAAC,EAAE,SAAS,EAAE,CAAC;IAEpB;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB;;;OAGG;IACH,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,CAAC;IAErC;;OAEG;IACH,iBAAiB,CAAC,EAAE,CAAC,KAAK,EAAE,IAAI,EAAE,KAAK,IAAI,CAAC;IAE5C;;OAEG;IACH,mBAAmB,CAAC,EAAE,CAAC,IAAI,EAAE,IAAI,EAAE,WAAW,CAAC,EAAE,OAAO,EAAE,KAAK,CAAC,EAAE,KAAK,KAAK,IAAI,CAAC;IAEjF;;OAEG;IACH,QAAQ,CAAC,EAAE,kBAAkB,CAAC,UAAU,CAAC,CAAC;IAE1C;;;;OAIG;IACH,MAAM,CAAC,EAAE,kBAAkB,CAAC,QAAQ,CAAC,CAAC;IAEtC;;OAEG;IACH,QAAQ,CAAC,EAAE,kBAAkB,CAAC,UAAU,CAAC,CAAC;IAE1C;;OAEG;IACH,OAAO,CAAC,EAAE,kBAAkB,CAAC,SAAS,CAAC,CAAC;IAExC;;;;OAIG;IACH,cAAc,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,CAAC,gBAAgB,CAAC,CAAC;IAE1D,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,eAAO,MAAM,cAAc,GAAI,CAAC,SAAS,MAAM,EAAE,oKAe9C,mBAAmB,CAAC,CAAC,CAAC,gBA4FxB,CAAC"}
@@ -1,2 +1,2 @@
1
- import e from"@babel/runtime/helpers/toConsumableArray";import r from"@babel/runtime/helpers/defineProperty";import t from"@babel/runtime/helpers/slicedToArray";import{jsxs as n,jsx as o}from"react/jsx-runtime";import{useState as i,useEffect as c,useCallback as s}from"react";import l from"classnames";import{FilesDropzone as u}from"../FilesDropzone/FilesDropzone.js";import{FilesLoader as a}from"../FilesLoader/FilesLoader.js";import{Processor as f}from"./Processor.js";import m from"./FilesProcessor.scss.js";function p(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,n)}return t}function d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){r(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))}))}return e}var b=function(r){var p=r.multiple,b=r.accept,v=r.className,g=r.processFile,O=r.value,j=void 0===O?[]:O,h=r.onDone,y=r.onDelete,P=r.maxFiles,D=r.maxSize,F=r.formatProgress,w=r.onProcessingFailure,x=r.onStartProcessing,S=r.testId,z=i([]),N=t(z,2),A=N[0],C=N[1];c((function(){A.length>0&&A.every((function(e){return"success"in e}))&&A.some((function(e){return e.success}))&&(C((function(e){return e.filter((function(e){return!e.success}))})),h(A.filter((function(e){var r=e.success,t=e.data;return!!r&&!!t})).map((function(e){return e.data}))))}),[A,h]);var E=s((function(e){C((function(r){return r.filter((function(r){return r.file!==e}))}))}),[]),L=s((function(e){e.success||null==w||w(e.file,e.cancelled,e.error),C((function(r){return r.map((function(r){return r.file===e.file?d(d({},r),{},{data:e.data,success:e.success,cancelled:e.cancelled}):r}))}))}),[w]),k=s((function(r){null==x||x(r);var t=r.map((function(e){return{file:e}}));C((function(r){return[].concat(e(r),e(t))}))}),[x]);return n("div",{className:l(m.root,v),"data-testid":S,children:[(p||0===A.length&&0===(null==j?void 0:j.length))&&o(u,{multiple:p,onDrop:k,accept:b,maxFiles:P,maxSize:D}),(A.length>0||(null==j?void 0:j.length)>0)&&n("div",{className:m.files,children:[A.map((function(e){return o(f,{processFile:g,onStatusChange:L,file:e.file,onDelete:E,formatProgress:F},"".concat(e.file.size,"|").concat(e.file.name))})),null==j?void 0:j.map((function(e,r){return o(a,{name:e.name,onDelete:y?function(){return y(e)}:void 0,complete:!0},r)}))]})]})};export{b as FilesProcessor};
1
+ import e from"@babel/runtime/helpers/toConsumableArray";import r from"@babel/runtime/helpers/defineProperty";import t from"@babel/runtime/helpers/slicedToArray";import{jsxs as n,jsx as o}from"react/jsx-runtime";import{useState as i,useEffect as c,useCallback as s}from"react";import l from"classnames";import{FilesDropzone as u}from"../FilesDropzone/FilesDropzone.js";import{FilesLoader as a}from"../FilesLoader/FilesLoader.js";import{Processor as f}from"./Processor.js";import m from"./FilesProcessor.scss.js";function p(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,n)}return t}function d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){r(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))}))}return e}var v=function(r){var p=r.multiple,v=r.accept,b=r.className,g=r.processFile,O=r.value,j=void 0===O?[]:O,h=r.onDone,y=r.onDelete,P=r.maxFiles,D=r.maxSize,w=r.formatProgress,F=r.onProcessingFailure,x=r.onStartProcessing,S=r.testId,z=r.preview,N=i([]),A=t(N,2),C=A[0],E=A[1];c((function(){C.length>0&&C.every((function(e){return"success"in e}))&&C.some((function(e){return e.success}))&&(E((function(e){return e.filter((function(e){return!e.success}))})),h(C.filter((function(e){var r=e.success,t=e.data;return!!r&&!!t})).map((function(e){return e.data}))))}),[C,h]);var L=s((function(e){E((function(r){return r.filter((function(r){return r.file!==e}))}))}),[]),k=s((function(e){e.success||null==F||F(e.file,e.cancelled,e.error),E((function(r){return r.map((function(r){return r.file===e.file?d(d({},r),{},{data:e.data,success:e.success,cancelled:e.cancelled}):r}))}))}),[F]),I=s((function(r){null==x||x(r);var t=r.map((function(e){return{file:e}}));E((function(r){return[].concat(e(r),e(t))}))}),[x]);return n("div",{className:l(m.root,b),"data-testid":S,children:[(p||0===C.length&&0===(null==j?void 0:j.length))&&o(u,{multiple:p,onDrop:I,accept:v,maxFiles:P,maxSize:D}),(C.length>0||(null==j?void 0:j.length)>0)&&n("div",{className:m.files,children:[C.map((function(e){return o(f,{processFile:g,preview:z,onStatusChange:k,file:e.file,onDelete:L,formatProgress:w},"".concat(e.file.size,"|").concat(e.file.name))})),null==j?void 0:j.map((function(e,r){return o(a,{name:e.name,preview:z?e.preview:void 0,onDelete:y?function(){return y(e)}:void 0,complete:!0},r)}))]})]})};export{v as FilesProcessor};
2
2
  //# sourceMappingURL=FilesProcessor.js.map
@@ -7,4 +7,5 @@ export default meta;
7
7
  export declare const Default: (props: Props) => JSX.Element;
8
8
  export declare const SingleFileProcessing: () => JSX.Element;
9
9
  export declare const Indeterminate: () => JSX.Element;
10
+ export declare const WithPreviewImages: () => JSX.Element;
10
11
  //# sourceMappingURL=FilesProcessor.stories.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"FilesProcessor.stories.d.ts","sourceRoot":"","sources":["../../../src/componentsV2/FilesProcessor/FilesProcessor.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,uBAAuB,CAAC;AAC7C,OAAO,EAAE,cAAc,EAAyB,MAAM,OAAO,CAAC;AAI9D,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAGlD,KAAK,KAAK,GAAG,cAAc,CAAC,OAAO,cAAc,CAAC,CAAC;AAEnD,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,KAAK,CAGrB,CAAC;AA+BF,eAAe,IAAI,CAAC;AAEpB,eAAO,MAAM,OAAO,GAAI,OAAO,KAAK,gBA+CnC,CAAC;AAEF,eAAO,MAAM,oBAAoB,mBAkChC,CAAC;AAMF,eAAO,MAAM,aAAa,mBAqCzB,CAAC"}
1
+ {"version":3,"file":"FilesProcessor.stories.d.ts","sourceRoot":"","sources":["../../../src/componentsV2/FilesProcessor/FilesProcessor.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,uBAAuB,CAAC;AAC7C,OAAO,EAAE,cAAc,EAAyB,MAAM,OAAO,CAAC;AAI9D,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAGlD,KAAK,KAAK,GAAG,cAAc,CAAC,OAAO,cAAc,CAAC,CAAC;AAEnD,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,KAAK,CAGrB,CAAC;AA+BF,eAAe,IAAI,CAAC;AAEpB,eAAO,MAAM,OAAO,GAAI,OAAO,KAAK,gBA+CnC,CAAC;AAEF,eAAO,MAAM,oBAAoB,mBAkChC,CAAC;AAMF,eAAO,MAAM,aAAa,mBAqCzB,CAAC;AAMF,eAAO,MAAM,iBAAiB,mBAsD7B,CAAC"}
@@ -6,6 +6,7 @@ export type ProcessorProps<T> = {
6
6
  file: File;
7
7
  onDelete: (file: File) => void;
8
8
  formatProgress?: FilesLoaderProps['formatProgress'];
9
+ preview?: boolean;
9
10
  };
10
- export declare const Processor: <T extends object>(props: ProcessorProps<T>) => JSX.Element;
11
+ export declare const Processor: <T extends object>({ onStatusChange, file, processFile, onDelete, formatProgress, preview, }: ProcessorProps<T>) => JSX.Element;
11
12
  //# sourceMappingURL=Processor.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Processor.d.ts","sourceRoot":"","sources":["../../../src/componentsV2/FilesProcessor/Processor.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAe,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAE/D,OAAO,EAAE,sBAAsB,EAAE,8BAA8B,EAAE,MAAM,SAAS,CAAC;AAEjF,MAAM,MAAM,cAAc,CAAC,CAAC,IAAI;IAC9B,WAAW,EAAE,sBAAsB,CAAC,CAAC,CAAC,CAAC;IACvC,cAAc,EAAE,CAAC,MAAM,EAAE,8BAA8B,CAAC,CAAC,CAAC,KAAK,IAAI,CAAC;IACpE,IAAI,EAAE,IAAI,CAAC;IACX,QAAQ,EAAE,CAAC,IAAI,EAAE,IAAI,KAAK,IAAI,CAAC;IAC/B,cAAc,CAAC,EAAE,gBAAgB,CAAC,gBAAgB,CAAC,CAAC;CACrD,CAAC;AAEF,eAAO,MAAM,SAAS,GAAI,CAAC,SAAS,MAAM,EAAE,OAAO,cAAc,CAAC,CAAC,CAAC,gBA+HnE,CAAC"}
1
+ {"version":3,"file":"Processor.d.ts","sourceRoot":"","sources":["../../../src/componentsV2/FilesProcessor/Processor.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAe,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAE/D,OAAO,EAAE,sBAAsB,EAAE,8BAA8B,EAAE,MAAM,SAAS,CAAC;AAEjF,MAAM,MAAM,cAAc,CAAC,CAAC,IAAI;IAC9B,WAAW,EAAE,sBAAsB,CAAC,CAAC,CAAC,CAAC;IACvC,cAAc,EAAE,CAAC,MAAM,EAAE,8BAA8B,CAAC,CAAC,CAAC,KAAK,IAAI,CAAC;IACpE,IAAI,EAAE,IAAI,CAAC;IACX,QAAQ,EAAE,CAAC,IAAI,EAAE,IAAI,KAAK,IAAI,CAAC;IAC/B,cAAc,CAAC,EAAE,gBAAgB,CAAC,gBAAgB,CAAC,CAAC;IACpD,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,CAAC;AAEF,eAAO,MAAM,SAAS,GAAI,CAAC,SAAS,MAAM,EAAE,2EAOzC,cAAc,CAAC,CAAC,CAAC,gBA+HnB,CAAC"}
@@ -1,2 +1,2 @@
1
- import e from"@babel/runtime/helpers/asyncToGenerator";import r from"@babel/runtime/helpers/slicedToArray";import t from"@babel/runtime/regenerator";import{jsx as n}from"react/jsx-runtime";import{useState as o,useCallback as a,useMemo as c,useEffect as i}from"react";import{FilesLoader as u}from"../FilesLoader/FilesLoader.js";var l=function(l){var s=l.onStatusChange,f=l.file,m=l.processFile,p=l.onDelete,d=l.formatProgress,v=o({total:0,current:0,indeterminate:!0,complete:!1}),b=r(v,2),x=b[0],g=b[1],h=o(),k=r(h,2),y=k[0],w=k[1],C=o(!1),F=r(C,2),j=F[0],D=F[1],E=o(),L=r(E,2),P=L[0],S=L[1],T=a((function(e,r){g({total:e,current:r,indeterminate:!1,complete:!1})}),[]),A=c((function(){if(P)return function(){P(),D(!0),s({success:!1,cancelled:!0,file:f})}}),[P,f,s]),G=a((function(){var r=!1;return function(){var n=e(t.mark((function e(n){var o,a,c,i;return t.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,o=function(){r||T.apply(void 0,arguments)},a=function(e){S((function(){return function(){r=!0,e()}}))},e.next=5,m(n,o,a);case 5:if(c=e.sent,!r){e.next=8;break}return e.abrupt("return");case 8:g((function(e){var r=e.total;return{total:r,current:r,indeterminate:e.indeterminate,complete:!0}})),s({success:!0,cancelled:!1,data:c,file:n}),e.next=19;break;case 12:if(e.prev=12,e.t0=e.catch(0),!r){e.next=16;break}return e.abrupt("return");case 16:i=e.t0 instanceof Error?e.t0:new Error(String(e.t0)),w(i),s({success:!1,cancelled:!1,error:i,file:n});case 19:case"end":return e.stop()}}),e,null,[[0,12]])})));return function(e){return n.apply(this,arguments)}}()}),[m,s,T]),R=a((function(){w(void 0),D(!1),s({file:f,success:!1,data:void 0,error:void 0,cancelled:!1}),G()(f)}),[f,G,s]),q=a((function(){p(f)}),[p,f]);i((function(){G()(f)}),[f,G]);var z=j?"Cancelled":null,B=y?null==y?void 0:y.message:z;return n(u,{name:f.name,total:x.total,current:x.current,error:B,onCancel:A,onReload:R,onDelete:q,formatProgress:d,complete:x.complete,indeterminate:x.indeterminate})};export{l as Processor};
1
+ import e from"@babel/runtime/helpers/asyncToGenerator";import r from"@babel/runtime/helpers/slicedToArray";import t from"@babel/runtime/regenerator";import{jsx as n}from"react/jsx-runtime";import{useState as o,useCallback as a,useMemo as i,useEffect as c}from"react";import{FilesLoader as u}from"../FilesLoader/FilesLoader.js";var l=function(l){var s=l.onStatusChange,f=l.file,m=l.processFile,p=l.onDelete,d=l.formatProgress,v=l.preview,b=o({total:0,current:0,indeterminate:!0,complete:!1}),x=r(b,2),g=x[0],h=x[1],w=o(),k=r(w,2),y=k[0],C=k[1],F=o(!1),j=r(F,2),D=j[0],E=j[1],L=o(),P=r(L,2),S=P[0],T=P[1],A=a((function(e,r){h({total:e,current:r,indeterminate:!1,complete:!1})}),[]),G=i((function(){if(S)return function(){S(),E(!0),s({success:!1,cancelled:!0,file:f})}}),[S,f,s]),R=a((function(){var r=!1;return function(){var n=e(t.mark((function e(n){var o,a,i,c;return t.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,o=function(){r||A.apply(void 0,arguments)},a=function(e){T((function(){return function(){r=!0,e()}}))},e.next=5,m(n,o,a);case 5:if(i=e.sent,!r){e.next=8;break}return e.abrupt("return");case 8:h((function(e){var r=e.total;return{total:r,current:r,indeterminate:e.indeterminate,complete:!0}})),s({success:!0,cancelled:!1,data:i,file:n}),e.next=19;break;case 12:if(e.prev=12,e.t0=e.catch(0),!r){e.next=16;break}return e.abrupt("return");case 16:c=e.t0 instanceof Error?e.t0:new Error(String(e.t0)),C(c),s({success:!1,cancelled:!1,error:c,file:n});case 19:case"end":return e.stop()}}),e,null,[[0,12]])})));return function(e){return n.apply(this,arguments)}}()}),[m,s,A]),q=a((function(){C(void 0),E(!1),s({file:f,success:!1,data:void 0,error:void 0,cancelled:!1}),R()(f)}),[f,R,s]),z=a((function(){p(f)}),[p,f]);c((function(){R()(f)}),[f,R]);var B=D?"Cancelled":null,H=y?null==y?void 0:y.message:B;return n(u,{name:f.name,total:g.total,current:g.current,error:H,onCancel:G,onReload:q,onDelete:z,formatProgress:d,complete:g.complete,indeterminate:g.indeterminate,preview:v?f:void 0})};export{l as Processor};
2
2
  //# sourceMappingURL=Processor.js.map
@@ -1,2 +1,2 @@
1
- import o from"@babel/runtime/helpers/asyncToGenerator";import s from"@babel/runtime/helpers/slicedToArray";import t from"@babel/runtime/regenerator";import{jsx as e}from"react/jsx-runtime";import{useState as n,useCallback as i,useEffect as r}from"react";import"../AppCommonsProvider/AppCommonsProvider.js";import{useAppCommons as p}from"../AppCommonsProvider/AppCommonsContext.js";import"../../utils/index.js";import"../../components/DevCenter/AppHeader/AppHeader.js";import"../../components/DevCenter/AppSideBar/AppSideBar.js";import"../../components/DevCenter/AppsDataProvider/AppsDataProvider.js";import"@babel/runtime/helpers/defineProperty";import"classnames";import"lodash";import"@material-ui/core";import"@material-ui/icons";import"../../components/DevCenter/AppContext.js";import"../../components/DevCenter/DevCenterRouterContext/DevCenterRouterContext.js";import"../../components/DevCenter/DevCenterRouterContext/UniversalLink/UniversalLink.js";import{useDevCenterRouter as c}from"../../components/DevCenter/DevCenterRouterContext/effects/useDevCenterRouter.js";import"@babel/runtime/helpers/objectWithoutProperties";import"react-router-dom";import"query-string";import"../../constants/goals.js";import"../../constants/segment.js";import"../../constants/alerts.js";import"../../constants/apps.js";import"../../constants/drillstring.js";import"../../constants/completion.js";import"../../constants/appPackages.js";import"../../constants/notifications.js";import"../../constants/feed.js";import"../../constants/bha.js";import"../../constants/corvaCompanyId.js";import"../../components/GradientManager/configuration/constants.js";import"../../components/DevCenter/DevCenterAppContainer/components/AppActions/AppActions.css.js";import"../../components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/AppSettingsDialog.js";import"../../components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/components/RemoveAppButton.js";import"../../components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/components/SettingsAccordion.js";import"../../components/DevCenter/DevCenterAppContainer/components/AnnotationsButton/AnnotationsButton.js";import"../Text/Text.js";import"../Grid/Grid.js";import"../Grid/Cell.js";import"../Header/Header.scss.js";import"../Button/Button.js";import"../ButtonIcon/ButtonIcon.js";import"../../components/DevCenter/DevCenterAppContainer/components/IsInsideIsolatedDcAppProvider/IsInsideIsolatedDcAppProvider.js";import"../../components/DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/IsInsideDcFullscreenElemProvider.js";import"../../components/DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/DcFullscreenElemsCoordinatorProvider.js";import"uuid";import"../Tooltip/Tooltip.scss.js";import"../Popover/Popover.js";import"../PopoverPanel/PopoverPanel.js";import"../Radio/Radio.js";import"../RadioAndCheckboxGroup/RadioAndCheckboxGroup.scss.js";import"../Checkbox/Checkbox.js";import"@babel/runtime/helpers/toConsumableArray";import"../TextInput/TextInput.js";import"../TextInputNext/TextInputNext.js";import"../Label/Label.js";import"../TextEndTruncated/TextEndTruncated.scss.js";import"../TextMiddleTruncated/TextMiddleTruncated.constants.js";import"../TextMiddleTruncated/TextMiddleTruncated.scss.js";import"../TextLink/TextLink.js";import"../Chip/Chip.js";import"../ChipAlert/ChipAlert.js";import"../ChipIndicator/ChipIndicator.js";import"../Avatar/Avatar.js";import"../AvatarGroup/AvatarGroup.js";import"@material-ui/lab";import"../ToggleButtons/ToggleButtons.scss.js";import"../Paper/Paper.js";import"../ModalWindow/ModalWindow.js";import"../Modal/Modal.scss.js";import"../Menu/Menu.js";import"@icon-park/react/es/all";import"../../icons/IconParkProvider.js";import"../../icons/customIcons/icons/AddMessage.js";import"../../icons/customIcons/icons/Attention.js";import"../../icons/customIcons/icons/Collapse.js";import"../../icons/customIcons/icons/Dashboard.js";import"../../icons/customIcons/icons/Expand.js";import"../../icons/customIcons/icons/FolderClosed.js";import"../../icons/customIcons/icons/FolderClosedFilled.js";import"../../icons/customIcons/icons/FolderOpened.js";import"../../icons/customIcons/icons/GreaterOrEqual.js";import"../../icons/customIcons/icons/LessOrEqual.js";import"../../icons/customIcons/icons/Search.js";import"../../icons/customIcons/icons/SearchOne.js";import"../../icons/customIcons/icons/Wellhub.js";import"../../icons/customIcons/icons/MultiRuler.js";import"../../icons/customIcons/icons/Checkbox.js";import"../../icons/customIcons/icons/CheckboxChecked.js";import"../../icons/customIcons/icons/CheckboxIndeterminate.js";import"../../icons/customIcons/icons/Radio.js";import"../../icons/customIcons/icons/RadioChecked.js";import"../../icons/customIcons/icons/SimulFrac.js";import"../../icons/customIcons/icons/ZipperFrac.js";import"../../icons/customIcons/icons/CautionFilled.js";import"../../icons/customIcons/icons/MoreApp.js";import"../../icons/customIcons/icons/Pad.js";import"../../icons/customIcons/icons/DrilloutUnit.js";import"../../icons/customIcons/icons/FracFleet.js";import"../../icons/customIcons/icons/Global.js";import"../../icons/customIcons/icons/Program.js";import"../../icons/customIcons/icons/Rig.js";import"../../icons/customIcons/icons/Well.js";import"../../icons/customIcons/icons/Gap.js";import"../../icons/customIcons/icons/Pin.js";import"../../icons/customIcons/icons/CloseOneFilled.js";import"../../icons/customIcons/icons/AttentionFilled.js";import"../../icons/customIcons/icons/CheckOneFilled.js";import"../../icons/customIcons/icons/Archive.js";import"../../icons/customIcons/icons/ArchiveCancel.js";import"../../icons/customIcons/icons/Unarchive.js";import"../../icons/customIcons/icons/Archived.js";import"../../icons/customIcons/icons/InterventionUnit.js";import"../../icons/customIcons/icons/CloudDelete.js";import"../../icons/customIcons/icons/Lasso.js";import"../../icons/customIcons/icons/Radius.js";import"../../icons/customIcons/icons/ErrorOps.js";import"../../icons/customIcons/icons/DataTypeOps.js";import"../../icons/customIcons/icons/FalsePositiveOps.js";import"../../icons/customIcons/icons/CalibrationOps.js";import"../../icons/customIcons/icons/CriticalOps.js";import"../../icons/customIcons/icons/Company.js";import"../../icons/customIcons/icons/ArchiveOne.js";import"../../icons/customIcons/icons/ParseBotFusion.js";import"../../icons/customIcons/icons/Connect.js";import"../../icons/customIcons/icons/PuzzleOne.js";import"../../icons/customIcons/icons/Feed.js";import"../../icons/customIcons/icons/Prompt.js";import"../../icons/customIcons/icons/Companies.js";import"../../icons/customIcons/icons/ClipboardAi.js";import"../../icons/customIcons/icons/Key.js";import"../../icons/customIcons/icons/AtSignCrossed.js";import"../../icons/customIcons/icons/MappingManual.js";import"../../icons/customIcons/icons/Mapping.js";import"../../icons/customIcons/icons/Metrics.js";import"../../icons/customIcons/icons/Drops.js";import"../../icons/customIcons/icons/ClipboardSearch.js";import"../../icons/customIcons/icons/Template.js";import"../../icons/customIcons/icons/ClipboardMetrics.js";import"../../icons/customIcons/icons/ClipboardBuilder.js";import"../../icons/customIcons/icons/UnitConversion.js";import"../../icons/customIcons/icons/NPT.js";import"../../icons/customIcons/icons/GuidedFrac.js";import"../utils.js";import"../Hint/Hint.scss.js";import"../Counter/Counter.js";import"../BadgeBase/BadgeBase.scss.js";import"../TemplatesControl/TemplatesControl.js";import"zustand";import"../TemplatesControl/utils.js";import"../TemplatesControl/icons/folder/index.js";import"../TemplatesControl/Store/utils.js";import"../TemplatesControl/types.js";import"../../clients/jsonApi/index.js";import"../../permissions/PermissionsContext.js";import"../../permissions/constants/index.js";import"../../permissions/withPermissionsHOC.js";import"../../permissions/ProvidePermissions.js";import"../BadgeDot/BadgeDot.scss.js";import"../LoaderLinear/LoaderLinear.scss.js";import"../LoaderLogo/LoaderLogo.constants.js";import"../LoaderLogo/LoaderLogo.scss.js";import"../Switch/Switch.js";import"../Tabs/Tabs.js";import"../EmptyState/EmptyState.scss.js";import"../FileIcon/FileIcon.js";import"../Tag/Tag.js";import"react-dropzone";import"../FilesDropzone/FilesDropzone.scss.js";import"../FilesLoader/FilesLoader.scss.js";import"../FilesProcessor/FilesProcessor.scss.js";import"../Skeleton/Skeleton.scss.js";import"../../utils/main.js";import"../CopyToClipboard/CopyToClipboard.scss.js";import"../Stepper/Step/Step.scss.js";import"../Stepper/Stepper.scss.js";import"../ButtonLive/ButtonLive.js";import"../ButtonText/ButtonText.js";import"../IndicatorLive/IndicatorLive.js";import"../Accordion/Accordion.scss.js";import"../Breadcrumbs/Breadcrumbs.scss.js";import"../BadgeComment/BadgeComment.js";import"../AppContainer/AppContainer.js";import"../AppContainer/AppContainer.constants.js";import"../AppFooter/AppFooter.js";import"immutable";import"../AppHeader/AppHeader.constants.js";import"../AppHeader/AppBadge/AppBadge.scss.js";import"../AppHeader/AppAssets/utils.js";import"../AppHeader/AppAssets/AppAssets.scss.js";import"../../components/PadModeSelect/PadModeSelect.js";import"../AppHeader/PadMode/PadMode.scss.js";import"../../constants/streamSourceType.js";import"../PadModeSelect/PadModeSelect.js";import"../PadModeSelect/PadModeSelect.constants.js";import"../../utils/mobileDetect.js";import"../AppHeader/V3/VersionSelect/VersionSelect.js";import"../UniversalLink/UniversalLink.scss.js";import"../AppHeader/V3/AssetChips/AssetChips.scss.js";import"moment";import"../AppHeader/V3/DqStatusIcon/DqStatusIcon.js";import"../AppHeader/V3/DqStatusIcon/DqStatusIcon.constants.js";import"../AppFooter/DqPopover/DqStatusIcon/DqStatusIcon.js";import"../AppDqPopover/DqAlertTooltip/DqAlertTooltip.scss.js";import"../AppDqPopover/DqAlert/DqAlert.scss.js";import"../AppDqPopover/DqAsset/DqAsset.scss.js";import"../AppDqPopover/AppDqPopover.scss.js";import"../../components/AppIcon/AppIcon.js";import"../../utils/getSingleAsset.js";import"../AppHeader/V3/AssetSelector/AssetSelectorChip/AssetSelectorChip.js";import"../AppHeader/V3/AssetSelector/constants.js";import"../AppHeader/V3/AssetSelector/AssetSelectorSelect/AssetSelectorSelect.scss.js";import"../AppHeader/V3/AssetSelector/AssetSelectorSelect/loadAssets.js";import"../AppHeader/V3/AssetSelector/AssetSelector.scss.js";import"../../clients/subscriptions/constants.js";import"querystring";import"uuid/v1";import"../../clients/subscriptions.v1.js";import"../../clients/subscriptions/subscriptions-client.factory.js";import m from"../../utils/resolveWellHubSlug.js";import"../../utils/env.js";import"../../components/StatusBadge/constants.js";import"lodash/set";import"lodash/get";import"lodash/unset";import"../../clients/api/apiCore.js";import"../../clients/constants.js";import"../../clients/sso/auth0.js";import"../../clients/sso/oauth2.js";import"../../clients/api/rateLimiter.js";import"lodash/isEmpty";import"lodash/sortBy";import"../../components/DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchContext.js";import"../AppSettings/AppSettingsPinningContext.js";import"../AppHeader/V3/AppTitle/AppTitle.constants.js";import"../AppHeader/V3/AppTitle/AppTitle.scss.js";import"../AppHeader/V3/constants.scss.js";import"@babel/runtime/helpers/typeof";import"../AppHeader/V3/SettingsButton/SettingsButton.js";import"../AppHeader/V3/SettingsButton/SettingsButton.constants.js";import"../AppSettings/AppSettings.js";import"../AppSettings/AppSettings.constants.js";import"../AppSizeProvider/AppSizeProvider.js";import"../AppHeader/V3/Actions/Actions.constants.js";import"../AppHeader/V3/Actions/Actions.scss.js";import"../AppHeader/V3/AppHeaderV3.scss.js";import"../AppHeader/AppHeader.scss.js";import"../OffsetWellsButton/OffsetWellsButton.js";import"../Autocomplete/Autocomplete.js";import"../Select/Select.js";import"../AppSettingsDivider/AppSettingsDivider.scss.js";import"../DatePicker/DatePicker.js";import"../DragHandle/DragHandle.js";import"../CompletionsOffsetWellPicker/CompletionsOffsetWellPicker.js";import"../Slider/constants.js";import"../Slider/components/SliderThumb.js";import"../Slider/Slider.scss.js";import"react-color";import"../ColorPicker/Swatches/Swatches.scss.js";import"../ColorPicker/OpacityDragtracker/OpacityDragTracker.scss.js";import"../ColorPicker/ColorPicker.scss.js";import"../../components/DevCenter/DevCenterAppContainer/components/FullscreenButton/FullscreenButton.js";import"../../components/DevCenter/DevCenterAppContainer/components/AppInfoMessage/AppInfoMessage.js";import"../../components/DevCenter/DevCenterAppContainer/components/DevCenterAppView/DevCenterAppView.js";import"../../components/DevCenter/DevCenterAppContainer/components/RestoreAppSizeButton/index.js";import"../../components/DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchButton.scss.js";import"../../components/DevCenter/DevCenterAppContainer/DevCenterAppContainer.scss.js";import"../../components/Icons/AnnotationIcon.js";import"../../components/Annotations/components/AnnotationsList/index.js";import"../../components/Annotations/components/LastAnnotation/index.js";import"../../components/Annotations/AnnotationsContext.js";import"../../components/Toaster/Toaster.js";import"../../components/HelpCenter/HelpCenterIcon.js";import"../../components/DevCenter/NavigationBar/NavigationBar.js";import"../../components/DevCenter/SideBar/SideBar.js";import"../../components/DevCenter/AppSettingsPopover/AppSettingsPopover.js";import"../../components/DevCenter/AppFilterPanelLayout/AppFilterPanelLayout.js";import"../../components/DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedAppPage.js";import"../../components/DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedApp.js";import{ModalDisplayComponent as a}from"./ModalDisplayComponent/ModalDisplayComponent.js";var l=function(o){return"archived"===(null==o?void 0:o.status)},j=function(j){var d=j.displayComponent,u=void 0===d?a:d,A=j.onClose,C=p().well,v=c(),I=n(l(C)),D=s(I,2),S=D[0],g=D[1],P=i((function(){null==A||A(),g(!1)}),[A]),h=i(o(t.mark((function o(){var s;return t.wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return P(),o.next=3,m();case 3:(s=o.sent)&&v.push("/assets/".concat(null==C?void 0:C.asset_id,"/").concat(s));case 5:case"end":return o.stop()}}),o)}))),[v,null==C?void 0:C.asset_id,P]);return r((function(){g(l({status:null==C?void 0:C.status}))}),[null==C?void 0:C.id,null==C?void 0:C.status]),S?e(u,{onClose:P,onUnarchive:h}):null};j.DisplayComponents={Modal:a};var d=j;export{d as WellArchivedMessage,j as WellArchivedMessageBase};
1
+ import o from"@babel/runtime/helpers/asyncToGenerator";import s from"@babel/runtime/helpers/slicedToArray";import t from"@babel/runtime/regenerator";import{jsx as e}from"react/jsx-runtime";import{useState as n,useCallback as i,useEffect as r}from"react";import"../AppCommonsProvider/AppCommonsProvider.js";import{useAppCommons as p}from"../AppCommonsProvider/AppCommonsContext.js";import"../../utils/index.js";import"../../components/DevCenter/AppHeader/AppHeader.js";import"../../components/DevCenter/AppSideBar/AppSideBar.js";import"../../components/DevCenter/AppsDataProvider/AppsDataProvider.js";import"@babel/runtime/helpers/defineProperty";import"classnames";import"lodash";import"@material-ui/core";import"@material-ui/icons";import"../../components/DevCenter/AppContext.js";import"../../components/DevCenter/DevCenterRouterContext/DevCenterRouterContext.js";import"../../components/DevCenter/DevCenterRouterContext/UniversalLink/UniversalLink.js";import{useDevCenterRouter as c}from"../../components/DevCenter/DevCenterRouterContext/effects/useDevCenterRouter.js";import"@babel/runtime/helpers/objectWithoutProperties";import"react-router-dom";import"query-string";import"../../constants/goals.js";import"../../constants/segment.js";import"../../constants/alerts.js";import"../../constants/apps.js";import"../../constants/drillstring.js";import"../../constants/completion.js";import"../../constants/appPackages.js";import"../../constants/notifications.js";import"../../constants/feed.js";import"../../constants/bha.js";import"../../constants/corvaCompanyId.js";import"../../components/GradientManager/configuration/constants.js";import"../../components/DevCenter/DevCenterAppContainer/components/AppActions/AppActions.css.js";import"../../components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/AppSettingsDialog.js";import"../../components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/components/RemoveAppButton.js";import"../../components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/components/SettingsAccordion.js";import"../../components/DevCenter/DevCenterAppContainer/components/AnnotationsButton/AnnotationsButton.js";import"../Text/Text.js";import"../Grid/Grid.js";import"../Grid/Cell.js";import"../Header/Header.scss.js";import"../Button/Button.js";import"../ButtonIcon/ButtonIcon.js";import"../../components/DevCenter/DevCenterAppContainer/components/IsInsideIsolatedDcAppProvider/IsInsideIsolatedDcAppProvider.js";import"../../components/DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/IsInsideDcFullscreenElemProvider.js";import"../../components/DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/DcFullscreenElemsCoordinatorProvider.js";import"uuid";import"../Tooltip/Tooltip.scss.js";import"../Popover/Popover.js";import"../PopoverPanel/PopoverPanel.js";import"../Radio/Radio.js";import"../RadioAndCheckboxGroup/RadioAndCheckboxGroup.scss.js";import"../Checkbox/Checkbox.js";import"@babel/runtime/helpers/toConsumableArray";import"../TextInput/TextInput.js";import"../TextInputNext/TextInputNext.js";import"../Label/Label.js";import"../TextEndTruncated/TextEndTruncated.scss.js";import"../TextMiddleTruncated/TextMiddleTruncated.constants.js";import"../TextMiddleTruncated/TextMiddleTruncated.scss.js";import"../TextLink/TextLink.js";import"../Chip/Chip.js";import"../ChipAlert/ChipAlert.js";import"../ChipIndicator/ChipIndicator.js";import"../Avatar/Avatar.js";import"../AvatarGroup/AvatarGroup.js";import"@material-ui/lab";import"../ToggleButtons/ToggleButtons.scss.js";import"../Paper/Paper.js";import"../ModalWindow/ModalWindow.js";import"../Modal/Modal.scss.js";import"../Menu/Menu.js";import"@icon-park/react/es/all";import"../../icons/IconParkProvider.js";import"../../icons/customIcons/icons/AddMessage.js";import"../../icons/customIcons/icons/Attention.js";import"../../icons/customIcons/icons/Collapse.js";import"../../icons/customIcons/icons/Dashboard.js";import"../../icons/customIcons/icons/Expand.js";import"../../icons/customIcons/icons/FolderClosed.js";import"../../icons/customIcons/icons/FolderClosedFilled.js";import"../../icons/customIcons/icons/FolderOpened.js";import"../../icons/customIcons/icons/GreaterOrEqual.js";import"../../icons/customIcons/icons/LessOrEqual.js";import"../../icons/customIcons/icons/Search.js";import"../../icons/customIcons/icons/SearchOne.js";import"../../icons/customIcons/icons/Wellhub.js";import"../../icons/customIcons/icons/MultiRuler.js";import"../../icons/customIcons/icons/Checkbox.js";import"../../icons/customIcons/icons/CheckboxChecked.js";import"../../icons/customIcons/icons/CheckboxIndeterminate.js";import"../../icons/customIcons/icons/Radio.js";import"../../icons/customIcons/icons/RadioChecked.js";import"../../icons/customIcons/icons/SimulFrac.js";import"../../icons/customIcons/icons/ZipperFrac.js";import"../../icons/customIcons/icons/CautionFilled.js";import"../../icons/customIcons/icons/MoreApp.js";import"../../icons/customIcons/icons/Pad.js";import"../../icons/customIcons/icons/DrilloutUnit.js";import"../../icons/customIcons/icons/FracFleet.js";import"../../icons/customIcons/icons/Global.js";import"../../icons/customIcons/icons/Program.js";import"../../icons/customIcons/icons/Rig.js";import"../../icons/customIcons/icons/Well.js";import"../../icons/customIcons/icons/Gap.js";import"../../icons/customIcons/icons/Pin.js";import"../../icons/customIcons/icons/CloseOneFilled.js";import"../../icons/customIcons/icons/AttentionFilled.js";import"../../icons/customIcons/icons/CheckOneFilled.js";import"../../icons/customIcons/icons/Archive.js";import"../../icons/customIcons/icons/ArchiveCancel.js";import"../../icons/customIcons/icons/Unarchive.js";import"../../icons/customIcons/icons/Archived.js";import"../../icons/customIcons/icons/InterventionUnit.js";import"../../icons/customIcons/icons/CloudDelete.js";import"../../icons/customIcons/icons/Lasso.js";import"../../icons/customIcons/icons/Radius.js";import"../../icons/customIcons/icons/ErrorOps.js";import"../../icons/customIcons/icons/DataTypeOps.js";import"../../icons/customIcons/icons/FalsePositiveOps.js";import"../../icons/customIcons/icons/CalibrationOps.js";import"../../icons/customIcons/icons/CriticalOps.js";import"../../icons/customIcons/icons/Company.js";import"../../icons/customIcons/icons/ArchiveOne.js";import"../../icons/customIcons/icons/ParseBotFusion.js";import"../../icons/customIcons/icons/Connect.js";import"../../icons/customIcons/icons/PuzzleOne.js";import"../../icons/customIcons/icons/Feed.js";import"../../icons/customIcons/icons/Prompt.js";import"../../icons/customIcons/icons/Companies.js";import"../../icons/customIcons/icons/ClipboardAi.js";import"../../icons/customIcons/icons/Key.js";import"../../icons/customIcons/icons/AtSignCrossed.js";import"../../icons/customIcons/icons/MappingManual.js";import"../../icons/customIcons/icons/Mapping.js";import"../../icons/customIcons/icons/Metrics.js";import"../../icons/customIcons/icons/Drops.js";import"../../icons/customIcons/icons/ClipboardSearch.js";import"../../icons/customIcons/icons/Template.js";import"../../icons/customIcons/icons/ClipboardMetrics.js";import"../../icons/customIcons/icons/ClipboardBuilder.js";import"../../icons/customIcons/icons/UnitConversion.js";import"../../icons/customIcons/icons/NPT.js";import"../../icons/customIcons/icons/GuidedFrac.js";import"../utils.js";import"../Hint/Hint.scss.js";import"../Counter/Counter.js";import"../BadgeBase/BadgeBase.scss.js";import"../TemplatesControl/TemplatesControl.js";import"zustand";import"../TemplatesControl/utils.js";import"../TemplatesControl/icons/folder/index.js";import"../TemplatesControl/Store/utils.js";import"../TemplatesControl/types.js";import"../../clients/jsonApi/index.js";import"../../permissions/PermissionsContext.js";import"../../permissions/constants/index.js";import"../../permissions/withPermissionsHOC.js";import"../../permissions/ProvidePermissions.js";import"../BadgeDot/BadgeDot.scss.js";import"../LoaderLinear/LoaderLinear.scss.js";import"../LoaderLogo/LoaderLogo.constants.js";import"../LoaderLogo/LoaderLogo.scss.js";import"../Switch/Switch.js";import"../Tabs/Tabs.js";import"../EmptyState/EmptyState.scss.js";import"../FileIcon/FileIcon.js";import"../Tag/Tag.js";import"react-dropzone";import"../FilesDropzone/FilesDropzone.scss.js";import"../FilesLoader/FilesLoader.scss.js";import"file-extension";import"image-extensions";import"video-extensions";import"../FilesProcessor/FilesProcessor.scss.js";import"../Skeleton/Skeleton.scss.js";import"../../utils/main.js";import"../CopyToClipboard/CopyToClipboard.scss.js";import"../Stepper/Step/Step.scss.js";import"../Stepper/Stepper.scss.js";import"../ButtonLive/ButtonLive.js";import"../ButtonText/ButtonText.js";import"../IndicatorLive/IndicatorLive.js";import"../Accordion/Accordion.scss.js";import"../Breadcrumbs/Breadcrumbs.scss.js";import"../BadgeComment/BadgeComment.js";import"../AppContainer/AppContainer.js";import"../AppContainer/AppContainer.constants.js";import"../AppFooter/AppFooter.js";import"immutable";import"../AppHeader/AppHeader.constants.js";import"../AppHeader/AppBadge/AppBadge.scss.js";import"../AppHeader/AppAssets/utils.js";import"../AppHeader/AppAssets/AppAssets.scss.js";import"../../components/PadModeSelect/PadModeSelect.js";import"../AppHeader/PadMode/PadMode.scss.js";import"../../constants/streamSourceType.js";import"../PadModeSelect/PadModeSelect.js";import"../PadModeSelect/PadModeSelect.constants.js";import"../../utils/mobileDetect.js";import"../AppHeader/V3/VersionSelect/VersionSelect.js";import"../UniversalLink/UniversalLink.scss.js";import"../AppHeader/V3/AssetChips/AssetChips.scss.js";import"moment";import"../AppHeader/V3/DqStatusIcon/DqStatusIcon.js";import"../AppHeader/V3/DqStatusIcon/DqStatusIcon.constants.js";import"../AppFooter/DqPopover/DqStatusIcon/DqStatusIcon.js";import"../AppDqPopover/DqAlertTooltip/DqAlertTooltip.scss.js";import"../AppDqPopover/DqAlert/DqAlert.scss.js";import"../AppDqPopover/DqAsset/DqAsset.scss.js";import"../AppDqPopover/AppDqPopover.scss.js";import"../../components/AppIcon/AppIcon.js";import"../../utils/getSingleAsset.js";import"../AppHeader/V3/AssetSelector/AssetSelectorChip/AssetSelectorChip.js";import"../AppHeader/V3/AssetSelector/constants.js";import"../AppHeader/V3/AssetSelector/AssetSelectorSelect/AssetSelectorSelect.scss.js";import"../AppHeader/V3/AssetSelector/AssetSelectorSelect/loadAssets.js";import"../AppHeader/V3/AssetSelector/AssetSelector.scss.js";import"../../clients/subscriptions/constants.js";import"querystring";import"uuid/v1";import"../../clients/subscriptions.v1.js";import"../../clients/subscriptions/subscriptions-client.factory.js";import m from"../../utils/resolveWellHubSlug.js";import"../../utils/env.js";import"../../components/StatusBadge/constants.js";import"lodash/set";import"lodash/get";import"lodash/unset";import"../../clients/api/apiCore.js";import"../../clients/constants.js";import"../../clients/sso/auth0.js";import"../../clients/sso/oauth2.js";import"../../clients/api/rateLimiter.js";import"lodash/isEmpty";import"lodash/sortBy";import"../../components/DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchContext.js";import"../AppSettings/AppSettingsPinningContext.js";import"../AppHeader/V3/AppTitle/AppTitle.constants.js";import"../AppHeader/V3/AppTitle/AppTitle.scss.js";import"../AppHeader/V3/constants.scss.js";import"@babel/runtime/helpers/typeof";import"../AppHeader/V3/SettingsButton/SettingsButton.js";import"../AppHeader/V3/SettingsButton/SettingsButton.constants.js";import"../AppSettings/AppSettings.js";import"../AppSettings/AppSettings.constants.js";import"../AppSizeProvider/AppSizeProvider.js";import"../AppHeader/V3/Actions/Actions.constants.js";import"../AppHeader/V3/Actions/Actions.scss.js";import"../AppHeader/V3/AppHeaderV3.scss.js";import"../AppHeader/AppHeader.scss.js";import"../OffsetWellsButton/OffsetWellsButton.js";import"../Autocomplete/Autocomplete.js";import"../Select/Select.js";import"../AppSettingsDivider/AppSettingsDivider.scss.js";import"../DatePicker/DatePicker.js";import"../DragHandle/DragHandle.js";import"../CompletionsOffsetWellPicker/CompletionsOffsetWellPicker.js";import"../Slider/constants.js";import"../Slider/components/SliderThumb.js";import"../Slider/Slider.scss.js";import"react-color";import"../ColorPicker/Swatches/Swatches.scss.js";import"../ColorPicker/OpacityDragtracker/OpacityDragTracker.scss.js";import"../ColorPicker/ColorPicker.scss.js";import"../../components/DevCenter/DevCenterAppContainer/components/FullscreenButton/FullscreenButton.js";import"../../components/DevCenter/DevCenterAppContainer/components/AppInfoMessage/AppInfoMessage.js";import"../../components/DevCenter/DevCenterAppContainer/components/DevCenterAppView/DevCenterAppView.js";import"../../components/DevCenter/DevCenterAppContainer/components/RestoreAppSizeButton/index.js";import"../../components/DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchButton.scss.js";import"../../components/DevCenter/DevCenterAppContainer/DevCenterAppContainer.scss.js";import"../../components/Icons/AnnotationIcon.js";import"../../components/Annotations/components/AnnotationsList/index.js";import"../../components/Annotations/components/LastAnnotation/index.js";import"../../components/Annotations/AnnotationsContext.js";import"../../components/Toaster/Toaster.js";import"../../components/HelpCenter/HelpCenterIcon.js";import"../../components/DevCenter/NavigationBar/NavigationBar.js";import"../../components/DevCenter/SideBar/SideBar.js";import"../../components/DevCenter/AppSettingsPopover/AppSettingsPopover.js";import"../../components/DevCenter/AppFilterPanelLayout/AppFilterPanelLayout.js";import"../../components/DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedAppPage.js";import"../../components/DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedApp.js";import{ModalDisplayComponent as a}from"./ModalDisplayComponent/ModalDisplayComponent.js";var l=function(o){return"archived"===(null==o?void 0:o.status)},j=function(j){var d=j.displayComponent,u=void 0===d?a:d,A=j.onClose,C=p().well,v=c(),I=n(l(C)),D=s(I,2),S=D[0],g=D[1],P=i((function(){null==A||A(),g(!1)}),[A]),h=i(o(t.mark((function o(){var s;return t.wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return P(),o.next=3,m();case 3:(s=o.sent)&&v.push("/assets/".concat(null==C?void 0:C.asset_id,"/").concat(s));case 5:case"end":return o.stop()}}),o)}))),[v,null==C?void 0:C.asset_id,P]);return r((function(){g(l({status:null==C?void 0:C.status}))}),[null==C?void 0:C.id,null==C?void 0:C.status]),S?e(u,{onClose:P,onUnarchive:h}):null};j.DisplayComponents={Modal:a};var d=j;export{d as WellArchivedMessage,j as WellArchivedMessageBase};
2
2
  //# sourceMappingURL=WellArchivedMessage.js.map
@@ -237,7 +237,7 @@ const validateDsn = (dsn) => {
237
237
 
238
238
  const MCP_SERVER_VERSION = '1.3.0';
239
239
 
240
- var version = "3.66.0-0";
240
+ var version = "3.66.0-2";
241
241
 
242
242
  const CORVA_UI_VERSION = version;
243
243
 
@@ -3890,7 +3890,13 @@ var componentsV2Data = [
3890
3890
  {
3891
3891
  name: "name",
3892
3892
  type: "string",
3893
- required: true,
3893
+ required: false,
3894
+ description: ""
3895
+ },
3896
+ {
3897
+ name: "preview",
3898
+ type: "File | string",
3899
+ required: false,
3894
3900
  description: ""
3895
3901
  },
3896
3902
  {
@@ -3985,6 +3991,11 @@ var componentsV2Data = [
3985
3991
  name: "CustomProgressFormatting",
3986
3992
  description: "You can provide your own progress formatting function through `formatProgress` prop",
3987
3993
  code: "<FilesLoader\n name=\"cat.png\"\n current={10_000}\n total={20_000}\n formatProgress={(total, current) => (\n <>\n Goats teleported: <em>{current}</em> of <em>{total}</em>\n </>\n )}\n />"
3994
+ },
3995
+ {
3996
+ name: "WithPreviewImage",
3997
+ description: "You can pass `preview` prop to display a preview. Note that `name` takes precedence over `preview`",
3998
+ code: "<SbColumn alignItems=\"stretch\">\n <FilesLoader\n name=\"cat.png\"\n preview=\"https://upload.wikimedia.org/wikipedia/commons/d/dc/Grumpy_Cat_%2814556024763%29_%28cropped%29.jpg\"\n current={10_000}\n total={20_000}\n />\n <FilesLoader\n preview=\"https://upload.wikimedia.org/wikipedia/commons/d/dc/Grumpy_Cat_%2814556024763%29_%28cropped%29.jpg?dummyparam=dummyvalue\"\n current={10_000}\n total={20_000}\n />\n </SbColumn>"
3988
3999
  }
3989
4000
  ],
3990
4001
  sourceUrl: "https://github.com/corva-ai/corva-ui/blob/develop/src/componentsV2/FilesLoader/FilesLoader.tsx",
@@ -4028,7 +4039,13 @@ var componentsV2Data = [
4028
4039
  name: "value",
4029
4040
  type: "ValueItem[]",
4030
4041
  required: false,
4031
- description: "Files list to display\n\n`type ValueItem = {id: string | number; name: string;};`"
4042
+ description: "Files list to display\n\n`type ValueItem = {id: string | number; name: string; preview?: File | string};`"
4043
+ },
4044
+ {
4045
+ name: "preview",
4046
+ type: "boolean",
4047
+ required: false,
4048
+ description: "Shows preview for images being processed and from `value` prop. Pass `preview` property to an item of `value`."
4032
4049
  },
4033
4050
  {
4034
4051
  name: "onDelete",
@@ -4095,17 +4112,22 @@ var componentsV2Data = [
4095
4112
  {
4096
4113
  name: "Default",
4097
4114
  description: "",
4098
- code: "{\n const [value, setValue] = useState([\n { id: 1, name: 'data.csv' },\n { id: 2, name: 'more data.xlsx' },\n { id: 3, name: 'My Cat.jpeg' },\n ]);\n\n const processFile: FilesProcessorFunction<{\n id: number;\n fileName: string;\n }> = useCallback(async (file, onProgress, registerOnCancel) => {\n // eslint-disable-next-line no-console\n registerOnCancel(() => console.log('CANCELLED', file));\n\n for (let i = 0, c = 5; i < c; i += 1) {\n onProgress(600, 100 * (i + 1));\n // eslint-disable-next-line no-await-in-loop\n await new Promise(r => setTimeout(r, 500));\n }\n\n return {\n id: Math.random() * 1000,\n fileName: file.name,\n };\n }, []);\n\n return (\n <FilesProcessor\n {...props}\n processFile={processFile}\n value={value}\n onDone={(results, ...rest) => {\n props.onDone?.(results, ...rest);\n\n const mapResults = (result: typeof results[number]) => ({\n id: result.id,\n name: result.fileName,\n \n// ... (truncated)"
4115
+ code: "{\n const [value, setValue] = useState([\n { id: 1, name: 'data.csv' },\n { id: 2, name: 'more data.xlsx' },\n { id: 3, name: 'My Cat.jpeg' },\n ]);\n\n const processFile: FilesProcessorFunction<{\n id: number;\n fileName: string;\n }> = useCallback(async (file, onProgress, registerOnCancel) => {\n // eslint-disable-next-line no-console\n registerOnCancel(() => console.log('CANCELLED', file));\n\n for (let i = 0, c = 5; i < c; i += 1) {\n onProgress(100 * c, 100 * (i + 1));\n // eslint-disable-next-line no-await-in-loop\n await new Promise(r => setTimeout(r, 500));\n }\n\n return {\n id: Math.random() * 1000,\n fileName: file.name,\n };\n }, []);\n\n return (\n <FilesProcessor\n {...props}\n processFile={processFile}\n value={value}\n onDone={(results, ...rest) => {\n props.onDone?.(results, ...rest);\n\n const mapResults = (result: typeof results[number]) => ({\n id: result.id,\n name: result.fileName,\n\n// ... (truncated)"
4099
4116
  },
4100
4117
  {
4101
4118
  name: "SingleFileProcessing",
4102
4119
  description: "If `multiple` prop is `false` or `undefined`, the component will accept only a single file and will not display a dropzone if `value` is not empty",
4103
- code: "{\n const [value, setValue] = useState<\n {\n id: number;\n name: string;\n }[]\n >([]);\n\n const processFile: FilesProcessorFunction<{\n id: number;\n name: string;\n }> = useCallback(async (file, onProgress) => {\n for (let i = 0, c = 5; i < c; i += 1) {\n onProgress(600, 100 * (i + 1));\n // eslint-disable-next-line no-await-in-loop\n await new Promise(r => setTimeout(r, 100));\n }\n\n return {\n id: Math.random() * 1000,\n name: file.name,\n };\n }, []);\n\n return (\n <FilesProcessor\n processFile={processFile}\n value={value}\n onDone={setValue}\n onDelete={item => {\n setValue(items => items.filter(({ id }) => id !== item.id));\n }}\n />\n );\n}"
4120
+ code: "{\n const [value, setValue] = useState<\n {\n id: number;\n name: string;\n }[]\n >([]);\n\n const processFile: FilesProcessorFunction<{\n id: number;\n name: string;\n }> = useCallback(async (file, onProgress) => {\n for (let i = 0, c = 5; i < c; i += 1) {\n onProgress(100 * c, 100 * (i + 1));\n // eslint-disable-next-line no-await-in-loop\n await new Promise(r => setTimeout(r, 100));\n }\n\n return {\n id: Math.random() * 1000,\n name: file.name,\n };\n }, []);\n\n return (\n <FilesProcessor\n processFile={processFile}\n value={value}\n onDone={setValue}\n onDelete={item => {\n setValue(items => items.filter(({ id }) => id !== item.id));\n }}\n />\n );\n}"
4104
4121
  },
4105
4122
  {
4106
4123
  name: "Indeterminate",
4107
4124
  description: "If you don't call `onProgress` (second argument of `processFile`), processing will be \"indetermiante\"",
4108
4125
  code: "{\n const [value, setValue] = useState(() => [\n { id: 1, name: 'data.csv' },\n { id: 2, name: 'more data.xlsx' },\n { id: 3, name: 'My Cat.jpeg' },\n ]);\n\n const processFile: FilesProcessorFunction<{\n id: number;\n fileName: string;\n }> = useCallback(async file => {\n await new Promise(r => setTimeout(r, 5000));\n\n return {\n id: Math.random() * 1000,\n fileName: file.name,\n };\n }, []);\n\n return (\n <FilesProcessor\n multiple\n processFile={processFile}\n value={value}\n onDone={results => {\n const mapResults = (result: typeof results[number]) => ({\n id: result.id,\n name: result.fileName,\n });\n\n setValue(items => [...results.map(mapResults), ...items]);\n }}\n onDelete={item => {\n setValue(items => items.filter(({ id }) => id !== item.id));\n }}\n />\n );\n}"
4126
+ },
4127
+ {
4128
+ name: "WithPreviewImages",
4129
+ description: "Use `preview` prop to show file previews while processing if available. To show previews for pre-existing files/or already processed ones, use the `preview` property of the `value prop's item`",
4130
+ code: "{\n const [value, setValue] = useState<{ id: number; name: string; preview?: string | File }[]>([\n { id: 1, name: 'data.csv' },\n { id: 2, name: 'more data.xlsx' },\n {\n id: 3,\n name: 'My Cat.jpeg',\n preview:\n 'https://upload.wikimedia.org/wikipedia/commons/d/dc/Grumpy_Cat_%2814556024763%29_%28cropped%29.jpg',\n },\n ]);\n\n const processFile = useCallback<\n FilesProcessorFunction<{\n id: number;\n fileName: string;\n preview: File | string;\n }>\n >(async (file, onProgress) => {\n for (let i = 0, c = 15; i < c; i += 1) {\n onProgress(100 * c, 100 * (i + 1));\n // eslint-disable-next-line no-await-in-loop\n await new Promise(r => setTimeout(r, 500));\n }\n\n return {\n id: Math.random() * 1000,\n fileName: file.name,\n // In real life this should be an URL to uploaded file\n preview: file,\n };\n }, []);\n\n return (\n <FilesProcessor\n preview\n multiple\n processFile={processFile}\n val\n// ... (truncated)"
4109
4131
  }
4110
4132
  ],
4111
4133
  sourceUrl: "https://github.com/corva-ai/corva-ui/blob/develop/src/componentsV2/FilesProcessor/FilesProcessor.tsx",
@@ -87756,6 +87778,7 @@ var migrationsData = [
87756
87778
  ],
87757
87779
  autoDerived: {
87758
87780
  addedProps: [
87781
+ "preview",
87759
87782
  "testId"
87760
87783
  ],
87761
87784
  removedProps: [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@corva/ui",
3
- "version": "3.66.0-0",
3
+ "version": "3.66.0-2",
4
4
  "license": "SEE LICENSE IN LICENSE",
5
5
  "description": "Shared components/utils for Corva ui projects",
6
6
  "keywords": [