@corva/ui 3.37.0-6 → 3.37.0-8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1124) hide show
  1. package/assets/1d224e5eb4d88d63868ae26d4822b032.png +0 -0
  2. package/assets/231c7c3e48ddf9e901462a5382f4bc25.png +0 -0
  3. package/assets/48ef40571dcb127243619e183ab8c911.png +0 -0
  4. package/assets/c37998d4ec23703b69878dec7d05cb79.png +0 -0
  5. package/cjs-bundle/components/AddComment/Popover.js +1 -1
  6. package/cjs-bundle/components/AddComment/Popover.js.map +1 -1
  7. package/cjs-bundle/components/AddComment/components/Content.js +1 -1
  8. package/cjs-bundle/components/AddComment/components/Content.js.map +1 -1
  9. package/cjs-bundle/components/AdvancedSlider/Handle.js +1 -1
  10. package/cjs-bundle/components/AdvancedSlider/Handle.js.map +1 -1
  11. package/cjs-bundle/components/Attachment/index.js +1 -1
  12. package/cjs-bundle/components/Attachment/index.js.map +1 -1
  13. package/cjs-bundle/components/BICOffsetPickerDialog/index.js +1 -1
  14. package/cjs-bundle/components/BICOffsetPickerDialog/index.js.map +1 -1
  15. package/cjs-bundle/components/Breadcrumbs/index.js +1 -1
  16. package/cjs-bundle/components/Button/components/LiveButton/index.js +1 -1
  17. package/cjs-bundle/components/Button/index.js +1 -1
  18. package/cjs-bundle/components/Casing/CasingTableV2/components/CasingJoints/Editor.js +1 -1
  19. package/cjs-bundle/components/Casing/CasingTableV2/components/CasingJoints/Editor.js.map +1 -1
  20. package/cjs-bundle/components/Casing/CasingTableV2/components/Component.js +1 -1
  21. package/cjs-bundle/components/Casing/CasingTableV2/components/Component.js.map +1 -1
  22. package/cjs-bundle/components/Casing/CasingTableV2/components/DrillPipe/Editor.js +1 -1
  23. package/cjs-bundle/components/Casing/CasingTableV2/components/DrillPipe/Editor.js.map +1 -1
  24. package/cjs-bundle/components/Chart/components/AxisDropdown.js +1 -1
  25. package/cjs-bundle/components/Chart/components/AxisDropdown.js.map +1 -1
  26. package/cjs-bundle/components/Chart/components/ChartSelect.js +1 -1
  27. package/cjs-bundle/components/Chart/components/ChartSelect.js.map +1 -1
  28. package/cjs-bundle/components/Chart/components/buttons/ChartTypeButton.js +1 -1
  29. package/cjs-bundle/components/Chart/components/buttons/ChartTypeButton.js.map +1 -1
  30. package/cjs-bundle/components/Chart/components/buttons/DragToZoomButton.js +1 -1
  31. package/cjs-bundle/components/Chart/components/buttons/DragToZoomButton.js.map +1 -1
  32. package/cjs-bundle/components/Chart/components/buttons/HideAxesButton.js +1 -1
  33. package/cjs-bundle/components/Chart/components/buttons/HideAxesButton.js.map +1 -1
  34. package/cjs-bundle/components/Chart/components/buttons/PanButton.js +1 -1
  35. package/cjs-bundle/components/Chart/components/buttons/PanButton.js.map +1 -1
  36. package/cjs-bundle/components/Chart/components/buttons/ResetZoomButton.js +1 -1
  37. package/cjs-bundle/components/Chart/components/buttons/ResetZoomButton.js.map +1 -1
  38. package/cjs-bundle/components/Chart/components/buttons/ZoomInButton.js +1 -1
  39. package/cjs-bundle/components/Chart/components/buttons/ZoomInButton.js.map +1 -1
  40. package/cjs-bundle/components/Chart/components/buttons/ZoomOutButton.js +1 -1
  41. package/cjs-bundle/components/Chart/components/buttons/ZoomOutButton.js.map +1 -1
  42. package/cjs-bundle/components/Chip/index.js +1 -1
  43. package/cjs-bundle/components/CollapsableSidebar.js +1 -1
  44. package/cjs-bundle/components/CollapsableSidebar.js.map +1 -1
  45. package/cjs-bundle/components/ColorPicker/ColorPicker.js +1 -1
  46. package/cjs-bundle/components/ColorPicker/PaletteChromePicker/PaletteChromePicker.js +1 -1
  47. package/cjs-bundle/components/CopyToClipboard/CopyToClipboard.js +1 -1
  48. package/cjs-bundle/components/Counter/index.js +1 -1
  49. package/cjs-bundle/components/DatePicker/index.js +1 -1
  50. package/cjs-bundle/components/DateTimePicker/index.js +1 -1
  51. package/cjs-bundle/components/DevCenter/AppFilterPanelLayout/AppFilterPanelLayout.js +1 -1
  52. package/cjs-bundle/components/DevCenter/AppSettingsPopover/AppSettingsPopover.js +1 -1
  53. package/cjs-bundle/components/DevCenter/AppSideBar/AppSideBar.js +1 -1
  54. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/DevCenterAppContainer.js +1 -1
  55. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/DevCenterAppContainer.js.map +1 -1
  56. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/AppSettingsDialog.js +1 -1
  57. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/AppSettingsDialog.js.map +1 -1
  58. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/components/RemoveAppButton.js +1 -1
  59. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/components/RemoveAppButton.js.map +1 -1
  60. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchButton.js +1 -1
  61. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/NonPriorityMenus/NonPriorityMenus.js +1 -1
  62. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/PriorityMenus/PriorityMenus.js +1 -1
  63. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/PriorityMenus/PriorityMenus.js.map +1 -1
  64. package/cjs-bundle/components/DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedApp.js +1 -1
  65. package/cjs-bundle/components/DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedApp.js.map +1 -1
  66. package/cjs-bundle/components/DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedAppPage.js +1 -1
  67. package/cjs-bundle/components/DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedAppPage.js.map +1 -1
  68. package/cjs-bundle/components/DocumentViewer/DocumentViewer.js +1 -1
  69. package/cjs-bundle/components/DocumentViewer/DocumentViewer.js.map +1 -1
  70. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Agitator/Editor.js +1 -1
  71. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Agitator/Editor.js.map +1 -1
  72. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Bit/Editor.js +1 -1
  73. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Bit/Editor.js.map +1 -1
  74. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Component.js +1 -1
  75. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Component.js.map +1 -1
  76. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/DrillCollar/Editor.js +1 -1
  77. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/DrillCollar/Editor.js.map +1 -1
  78. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/DrillPipe/Editor.js +1 -1
  79. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/DrillPipe/Editor.js.map +1 -1
  80. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Jar/Editor.js +1 -1
  81. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Jar/Editor.js.map +1 -1
  82. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Lwd/Editor.js +1 -1
  83. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Lwd/Editor.js.map +1 -1
  84. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Mwd/Editor.js +1 -1
  85. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Mwd/Editor.js.map +1 -1
  86. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Pdm/Editor.js +1 -1
  87. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Pdm/Editor.js.map +1 -1
  88. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Rss/Editor.js +1 -1
  89. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Rss/Editor.js.map +1 -1
  90. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Stabilizer/Editor.js +1 -1
  91. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Stabilizer/Editor.js.map +1 -1
  92. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Sub/Editor.js +1 -1
  93. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Sub/Editor.js.map +1 -1
  94. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Ur/Editor.js +1 -1
  95. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Ur/Editor.js.map +1 -1
  96. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/shared/ConfirmationPopup.js +1 -1
  97. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/shared/ConfirmationPopup.js.map +1 -1
  98. package/cjs-bundle/components/EChartsWrapper/components/Toolbox/Toolbox.js +1 -1
  99. package/cjs-bundle/components/FeedItem/FeedItem.js +1 -1
  100. package/cjs-bundle/components/FeedItem/FeedItem.js.map +1 -1
  101. package/cjs-bundle/components/FeedItem/components/FeedComments.js +1 -1
  102. package/cjs-bundle/components/FeedItem/components/FeedComments.js.map +1 -1
  103. package/cjs-bundle/components/FilesDropzone/FilesDropzone.js +1 -1
  104. package/cjs-bundle/components/FilesLoader/FilesLoader.js +1 -1
  105. package/cjs-bundle/components/FilesLoaderV2/FilesLoaderV2.js +1 -1
  106. package/cjs-bundle/components/Formula/CloseSuggestion.js +1 -1
  107. package/cjs-bundle/components/Formula/CloseSuggestion.js.map +1 -1
  108. package/cjs-bundle/components/Formula/Formula.js +1 -1
  109. package/cjs-bundle/components/GradientManager/GradientManager.js +1 -1
  110. package/cjs-bundle/components/GradientManager/GradientSelect.js +1 -1
  111. package/cjs-bundle/components/GradientPicker/GradientPicker.js +1 -1
  112. package/cjs-bundle/components/HelpCenter/HelpCenterIcon.js +1 -1
  113. package/cjs-bundle/components/HelpCenter/HelpCenterIcon.js.map +1 -1
  114. package/cjs-bundle/components/Hint/Hint.js +1 -1
  115. package/cjs-bundle/components/ImageViewer/index.js +1 -1
  116. package/cjs-bundle/components/ImageViewer/index.js.map +1 -1
  117. package/cjs-bundle/components/Modal/CorvaModal.js +1 -1
  118. package/cjs-bundle/components/Notifications/Toast.js +1 -1
  119. package/cjs-bundle/components/OffsetWellMap/OffsetWellMap.js +1 -1
  120. package/cjs-bundle/components/OffsetWellMap/OffsetWellMap.js.map +1 -1
  121. package/cjs-bundle/components/OffsetWellPickerV2/components/Filter/ToggleMapButton.js +1 -1
  122. package/cjs-bundle/components/OffsetWellPickerV2/components/Filter/ToggleMapButton.js.map +1 -1
  123. package/cjs-bundle/components/OffsetWellPickerV2/components/Table/MetricsAddMenu.js +1 -1
  124. package/cjs-bundle/components/OffsetWellPickerV2/components/Table/MetricsAddMenu.js.map +1 -1
  125. package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/MetricsAddMenu.js +1 -1
  126. package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/MetricsAddMenu.js.map +1 -1
  127. package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/index.js +1 -1
  128. package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/index.js.map +1 -1
  129. package/cjs-bundle/components/OffsetWellPickerV3/components/OffsetWellSelectionView/index.js +1 -1
  130. package/cjs-bundle/components/OffsetWellPickerV3/components/OffsetWellSelectionView/index.js.map +1 -1
  131. package/cjs-bundle/components/OffsetWellPickerV3/components/TabSelection/ToggleMapButton.js +1 -1
  132. package/cjs-bundle/components/OffsetWellPickerV3/components/TabSelection/ToggleMapButton.js.map +1 -1
  133. package/cjs-bundle/components/OffsetWellPickerV3/components/TabSelection/index.js +1 -1
  134. package/cjs-bundle/components/OffsetWellPickerV3/components/TabSelection/index.js.map +1 -1
  135. package/cjs-bundle/components/OffsetWellPickerV3/components/WellHubView/index.js +1 -1
  136. package/cjs-bundle/components/OffsetWellPickerV3/components/WellHubView/index.js.map +1 -1
  137. package/cjs-bundle/components/OffsetWellPickerV3/components/shared/OffsetWellTableHead.js +1 -1
  138. package/cjs-bundle/components/OffsetWellPickerV3/components/shared/OffsetWellTableHead.js.map +1 -1
  139. package/cjs-bundle/components/OffsetWellPickerV4/OffsetWellPickerV4.js +1 -1
  140. package/cjs-bundle/components/OffsetWellPickerV4/OffsetWellPickerV4.js.map +1 -1
  141. package/cjs-bundle/components/OffsetWellPickerV4/components/Filter/Filter.js +1 -1
  142. package/cjs-bundle/components/OffsetWellPickerV4/components/Filter/Filter.js.map +1 -1
  143. package/cjs-bundle/components/OffsetWellPickerV4/components/OffsetWellsTable/AdvancedSearch/AdvancedSearch.js +1 -1
  144. package/cjs-bundle/components/OffsetWellPickerV4/components/OffsetWellsTable/AdvancedSearch/AdvancedSearch.js.map +1 -1
  145. package/cjs-bundle/components/OffsetWellPickerV4/components/OffsetWellsTable/MetricsSettingMenu.js +1 -1
  146. package/cjs-bundle/components/OffsetWellPickerV4/components/OffsetWellsTable/MetricsSettingMenu.js.map +1 -1
  147. package/cjs-bundle/components/OffsetWellPickerV4/components/OffsetWellsTable/OffsetWellsTable.js +1 -1
  148. package/cjs-bundle/components/OffsetWellPickerV4/components/OffsetWellsTable/OffsetWellsTable.js.map +1 -1
  149. package/cjs-bundle/components/OffsetWellPickerV4/components/OffsetWellsTable/OffsetWellsTableHead.js +1 -1
  150. package/cjs-bundle/components/OffsetWellPickerV4/components/OffsetWellsTable/OffsetWellsTableHead.js.map +1 -1
  151. package/cjs-bundle/components/OffsetWellPickerV4/components/Toolbar/Toolbar.js +1 -1
  152. package/cjs-bundle/components/OffsetWellPickerV4/components/Toolbar/Toolbar.js.map +1 -1
  153. package/cjs-bundle/components/OffsetWellPickerV4/index.js +2 -0
  154. package/cjs-bundle/components/OffsetWellPickerV4/index.js.map +1 -0
  155. package/cjs-bundle/components/OffsetWellPickerV5/OffsetWellPickerV5.js +2 -0
  156. package/cjs-bundle/components/OffsetWellPickerV5/OffsetWellPickerV5.js.map +1 -0
  157. package/cjs-bundle/components/OffsetWellPickerV5/OffsetWellPickerV5.module.css.js +2 -0
  158. package/cjs-bundle/components/OffsetWellPickerV5/OffsetWellPickerV5.module.css.js.map +1 -0
  159. package/cjs-bundle/components/OffsetWellPickerV5/OffsetWellPickerV5WithStore.js +2 -0
  160. package/cjs-bundle/components/OffsetWellPickerV5/OffsetWellPickerV5WithStore.js.map +1 -0
  161. package/cjs-bundle/components/OffsetWellPickerV5/api/assets/fetchAllAssets.js +2 -0
  162. package/cjs-bundle/components/OffsetWellPickerV5/api/assets/fetchAllAssets.js.map +1 -0
  163. package/cjs-bundle/components/OffsetWellPickerV5/api/assets/fetchAssetWells.js +2 -0
  164. package/cjs-bundle/components/OffsetWellPickerV5/api/assets/fetchAssetWells.js.map +1 -0
  165. package/cjs-bundle/components/OffsetWellPickerV5/api/assets/fetchRigs.js +2 -0
  166. package/cjs-bundle/components/OffsetWellPickerV5/api/assets/fetchRigs.js.map +1 -0
  167. package/cjs-bundle/components/OffsetWellPickerV5/api/bic/fetchOffsetWellSelections.js +2 -0
  168. package/cjs-bundle/components/OffsetWellPickerV5/api/bic/fetchOffsetWellSelections.js.map +1 -0
  169. package/cjs-bundle/components/OffsetWellPickerV5/api/bic/fetchWellhubWells.js +2 -0
  170. package/cjs-bundle/components/OffsetWellPickerV5/api/bic/fetchWellhubWells.js.map +1 -0
  171. package/cjs-bundle/components/OffsetWellPickerV5/api/bic/resyncIdasWells.js +2 -0
  172. package/cjs-bundle/components/OffsetWellPickerV5/api/bic/resyncIdasWells.js.map +1 -0
  173. package/cjs-bundle/components/OffsetWellPickerV5/api/companies/fetchCompanies.js +2 -0
  174. package/cjs-bundle/components/OffsetWellPickerV5/api/companies/fetchCompanies.js.map +1 -0
  175. package/cjs-bundle/components/OffsetWellPickerV5/api/companies/fetchCompanyGoals.js +2 -0
  176. package/cjs-bundle/components/OffsetWellPickerV5/api/companies/fetchCompanyGoals.js.map +1 -0
  177. package/cjs-bundle/components/OffsetWellPickerV5/api/metrics/fetchMetricsData.js +2 -0
  178. package/cjs-bundle/components/OffsetWellPickerV5/api/metrics/fetchMetricsData.js.map +1 -0
  179. package/cjs-bundle/components/OffsetWellPickerV5/api/shared/constants.js +2 -0
  180. package/cjs-bundle/components/OffsetWellPickerV5/api/shared/constants.js.map +1 -0
  181. package/cjs-bundle/components/OffsetWellPickerV5/api/shared/dataFormatter.js +2 -0
  182. package/cjs-bundle/components/OffsetWellPickerV5/api/shared/dataFormatter.js.map +1 -0
  183. package/cjs-bundle/components/OffsetWellPickerV5/api/shared/fetchers/assetsFetcher.js +2 -0
  184. package/cjs-bundle/components/OffsetWellPickerV5/api/shared/fetchers/assetsFetcher.js.map +1 -0
  185. package/cjs-bundle/components/OffsetWellPickerV5/api/shared/fetchers/getAllWellAssetIds.js +2 -0
  186. package/cjs-bundle/components/OffsetWellPickerV5/api/shared/fetchers/getAllWellAssetIds.js.map +1 -0
  187. package/cjs-bundle/components/OffsetWellPickerV5/api/shared/fetchers/getAssetsByIds.js +2 -0
  188. package/cjs-bundle/components/OffsetWellPickerV5/api/shared/fetchers/getAssetsByIds.js.map +1 -0
  189. package/cjs-bundle/components/OffsetWellPickerV5/api/shared/fetchers/wellsFetcher.js +2 -0
  190. package/cjs-bundle/components/OffsetWellPickerV5/api/shared/fetchers/wellsFetcher.js.map +1 -0
  191. package/cjs-bundle/components/OffsetWellPickerV5/api/shared/transformers/transformAssetToOffsetWell.js +2 -0
  192. package/cjs-bundle/components/OffsetWellPickerV5/api/shared/transformers/transformAssetToOffsetWell.js.map +1 -0
  193. package/cjs-bundle/components/OffsetWellPickerV5/api/shared/transformers/transformToApiCoordinateBounds.js +2 -0
  194. package/cjs-bundle/components/OffsetWellPickerV5/api/shared/transformers/transformToApiCoordinateBounds.js.map +1 -0
  195. package/cjs-bundle/components/OffsetWellPickerV5/api/wells/fetchCompanyIdsByWellIds.js +2 -0
  196. package/cjs-bundle/components/OffsetWellPickerV5/api/wells/fetchCompanyIdsByWellIds.js.map +1 -0
  197. package/cjs-bundle/components/OffsetWellPickerV5/api/wells/fetchWells.js +2 -0
  198. package/cjs-bundle/components/OffsetWellPickerV5/api/wells/fetchWells.js.map +1 -0
  199. package/cjs-bundle/components/OffsetWellPickerV5/api/wells/fetchWellsByIds.js +2 -0
  200. package/cjs-bundle/components/OffsetWellPickerV5/api/wells/fetchWellsByIds.js.map +1 -0
  201. package/cjs-bundle/components/OffsetWellPickerV5/components/AppHeader/AppHeader.js +2 -0
  202. package/cjs-bundle/components/OffsetWellPickerV5/components/AppHeader/AppHeader.js.map +1 -0
  203. package/cjs-bundle/components/OffsetWellPickerV5/components/AppHeader/AppHeader.module.css.js +2 -0
  204. package/cjs-bundle/components/OffsetWellPickerV5/components/AppHeader/AppHeader.module.css.js.map +1 -0
  205. package/cjs-bundle/components/OffsetWellPickerV5/components/CustomInfoIcon/CustomInfoIcon.js +2 -0
  206. package/cjs-bundle/components/OffsetWellPickerV5/components/CustomInfoIcon/CustomInfoIcon.js.map +1 -0
  207. package/cjs-bundle/components/OffsetWellPickerV5/components/CustomInfoIcon/CustomInfoIcon.module.css.js +2 -0
  208. package/cjs-bundle/components/OffsetWellPickerV5/components/CustomInfoIcon/CustomInfoIcon.module.css.js.map +1 -0
  209. package/cjs-bundle/components/OffsetWellPickerV5/components/Filter/Filter.js +2 -0
  210. package/cjs-bundle/components/OffsetWellPickerV5/components/Filter/Filter.js.map +1 -0
  211. package/cjs-bundle/components/OffsetWellPickerV5/components/Filter/Filter.module.css.js +2 -0
  212. package/cjs-bundle/components/OffsetWellPickerV5/components/Filter/Filter.module.css.js.map +1 -0
  213. package/cjs-bundle/components/OffsetWellPickerV5/components/Filter/MultiSelect.js +2 -0
  214. package/cjs-bundle/components/OffsetWellPickerV5/components/Filter/MultiSelect.js.map +1 -0
  215. package/cjs-bundle/components/OffsetWellPickerV5/components/Filter/PeriodSelect.js +2 -0
  216. package/cjs-bundle/components/OffsetWellPickerV5/components/Filter/PeriodSelect.js.map +1 -0
  217. package/cjs-bundle/components/OffsetWellPickerV5/components/Filter/SingleSelect.js +2 -0
  218. package/cjs-bundle/components/OffsetWellPickerV5/components/Filter/SingleSelect.js.map +1 -0
  219. package/cjs-bundle/components/OffsetWellPickerV5/components/Filter/WellSection.js +2 -0
  220. package/cjs-bundle/components/OffsetWellPickerV5/components/Filter/WellSection.js.map +1 -0
  221. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/OffsetWellMap.js +2 -0
  222. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/OffsetWellMap.js.map +1 -0
  223. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/OffsetWellMap.module.css.js +2 -0
  224. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/OffsetWellMap.module.css.js.map +1 -0
  225. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/LassoTip/LassoTip.js +2 -0
  226. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/LassoTip/LassoTip.js.map +1 -0
  227. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/LassoTip/LassoTip.module.css.js +2 -0
  228. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/LassoTip/LassoTip.module.css.js.map +1 -0
  229. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/LayerSwitcher/LayerSwitcher.js +2 -0
  230. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/LayerSwitcher/LayerSwitcher.js.map +1 -0
  231. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/LayerSwitcher/LayerSwitcher.module.css.js +2 -0
  232. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/LayerSwitcher/LayerSwitcher.module.css.js.map +1 -0
  233. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapControls/MapControls.js +2 -0
  234. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapControls/MapControls.js.map +1 -0
  235. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapControls/MapControls.module.css.js +2 -0
  236. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapControls/MapControls.module.css.js.map +1 -0
  237. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/RadiusInput/RadiusInput.js +2 -0
  238. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/RadiusInput/RadiusInput.js.map +1 -0
  239. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/RadiusInput/RadiusInput.module.css.js +2 -0
  240. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/RadiusInput/RadiusInput.module.css.js.map +1 -0
  241. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/SubjectWellMarker/SubjectWellMarker.js +2 -0
  242. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/SubjectWellMarker/SubjectWellMarker.js.map +1 -0
  243. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/WellTooltip/WellTooltip.js +2 -0
  244. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/WellTooltip/WellTooltip.js.map +1 -0
  245. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/WellTooltip/WellTooltip.module.css.js +2 -0
  246. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/WellTooltip/WellTooltip.module.css.js.map +1 -0
  247. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/constants.js +2 -0
  248. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/constants.js.map +1 -0
  249. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useLassoSelection.js +2 -0
  250. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useLassoSelection.js.map +1 -0
  251. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useMapBounds.js +2 -0
  252. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useMapBounds.js.map +1 -0
  253. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useMapZoom.js +2 -0
  254. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useMapZoom.js.map +1 -0
  255. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useRadiusCircle.js +2 -0
  256. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useRadiusCircle.js.map +1 -0
  257. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useTooltip.js +2 -0
  258. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useTooltip.js.map +1 -0
  259. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useWellMarkers.js +2 -0
  260. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useWellMarkers.js.map +1 -0
  261. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/utils/getAllFormations.js +2 -0
  262. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/utils/getAllFormations.js.map +1 -0
  263. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/utils/polygonCoords.js +2 -0
  264. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/utils/polygonCoords.js.map +1 -0
  265. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/utils/toCoordinates.js +2 -0
  266. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/utils/toCoordinates.js.map +1 -0
  267. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/utils/toMapboxCoords.js +2 -0
  268. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/utils/toMapboxCoords.js.map +1 -0
  269. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/WellsMap.js +2 -0
  270. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/WellsMap.js.map +1 -0
  271. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/WellsMap.module.css.js +2 -0
  272. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/WellsMap.module.css.js.map +1 -0
  273. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/AdvancedSearch.js +2 -0
  274. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/AdvancedSearch.js.map +1 -0
  275. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/AdvancedSearch.module.css.js +2 -0
  276. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/AdvancedSearch.module.css.js.map +1 -0
  277. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/AssetResultSection.js +2 -0
  278. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/AssetResultSection.js.map +1 -0
  279. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/AssetTypesSection.js +2 -0
  280. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/AssetTypesSection.js.map +1 -0
  281. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/AutoCompleteAssetSearch.js +2 -0
  282. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/AutoCompleteAssetSearch.js.map +1 -0
  283. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/constants.js +2 -0
  284. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/constants.js.map +1 -0
  285. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/MetricsSelect.js +2 -0
  286. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/MetricsSelect.js.map +1 -0
  287. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/MetricsSettingMenu.js +2 -0
  288. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/MetricsSettingMenu.js.map +1 -0
  289. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/MetricsSettingMenu.module.scss.js +2 -0
  290. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/MetricsSettingMenu.module.scss.js.map +1 -0
  291. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/OffsetWellsTable.js +2 -0
  292. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/OffsetWellsTable.js.map +1 -0
  293. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/OffsetWellsTable.module.css.js +2 -0
  294. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/OffsetWellsTable.module.css.js.map +1 -0
  295. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/OffsetWellsTableHead.js +2 -0
  296. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/OffsetWellsTableHead.js.map +1 -0
  297. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/OffsetWellsTableHead.module.css.js +2 -0
  298. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/OffsetWellsTableHead.module.css.js.map +1 -0
  299. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/OffsetWellsTableRow.js +2 -0
  300. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/OffsetWellsTableRow.js.map +1 -0
  301. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/OffsetWellsTableRow.module.css.js +2 -0
  302. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/OffsetWellsTableRow.module.css.js.map +1 -0
  303. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/SubjectWellMark.js +2 -0
  304. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/SubjectWellMark.js.map +1 -0
  305. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/ViewWellSectionsName.js +2 -0
  306. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/ViewWellSectionsName.js.map +1 -0
  307. package/cjs-bundle/components/OffsetWellPickerV5/constants.js +2 -0
  308. package/cjs-bundle/components/OffsetWellPickerV5/constants.js.map +1 -0
  309. package/cjs-bundle/components/OffsetWellPickerV5/effects/useAdvancedWells.js +2 -0
  310. package/cjs-bundle/components/OffsetWellPickerV5/effects/useAdvancedWells.js.map +1 -0
  311. package/cjs-bundle/components/OffsetWellPickerV5/effects/useAssetsData.js +2 -0
  312. package/cjs-bundle/components/OffsetWellPickerV5/effects/useAssetsData.js.map +1 -0
  313. package/cjs-bundle/components/OffsetWellPickerV5/effects/useBicWells.js +2 -0
  314. package/cjs-bundle/components/OffsetWellPickerV5/effects/useBicWells.js.map +1 -0
  315. package/cjs-bundle/components/OffsetWellPickerV5/effects/useCompanies.js +2 -0
  316. package/cjs-bundle/components/OffsetWellPickerV5/effects/useCompanies.js.map +1 -0
  317. package/cjs-bundle/components/OffsetWellPickerV5/effects/useCompanyMetricKey.js +2 -0
  318. package/cjs-bundle/components/OffsetWellPickerV5/effects/useCompanyMetricKey.js.map +1 -0
  319. package/cjs-bundle/components/OffsetWellPickerV5/effects/useCompanyProvider.js +2 -0
  320. package/cjs-bundle/components/OffsetWellPickerV5/effects/useCompanyProvider.js.map +1 -0
  321. package/cjs-bundle/components/OffsetWellPickerV5/effects/useFetchSubjectWell.js +2 -0
  322. package/cjs-bundle/components/OffsetWellPickerV5/effects/useFetchSubjectWell.js.map +1 -0
  323. package/cjs-bundle/components/OffsetWellPickerV5/effects/useFetchWells.js +2 -0
  324. package/cjs-bundle/components/OffsetWellPickerV5/effects/useFetchWells.js.map +1 -0
  325. package/cjs-bundle/components/OffsetWellPickerV5/effects/useFilterOptions.js +2 -0
  326. package/cjs-bundle/components/OffsetWellPickerV5/effects/useFilterOptions.js.map +1 -0
  327. package/cjs-bundle/components/OffsetWellPickerV5/effects/useFilteredWells.js +2 -0
  328. package/cjs-bundle/components/OffsetWellPickerV5/effects/useFilteredWells.js.map +1 -0
  329. package/cjs-bundle/components/OffsetWellPickerV5/effects/useSortedWells.js +2 -0
  330. package/cjs-bundle/components/OffsetWellPickerV5/effects/useSortedWells.js.map +1 -0
  331. package/cjs-bundle/components/OffsetWellPickerV5/effects/useTableColumns.js +2 -0
  332. package/cjs-bundle/components/OffsetWellPickerV5/effects/useTableColumns.js.map +1 -0
  333. package/cjs-bundle/components/OffsetWellPickerV5/stores/filter-store/FilterStoreContext.js +2 -0
  334. package/cjs-bundle/components/OffsetWellPickerV5/stores/filter-store/FilterStoreContext.js.map +1 -0
  335. package/cjs-bundle/components/OffsetWellPickerV5/stores/filter-store/FilterStoreProvider.js +2 -0
  336. package/cjs-bundle/components/OffsetWellPickerV5/stores/filter-store/FilterStoreProvider.js.map +1 -0
  337. package/cjs-bundle/components/OffsetWellPickerV5/stores/filter-store/createFilterStore.js +2 -0
  338. package/cjs-bundle/components/OffsetWellPickerV5/stores/filter-store/createFilterStore.js.map +1 -0
  339. package/cjs-bundle/components/OffsetWellPickerV5/stores/filter-store/useFilterStore.js +2 -0
  340. package/cjs-bundle/components/OffsetWellPickerV5/stores/filter-store/useFilterStore.js.map +1 -0
  341. package/cjs-bundle/components/OffsetWellPickerV5/stores/picker-props-store/PickerPropsStoreContext.js +2 -0
  342. package/cjs-bundle/components/OffsetWellPickerV5/stores/picker-props-store/PickerPropsStoreContext.js.map +1 -0
  343. package/cjs-bundle/components/OffsetWellPickerV5/stores/picker-props-store/PickerPropsStoreProvider.js +2 -0
  344. package/cjs-bundle/components/OffsetWellPickerV5/stores/picker-props-store/PickerPropsStoreProvider.js.map +1 -0
  345. package/cjs-bundle/components/OffsetWellPickerV5/stores/picker-props-store/createPickerPropsStore.js +2 -0
  346. package/cjs-bundle/components/OffsetWellPickerV5/stores/picker-props-store/createPickerPropsStore.js.map +1 -0
  347. package/cjs-bundle/components/OffsetWellPickerV5/stores/picker-props-store/usePickerPropsStore.js +2 -0
  348. package/cjs-bundle/components/OffsetWellPickerV5/stores/picker-props-store/usePickerPropsStore.js.map +1 -0
  349. package/cjs-bundle/components/OffsetWellPickerV5/stores/utils/useContextOrThrow.js +2 -0
  350. package/cjs-bundle/components/OffsetWellPickerV5/stores/utils/useContextOrThrow.js.map +1 -0
  351. package/cjs-bundle/components/OffsetWellPickerV5/stores/utils/useStableCallback.js +2 -0
  352. package/cjs-bundle/components/OffsetWellPickerV5/stores/utils/useStableCallback.js.map +1 -0
  353. package/cjs-bundle/components/OffsetWellPickerV5/stores/utils/useSyncProps.js +2 -0
  354. package/cjs-bundle/components/OffsetWellPickerV5/stores/utils/useSyncProps.js.map +1 -0
  355. package/cjs-bundle/components/OffsetWellPickerV5/stores/view-store/ViewStoreContext.js +2 -0
  356. package/cjs-bundle/components/OffsetWellPickerV5/stores/view-store/ViewStoreContext.js.map +1 -0
  357. package/cjs-bundle/components/OffsetWellPickerV5/stores/view-store/ViewStoreProvider.js +2 -0
  358. package/cjs-bundle/components/OffsetWellPickerV5/stores/view-store/ViewStoreProvider.js.map +1 -0
  359. package/cjs-bundle/components/OffsetWellPickerV5/stores/view-store/createViewStore.js +2 -0
  360. package/cjs-bundle/components/OffsetWellPickerV5/stores/view-store/createViewStore.js.map +1 -0
  361. package/cjs-bundle/components/OffsetWellPickerV5/stores/view-store/useViewStore.js +2 -0
  362. package/cjs-bundle/components/OffsetWellPickerV5/stores/view-store/useViewStore.js.map +1 -0
  363. package/cjs-bundle/components/OffsetWellPickerV5/utils/calculateBoundsFromRadius.js +2 -0
  364. package/cjs-bundle/components/OffsetWellPickerV5/utils/calculateBoundsFromRadius.js.map +1 -0
  365. package/cjs-bundle/components/OffsetWellPickerV5/utils/fetchDataByChunks.js +2 -0
  366. package/cjs-bundle/components/OffsetWellPickerV5/utils/fetchDataByChunks.js.map +1 -0
  367. package/cjs-bundle/components/OffsetWellPickerV5/utils/getIsImperial.js +2 -0
  368. package/cjs-bundle/components/OffsetWellPickerV5/utils/getIsImperial.js.map +1 -0
  369. package/cjs-bundle/components/OffsetWellPickerV5/utils/getTimestampByPeriod.js +2 -0
  370. package/cjs-bundle/components/OffsetWellPickerV5/utils/getTimestampByPeriod.js.map +1 -0
  371. package/cjs-bundle/components/OffsetWellPickerV5/utils/index.js +2 -0
  372. package/cjs-bundle/components/OffsetWellPickerV5/utils/index.js.map +1 -0
  373. package/cjs-bundle/components/OffsetWellPickerV5/utils/wellTransformations.js +2 -0
  374. package/cjs-bundle/components/OffsetWellPickerV5/utils/wellTransformations.js.map +1 -0
  375. package/cjs-bundle/components/PadModeSelect/FracModeLabel.js +1 -1
  376. package/cjs-bundle/components/PadModeSelect/PadModeSelect.js +1 -1
  377. package/cjs-bundle/components/PadOffsetsPicker/StagesSelector.js +1 -1
  378. package/cjs-bundle/components/PadOffsetsPicker/StagesSelector.js.map +1 -1
  379. package/cjs-bundle/components/PadOffsetsPickerV2/PadOffsetsPickerV2.js +1 -1
  380. package/cjs-bundle/components/ParameterCharts/components/TraceHeader.js +1 -1
  381. package/cjs-bundle/components/ParameterCharts/components/TraceHeader.js.map +1 -1
  382. package/cjs-bundle/components/PinnableFilters/components/FiltersToggler.js +1 -1
  383. package/cjs-bundle/components/PinnableFilters/components/FiltersToggler.js.map +1 -1
  384. package/cjs-bundle/components/Popover/Popover.js +1 -1
  385. package/cjs-bundle/components/Popper/Popper.js +1 -1
  386. package/cjs-bundle/components/RealTimeValuesSidebar/RealTimeValuesBox/RealTimeBoxEditDialog.js +1 -1
  387. package/cjs-bundle/components/RealTimeValuesSidebar/SidebarFooter.js +1 -1
  388. package/cjs-bundle/components/Search/Search.js +1 -1
  389. package/cjs-bundle/components/Select/SelectFilterBy.js +1 -1
  390. package/cjs-bundle/components/SettingEditors/ColorEditor/index.js +1 -1
  391. package/cjs-bundle/components/Stepper/Step/Step.js +1 -1
  392. package/cjs-bundle/components/Table/TableCell/TableCell.js +1 -1
  393. package/cjs-bundle/components/Table/TablePaginationActions/TablePaginationActions.js +1 -1
  394. package/cjs-bundle/components/Table/TableSortLabel/TableSortLabel.js +1 -1
  395. package/cjs-bundle/components/Toaster/Toaster.js +1 -1
  396. package/cjs-bundle/components/index.js +1 -1
  397. package/cjs-bundle/componentsV2/Accordion/Accordion.js +1 -1
  398. package/cjs-bundle/componentsV2/AppDqPopover/DqAlertTooltip/DqAlertTooltip.js +1 -1
  399. package/cjs-bundle/componentsV2/AppDqPopover/DqAsset/DqAsset.js +1 -1
  400. package/cjs-bundle/componentsV2/AppFooter/DqPopover/DqStatusIcon/DqStatusIcon.js +1 -1
  401. package/cjs-bundle/componentsV2/AppFooter/Warning.js +1 -1
  402. package/cjs-bundle/componentsV2/AppHeader/AppAssets/utils.js +1 -1
  403. package/cjs-bundle/componentsV2/AppHeader/V3/Actions/Actions.js +1 -1
  404. package/cjs-bundle/componentsV2/AppHeader/V3/AppTitle/AppTitle.js +1 -1
  405. package/cjs-bundle/componentsV2/AppHeader/V3/AssetSelector/AssetSelectorChip/AssetSelectorChip.js +1 -1
  406. package/cjs-bundle/componentsV2/AppHeader/V3/AssetSelector/AssetSelectorSelect/AssetSelectorContent.js +1 -1
  407. package/cjs-bundle/componentsV2/AppHeader/V3/AssetSelector/constants.js +1 -1
  408. package/cjs-bundle/componentsV2/AppHeader/V3/DqStatusIcon/DqStatusIcon.js +1 -1
  409. package/cjs-bundle/componentsV2/AppHeader/V3/SettingsButton/SettingsButton.js +1 -1
  410. package/cjs-bundle/componentsV2/AppHeader/V3/VersionSelect/VersionSelect.js +1 -1
  411. package/cjs-bundle/componentsV2/AppSettings/AppSettings.js +1 -1
  412. package/cjs-bundle/componentsV2/Autocomplete/Autocomplete.js +1 -1
  413. package/cjs-bundle/componentsV2/Breadcrumbs/Breadcrumbs.js +1 -1
  414. package/cjs-bundle/componentsV2/ButtonLive/ButtonLive.js +1 -1
  415. package/cjs-bundle/componentsV2/Chip/Chip.js +1 -1
  416. package/cjs-bundle/componentsV2/CopyToClipboard/CopyToClipboard.js +1 -1
  417. package/cjs-bundle/componentsV2/Counter/Counter.js +1 -1
  418. package/cjs-bundle/componentsV2/DatePicker/CalendarControls/CalendarControls.js +1 -1
  419. package/cjs-bundle/componentsV2/DatePicker/Input/Input.js +1 -1
  420. package/cjs-bundle/componentsV2/DragHandle/DragHandle.js +1 -1
  421. package/cjs-bundle/componentsV2/FilesDropzone/FilesDropzone.js +1 -1
  422. package/cjs-bundle/componentsV2/FilesLoader/FilesLoader.js +1 -1
  423. package/cjs-bundle/componentsV2/Hint/Hint.js +1 -1
  424. package/cjs-bundle/componentsV2/ModalWindow/ModalWindow.js +1 -1
  425. package/cjs-bundle/componentsV2/OffsetWellsButton/OffsetWellsButton.js +1 -1
  426. package/cjs-bundle/componentsV2/OffsetWellsButton/useOffsetWellsIcon.js +1 -1
  427. package/cjs-bundle/componentsV2/PadModeSelect/FracModeLabel/FracModeLabel.js +1 -1
  428. package/cjs-bundle/componentsV2/PadModeSelect/PadModeSelect.js +1 -1
  429. package/cjs-bundle/componentsV2/Stepper/Step/Step.js +1 -1
  430. package/cjs-bundle/componentsV2/TextInput/TextInput.js +1 -1
  431. package/cjs-bundle/componentsV2/WellArchivedMessage/WellArchivedMessage.js +1 -1
  432. package/cjs-bundle/config/theme/index.js +1 -1
  433. package/cjs-bundle/config/theme/index.js.map +1 -1
  434. package/cjs-bundle/icons/customIcons/icons/Lasso.js +2 -0
  435. package/cjs-bundle/icons/customIcons/icons/Lasso.js.map +1 -0
  436. package/cjs-bundle/icons/iconParkIcons.js +1 -1
  437. package/cjs-bundle/icons/iconParkIcons.js.map +1 -1
  438. package/cjs-bundle/icons/index.js +1 -1
  439. package/cjs-bundle/testing/AppTestWrapper/AppTestWrapper.js +1 -1
  440. package/components/AddComment/Popover.js +1 -1
  441. package/components/AddComment/Popover.js.map +1 -1
  442. package/components/AddComment/components/Content.js +1 -1
  443. package/components/AddComment/components/Content.js.map +1 -1
  444. package/components/AdvancedSlider/Handle.js +1 -1
  445. package/components/AdvancedSlider/Handle.js.map +1 -1
  446. package/components/Attachment/index.js +1 -1
  447. package/components/Attachment/index.js.map +1 -1
  448. package/components/BICOffsetPickerDialog/index.js +1 -1
  449. package/components/BICOffsetPickerDialog/index.js.map +1 -1
  450. package/components/Breadcrumbs/index.js +1 -1
  451. package/components/Button/components/LiveButton/index.js +1 -1
  452. package/components/Button/index.js +1 -1
  453. package/components/Casing/CasingTableV2/components/CasingJoints/Editor.js +1 -1
  454. package/components/Casing/CasingTableV2/components/CasingJoints/Editor.js.map +1 -1
  455. package/components/Casing/CasingTableV2/components/Component.js +1 -1
  456. package/components/Casing/CasingTableV2/components/Component.js.map +1 -1
  457. package/components/Casing/CasingTableV2/components/DrillPipe/Editor.js +1 -1
  458. package/components/Casing/CasingTableV2/components/DrillPipe/Editor.js.map +1 -1
  459. package/components/Chart/components/AxisDropdown.js +1 -1
  460. package/components/Chart/components/AxisDropdown.js.map +1 -1
  461. package/components/Chart/components/ChartSelect.js +1 -1
  462. package/components/Chart/components/ChartSelect.js.map +1 -1
  463. package/components/Chart/components/buttons/ChartTypeButton.js +1 -1
  464. package/components/Chart/components/buttons/ChartTypeButton.js.map +1 -1
  465. package/components/Chart/components/buttons/DragToZoomButton.js +1 -1
  466. package/components/Chart/components/buttons/DragToZoomButton.js.map +1 -1
  467. package/components/Chart/components/buttons/HideAxesButton.js +1 -1
  468. package/components/Chart/components/buttons/HideAxesButton.js.map +1 -1
  469. package/components/Chart/components/buttons/PanButton.js +1 -1
  470. package/components/Chart/components/buttons/PanButton.js.map +1 -1
  471. package/components/Chart/components/buttons/ResetZoomButton.js +1 -1
  472. package/components/Chart/components/buttons/ResetZoomButton.js.map +1 -1
  473. package/components/Chart/components/buttons/ZoomInButton.js +1 -1
  474. package/components/Chart/components/buttons/ZoomInButton.js.map +1 -1
  475. package/components/Chart/components/buttons/ZoomOutButton.js +1 -1
  476. package/components/Chart/components/buttons/ZoomOutButton.js.map +1 -1
  477. package/components/Chip/index.js +1 -1
  478. package/components/CollapsableSidebar.js +1 -1
  479. package/components/CollapsableSidebar.js.map +1 -1
  480. package/components/ColorPicker/ColorPicker.js +1 -1
  481. package/components/ColorPicker/PaletteChromePicker/PaletteChromePicker.js +1 -1
  482. package/components/CopyToClipboard/CopyToClipboard.js +1 -1
  483. package/components/Counter/index.js +1 -1
  484. package/components/DatePicker/index.js +1 -1
  485. package/components/DateTimePicker/index.js +1 -1
  486. package/components/DevCenter/AppFilterPanelLayout/AppFilterPanelLayout.js +1 -1
  487. package/components/DevCenter/AppSettingsPopover/AppSettingsPopover.js +1 -1
  488. package/components/DevCenter/AppSideBar/AppSideBar.js +1 -1
  489. package/components/DevCenter/DevCenterAppContainer/DevCenterAppContainer.js +1 -1
  490. package/components/DevCenter/DevCenterAppContainer/DevCenterAppContainer.js.map +1 -1
  491. package/components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/AppSettingsDialog.js +1 -1
  492. package/components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/AppSettingsDialog.js.map +1 -1
  493. package/components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/components/RemoveAppButton.js +1 -1
  494. package/components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/components/RemoveAppButton.js.map +1 -1
  495. package/components/DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchButton.js +1 -1
  496. package/components/DevCenter/DevCenterAppContainer/components/NonPriorityMenus/NonPriorityMenus.js +1 -1
  497. package/components/DevCenter/DevCenterAppContainer/components/PriorityMenus/PriorityMenus.js +1 -1
  498. package/components/DevCenter/DevCenterAppContainer/components/PriorityMenus/PriorityMenus.js.map +1 -1
  499. package/components/DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedApp.d.ts.map +1 -1
  500. package/components/DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedApp.js +1 -1
  501. package/components/DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedApp.js.map +1 -1
  502. package/components/DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedAppPage.js +1 -1
  503. package/components/DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedAppPage.js.map +1 -1
  504. package/components/DocumentViewer/DocumentViewer.js +1 -1
  505. package/components/DocumentViewer/DocumentViewer.js.map +1 -1
  506. package/components/Drillstring/BHAComponentsTable/components/Agitator/Editor.js +1 -1
  507. package/components/Drillstring/BHAComponentsTable/components/Agitator/Editor.js.map +1 -1
  508. package/components/Drillstring/BHAComponentsTable/components/Bit/Editor.js +1 -1
  509. package/components/Drillstring/BHAComponentsTable/components/Bit/Editor.js.map +1 -1
  510. package/components/Drillstring/BHAComponentsTable/components/Component.js +1 -1
  511. package/components/Drillstring/BHAComponentsTable/components/Component.js.map +1 -1
  512. package/components/Drillstring/BHAComponentsTable/components/DrillCollar/Editor.js +1 -1
  513. package/components/Drillstring/BHAComponentsTable/components/DrillCollar/Editor.js.map +1 -1
  514. package/components/Drillstring/BHAComponentsTable/components/DrillPipe/Editor.js +1 -1
  515. package/components/Drillstring/BHAComponentsTable/components/DrillPipe/Editor.js.map +1 -1
  516. package/components/Drillstring/BHAComponentsTable/components/Jar/Editor.js +1 -1
  517. package/components/Drillstring/BHAComponentsTable/components/Jar/Editor.js.map +1 -1
  518. package/components/Drillstring/BHAComponentsTable/components/Lwd/Editor.js +1 -1
  519. package/components/Drillstring/BHAComponentsTable/components/Lwd/Editor.js.map +1 -1
  520. package/components/Drillstring/BHAComponentsTable/components/Mwd/Editor.js +1 -1
  521. package/components/Drillstring/BHAComponentsTable/components/Mwd/Editor.js.map +1 -1
  522. package/components/Drillstring/BHAComponentsTable/components/Pdm/Editor.js +1 -1
  523. package/components/Drillstring/BHAComponentsTable/components/Pdm/Editor.js.map +1 -1
  524. package/components/Drillstring/BHAComponentsTable/components/Rss/Editor.js +1 -1
  525. package/components/Drillstring/BHAComponentsTable/components/Rss/Editor.js.map +1 -1
  526. package/components/Drillstring/BHAComponentsTable/components/Stabilizer/Editor.js +1 -1
  527. package/components/Drillstring/BHAComponentsTable/components/Stabilizer/Editor.js.map +1 -1
  528. package/components/Drillstring/BHAComponentsTable/components/Sub/Editor.js +1 -1
  529. package/components/Drillstring/BHAComponentsTable/components/Sub/Editor.js.map +1 -1
  530. package/components/Drillstring/BHAComponentsTable/components/Ur/Editor.js +1 -1
  531. package/components/Drillstring/BHAComponentsTable/components/Ur/Editor.js.map +1 -1
  532. package/components/Drillstring/BHAComponentsTable/components/shared/ConfirmationPopup.js +1 -1
  533. package/components/Drillstring/BHAComponentsTable/components/shared/ConfirmationPopup.js.map +1 -1
  534. package/components/EChartsWrapper/components/Toolbox/Toolbox.js +1 -1
  535. package/components/FeedItem/FeedItem.js +1 -1
  536. package/components/FeedItem/FeedItem.js.map +1 -1
  537. package/components/FeedItem/components/FeedComments.js +1 -1
  538. package/components/FeedItem/components/FeedComments.js.map +1 -1
  539. package/components/FilesDropzone/FilesDropzone.js +1 -1
  540. package/components/FilesLoader/FilesLoader.js +1 -1
  541. package/components/FilesLoaderV2/FilesLoaderV2.js +1 -1
  542. package/components/Formula/CloseSuggestion.js +1 -1
  543. package/components/Formula/CloseSuggestion.js.map +1 -1
  544. package/components/Formula/Formula.js +1 -1
  545. package/components/GradientManager/GradientManager.js +1 -1
  546. package/components/GradientManager/GradientSelect.js +1 -1
  547. package/components/GradientPicker/GradientPicker.js +1 -1
  548. package/components/HelpCenter/HelpCenterIcon.js +1 -1
  549. package/components/HelpCenter/HelpCenterIcon.js.map +1 -1
  550. package/components/Hint/Hint.js +1 -1
  551. package/components/ImageViewer/index.js +1 -1
  552. package/components/ImageViewer/index.js.map +1 -1
  553. package/components/Modal/CorvaModal.js +1 -1
  554. package/components/Notifications/Toast.js +1 -1
  555. package/components/OffsetWellMap/OffsetWellMap.d.ts.map +1 -1
  556. package/components/OffsetWellMap/OffsetWellMap.js +1 -1
  557. package/components/OffsetWellMap/OffsetWellMap.js.map +1 -1
  558. package/components/OffsetWellMap/OffsetWellMapProps.d.ts +4 -0
  559. package/components/OffsetWellMap/OffsetWellMapProps.d.ts.map +1 -1
  560. package/components/OffsetWellPickerV2/components/Filter/ToggleMapButton.js +1 -1
  561. package/components/OffsetWellPickerV2/components/Filter/ToggleMapButton.js.map +1 -1
  562. package/components/OffsetWellPickerV2/components/Table/MetricsAddMenu.js +1 -1
  563. package/components/OffsetWellPickerV2/components/Table/MetricsAddMenu.js.map +1 -1
  564. package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/MetricsAddMenu.js +1 -1
  565. package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/MetricsAddMenu.js.map +1 -1
  566. package/components/OffsetWellPickerV3/components/CustomSelectionView/index.js +1 -1
  567. package/components/OffsetWellPickerV3/components/CustomSelectionView/index.js.map +1 -1
  568. package/components/OffsetWellPickerV3/components/OffsetWellSelectionView/index.js +1 -1
  569. package/components/OffsetWellPickerV3/components/OffsetWellSelectionView/index.js.map +1 -1
  570. package/components/OffsetWellPickerV3/components/TabSelection/ToggleMapButton.js +1 -1
  571. package/components/OffsetWellPickerV3/components/TabSelection/ToggleMapButton.js.map +1 -1
  572. package/components/OffsetWellPickerV3/components/TabSelection/index.js +1 -1
  573. package/components/OffsetWellPickerV3/components/TabSelection/index.js.map +1 -1
  574. package/components/OffsetWellPickerV3/components/WellHubView/index.js +1 -1
  575. package/components/OffsetWellPickerV3/components/WellHubView/index.js.map +1 -1
  576. package/components/OffsetWellPickerV3/components/shared/OffsetWellTableHead.js +1 -1
  577. package/components/OffsetWellPickerV3/components/shared/OffsetWellTableHead.js.map +1 -1
  578. package/components/OffsetWellPickerV4/OffsetWellPickerV4.js +1 -1
  579. package/components/OffsetWellPickerV4/OffsetWellPickerV4.js.map +1 -1
  580. package/components/OffsetWellPickerV4/components/Filter/Filter.js +1 -1
  581. package/components/OffsetWellPickerV4/components/Filter/Filter.js.map +1 -1
  582. package/components/OffsetWellPickerV4/components/OffsetWellsTable/AdvancedSearch/AdvancedSearch.js +1 -1
  583. package/components/OffsetWellPickerV4/components/OffsetWellsTable/AdvancedSearch/AdvancedSearch.js.map +1 -1
  584. package/components/OffsetWellPickerV4/components/OffsetWellsTable/MetricsSettingMenu.js +1 -1
  585. package/components/OffsetWellPickerV4/components/OffsetWellsTable/MetricsSettingMenu.js.map +1 -1
  586. package/components/OffsetWellPickerV4/components/OffsetWellsTable/OffsetWellsTable.js +1 -1
  587. package/components/OffsetWellPickerV4/components/OffsetWellsTable/OffsetWellsTable.js.map +1 -1
  588. package/components/OffsetWellPickerV4/components/OffsetWellsTable/OffsetWellsTableHead.js +1 -1
  589. package/components/OffsetWellPickerV4/components/OffsetWellsTable/OffsetWellsTableHead.js.map +1 -1
  590. package/components/OffsetWellPickerV4/components/Toolbar/Toolbar.js +1 -1
  591. package/components/OffsetWellPickerV4/components/Toolbar/Toolbar.js.map +1 -1
  592. package/components/OffsetWellPickerV4/index.d.ts +2 -1
  593. package/components/OffsetWellPickerV4/index.d.ts.map +1 -1
  594. package/components/OffsetWellPickerV4/index.js +2 -0
  595. package/components/OffsetWellPickerV4/index.js.map +1 -0
  596. package/components/OffsetWellPickerV4/utils/apiCalls.js +1 -1
  597. package/components/OffsetWellPickerV5/OffsetWellPickerV5.d.ts +2 -0
  598. package/components/OffsetWellPickerV5/OffsetWellPickerV5.d.ts.map +1 -0
  599. package/components/OffsetWellPickerV5/OffsetWellPickerV5.js +2 -0
  600. package/components/OffsetWellPickerV5/OffsetWellPickerV5.js.map +1 -0
  601. package/components/OffsetWellPickerV5/OffsetWellPickerV5.module.css.js +2 -0
  602. package/components/OffsetWellPickerV5/OffsetWellPickerV5.module.css.js.map +1 -0
  603. package/components/OffsetWellPickerV5/OffsetWellPickerV5.types.d.ts +104 -0
  604. package/components/OffsetWellPickerV5/OffsetWellPickerV5.types.d.ts.map +1 -0
  605. package/components/OffsetWellPickerV5/OffsetWellPickerV5WithStore.d.ts +4 -0
  606. package/components/OffsetWellPickerV5/OffsetWellPickerV5WithStore.d.ts.map +1 -0
  607. package/components/OffsetWellPickerV5/OffsetWellPickerV5WithStore.js +2 -0
  608. package/components/OffsetWellPickerV5/OffsetWellPickerV5WithStore.js.map +1 -0
  609. package/components/OffsetWellPickerV5/api/assets/fetchAllAssets.d.ts +3 -0
  610. package/components/OffsetWellPickerV5/api/assets/fetchAllAssets.d.ts.map +1 -0
  611. package/components/OffsetWellPickerV5/api/assets/fetchAllAssets.js +2 -0
  612. package/components/OffsetWellPickerV5/api/assets/fetchAllAssets.js.map +1 -0
  613. package/components/OffsetWellPickerV5/api/assets/fetchAssetWells.d.ts +3 -0
  614. package/components/OffsetWellPickerV5/api/assets/fetchAssetWells.d.ts.map +1 -0
  615. package/components/OffsetWellPickerV5/api/assets/fetchAssetWells.js +2 -0
  616. package/components/OffsetWellPickerV5/api/assets/fetchAssetWells.js.map +1 -0
  617. package/components/OffsetWellPickerV5/api/assets/fetchRigs.d.ts +2 -0
  618. package/components/OffsetWellPickerV5/api/assets/fetchRigs.d.ts.map +1 -0
  619. package/components/OffsetWellPickerV5/api/assets/fetchRigs.js +2 -0
  620. package/components/OffsetWellPickerV5/api/assets/fetchRigs.js.map +1 -0
  621. package/components/OffsetWellPickerV5/api/bic/fetchOffsetWellSelections.d.ts +2 -0
  622. package/components/OffsetWellPickerV5/api/bic/fetchOffsetWellSelections.d.ts.map +1 -0
  623. package/components/OffsetWellPickerV5/api/bic/fetchOffsetWellSelections.js +2 -0
  624. package/components/OffsetWellPickerV5/api/bic/fetchOffsetWellSelections.js.map +1 -0
  625. package/components/OffsetWellPickerV5/api/bic/fetchWellhubWells.d.ts +2 -0
  626. package/components/OffsetWellPickerV5/api/bic/fetchWellhubWells.d.ts.map +1 -0
  627. package/components/OffsetWellPickerV5/api/bic/fetchWellhubWells.js +2 -0
  628. package/components/OffsetWellPickerV5/api/bic/fetchWellhubWells.js.map +1 -0
  629. package/components/OffsetWellPickerV5/api/bic/resyncIdasWells.d.ts +2 -0
  630. package/components/OffsetWellPickerV5/api/bic/resyncIdasWells.d.ts.map +1 -0
  631. package/components/OffsetWellPickerV5/api/bic/resyncIdasWells.js +2 -0
  632. package/components/OffsetWellPickerV5/api/bic/resyncIdasWells.js.map +1 -0
  633. package/components/OffsetWellPickerV5/api/companies/fetchCompanies.d.ts +2 -0
  634. package/components/OffsetWellPickerV5/api/companies/fetchCompanies.d.ts.map +1 -0
  635. package/components/OffsetWellPickerV5/api/companies/fetchCompanies.js +2 -0
  636. package/components/OffsetWellPickerV5/api/companies/fetchCompanies.js.map +1 -0
  637. package/components/OffsetWellPickerV5/api/companies/fetchCompanyGoals.d.ts +2 -0
  638. package/components/OffsetWellPickerV5/api/companies/fetchCompanyGoals.d.ts.map +1 -0
  639. package/components/OffsetWellPickerV5/api/companies/fetchCompanyGoals.js +2 -0
  640. package/components/OffsetWellPickerV5/api/companies/fetchCompanyGoals.js.map +1 -0
  641. package/components/OffsetWellPickerV5/api/index.d.ts +12 -0
  642. package/components/OffsetWellPickerV5/api/index.d.ts.map +1 -0
  643. package/components/OffsetWellPickerV5/api/metrics/fetchMetricsData.d.ts +2 -0
  644. package/components/OffsetWellPickerV5/api/metrics/fetchMetricsData.d.ts.map +1 -0
  645. package/components/OffsetWellPickerV5/api/metrics/fetchMetricsData.js +2 -0
  646. package/components/OffsetWellPickerV5/api/metrics/fetchMetricsData.js.map +1 -0
  647. package/components/OffsetWellPickerV5/api/shared/constants.d.ts +6 -0
  648. package/components/OffsetWellPickerV5/api/shared/constants.d.ts.map +1 -0
  649. package/components/OffsetWellPickerV5/api/shared/constants.js +2 -0
  650. package/components/OffsetWellPickerV5/api/shared/constants.js.map +1 -0
  651. package/components/OffsetWellPickerV5/api/shared/dataFormatter.d.ts +3 -0
  652. package/components/OffsetWellPickerV5/api/shared/dataFormatter.d.ts.map +1 -0
  653. package/components/OffsetWellPickerV5/api/shared/dataFormatter.js +2 -0
  654. package/components/OffsetWellPickerV5/api/shared/dataFormatter.js.map +1 -0
  655. package/components/OffsetWellPickerV5/api/shared/fetchers/assetsFetcher.d.ts +2 -0
  656. package/components/OffsetWellPickerV5/api/shared/fetchers/assetsFetcher.d.ts.map +1 -0
  657. package/components/OffsetWellPickerV5/api/shared/fetchers/assetsFetcher.js +2 -0
  658. package/components/OffsetWellPickerV5/api/shared/fetchers/assetsFetcher.js.map +1 -0
  659. package/components/OffsetWellPickerV5/api/shared/fetchers/getAllWellAssetIds.d.ts +3 -0
  660. package/components/OffsetWellPickerV5/api/shared/fetchers/getAllWellAssetIds.d.ts.map +1 -0
  661. package/components/OffsetWellPickerV5/api/shared/fetchers/getAllWellAssetIds.js +2 -0
  662. package/components/OffsetWellPickerV5/api/shared/fetchers/getAllWellAssetIds.js.map +1 -0
  663. package/components/OffsetWellPickerV5/api/shared/fetchers/getAssetsByIds.d.ts +3 -0
  664. package/components/OffsetWellPickerV5/api/shared/fetchers/getAssetsByIds.d.ts.map +1 -0
  665. package/components/OffsetWellPickerV5/api/shared/fetchers/getAssetsByIds.js +2 -0
  666. package/components/OffsetWellPickerV5/api/shared/fetchers/getAssetsByIds.js.map +1 -0
  667. package/components/OffsetWellPickerV5/api/shared/fetchers/wellsFetcher.d.ts +8 -0
  668. package/components/OffsetWellPickerV5/api/shared/fetchers/wellsFetcher.d.ts.map +1 -0
  669. package/components/OffsetWellPickerV5/api/shared/fetchers/wellsFetcher.js +2 -0
  670. package/components/OffsetWellPickerV5/api/shared/fetchers/wellsFetcher.js.map +1 -0
  671. package/components/OffsetWellPickerV5/api/shared/transformers/transformAssetToOffsetWell.d.ts +3 -0
  672. package/components/OffsetWellPickerV5/api/shared/transformers/transformAssetToOffsetWell.d.ts.map +1 -0
  673. package/components/OffsetWellPickerV5/api/shared/transformers/transformAssetToOffsetWell.js +2 -0
  674. package/components/OffsetWellPickerV5/api/shared/transformers/transformAssetToOffsetWell.js.map +1 -0
  675. package/components/OffsetWellPickerV5/api/shared/transformers/transformToApiCoordinateBounds.d.ts +4 -0
  676. package/components/OffsetWellPickerV5/api/shared/transformers/transformToApiCoordinateBounds.d.ts.map +1 -0
  677. package/components/OffsetWellPickerV5/api/shared/transformers/transformToApiCoordinateBounds.js +2 -0
  678. package/components/OffsetWellPickerV5/api/shared/transformers/transformToApiCoordinateBounds.js.map +1 -0
  679. package/components/OffsetWellPickerV5/api/shared/types.d.ts +27 -0
  680. package/components/OffsetWellPickerV5/api/shared/types.d.ts.map +1 -0
  681. package/components/OffsetWellPickerV5/api/wells/fetchCompanyIdsByWellIds.d.ts +2 -0
  682. package/components/OffsetWellPickerV5/api/wells/fetchCompanyIdsByWellIds.d.ts.map +1 -0
  683. package/components/OffsetWellPickerV5/api/wells/fetchCompanyIdsByWellIds.js +2 -0
  684. package/components/OffsetWellPickerV5/api/wells/fetchCompanyIdsByWellIds.js.map +1 -0
  685. package/components/OffsetWellPickerV5/api/wells/fetchWells.d.ts +5 -0
  686. package/components/OffsetWellPickerV5/api/wells/fetchWells.d.ts.map +1 -0
  687. package/components/OffsetWellPickerV5/api/wells/fetchWells.js +2 -0
  688. package/components/OffsetWellPickerV5/api/wells/fetchWells.js.map +1 -0
  689. package/components/OffsetWellPickerV5/api/wells/fetchWellsByIds.d.ts +3 -0
  690. package/components/OffsetWellPickerV5/api/wells/fetchWellsByIds.d.ts.map +1 -0
  691. package/components/OffsetWellPickerV5/api/wells/fetchWellsByIds.js +2 -0
  692. package/components/OffsetWellPickerV5/api/wells/fetchWellsByIds.js.map +1 -0
  693. package/components/OffsetWellPickerV5/components/AppHeader/AppHeader.d.ts +24 -0
  694. package/components/OffsetWellPickerV5/components/AppHeader/AppHeader.d.ts.map +1 -0
  695. package/components/OffsetWellPickerV5/components/AppHeader/AppHeader.js +2 -0
  696. package/components/OffsetWellPickerV5/components/AppHeader/AppHeader.js.map +1 -0
  697. package/components/OffsetWellPickerV5/components/AppHeader/AppHeader.module.css.js +2 -0
  698. package/components/OffsetWellPickerV5/components/AppHeader/AppHeader.module.css.js.map +1 -0
  699. package/components/OffsetWellPickerV5/components/AppHeader/index.d.ts +2 -0
  700. package/components/OffsetWellPickerV5/components/AppHeader/index.d.ts.map +1 -0
  701. package/components/OffsetWellPickerV5/components/CustomInfoIcon/CustomInfoIcon.d.ts +2 -0
  702. package/components/OffsetWellPickerV5/components/CustomInfoIcon/CustomInfoIcon.d.ts.map +1 -0
  703. package/components/OffsetWellPickerV5/components/CustomInfoIcon/CustomInfoIcon.js +2 -0
  704. package/components/OffsetWellPickerV5/components/CustomInfoIcon/CustomInfoIcon.js.map +1 -0
  705. package/components/OffsetWellPickerV5/components/CustomInfoIcon/CustomInfoIcon.module.css.js +2 -0
  706. package/components/OffsetWellPickerV5/components/CustomInfoIcon/CustomInfoIcon.module.css.js.map +1 -0
  707. package/components/OffsetWellPickerV5/components/CustomInfoIcon/index.d.ts +2 -0
  708. package/components/OffsetWellPickerV5/components/CustomInfoIcon/index.d.ts.map +1 -0
  709. package/components/OffsetWellPickerV5/components/Filter/Filter.d.ts +26 -0
  710. package/components/OffsetWellPickerV5/components/Filter/Filter.d.ts.map +1 -0
  711. package/components/OffsetWellPickerV5/components/Filter/Filter.js +2 -0
  712. package/components/OffsetWellPickerV5/components/Filter/Filter.js.map +1 -0
  713. package/components/OffsetWellPickerV5/components/Filter/Filter.module.css.js +2 -0
  714. package/components/OffsetWellPickerV5/components/Filter/Filter.module.css.js.map +1 -0
  715. package/components/OffsetWellPickerV5/components/Filter/MultiSelect.d.ts +40 -0
  716. package/components/OffsetWellPickerV5/components/Filter/MultiSelect.d.ts.map +1 -0
  717. package/components/OffsetWellPickerV5/components/Filter/MultiSelect.js +2 -0
  718. package/components/OffsetWellPickerV5/components/Filter/MultiSelect.js.map +1 -0
  719. package/components/OffsetWellPickerV5/components/Filter/PeriodSelect.d.ts +20 -0
  720. package/components/OffsetWellPickerV5/components/Filter/PeriodSelect.d.ts.map +1 -0
  721. package/components/OffsetWellPickerV5/components/Filter/PeriodSelect.js +2 -0
  722. package/components/OffsetWellPickerV5/components/Filter/PeriodSelect.js.map +1 -0
  723. package/components/OffsetWellPickerV5/components/Filter/SingleSelect.d.ts +26 -0
  724. package/components/OffsetWellPickerV5/components/Filter/SingleSelect.d.ts.map +1 -0
  725. package/components/OffsetWellPickerV5/components/Filter/SingleSelect.js +2 -0
  726. package/components/OffsetWellPickerV5/components/Filter/SingleSelect.js.map +1 -0
  727. package/components/OffsetWellPickerV5/components/Filter/WellSection.d.ts +14 -0
  728. package/components/OffsetWellPickerV5/components/Filter/WellSection.d.ts.map +1 -0
  729. package/components/OffsetWellPickerV5/components/Filter/WellSection.js +2 -0
  730. package/components/OffsetWellPickerV5/components/Filter/WellSection.js.map +1 -0
  731. package/components/OffsetWellPickerV5/components/Filter/index.d.ts +2 -0
  732. package/components/OffsetWellPickerV5/components/Filter/index.d.ts.map +1 -0
  733. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/OffsetWellMap.d.ts +19 -0
  734. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/OffsetWellMap.d.ts.map +1 -0
  735. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/OffsetWellMap.js +2 -0
  736. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/OffsetWellMap.js.map +1 -0
  737. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/OffsetWellMap.module.css.js +2 -0
  738. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/OffsetWellMap.module.css.js.map +1 -0
  739. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/OffsetWellMap.types.d.ts +33 -0
  740. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/OffsetWellMap.types.d.ts.map +1 -0
  741. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/LassoTip/LassoTip.d.ts +10 -0
  742. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/LassoTip/LassoTip.d.ts.map +1 -0
  743. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/LassoTip/LassoTip.js +2 -0
  744. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/LassoTip/LassoTip.js.map +1 -0
  745. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/LassoTip/LassoTip.module.css.js +2 -0
  746. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/LassoTip/LassoTip.module.css.js.map +1 -0
  747. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/LassoTip/index.d.ts +2 -0
  748. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/LassoTip/index.d.ts.map +1 -0
  749. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/LayerSwitcher/LayerSwitcher.d.ts +10 -0
  750. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/LayerSwitcher/LayerSwitcher.d.ts.map +1 -0
  751. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/LayerSwitcher/LayerSwitcher.js +2 -0
  752. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/LayerSwitcher/LayerSwitcher.js.map +1 -0
  753. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/LayerSwitcher/LayerSwitcher.module.css.js +2 -0
  754. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/LayerSwitcher/LayerSwitcher.module.css.js.map +1 -0
  755. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/LayerSwitcher/index.d.ts +2 -0
  756. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/LayerSwitcher/index.d.ts.map +1 -0
  757. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapControls/MapControls.d.ts +14 -0
  758. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapControls/MapControls.d.ts.map +1 -0
  759. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapControls/MapControls.js +2 -0
  760. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapControls/MapControls.js.map +1 -0
  761. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapControls/MapControls.module.css.js +2 -0
  762. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapControls/MapControls.module.css.js.map +1 -0
  763. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapControls/index.d.ts +2 -0
  764. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapControls/index.d.ts.map +1 -0
  765. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/RadiusInput/RadiusInput.d.ts +13 -0
  766. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/RadiusInput/RadiusInput.d.ts.map +1 -0
  767. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/RadiusInput/RadiusInput.js +2 -0
  768. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/RadiusInput/RadiusInput.js.map +1 -0
  769. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/RadiusInput/RadiusInput.module.css.js +2 -0
  770. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/RadiusInput/RadiusInput.module.css.js.map +1 -0
  771. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/RadiusInput/index.d.ts +2 -0
  772. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/RadiusInput/index.d.ts.map +1 -0
  773. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/SubjectWellMarker/SubjectWellMarker.d.ts +11 -0
  774. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/SubjectWellMarker/SubjectWellMarker.d.ts.map +1 -0
  775. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/SubjectWellMarker/SubjectWellMarker.js +2 -0
  776. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/SubjectWellMarker/SubjectWellMarker.js.map +1 -0
  777. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/SubjectWellMarker/index.d.ts +2 -0
  778. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/SubjectWellMarker/index.d.ts.map +1 -0
  779. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/WellTooltip/WellTooltip.d.ts +13 -0
  780. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/WellTooltip/WellTooltip.d.ts.map +1 -0
  781. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/WellTooltip/WellTooltip.js +2 -0
  782. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/WellTooltip/WellTooltip.js.map +1 -0
  783. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/WellTooltip/WellTooltip.module.css.js +2 -0
  784. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/WellTooltip/WellTooltip.module.css.js.map +1 -0
  785. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/WellTooltip/index.d.ts +2 -0
  786. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/WellTooltip/index.d.ts.map +1 -0
  787. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/constants.d.ts +29 -0
  788. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/constants.d.ts.map +1 -0
  789. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/constants.js +2 -0
  790. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/constants.js.map +1 -0
  791. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/index.d.ts +8 -0
  792. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/index.d.ts.map +1 -0
  793. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useLassoSelection.d.ts +18 -0
  794. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useLassoSelection.d.ts.map +1 -0
  795. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useLassoSelection.js +2 -0
  796. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useLassoSelection.js.map +1 -0
  797. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useMapBounds.d.ts +16 -0
  798. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useMapBounds.d.ts.map +1 -0
  799. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useMapBounds.js +2 -0
  800. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useMapBounds.js.map +1 -0
  801. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useMapZoom.d.ts +13 -0
  802. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useMapZoom.d.ts.map +1 -0
  803. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useMapZoom.js +2 -0
  804. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useMapZoom.js.map +1 -0
  805. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/usePrevious.d.ts +2 -0
  806. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/usePrevious.d.ts.map +1 -0
  807. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useRadiusCircle.d.ts +12 -0
  808. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useRadiusCircle.d.ts.map +1 -0
  809. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useRadiusCircle.js +2 -0
  810. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useRadiusCircle.js.map +1 -0
  811. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useTooltip.d.ts +16 -0
  812. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useTooltip.d.ts.map +1 -0
  813. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useTooltip.js +2 -0
  814. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useTooltip.js.map +1 -0
  815. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useWellMarkers.d.ts +30 -0
  816. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useWellMarkers.d.ts.map +1 -0
  817. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useWellMarkers.js +2 -0
  818. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useWellMarkers.js.map +1 -0
  819. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/index.d.ts +4 -0
  820. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/index.d.ts.map +1 -0
  821. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/utils/getAllFormations.d.ts +3 -0
  822. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/utils/getAllFormations.d.ts.map +1 -0
  823. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/utils/getAllFormations.js +2 -0
  824. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/utils/getAllFormations.js.map +1 -0
  825. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/utils/polygonCoords.d.ts +19 -0
  826. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/utils/polygonCoords.d.ts.map +1 -0
  827. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/utils/polygonCoords.js +2 -0
  828. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/utils/polygonCoords.js.map +1 -0
  829. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/utils/toCoordinates.d.ts +3 -0
  830. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/utils/toCoordinates.d.ts.map +1 -0
  831. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/utils/toCoordinates.js +2 -0
  832. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/utils/toCoordinates.js.map +1 -0
  833. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/utils/toMapboxCoords.d.ts +3 -0
  834. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/utils/toMapboxCoords.d.ts.map +1 -0
  835. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/utils/toMapboxCoords.js +2 -0
  836. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/utils/toMapboxCoords.js.map +1 -0
  837. package/components/OffsetWellPickerV5/components/Map/WellsMap.d.ts +15 -0
  838. package/components/OffsetWellPickerV5/components/Map/WellsMap.d.ts.map +1 -0
  839. package/components/OffsetWellPickerV5/components/Map/WellsMap.js +2 -0
  840. package/components/OffsetWellPickerV5/components/Map/WellsMap.js.map +1 -0
  841. package/components/OffsetWellPickerV5/components/Map/WellsMap.module.css.js +2 -0
  842. package/components/OffsetWellPickerV5/components/Map/WellsMap.module.css.js.map +1 -0
  843. package/components/OffsetWellPickerV5/components/Map/index.d.ts +2 -0
  844. package/components/OffsetWellPickerV5/components/Map/index.d.ts.map +1 -0
  845. package/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/AdvancedSearch.d.ts +18 -0
  846. package/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/AdvancedSearch.d.ts.map +1 -0
  847. package/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/AdvancedSearch.js +2 -0
  848. package/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/AdvancedSearch.js.map +1 -0
  849. package/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/AdvancedSearch.module.css.js +2 -0
  850. package/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/AdvancedSearch.module.css.js.map +1 -0
  851. package/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/AssetResultSection.d.ts +24 -0
  852. package/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/AssetResultSection.d.ts.map +1 -0
  853. package/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/AssetResultSection.js +2 -0
  854. package/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/AssetResultSection.js.map +1 -0
  855. package/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/AssetTypesSection.d.ts +10 -0
  856. package/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/AssetTypesSection.d.ts.map +1 -0
  857. package/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/AssetTypesSection.js +2 -0
  858. package/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/AssetTypesSection.js.map +1 -0
  859. package/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/AutoCompleteAssetSearch.d.ts +26 -0
  860. package/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/AutoCompleteAssetSearch.d.ts.map +1 -0
  861. package/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/AutoCompleteAssetSearch.js +2 -0
  862. package/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/AutoCompleteAssetSearch.js.map +1 -0
  863. package/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/constants.d.ts +36 -0
  864. package/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/constants.d.ts.map +1 -0
  865. package/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/constants.js +2 -0
  866. package/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/constants.js.map +1 -0
  867. package/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/index.d.ts +2 -0
  868. package/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/index.d.ts.map +1 -0
  869. package/components/OffsetWellPickerV5/components/OffsetWellsTable/MetricsSelect.d.ts +18 -0
  870. package/components/OffsetWellPickerV5/components/OffsetWellsTable/MetricsSelect.d.ts.map +1 -0
  871. package/components/OffsetWellPickerV5/components/OffsetWellsTable/MetricsSelect.js +2 -0
  872. package/components/OffsetWellPickerV5/components/OffsetWellsTable/MetricsSelect.js.map +1 -0
  873. package/components/OffsetWellPickerV5/components/OffsetWellsTable/MetricsSettingMenu.d.ts +12 -0
  874. package/components/OffsetWellPickerV5/components/OffsetWellsTable/MetricsSettingMenu.d.ts.map +1 -0
  875. package/components/OffsetWellPickerV5/components/OffsetWellsTable/MetricsSettingMenu.js +2 -0
  876. package/components/OffsetWellPickerV5/components/OffsetWellsTable/MetricsSettingMenu.js.map +1 -0
  877. package/components/OffsetWellPickerV5/components/OffsetWellsTable/MetricsSettingMenu.module.scss.js +2 -0
  878. package/components/OffsetWellPickerV5/components/OffsetWellsTable/MetricsSettingMenu.module.scss.js.map +1 -0
  879. package/components/OffsetWellPickerV5/components/OffsetWellsTable/OffsetWellsTable.d.ts +32 -0
  880. package/components/OffsetWellPickerV5/components/OffsetWellsTable/OffsetWellsTable.d.ts.map +1 -0
  881. package/components/OffsetWellPickerV5/components/OffsetWellsTable/OffsetWellsTable.js +2 -0
  882. package/components/OffsetWellPickerV5/components/OffsetWellsTable/OffsetWellsTable.js.map +1 -0
  883. package/components/OffsetWellPickerV5/components/OffsetWellsTable/OffsetWellsTable.module.css.js +2 -0
  884. package/components/OffsetWellPickerV5/components/OffsetWellsTable/OffsetWellsTable.module.css.js.map +1 -0
  885. package/components/OffsetWellPickerV5/components/OffsetWellsTable/OffsetWellsTableHead.d.ts +39 -0
  886. package/components/OffsetWellPickerV5/components/OffsetWellsTable/OffsetWellsTableHead.d.ts.map +1 -0
  887. package/components/OffsetWellPickerV5/components/OffsetWellsTable/OffsetWellsTableHead.js +2 -0
  888. package/components/OffsetWellPickerV5/components/OffsetWellsTable/OffsetWellsTableHead.js.map +1 -0
  889. package/components/OffsetWellPickerV5/components/OffsetWellsTable/OffsetWellsTableHead.module.css.js +2 -0
  890. package/components/OffsetWellPickerV5/components/OffsetWellsTable/OffsetWellsTableHead.module.css.js.map +1 -0
  891. package/components/OffsetWellPickerV5/components/OffsetWellsTable/OffsetWellsTableRow.d.ts +43 -0
  892. package/components/OffsetWellPickerV5/components/OffsetWellsTable/OffsetWellsTableRow.d.ts.map +1 -0
  893. package/components/OffsetWellPickerV5/components/OffsetWellsTable/OffsetWellsTableRow.js +2 -0
  894. package/components/OffsetWellPickerV5/components/OffsetWellsTable/OffsetWellsTableRow.js.map +1 -0
  895. package/components/OffsetWellPickerV5/components/OffsetWellsTable/OffsetWellsTableRow.module.css.js +2 -0
  896. package/components/OffsetWellPickerV5/components/OffsetWellsTable/OffsetWellsTableRow.module.css.js.map +1 -0
  897. package/components/OffsetWellPickerV5/components/OffsetWellsTable/SubjectWellMark.d.ts +14 -0
  898. package/components/OffsetWellPickerV5/components/OffsetWellsTable/SubjectWellMark.d.ts.map +1 -0
  899. package/components/OffsetWellPickerV5/components/OffsetWellsTable/SubjectWellMark.js +2 -0
  900. package/components/OffsetWellPickerV5/components/OffsetWellsTable/SubjectWellMark.js.map +1 -0
  901. package/components/OffsetWellPickerV5/components/OffsetWellsTable/ViewWellSectionsName.d.ts +10 -0
  902. package/components/OffsetWellPickerV5/components/OffsetWellsTable/ViewWellSectionsName.d.ts.map +1 -0
  903. package/components/OffsetWellPickerV5/components/OffsetWellsTable/ViewWellSectionsName.js +2 -0
  904. package/components/OffsetWellPickerV5/components/OffsetWellsTable/ViewWellSectionsName.js.map +1 -0
  905. package/components/OffsetWellPickerV5/components/OffsetWellsTable/index.d.ts +2 -0
  906. package/components/OffsetWellPickerV5/components/OffsetWellsTable/index.d.ts.map +1 -0
  907. package/components/OffsetWellPickerV5/constants.d.ts +84 -0
  908. package/components/OffsetWellPickerV5/constants.d.ts.map +1 -0
  909. package/components/OffsetWellPickerV5/constants.js +2 -0
  910. package/components/OffsetWellPickerV5/constants.js.map +1 -0
  911. package/components/OffsetWellPickerV5/effects/index.d.ts +13 -0
  912. package/components/OffsetWellPickerV5/effects/index.d.ts.map +1 -0
  913. package/components/OffsetWellPickerV5/effects/useAdvancedWells.d.ts +2 -0
  914. package/components/OffsetWellPickerV5/effects/useAdvancedWells.d.ts.map +1 -0
  915. package/components/OffsetWellPickerV5/effects/useAdvancedWells.js +2 -0
  916. package/components/OffsetWellPickerV5/effects/useAdvancedWells.js.map +1 -0
  917. package/components/OffsetWellPickerV5/effects/useAssetsData.d.ts +2 -0
  918. package/components/OffsetWellPickerV5/effects/useAssetsData.d.ts.map +1 -0
  919. package/components/OffsetWellPickerV5/effects/useAssetsData.js +2 -0
  920. package/components/OffsetWellPickerV5/effects/useAssetsData.js.map +1 -0
  921. package/components/OffsetWellPickerV5/effects/useBicWells.d.ts +2 -0
  922. package/components/OffsetWellPickerV5/effects/useBicWells.d.ts.map +1 -0
  923. package/components/OffsetWellPickerV5/effects/useBicWells.js +2 -0
  924. package/components/OffsetWellPickerV5/effects/useBicWells.js.map +1 -0
  925. package/components/OffsetWellPickerV5/effects/useCompanies.d.ts +7 -0
  926. package/components/OffsetWellPickerV5/effects/useCompanies.d.ts.map +1 -0
  927. package/components/OffsetWellPickerV5/effects/useCompanies.js +2 -0
  928. package/components/OffsetWellPickerV5/effects/useCompanies.js.map +1 -0
  929. package/components/OffsetWellPickerV5/effects/useCompanyMetricKey.d.ts +3 -0
  930. package/components/OffsetWellPickerV5/effects/useCompanyMetricKey.d.ts.map +1 -0
  931. package/components/OffsetWellPickerV5/effects/useCompanyMetricKey.js +2 -0
  932. package/components/OffsetWellPickerV5/effects/useCompanyMetricKey.js.map +1 -0
  933. package/components/OffsetWellPickerV5/effects/useCompanyProvider.d.ts +2 -0
  934. package/components/OffsetWellPickerV5/effects/useCompanyProvider.d.ts.map +1 -0
  935. package/components/OffsetWellPickerV5/effects/useCompanyProvider.js +2 -0
  936. package/components/OffsetWellPickerV5/effects/useCompanyProvider.js.map +1 -0
  937. package/components/OffsetWellPickerV5/effects/useFetchSubjectWell.d.ts +2 -0
  938. package/components/OffsetWellPickerV5/effects/useFetchSubjectWell.d.ts.map +1 -0
  939. package/components/OffsetWellPickerV5/effects/useFetchSubjectWell.js +2 -0
  940. package/components/OffsetWellPickerV5/effects/useFetchSubjectWell.js.map +1 -0
  941. package/components/OffsetWellPickerV5/effects/useFetchWells.d.ts +10 -0
  942. package/components/OffsetWellPickerV5/effects/useFetchWells.d.ts.map +1 -0
  943. package/components/OffsetWellPickerV5/effects/useFetchWells.js +2 -0
  944. package/components/OffsetWellPickerV5/effects/useFetchWells.js.map +1 -0
  945. package/components/OffsetWellPickerV5/effects/useFilterOptions.d.ts +6 -0
  946. package/components/OffsetWellPickerV5/effects/useFilterOptions.d.ts.map +1 -0
  947. package/components/OffsetWellPickerV5/effects/useFilterOptions.js +2 -0
  948. package/components/OffsetWellPickerV5/effects/useFilterOptions.js.map +1 -0
  949. package/components/OffsetWellPickerV5/effects/useFilteredWells.d.ts +98 -0
  950. package/components/OffsetWellPickerV5/effects/useFilteredWells.d.ts.map +1 -0
  951. package/components/OffsetWellPickerV5/effects/useFilteredWells.js +2 -0
  952. package/components/OffsetWellPickerV5/effects/useFilteredWells.js.map +1 -0
  953. package/components/OffsetWellPickerV5/effects/useRadiusWells.d.ts +2 -0
  954. package/components/OffsetWellPickerV5/effects/useRadiusWells.d.ts.map +1 -0
  955. package/components/OffsetWellPickerV5/effects/useSortedWells.d.ts +2 -0
  956. package/components/OffsetWellPickerV5/effects/useSortedWells.d.ts.map +1 -0
  957. package/components/OffsetWellPickerV5/effects/useSortedWells.js +2 -0
  958. package/components/OffsetWellPickerV5/effects/useSortedWells.js.map +1 -0
  959. package/components/OffsetWellPickerV5/effects/useTableColumns.d.ts +2 -0
  960. package/components/OffsetWellPickerV5/effects/useTableColumns.d.ts.map +1 -0
  961. package/components/OffsetWellPickerV5/effects/useTableColumns.js +2 -0
  962. package/components/OffsetWellPickerV5/effects/useTableColumns.js.map +1 -0
  963. package/components/OffsetWellPickerV5/index.d.ts +2 -0
  964. package/components/OffsetWellPickerV5/index.d.ts.map +1 -0
  965. package/components/OffsetWellPickerV5/stores/filter-store/FilterStoreContext.d.ts +3 -0
  966. package/components/OffsetWellPickerV5/stores/filter-store/FilterStoreContext.d.ts.map +1 -0
  967. package/components/OffsetWellPickerV5/stores/filter-store/FilterStoreContext.js +2 -0
  968. package/components/OffsetWellPickerV5/stores/filter-store/FilterStoreContext.js.map +1 -0
  969. package/components/OffsetWellPickerV5/stores/filter-store/FilterStoreProvider.d.ts +8 -0
  970. package/components/OffsetWellPickerV5/stores/filter-store/FilterStoreProvider.d.ts.map +1 -0
  971. package/components/OffsetWellPickerV5/stores/filter-store/FilterStoreProvider.js +2 -0
  972. package/components/OffsetWellPickerV5/stores/filter-store/FilterStoreProvider.js.map +1 -0
  973. package/components/OffsetWellPickerV5/stores/filter-store/createFilterStore.d.ts +5 -0
  974. package/components/OffsetWellPickerV5/stores/filter-store/createFilterStore.d.ts.map +1 -0
  975. package/components/OffsetWellPickerV5/stores/filter-store/createFilterStore.js +2 -0
  976. package/components/OffsetWellPickerV5/stores/filter-store/createFilterStore.js.map +1 -0
  977. package/components/OffsetWellPickerV5/stores/filter-store/types.d.ts +43 -0
  978. package/components/OffsetWellPickerV5/stores/filter-store/types.d.ts.map +1 -0
  979. package/components/OffsetWellPickerV5/stores/filter-store/useFilterStore.d.ts +3 -0
  980. package/components/OffsetWellPickerV5/stores/filter-store/useFilterStore.d.ts.map +1 -0
  981. package/components/OffsetWellPickerV5/stores/filter-store/useFilterStore.js +2 -0
  982. package/components/OffsetWellPickerV5/stores/filter-store/useFilterStore.js.map +1 -0
  983. package/components/OffsetWellPickerV5/stores/picker-props-store/PickerPropsStoreContext.d.ts +3 -0
  984. package/components/OffsetWellPickerV5/stores/picker-props-store/PickerPropsStoreContext.d.ts.map +1 -0
  985. package/components/OffsetWellPickerV5/stores/picker-props-store/PickerPropsStoreContext.js +2 -0
  986. package/components/OffsetWellPickerV5/stores/picker-props-store/PickerPropsStoreContext.js.map +1 -0
  987. package/components/OffsetWellPickerV5/stores/picker-props-store/PickerPropsStoreProvider.d.ts +8 -0
  988. package/components/OffsetWellPickerV5/stores/picker-props-store/PickerPropsStoreProvider.d.ts.map +1 -0
  989. package/components/OffsetWellPickerV5/stores/picker-props-store/PickerPropsStoreProvider.js +2 -0
  990. package/components/OffsetWellPickerV5/stores/picker-props-store/PickerPropsStoreProvider.js.map +1 -0
  991. package/components/OffsetWellPickerV5/stores/picker-props-store/createPickerPropsStore.d.ts +53 -0
  992. package/components/OffsetWellPickerV5/stores/picker-props-store/createPickerPropsStore.d.ts.map +1 -0
  993. package/components/OffsetWellPickerV5/stores/picker-props-store/createPickerPropsStore.js +2 -0
  994. package/components/OffsetWellPickerV5/stores/picker-props-store/createPickerPropsStore.js.map +1 -0
  995. package/components/OffsetWellPickerV5/stores/picker-props-store/index.d.ts +6 -0
  996. package/components/OffsetWellPickerV5/stores/picker-props-store/index.d.ts.map +1 -0
  997. package/components/OffsetWellPickerV5/stores/picker-props-store/usePickerPropsStore.d.ts +3 -0
  998. package/components/OffsetWellPickerV5/stores/picker-props-store/usePickerPropsStore.d.ts.map +1 -0
  999. package/components/OffsetWellPickerV5/stores/picker-props-store/usePickerPropsStore.js +2 -0
  1000. package/components/OffsetWellPickerV5/stores/picker-props-store/usePickerPropsStore.js.map +1 -0
  1001. package/components/OffsetWellPickerV5/stores/utils/useContextOrThrow.d.ts +3 -0
  1002. package/components/OffsetWellPickerV5/stores/utils/useContextOrThrow.d.ts.map +1 -0
  1003. package/components/OffsetWellPickerV5/stores/utils/useContextOrThrow.js +2 -0
  1004. package/components/OffsetWellPickerV5/stores/utils/useContextOrThrow.js.map +1 -0
  1005. package/components/OffsetWellPickerV5/stores/utils/useStableCallback.d.ts +6 -0
  1006. package/components/OffsetWellPickerV5/stores/utils/useStableCallback.d.ts.map +1 -0
  1007. package/components/OffsetWellPickerV5/stores/utils/useStableCallback.js +2 -0
  1008. package/components/OffsetWellPickerV5/stores/utils/useStableCallback.js.map +1 -0
  1009. package/components/OffsetWellPickerV5/stores/utils/useSyncProps.d.ts +31 -0
  1010. package/components/OffsetWellPickerV5/stores/utils/useSyncProps.d.ts.map +1 -0
  1011. package/components/OffsetWellPickerV5/stores/utils/useSyncProps.js +2 -0
  1012. package/components/OffsetWellPickerV5/stores/utils/useSyncProps.js.map +1 -0
  1013. package/components/OffsetWellPickerV5/stores/view-store/ViewStoreContext.d.ts +3 -0
  1014. package/components/OffsetWellPickerV5/stores/view-store/ViewStoreContext.d.ts.map +1 -0
  1015. package/components/OffsetWellPickerV5/stores/view-store/ViewStoreContext.js +2 -0
  1016. package/components/OffsetWellPickerV5/stores/view-store/ViewStoreContext.js.map +1 -0
  1017. package/components/OffsetWellPickerV5/stores/view-store/ViewStoreProvider.d.ts +8 -0
  1018. package/components/OffsetWellPickerV5/stores/view-store/ViewStoreProvider.d.ts.map +1 -0
  1019. package/components/OffsetWellPickerV5/stores/view-store/ViewStoreProvider.js +2 -0
  1020. package/components/OffsetWellPickerV5/stores/view-store/ViewStoreProvider.js.map +1 -0
  1021. package/components/OffsetWellPickerV5/stores/view-store/createViewStore.d.ts +25 -0
  1022. package/components/OffsetWellPickerV5/stores/view-store/createViewStore.d.ts.map +1 -0
  1023. package/components/OffsetWellPickerV5/stores/view-store/createViewStore.js +2 -0
  1024. package/components/OffsetWellPickerV5/stores/view-store/createViewStore.js.map +1 -0
  1025. package/components/OffsetWellPickerV5/stores/view-store/useViewStore.d.ts +3 -0
  1026. package/components/OffsetWellPickerV5/stores/view-store/useViewStore.d.ts.map +1 -0
  1027. package/components/OffsetWellPickerV5/stores/view-store/useViewStore.js +2 -0
  1028. package/components/OffsetWellPickerV5/stores/view-store/useViewStore.js.map +1 -0
  1029. package/components/OffsetWellPickerV5/utils/calculateBoundsFromRadius.d.ts +8 -0
  1030. package/components/OffsetWellPickerV5/utils/calculateBoundsFromRadius.d.ts.map +1 -0
  1031. package/components/OffsetWellPickerV5/utils/calculateBoundsFromRadius.js +2 -0
  1032. package/components/OffsetWellPickerV5/utils/calculateBoundsFromRadius.js.map +1 -0
  1033. package/components/OffsetWellPickerV5/utils/fetchDataByChunks.d.ts +18 -0
  1034. package/components/OffsetWellPickerV5/utils/fetchDataByChunks.d.ts.map +1 -0
  1035. package/components/OffsetWellPickerV5/utils/fetchDataByChunks.js +2 -0
  1036. package/components/OffsetWellPickerV5/utils/fetchDataByChunks.js.map +1 -0
  1037. package/components/OffsetWellPickerV5/utils/getIsImperial.d.ts +2 -0
  1038. package/components/OffsetWellPickerV5/utils/getIsImperial.d.ts.map +1 -0
  1039. package/components/OffsetWellPickerV5/utils/getIsImperial.js +2 -0
  1040. package/components/OffsetWellPickerV5/utils/getIsImperial.js.map +1 -0
  1041. package/components/OffsetWellPickerV5/utils/getTimestampByPeriod.d.ts +2 -0
  1042. package/components/OffsetWellPickerV5/utils/getTimestampByPeriod.d.ts.map +1 -0
  1043. package/components/OffsetWellPickerV5/utils/getTimestampByPeriod.js +2 -0
  1044. package/components/OffsetWellPickerV5/utils/getTimestampByPeriod.js.map +1 -0
  1045. package/components/OffsetWellPickerV5/utils/index.d.ts +2 -0
  1046. package/components/OffsetWellPickerV5/utils/index.d.ts.map +1 -0
  1047. package/components/OffsetWellPickerV5/utils/index.js +2 -0
  1048. package/components/OffsetWellPickerV5/utils/index.js.map +1 -0
  1049. package/components/OffsetWellPickerV5/utils/wellTransformations.d.ts +4 -0
  1050. package/components/OffsetWellPickerV5/utils/wellTransformations.d.ts.map +1 -0
  1051. package/components/OffsetWellPickerV5/utils/wellTransformations.js +2 -0
  1052. package/components/OffsetWellPickerV5/utils/wellTransformations.js.map +1 -0
  1053. package/components/PadModeSelect/FracModeLabel.js +1 -1
  1054. package/components/PadModeSelect/PadModeSelect.js +1 -1
  1055. package/components/PadOffsetsPicker/StagesSelector.js +1 -1
  1056. package/components/PadOffsetsPicker/StagesSelector.js.map +1 -1
  1057. package/components/PadOffsetsPickerV2/PadOffsetsPickerV2.js +1 -1
  1058. package/components/ParameterCharts/components/TraceHeader.js +1 -1
  1059. package/components/ParameterCharts/components/TraceHeader.js.map +1 -1
  1060. package/components/PinnableFilters/components/FiltersToggler.js +1 -1
  1061. package/components/PinnableFilters/components/FiltersToggler.js.map +1 -1
  1062. package/components/Popover/Popover.js +1 -1
  1063. package/components/Popper/Popper.js +1 -1
  1064. package/components/RealTimeValuesSidebar/RealTimeValuesBox/RealTimeBoxEditDialog.js +1 -1
  1065. package/components/RealTimeValuesSidebar/SidebarFooter.js +1 -1
  1066. package/components/Search/Search.js +1 -1
  1067. package/components/Select/SelectFilterBy.js +1 -1
  1068. package/components/SettingEditors/ColorEditor/index.js +1 -1
  1069. package/components/Stepper/Step/Step.js +1 -1
  1070. package/components/Table/TableCell/TableCell.js +1 -1
  1071. package/components/Table/TablePaginationActions/TablePaginationActions.js +1 -1
  1072. package/components/Table/TableSortLabel/TableSortLabel.js +1 -1
  1073. package/components/Toaster/Toaster.js +1 -1
  1074. package/components/index.js +1 -1
  1075. package/componentsV2/Accordion/Accordion.js +1 -1
  1076. package/componentsV2/AppDqPopover/DqAlertTooltip/DqAlertTooltip.js +1 -1
  1077. package/componentsV2/AppDqPopover/DqAsset/DqAsset.js +1 -1
  1078. package/componentsV2/AppFooter/DqPopover/DqStatusIcon/DqStatusIcon.js +1 -1
  1079. package/componentsV2/AppFooter/Warning.js +1 -1
  1080. package/componentsV2/AppHeader/AppAssets/utils.js +1 -1
  1081. package/componentsV2/AppHeader/V3/Actions/Actions.js +1 -1
  1082. package/componentsV2/AppHeader/V3/AppTitle/AppTitle.js +1 -1
  1083. package/componentsV2/AppHeader/V3/AssetSelector/AssetSelectorChip/AssetSelectorChip.js +1 -1
  1084. package/componentsV2/AppHeader/V3/AssetSelector/AssetSelectorSelect/AssetSelectorContent.js +1 -1
  1085. package/componentsV2/AppHeader/V3/AssetSelector/constants.js +1 -1
  1086. package/componentsV2/AppHeader/V3/DqStatusIcon/DqStatusIcon.js +1 -1
  1087. package/componentsV2/AppHeader/V3/SettingsButton/SettingsButton.js +1 -1
  1088. package/componentsV2/AppHeader/V3/VersionSelect/VersionSelect.js +1 -1
  1089. package/componentsV2/AppSettings/AppSettings.js +1 -1
  1090. package/componentsV2/Autocomplete/Autocomplete.js +1 -1
  1091. package/componentsV2/Breadcrumbs/Breadcrumbs.js +1 -1
  1092. package/componentsV2/ButtonLive/ButtonLive.js +1 -1
  1093. package/componentsV2/Chip/Chip.js +1 -1
  1094. package/componentsV2/CopyToClipboard/CopyToClipboard.js +1 -1
  1095. package/componentsV2/Counter/Counter.js +1 -1
  1096. package/componentsV2/DatePicker/CalendarControls/CalendarControls.js +1 -1
  1097. package/componentsV2/DatePicker/Input/Input.js +1 -1
  1098. package/componentsV2/DragHandle/DragHandle.js +1 -1
  1099. package/componentsV2/FilesDropzone/FilesDropzone.js +1 -1
  1100. package/componentsV2/FilesLoader/FilesLoader.js +1 -1
  1101. package/componentsV2/Hint/Hint.js +1 -1
  1102. package/componentsV2/ModalWindow/ModalWindow.js +1 -1
  1103. package/componentsV2/OffsetWellsButton/OffsetWellsButton.js +1 -1
  1104. package/componentsV2/OffsetWellsButton/useOffsetWellsIcon.js +1 -1
  1105. package/componentsV2/PadModeSelect/FracModeLabel/FracModeLabel.js +1 -1
  1106. package/componentsV2/PadModeSelect/PadModeSelect.js +1 -1
  1107. package/componentsV2/Stepper/Step/Step.js +1 -1
  1108. package/componentsV2/TextInput/TextInput.js +1 -1
  1109. package/componentsV2/WellArchivedMessage/WellArchivedMessage.js +1 -1
  1110. package/config/theme/index.js +1 -1
  1111. package/config/theme/index.js.map +1 -1
  1112. package/icons/customIcons/icons/Lasso.d.ts +2 -0
  1113. package/icons/customIcons/icons/Lasso.d.ts.map +1 -0
  1114. package/icons/customIcons/icons/Lasso.js +2 -0
  1115. package/icons/customIcons/icons/Lasso.js.map +1 -0
  1116. package/icons/customIcons/icons/index.d.ts +1 -0
  1117. package/icons/customIcons/icons/index.d.ts.map +1 -1
  1118. package/icons/iconParkIcons.d.ts +1 -0
  1119. package/icons/iconParkIcons.d.ts.map +1 -1
  1120. package/icons/iconParkIcons.js +1 -1
  1121. package/icons/iconParkIcons.js.map +1 -1
  1122. package/icons/index.js +1 -1
  1123. package/package.json +11 -2
  1124. package/testing/AppTestWrapper/AppTestWrapper.js +1 -1
@@ -1,2 +1,2 @@
1
- import o from"@babel/runtime/helpers/slicedToArray";import{useState as s,useRef as t,useMemo as e,useEffect as n}from"react";import p from"prop-types";import{sortBy as i,noop as r}from"lodash";import c from"moment";import{makeStyles as m,Typography as a}from"@material-ui/core";import l from"../../Comment/index.js";import d from"../../CommentLoader.js";import j from"../../CommentInput/index.js";import{postFeedItemComment as u}from"../../../clients/jsonApi/index.js";import"../../DevCenter/DevCenterAppContainer/components/AppActions/AppActions.css.js";import{jsxs as A,jsx as C}from"react/jsx-runtime";import"../../DevCenter/DevCenterAppContainer/components/AppSettingsDialog/AppSettingsDialog.js";import"../../DevCenter/DevCenterAppContainer/components/AppSettingsDialog/components/RemoveAppButton.js";import"../../DevCenter/DevCenterAppContainer/components/AppSettingsDialog/components/SettingsAccordion.js";import"../../DevCenter/DevCenterAppContainer/components/AnnotationsButton/AnnotationsButton.js";import"../../../componentsV2/Text/Text.js";import"../../../componentsV2/Grid/Grid.js";import"../../../componentsV2/Grid/Cell.js";import"classnames";import"../../../componentsV2/Header/Header.scss.js";import"../../../componentsV2/Button/Button.js";import"../../../componentsV2/ButtonIcon/ButtonIcon.js";import{useIsInsideIsolatedDcApp as V}from"../../DevCenter/DevCenterAppContainer/components/IsInsideIsolatedDcAppProvider/IsInsideIsolatedDcAppProvider.js";import"../../DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/IsInsideDcFullscreenElemProvider.js";import"../../DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/DcFullscreenElemsCoordinatorProvider.js";import"uuid";import"../../../componentsV2/Tooltip/Tooltip.scss.js";import"../../../componentsV2/Popover/Popover.js";import"../../../componentsV2/Radio/Radio.js";import"../../../componentsV2/RadioAndCheckboxGroup/RadioAndCheckboxGroup.scss.js";import"../../../componentsV2/Checkbox/Checkbox.js";import"../../../componentsV2/TextInput/TextInput.js";import"../../../componentsV2/Label/Label.js";import"../../../componentsV2/TextEndTruncated/TextEndTruncated.scss.js";import"../../../componentsV2/TextMiddleTruncated/TextMiddleTruncated.constants.js";import"../../../componentsV2/TextMiddleTruncated/TextMiddleTruncated.scss.js";import"../../../componentsV2/TextLink/TextLink.js";import"../../../componentsV2/Chip/Chip.js";import"../../../componentsV2/ChipAlert/ChipAlert.js";import"../../../componentsV2/ChipIndicator/ChipIndicator.js";import"../../../componentsV2/Avatar/Avatar.js";import"../../../componentsV2/AvatarGroup/AvatarGroup.js";import"@material-ui/lab";import"../../../componentsV2/ToggleButtons/ToggleButtons.scss.js";import"../../../componentsV2/Paper/Paper.js";import"../../../componentsV2/ModalWindow/ModalWindow.scss.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"../../../componentsV2/Modal/Modal.scss.js";import"../../../componentsV2/Menu/Menu.js";import"../../../componentsV2/utils.js";import"../../../componentsV2/Hint/Hint.scss.js";import"../../../componentsV2/Counter/Counter.js";import"../../../componentsV2/BadgeBase/BadgeBase.scss.js";import"../../../componentsV2/BadgeDot/BadgeDot.scss.js";import"../../../componentsV2/LoaderLinear/LoaderLinear.scss.js";import"../../../componentsV2/LoaderLogo/LoaderLogo.constants.js";import"../../../componentsV2/LoaderLogo/LoaderLogo.scss.js";import"../../../componentsV2/Switch/Switch.js";import"../../../componentsV2/Tabs/Tabs.js";import"../../../componentsV2/EmptyState/EmptyState.scss.js";import"../../../componentsV2/FileIcon/FileIcon.js";import"../../../componentsV2/Tag/Tag.js";import"react-dropzone";import"../../../utils/index.js";import"../../../componentsV2/FilesDropzone/FilesDropzone.scss.js";import"../../../componentsV2/FilesLoader/FilesLoader.scss.js";import"../../../componentsV2/FilesProcessor/FilesProcessor.scss.js";import"../../../componentsV2/Skeleton/Skeleton.scss.js";import"../../../utils/main.js";import"../../../componentsV2/CopyToClipboard/CopyToClipboard.scss.js";import"../../../componentsV2/Stepper/Step/Step.scss.js";import"../../../componentsV2/Stepper/Stepper.scss.js";import"../../../componentsV2/ButtonLive/ButtonLive.js";import"../../../componentsV2/ButtonText/ButtonText.js";import"../../../componentsV2/IndicatorLive/IndicatorLive.js";import"../../../componentsV2/Accordion/Accordion.scss.js";import"../../../componentsV2/Breadcrumbs/Breadcrumbs.scss.js";import"../../../componentsV2/BadgeComment/BadgeComment.js";import"../../../componentsV2/AppContainer/AppContainer.js";import"../../../componentsV2/AppContainer/AppContainer.constants.js";import"../../../componentsV2/AppFooter/AppFooter.js";import"../../../constants/goals.js";import"../../../constants/segment.js";import"../../../constants/alerts.js";import"../../../constants/apps.js";import"../../../constants/drillstring.js";import"../../../constants/completion.js";import"../../../constants/appPackages.js";import"../../../constants/notifications.js";import"../../../constants/feed.js";import"../../../constants/bha.js";import"../../../constants/corvaCompanyId.js";import"../../GradientManager/configuration/constants.js";import"../../../componentsV2/AppCommonsProvider/AppCommonsContext.js";import"../../../componentsV2/AppHeader/AppHeader.constants.js";import"../../../componentsV2/AppHeader/AppBadge/AppBadge.scss.js";import"../../DevCenter/DevCenterRouterContext/DevCenterRouterContext.js";import"../../DevCenter/DevCenterRouterContext/UniversalLink/UniversalLink.js";import"@babel/runtime/helpers/defineProperty";import"@babel/runtime/helpers/objectWithoutProperties";import"react-router";import"../../../componentsV2/AppHeader/AppAssets/utils.js";import"../../../componentsV2/AppHeader/AppAssets/AppAssets.scss.js";import"../../PadModeSelect/PadModeSelect.js";import"../../../componentsV2/AppHeader/PadMode/PadMode.scss.js";import"../../../constants/streamSourceType.js";import"../../../types/shared/Completions.js";import"../../PadModeSelect/types.js";import"lodash/flatten";import"lodash/partition";import"../../../componentsV2/PadModeSelect/FracModeLabel/FracModeLabel.js";import"../../../componentsV2/PadModeSelect/FracModeLabel/FracModeLabel.constants.js";import"@babel/runtime/helpers/toConsumableArray";import"lodash/set";import"lodash/get";import"lodash/unset";import"../../../clients/subscriptions/constants.js";import"../../../clients/subscriptions.v1.js";import"../../../clients/subscriptions/subscriptions-client.factory.js";import"../../../clients/api/apiCore.js";import"../../../clients/constants.js";import"../../../clients/sso/auth0.js";import"../../../clients/sso/oauth2.js";import"../../../componentsV2/PadModeSelect/WellStreamActivityStatus/WellStreamActivityStatus.scss.js";import"../../../componentsV2/PadModeSelect/PadModeSelect.constants.js";import"../../../componentsV2/PadModeSelect/PadModeSelect.scss.js";import"@babel/runtime/helpers/asyncToGenerator";import"@babel/runtime/regenerator";import"querystring";import"uuid/v1";import"jsona";import"../../../utils/env.js";import"../../StatusBadge/constants.js";import"lodash/isEmpty";import"lodash/sortBy";import"../../DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchContext.js";import"../../../componentsV2/AppHeader/V3/VersionSelect/VersionSelect.js";import"../../../componentsV2/UniversalLink/UniversalLink.scss.js";import"../../../componentsV2/AppHeader/V3/AssetChips/AssetChips.scss.js";import"../../../componentsV2/AppHeader/V3/DqStatusIcon/DqStatusIcon.js";import"../../../componentsV2/AppHeader/V3/DqStatusIcon/DqStatusIcon.constants.js";import"../../../componentsV2/AppFooter/DqPopover/DqStatusIcon/DqStatusIcon.js";import"../../../componentsV2/AppDqPopover/DqAlertTooltip/DqAlertTooltip.scss.js";import"../../../componentsV2/AppDqPopover/DqAlert/DqAlert.scss.js";import"../../../componentsV2/AppDqPopover/DqAsset/DqAsset.scss.js";import"../../../componentsV2/AppDqPopover/AppDqPopover.scss.js";import"../../AppIcon/AppIcon.js";import"../../../utils/getSingleAsset.js";import"../../../componentsV2/AppHeader/V3/AssetSelector/AssetSelectorChip/AssetSelectorChip.js";import"../../../componentsV2/AppHeader/V3/AssetSelector/constants.js";import"../../../componentsV2/AppHeader/V3/AssetSelector/AssetSelectorSelect/AssetSelectorSelect.scss.js";import"../../../componentsV2/AppHeader/V3/AssetSelector/AssetSelectorSelect/loadAssets.js";import"../../../componentsV2/AppHeader/V3/AssetSelector/AssetSelector.scss.js";import"../../../componentsV2/AppHeader/V3/AppTitle/AppTitle.constants.js";import"../../../componentsV2/AppContainer/headerCommon.scss.js";import"../../../componentsV2/AppHeader/V3/AppTitle/AppTitle.scss.js";import"../../../componentsV2/AppHeader/V3/constants.scss.js";import"@babel/runtime/helpers/typeof";import"../../../componentsV2/AppHeader/V3/SettingsButton/SettingsButton.js";import"../../../componentsV2/AppHeader/V3/SettingsButton/SettingsButton.constants.js";import"../../../componentsV2/AppSettings/AppSettings.js";import"../../../componentsV2/AppSettings/AppSettings.constants.js";import"../../../componentsV2/AppSettings/AppSettingsPinningContext.js";import"../../../componentsV2/AppSizeProvider/AppSizeProvider.js";import"../../../componentsV2/AppHeader/V3/Actions/Actions.constants.js";import"../../../componentsV2/AppHeader/V3/Actions/Actions.scss.js";import"../../../componentsV2/AppHeader/V3/AppHeaderV3.scss.js";import"../../../componentsV2/AppHeader/AppHeader.scss.js";import"../../../componentsV2/OffsetWellsButton/OffsetWellsButton.js";import"../../../componentsV2/Autocomplete/Autocomplete.scss.js";import"../../../componentsV2/Menu/MenuItem/MenuItem.js";import"../../../componentsV2/Autocomplete/AutocompleteListBox.js";import"../../../componentsV2/AppSettingsDivider/AppSettingsDivider.scss.js";import"../../../componentsV2/WellArchivedMessage/WellArchivedMessage.js";import"../../../componentsV2/DatePicker/DatePicker.js";import"../../../componentsV2/DragHandle/DragHandle.js";import"../../DevCenter/DevCenterAppContainer/components/FullscreenButton/FullscreenButton.js";import"../../DevCenter/DevCenterAppContainer/components/AppInfoMessage/AppInfoMessage.js";import"../../DevCenter/DevCenterAppContainer/components/DevCenterAppView/DevCenterAppView.js";import{isNativeDetected as v}from"../../../utils/mobileDetect.js";var I=m({showMore:{cursor:"pointer"},feedCommentsContainer:{padding:"0 16px 0 24px"},feedCommentsList:{marginTop:24},feedCommentsListContent:{height:function(o){var s=o.commentsListHeight;return s&&s-8},overflow:function(o){return o.commentsListHeight&&"scroll"}},feedCommentsListContentWrapper:{position:"relative"},gradient:{position:"absolute",bottom:0,left:0,width:"100%",height:16,background:function(o){var s=o.isInsideDcApp;return"linear-gradient(180deg, rgba(61, 61, 61, 0) 0%, ".concat(s?"#414141":"3b3b3b"," 100%)")}}});function g(p){var m,g=p.openCommentInput,h=p.openCommentList,D=p.feedItem,S=p.currentUser,b=D.comments,f=b.length,P=f>3,L=s(!1),T=o(L,2),M=T[0],x=T[1],H=s(!1),B=o(H,2),F=B[0],k=B[1],y=s(!1),q=o(y,2),R=q[0],w=q[1],W=s(null),E=o(W,2),G=E[0],U=E[1],O=t(),z=t(),N=e((function(){var o=i(D.comments,(function(o){return-c(o.created_at).unix()}));return R?R&&!F?o.slice(0,5):R&&F?o:[]:o.slice(0,3)}),[b,F,R]);n((function(){if(5===N.length&&!G){var o=z.current.clientHeight;U(o),k(!0)}G&&!R&&(U(null),k(!1))}),[N.length,G,R]);var _=V(),K=I({commentsListHeight:G,isAllCommentsVisibleKeyPressed:R,isInsideDcApp:_});return A("div",{className:(g||!!f)&&K.feedCommentsContainer,children:[g&&!v&&C(j,{inputRef:O,postComment:function(o){u(D.id,o)},setIsPosting:x,companyId:D.company_id,autoFocus:!1,currentUser:S,parentId:"".concat(D.id,"-").concat(null===(m=D.comments)||void 0===m?void 0:m.size)}),h&&A("div",{className:K.feedCommentsList,children:[C("div",{className:K.feedCommentsListContentWrapper,children:A("div",{className:K.feedCommentsListContent,ref:z,children:[N.map((function(o){return C(l,{comment:o,handleDeleteCallback:r,patchCommentCallback:r,companyId:D.company_id,currentUser:S},o.id)})),G&&C("div",{className:K.gradient})]})}),P&&C(a,{variant:"caption",color:"primary","data-testid":"".concat("FeedComments","_viewMoreComments"),className:K.showMore,onClick:function(){w(!R)},children:R?"Hide older comments":"See all comments"})]}),M&&C(d,{})]})}g.propTypes={openCommentInput:p.bool.isRequired,feedItem:p.shape().isRequired,currentUser:p.shape().isRequired};export{g as default};
1
+ import o from"@babel/runtime/helpers/slicedToArray";import{useState as s,useRef as t,useMemo as e,useEffect as n}from"react";import p from"prop-types";import{sortBy as i,noop as r}from"lodash";import c from"moment";import{makeStyles as m,Typography as a}from"@material-ui/core";import l from"../../Comment/index.js";import d from"../../CommentLoader.js";import j from"../../CommentInput/index.js";import{postFeedItemComment as u}from"../../../clients/jsonApi/index.js";import"../../DevCenter/DevCenterAppContainer/components/AppActions/AppActions.css.js";import{jsxs as A,jsx as C}from"react/jsx-runtime";import"../../DevCenter/DevCenterAppContainer/components/AppSettingsDialog/AppSettingsDialog.js";import"../../DevCenter/DevCenterAppContainer/components/AppSettingsDialog/components/RemoveAppButton.js";import"../../DevCenter/DevCenterAppContainer/components/AppSettingsDialog/components/SettingsAccordion.js";import"../../DevCenter/DevCenterAppContainer/components/AnnotationsButton/AnnotationsButton.js";import"../../../componentsV2/Text/Text.js";import"../../../componentsV2/Grid/Grid.js";import"../../../componentsV2/Grid/Cell.js";import"classnames";import"../../../componentsV2/Header/Header.scss.js";import"../../../componentsV2/Button/Button.js";import"../../../componentsV2/ButtonIcon/ButtonIcon.js";import{useIsInsideIsolatedDcApp as V}from"../../DevCenter/DevCenterAppContainer/components/IsInsideIsolatedDcAppProvider/IsInsideIsolatedDcAppProvider.js";import"../../DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/IsInsideDcFullscreenElemProvider.js";import"../../DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/DcFullscreenElemsCoordinatorProvider.js";import"uuid";import"../../../componentsV2/Tooltip/Tooltip.scss.js";import"../../../componentsV2/Popover/Popover.js";import"../../../componentsV2/Radio/Radio.js";import"../../../componentsV2/RadioAndCheckboxGroup/RadioAndCheckboxGroup.scss.js";import"../../../componentsV2/Checkbox/Checkbox.js";import"../../../componentsV2/TextInput/TextInput.js";import"../../../componentsV2/Label/Label.js";import"../../../componentsV2/TextEndTruncated/TextEndTruncated.scss.js";import"../../../componentsV2/TextMiddleTruncated/TextMiddleTruncated.constants.js";import"../../../componentsV2/TextMiddleTruncated/TextMiddleTruncated.scss.js";import"../../../componentsV2/TextLink/TextLink.js";import"../../../componentsV2/Chip/Chip.js";import"../../../componentsV2/ChipAlert/ChipAlert.js";import"../../../componentsV2/ChipIndicator/ChipIndicator.js";import"../../../componentsV2/Avatar/Avatar.js";import"../../../componentsV2/AvatarGroup/AvatarGroup.js";import"@material-ui/lab";import"../../../componentsV2/ToggleButtons/ToggleButtons.scss.js";import"../../../componentsV2/Paper/Paper.js";import"../../../componentsV2/ModalWindow/ModalWindow.scss.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/Lasso.js";import"../../../componentsV2/Modal/Modal.scss.js";import"../../../componentsV2/Menu/Menu.js";import"../../../componentsV2/utils.js";import"../../../componentsV2/Hint/Hint.scss.js";import"../../../componentsV2/Counter/Counter.js";import"../../../componentsV2/BadgeBase/BadgeBase.scss.js";import"../../../componentsV2/BadgeDot/BadgeDot.scss.js";import"../../../componentsV2/LoaderLinear/LoaderLinear.scss.js";import"../../../componentsV2/LoaderLogo/LoaderLogo.constants.js";import"../../../componentsV2/LoaderLogo/LoaderLogo.scss.js";import"../../../componentsV2/Switch/Switch.js";import"../../../componentsV2/Tabs/Tabs.js";import"../../../componentsV2/EmptyState/EmptyState.scss.js";import"../../../componentsV2/FileIcon/FileIcon.js";import"../../../componentsV2/Tag/Tag.js";import"react-dropzone";import"../../../utils/index.js";import"../../../componentsV2/FilesDropzone/FilesDropzone.scss.js";import"../../../componentsV2/FilesLoader/FilesLoader.scss.js";import"../../../componentsV2/FilesProcessor/FilesProcessor.scss.js";import"../../../componentsV2/Skeleton/Skeleton.scss.js";import"../../../utils/main.js";import"../../../componentsV2/CopyToClipboard/CopyToClipboard.scss.js";import"../../../componentsV2/Stepper/Step/Step.scss.js";import"../../../componentsV2/Stepper/Stepper.scss.js";import"../../../componentsV2/ButtonLive/ButtonLive.js";import"../../../componentsV2/ButtonText/ButtonText.js";import"../../../componentsV2/IndicatorLive/IndicatorLive.js";import"../../../componentsV2/Accordion/Accordion.scss.js";import"../../../componentsV2/Breadcrumbs/Breadcrumbs.scss.js";import"../../../componentsV2/BadgeComment/BadgeComment.js";import"../../../componentsV2/AppContainer/AppContainer.js";import"../../../componentsV2/AppContainer/AppContainer.constants.js";import"../../../componentsV2/AppFooter/AppFooter.js";import"../../../constants/goals.js";import"../../../constants/segment.js";import"../../../constants/alerts.js";import"../../../constants/apps.js";import"../../../constants/drillstring.js";import"../../../constants/completion.js";import"../../../constants/appPackages.js";import"../../../constants/notifications.js";import"../../../constants/feed.js";import"../../../constants/bha.js";import"../../../constants/corvaCompanyId.js";import"../../GradientManager/configuration/constants.js";import"../../../componentsV2/AppCommonsProvider/AppCommonsContext.js";import"../../../componentsV2/AppHeader/AppHeader.constants.js";import"../../../componentsV2/AppHeader/AppBadge/AppBadge.scss.js";import"../../DevCenter/DevCenterRouterContext/DevCenterRouterContext.js";import"../../DevCenter/DevCenterRouterContext/UniversalLink/UniversalLink.js";import"@babel/runtime/helpers/defineProperty";import"@babel/runtime/helpers/objectWithoutProperties";import"react-router";import"../../../componentsV2/AppHeader/AppAssets/utils.js";import"../../../componentsV2/AppHeader/AppAssets/AppAssets.scss.js";import"../../PadModeSelect/PadModeSelect.js";import"../../../componentsV2/AppHeader/PadMode/PadMode.scss.js";import"../../../constants/streamSourceType.js";import"../../../types/shared/Completions.js";import"../../PadModeSelect/types.js";import"lodash/flatten";import"lodash/partition";import"../../../componentsV2/PadModeSelect/FracModeLabel/FracModeLabel.js";import"../../../componentsV2/PadModeSelect/FracModeLabel/FracModeLabel.constants.js";import"@babel/runtime/helpers/toConsumableArray";import"lodash/set";import"lodash/get";import"lodash/unset";import"../../../clients/subscriptions/constants.js";import"../../../clients/subscriptions.v1.js";import"../../../clients/subscriptions/subscriptions-client.factory.js";import"../../../clients/api/apiCore.js";import"../../../clients/constants.js";import"../../../clients/sso/auth0.js";import"../../../clients/sso/oauth2.js";import"../../../componentsV2/PadModeSelect/WellStreamActivityStatus/WellStreamActivityStatus.scss.js";import"../../../componentsV2/PadModeSelect/PadModeSelect.constants.js";import"../../../componentsV2/PadModeSelect/PadModeSelect.scss.js";import"@babel/runtime/helpers/asyncToGenerator";import"@babel/runtime/regenerator";import"querystring";import"uuid/v1";import"jsona";import"../../../utils/env.js";import"../../StatusBadge/constants.js";import"lodash/isEmpty";import"lodash/sortBy";import"../../DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchContext.js";import"../../../componentsV2/AppHeader/V3/VersionSelect/VersionSelect.js";import"../../../componentsV2/UniversalLink/UniversalLink.scss.js";import"../../../componentsV2/AppHeader/V3/AssetChips/AssetChips.scss.js";import"../../../componentsV2/AppHeader/V3/DqStatusIcon/DqStatusIcon.js";import"../../../componentsV2/AppHeader/V3/DqStatusIcon/DqStatusIcon.constants.js";import"../../../componentsV2/AppFooter/DqPopover/DqStatusIcon/DqStatusIcon.js";import"../../../componentsV2/AppDqPopover/DqAlertTooltip/DqAlertTooltip.scss.js";import"../../../componentsV2/AppDqPopover/DqAlert/DqAlert.scss.js";import"../../../componentsV2/AppDqPopover/DqAsset/DqAsset.scss.js";import"../../../componentsV2/AppDqPopover/AppDqPopover.scss.js";import"../../AppIcon/AppIcon.js";import"../../../utils/getSingleAsset.js";import"../../../componentsV2/AppHeader/V3/AssetSelector/AssetSelectorChip/AssetSelectorChip.js";import"../../../componentsV2/AppHeader/V3/AssetSelector/constants.js";import"../../../componentsV2/AppHeader/V3/AssetSelector/AssetSelectorSelect/AssetSelectorSelect.scss.js";import"../../../componentsV2/AppHeader/V3/AssetSelector/AssetSelectorSelect/loadAssets.js";import"../../../componentsV2/AppHeader/V3/AssetSelector/AssetSelector.scss.js";import"../../../componentsV2/AppHeader/V3/AppTitle/AppTitle.constants.js";import"../../../componentsV2/AppContainer/headerCommon.scss.js";import"../../../componentsV2/AppHeader/V3/AppTitle/AppTitle.scss.js";import"../../../componentsV2/AppHeader/V3/constants.scss.js";import"@babel/runtime/helpers/typeof";import"../../../componentsV2/AppHeader/V3/SettingsButton/SettingsButton.js";import"../../../componentsV2/AppHeader/V3/SettingsButton/SettingsButton.constants.js";import"../../../componentsV2/AppSettings/AppSettings.js";import"../../../componentsV2/AppSettings/AppSettings.constants.js";import"../../../componentsV2/AppSettings/AppSettingsPinningContext.js";import"../../../componentsV2/AppSizeProvider/AppSizeProvider.js";import"../../../componentsV2/AppHeader/V3/Actions/Actions.constants.js";import"../../../componentsV2/AppHeader/V3/Actions/Actions.scss.js";import"../../../componentsV2/AppHeader/V3/AppHeaderV3.scss.js";import"../../../componentsV2/AppHeader/AppHeader.scss.js";import"../../../componentsV2/OffsetWellsButton/OffsetWellsButton.js";import"../../../componentsV2/Autocomplete/Autocomplete.scss.js";import"../../../componentsV2/Menu/MenuItem/MenuItem.js";import"../../../componentsV2/Autocomplete/AutocompleteListBox.js";import"../../../componentsV2/AppSettingsDivider/AppSettingsDivider.scss.js";import"../../../componentsV2/WellArchivedMessage/WellArchivedMessage.js";import"../../../componentsV2/DatePicker/DatePicker.js";import"../../../componentsV2/DragHandle/DragHandle.js";import"../../DevCenter/DevCenterAppContainer/components/FullscreenButton/FullscreenButton.js";import"../../DevCenter/DevCenterAppContainer/components/AppInfoMessage/AppInfoMessage.js";import"../../DevCenter/DevCenterAppContainer/components/DevCenterAppView/DevCenterAppView.js";import{isNativeDetected as v}from"../../../utils/mobileDetect.js";var I=m({showMore:{cursor:"pointer"},feedCommentsContainer:{padding:"0 16px 0 24px"},feedCommentsList:{marginTop:24},feedCommentsListContent:{height:function(o){var s=o.commentsListHeight;return s&&s-8},overflow:function(o){return o.commentsListHeight&&"scroll"}},feedCommentsListContentWrapper:{position:"relative"},gradient:{position:"absolute",bottom:0,left:0,width:"100%",height:16,background:function(o){var s=o.isInsideDcApp;return"linear-gradient(180deg, rgba(61, 61, 61, 0) 0%, ".concat(s?"#414141":"3b3b3b"," 100%)")}}});function g(p){var m,g=p.openCommentInput,h=p.openCommentList,D=p.feedItem,S=p.currentUser,b=D.comments,f=b.length,P=f>3,L=s(!1),T=o(L,2),M=T[0],x=T[1],H=s(!1),B=o(H,2),F=B[0],k=B[1],y=s(!1),q=o(y,2),R=q[0],w=q[1],W=s(null),E=o(W,2),G=E[0],U=E[1],O=t(),z=t(),N=e((function(){var o=i(D.comments,(function(o){return-c(o.created_at).unix()}));return R?R&&!F?o.slice(0,5):R&&F?o:[]:o.slice(0,3)}),[b,F,R]);n((function(){if(5===N.length&&!G){var o=z.current.clientHeight;U(o),k(!0)}G&&!R&&(U(null),k(!1))}),[N.length,G,R]);var _=V(),K=I({commentsListHeight:G,isAllCommentsVisibleKeyPressed:R,isInsideDcApp:_});return A("div",{className:(g||!!f)&&K.feedCommentsContainer,children:[g&&!v&&C(j,{inputRef:O,postComment:function(o){u(D.id,o)},setIsPosting:x,companyId:D.company_id,autoFocus:!1,currentUser:S,parentId:"".concat(D.id,"-").concat(null===(m=D.comments)||void 0===m?void 0:m.size)}),h&&A("div",{className:K.feedCommentsList,children:[C("div",{className:K.feedCommentsListContentWrapper,children:A("div",{className:K.feedCommentsListContent,ref:z,children:[N.map((function(o){return C(l,{comment:o,handleDeleteCallback:r,patchCommentCallback:r,companyId:D.company_id,currentUser:S},o.id)})),G&&C("div",{className:K.gradient})]})}),P&&C(a,{variant:"caption",color:"primary","data-testid":"".concat("FeedComments","_viewMoreComments"),className:K.showMore,onClick:function(){w(!R)},children:R?"Hide older comments":"See all comments"})]}),M&&C(d,{})]})}g.propTypes={openCommentInput:p.bool.isRequired,feedItem:p.shape().isRequired,currentUser:p.shape().isRequired};export{g as default};
2
2
  //# sourceMappingURL=FeedComments.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"FeedComments.js","sources":["../../../../src/components/FeedItem/components/FeedComments.js"],"sourcesContent":["import { useState, useMemo, useEffect, useRef } from 'react';\nimport PropTypes from 'prop-types';\nimport { noop, sortBy } from 'lodash';\nimport moment from 'moment';\nimport { Typography, makeStyles } from '@material-ui/core';\n\nimport Comment from '~/components/Comment';\nimport CommentLoader from '~/components/CommentLoader';\nimport CommentInput from '~/components/CommentInput';\nimport { postFeedItemComment } from '~/clients/jsonApi';\nimport { useIsInsideIsolatedDcApp } from '~/components/DevCenter/DevCenterAppContainer/components';\nimport { isNativeDetected } from '~utils/mobileDetect';\n\nconst PAGE_NAME = 'FeedComments';\n\nconst useStyles = makeStyles({\n showMore: {\n cursor: 'pointer',\n },\n feedCommentsContainer: { padding: '0 16px 0 24px' },\n feedCommentsList: { marginTop: 24 },\n feedCommentsListContent: {\n height: ({ commentsListHeight }) => commentsListHeight && commentsListHeight - 8,\n overflow: ({ commentsListHeight }) => commentsListHeight && 'scroll',\n },\n feedCommentsListContentWrapper: {\n position: 'relative',\n },\n gradient: {\n position: 'absolute',\n bottom: 0,\n left: 0,\n width: '100%',\n height: 16,\n background: ({ isInsideDcApp }) =>\n `linear-gradient(180deg, rgba(61, 61, 61, 0) 0%, ${\n isInsideDcApp ? '#414141' : '3b3b3b'\n } 100%)`,\n },\n});\n\n// If there are more than 3 comments, we show only last 3, other comments are hidden.\n// To see all comments, user clicks ‘SEE ALL COMMENTS’.\n// To hide all comments back, user clicks ‘HIDE OLDER COMMENTS’\n// After clicking on a ‘SEE ALL COMMENTS’:\n// Height of the comments pop-over changes to show 5 comments instead of 3.\n// If all comments to initial comment can’t fit into comment pop-over, than User needs to scroll down to see them.\n// If there are more than 5 comments (so 6th+ comments in not seen at the moment, we cover bottom comment with gradient, to show that there is more to see.\n// The height of the Comments pop-over remains the same (to show first 5 comments), we don’t change it to show all possible 1000 comments. Only 5.\n\nconst INITIAL_VISIBLE_COMMENTS_COUNT = 3;\nconst COUNT_OF_COMMENTS_IN_SCROLLABLE_CONTAINER = 5;\nfunction FeedComments({ openCommentInput, openCommentList, feedItem, currentUser }) {\n const { comments } = feedItem;\n\n const commentsCount = comments.length;\n const moreCommentsExist = commentsCount > INITIAL_VISIBLE_COMMENTS_COUNT;\n\n const [isPosting, setIsPosting] = useState(false);\n const [isVisibleCommentsAppeared, setIsVisibleCommentsAppeared] = useState(false);\n const [isAllCommentsVisibleKeyPressed, setIsAllCommentsVisibleKeyPressed] = useState(false);\n const [commentsListHeight, setCommentsListHeight] = useState(null);\n\n const inputEl = useRef();\n const commentsListRef = useRef();\n\n const toggleShowAllComments = () => {\n setIsAllCommentsVisibleKeyPressed(!isAllCommentsVisibleKeyPressed);\n };\n\n const postComment = comment => {\n postFeedItemComment(feedItem.id, comment);\n };\n\n const visibleComments = useMemo(() => {\n const sortedComments = sortBy(feedItem.comments, item => -moment(item.created_at).unix());\n\n if (!isAllCommentsVisibleKeyPressed)\n return sortedComments.slice(0, INITIAL_VISIBLE_COMMENTS_COUNT);\n\n if (isAllCommentsVisibleKeyPressed && !isVisibleCommentsAppeared) {\n return sortedComments.slice(0, COUNT_OF_COMMENTS_IN_SCROLLABLE_CONTAINER);\n }\n\n if (isAllCommentsVisibleKeyPressed && isVisibleCommentsAppeared) return sortedComments;\n\n return [];\n }, [comments, isVisibleCommentsAppeared, isAllCommentsVisibleKeyPressed]);\n\n useEffect(() => {\n if (\n visibleComments.length === COUNT_OF_COMMENTS_IN_SCROLLABLE_CONTAINER &&\n !commentsListHeight\n ) {\n const divHeight = commentsListRef.current.clientHeight;\n setCommentsListHeight(divHeight);\n setIsVisibleCommentsAppeared(true);\n }\n\n if (commentsListHeight && !isAllCommentsVisibleKeyPressed) {\n setCommentsListHeight(null);\n setIsVisibleCommentsAppeared(false);\n }\n }, [visibleComments.length, commentsListHeight, isAllCommentsVisibleKeyPressed]);\n\n const isInsideDcApp = useIsInsideIsolatedDcApp();\n const classes = useStyles({ commentsListHeight, isAllCommentsVisibleKeyPressed, isInsideDcApp });\n\n return (\n <div className={(openCommentInput || !!commentsCount) && classes.feedCommentsContainer}>\n {openCommentInput && !isNativeDetected && (\n <CommentInput\n inputRef={inputEl}\n postComment={postComment}\n setIsPosting={setIsPosting}\n companyId={feedItem.company_id}\n autoFocus={false}\n currentUser={currentUser}\n parentId={`${feedItem.id}-${feedItem.comments?.size}`}\n />\n )}\n {openCommentList && (\n <div className={classes.feedCommentsList}>\n <div className={classes.feedCommentsListContentWrapper}>\n <div className={classes.feedCommentsListContent} ref={commentsListRef}>\n {visibleComments.map(comment => (\n <Comment\n key={comment.id}\n comment={comment}\n handleDeleteCallback={noop /* NOTE: Received through subscription */}\n patchCommentCallback={noop}\n companyId={feedItem.company_id}\n currentUser={currentUser}\n />\n ))}\n {commentsListHeight && <div className={classes.gradient} />}\n </div>\n </div>\n {moreCommentsExist && (\n <Typography\n variant=\"caption\"\n color=\"primary\"\n data-testid={`${PAGE_NAME}_viewMoreComments`}\n className={classes.showMore}\n onClick={toggleShowAllComments}\n >\n {isAllCommentsVisibleKeyPressed ? 'Hide older comments' : 'See all comments'}\n </Typography>\n )}\n </div>\n )}\n\n {isPosting && <CommentLoader />}\n </div>\n );\n}\n\nFeedComments.propTypes = {\n openCommentInput: PropTypes.bool.isRequired,\n feedItem: PropTypes.shape().isRequired,\n currentUser: PropTypes.shape().isRequired,\n};\n\nexport default FeedComments;\n"],"names":["useStyles","makeStyles","showMore","cursor","feedCommentsContainer","padding","feedCommentsList","marginTop","feedCommentsListContent","height","_ref","commentsListHeight","overflow","_ref2","feedCommentsListContentWrapper","position","gradient","bottom","left","width","background","_ref3","isInsideDcApp","concat","FeedComments","_ref4","_feedItem$comments","openCommentInput","openCommentList","feedItem","currentUser","comments","commentsCount","length","moreCommentsExist","useState","_useState2","_slicedToArray","_useState","isPosting","setIsPosting","_useState4","_useState3","isVisibleCommentsAppeared","setIsVisibleCommentsAppeared","_useState6","_useState5","isAllCommentsVisibleKeyPressed","setIsAllCommentsVisibleKeyPressed","_useState8","_useState7","setCommentsListHeight","inputEl","useRef","commentsListRef","visibleComments","useMemo","sortedComments","sortBy","item","moment","created_at","unix","slice","useEffect","divHeight","current","clientHeight","useIsInsideIsolatedDcApp","classes","_jsxs","className","children","isNativeDetected","_jsx","CommentInput","inputRef","postComment","comment","postFeedItemComment","id","companyId","company_id","autoFocus","parentId","size","ref","map","Comment","handleDeleteCallback","noop","patchCommentCallback","Typography","variant","color","onClick","CommentLoader","propTypes","PropTypes","bool","isRequired","shape"],"mappings":"qyYAaA,IAEMA,EAAYC,EAAW,CAC3BC,SAAU,CACRC,OAAQ,WAEVC,sBAAuB,CAAEC,QAAS,iBAClCC,iBAAkB,CAAEC,UAAW,IAC/BC,wBAAyB,CACvBC,OAAQ,SAAAC,GAAA,IAAGC,IAAAA,mBAAkB,OAAOA,GAAsBA,EAAqB,CAAC,EAChFC,SAAU,SAAAC,GAAqB,SAAlBF,oBAA+C,QAAQ,GAEtEG,+BAAgC,CAC9BC,SAAU,YAEZC,SAAU,CACRD,SAAU,WACVE,OAAQ,EACRC,KAAM,EACNC,MAAO,OACPV,OAAQ,GACRW,WAAY,SAAAC,GAAA,IAAGC,IAAAA,cAAa,MAAA,mDAAAC,OAExBD,EAAgB,UAAY,SAAQ,SAAA,KAgB5C,SAASE,EAA2EC,GAAA,IAAAC,EAA5DC,IAAAA,iBAAkBC,IAAAA,gBAAiBC,IAAAA,SAAUC,IAAAA,YAC3DC,EAAaF,EAAbE,SAEFC,EAAgBD,EAASE,OACzBC,EAAoBF,EANW,EAQHG,EAAAA,GAAS,GAAMC,EAAAC,EAAAC,EAAA,GAA1CC,EAASH,EAAA,GAAEI,EAAYJ,EAAA,GACoCD,EAAAA,GAAS,GAAMM,EAAAJ,EAAAK,EAAA,GAA1EC,EAAyBF,EAAA,GAAEG,EAA4BH,EAAA,GACcN,EAAAA,GAAS,GAAMU,EAAAR,EAAAS,EAAA,GAApFC,EAA8BF,EAAA,GAAEG,EAAiCH,EAAA,GACpBV,EAAAA,EAAS,MAAKc,EAAAZ,EAAAa,EAAA,GAA3DvC,EAAkBsC,EAAA,GAAEE,EAAqBF,EAAA,GAE1CG,EAAUC,IACVC,EAAkBD,IAUlBE,EAAkBC,GAAQ,WAC9B,IAAMC,EAAiBC,EAAO7B,EAASE,UAAU,SAAA4B,GAAI,OAAKC,EAAOD,EAAKE,YAAYC,UAElF,OAAKf,EAGDA,IAAmCJ,EAC9Bc,EAAeM,MAAM,EA9BgB,GAiC1ChB,GAAkCJ,EAAkCc,EAEjE,GAREA,EAAeM,MAAM,EA5BK,EAqCpC,GAAE,CAAChC,EAAUY,EAA2BI,IAEzCiB,GAAU,WACR,GAvC8C,IAwC5CT,EAAgBtB,SACftB,EACD,CACA,IAAMsD,EAAYX,EAAgBY,QAAQC,aAC1ChB,EAAsBc,GACtBrB,GAA6B,EAC/B,CAEIjC,IAAuBoC,IACzBI,EAAsB,MACtBP,GAA6B,GAEhC,GAAE,CAACW,EAAgBtB,OAAQtB,EAAoBoC,IAEhD,IAAMzB,EAAgB8C,IAChBC,EAAUrE,EAAU,CAAEW,mBAAAA,EAAoBoC,+BAAAA,EAAgCzB,cAAAA,IAEhF,OACEgD,EAAA,MAAA,CAAKC,WAAY5C,KAAsBK,IAAkBqC,EAAQjE,sBAAsBoE,SAAA,CACpF7C,IAAqB8C,GACpBC,EAACC,EAAY,CACXC,SAAUxB,EACVyB,YA3CY,SAAAC,GAClBC,EAAoBlD,EAASmD,GAAIF,IA2C3BtC,aAAcA,EACdyC,UAAWpD,EAASqD,WACpBC,WAAW,EACXrD,YAAaA,EACbsD,SAAQ,GAAA7D,OAAKM,EAASmD,GAAE,KAAAzD,OAAI,QAAJG,EAAIG,EAASE,gBAAT,IAAAL,OAAA,EAAAA,EAAmB2D,QAGlDzD,GACC0C,EAAA,MAAA,CAAKC,UAAWF,EAAQ/D,iBAAiBkE,SACvC,CAAAE,EAAA,MAAA,CAAKH,UAAWF,EAAQvD,+BAA+B0D,SACrDF,EAAA,MAAA,CAAKC,UAAWF,EAAQ7D,wBAAyB8E,IAAKhC,EAAgBkB,SAAA,CACnEjB,EAAgBgC,KAAI,SAAAT,GAAO,OAC1BJ,EAACc,EAAO,CAENV,QAASA,EACTW,qBAAsBC,EACtBC,qBAAsBD,EACtBT,UAAWpD,EAASqD,WACpBpD,YAAaA,GALRgD,EAAQE,OAQhBrE,GAAsB+D,EAAA,MAAA,CAAKH,UAAWF,EAAQrD,gBAGlDkB,GACCwC,EAACkB,EAAU,CACTC,QAAQ,UACRC,MAAM,UACN,cAAA,GAAAvE,OAjII,eAiIyC,qBAC7CgD,UAAWF,EAAQnE,SACnB6F,QA9EkB,WAC5B/C,GAAmCD,IA6EMyB,SAE9BzB,EAAiC,sBAAwB,wBAMjER,GAAamC,EAACsB,EAAgB,CAAA,KAGrC,CAEAxE,EAAayE,UAAY,CACvBtE,iBAAkBuE,EAAUC,KAAKC,WACjCvE,SAAUqE,EAAUG,QAAQD,WAC5BtE,YAAaoE,EAAUG,QAAQD"}
1
+ {"version":3,"file":"FeedComments.js","sources":["../../../../src/components/FeedItem/components/FeedComments.js"],"sourcesContent":["import { useState, useMemo, useEffect, useRef } from 'react';\nimport PropTypes from 'prop-types';\nimport { noop, sortBy } from 'lodash';\nimport moment from 'moment';\nimport { Typography, makeStyles } from '@material-ui/core';\n\nimport Comment from '~/components/Comment';\nimport CommentLoader from '~/components/CommentLoader';\nimport CommentInput from '~/components/CommentInput';\nimport { postFeedItemComment } from '~/clients/jsonApi';\nimport { useIsInsideIsolatedDcApp } from '~/components/DevCenter/DevCenterAppContainer/components';\nimport { isNativeDetected } from '~utils/mobileDetect';\n\nconst PAGE_NAME = 'FeedComments';\n\nconst useStyles = makeStyles({\n showMore: {\n cursor: 'pointer',\n },\n feedCommentsContainer: { padding: '0 16px 0 24px' },\n feedCommentsList: { marginTop: 24 },\n feedCommentsListContent: {\n height: ({ commentsListHeight }) => commentsListHeight && commentsListHeight - 8,\n overflow: ({ commentsListHeight }) => commentsListHeight && 'scroll',\n },\n feedCommentsListContentWrapper: {\n position: 'relative',\n },\n gradient: {\n position: 'absolute',\n bottom: 0,\n left: 0,\n width: '100%',\n height: 16,\n background: ({ isInsideDcApp }) =>\n `linear-gradient(180deg, rgba(61, 61, 61, 0) 0%, ${\n isInsideDcApp ? '#414141' : '3b3b3b'\n } 100%)`,\n },\n});\n\n// If there are more than 3 comments, we show only last 3, other comments are hidden.\n// To see all comments, user clicks ‘SEE ALL COMMENTS’.\n// To hide all comments back, user clicks ‘HIDE OLDER COMMENTS’\n// After clicking on a ‘SEE ALL COMMENTS’:\n// Height of the comments pop-over changes to show 5 comments instead of 3.\n// If all comments to initial comment can’t fit into comment pop-over, than User needs to scroll down to see them.\n// If there are more than 5 comments (so 6th+ comments in not seen at the moment, we cover bottom comment with gradient, to show that there is more to see.\n// The height of the Comments pop-over remains the same (to show first 5 comments), we don’t change it to show all possible 1000 comments. Only 5.\n\nconst INITIAL_VISIBLE_COMMENTS_COUNT = 3;\nconst COUNT_OF_COMMENTS_IN_SCROLLABLE_CONTAINER = 5;\nfunction FeedComments({ openCommentInput, openCommentList, feedItem, currentUser }) {\n const { comments } = feedItem;\n\n const commentsCount = comments.length;\n const moreCommentsExist = commentsCount > INITIAL_VISIBLE_COMMENTS_COUNT;\n\n const [isPosting, setIsPosting] = useState(false);\n const [isVisibleCommentsAppeared, setIsVisibleCommentsAppeared] = useState(false);\n const [isAllCommentsVisibleKeyPressed, setIsAllCommentsVisibleKeyPressed] = useState(false);\n const [commentsListHeight, setCommentsListHeight] = useState(null);\n\n const inputEl = useRef();\n const commentsListRef = useRef();\n\n const toggleShowAllComments = () => {\n setIsAllCommentsVisibleKeyPressed(!isAllCommentsVisibleKeyPressed);\n };\n\n const postComment = comment => {\n postFeedItemComment(feedItem.id, comment);\n };\n\n const visibleComments = useMemo(() => {\n const sortedComments = sortBy(feedItem.comments, item => -moment(item.created_at).unix());\n\n if (!isAllCommentsVisibleKeyPressed)\n return sortedComments.slice(0, INITIAL_VISIBLE_COMMENTS_COUNT);\n\n if (isAllCommentsVisibleKeyPressed && !isVisibleCommentsAppeared) {\n return sortedComments.slice(0, COUNT_OF_COMMENTS_IN_SCROLLABLE_CONTAINER);\n }\n\n if (isAllCommentsVisibleKeyPressed && isVisibleCommentsAppeared) return sortedComments;\n\n return [];\n }, [comments, isVisibleCommentsAppeared, isAllCommentsVisibleKeyPressed]);\n\n useEffect(() => {\n if (\n visibleComments.length === COUNT_OF_COMMENTS_IN_SCROLLABLE_CONTAINER &&\n !commentsListHeight\n ) {\n const divHeight = commentsListRef.current.clientHeight;\n setCommentsListHeight(divHeight);\n setIsVisibleCommentsAppeared(true);\n }\n\n if (commentsListHeight && !isAllCommentsVisibleKeyPressed) {\n setCommentsListHeight(null);\n setIsVisibleCommentsAppeared(false);\n }\n }, [visibleComments.length, commentsListHeight, isAllCommentsVisibleKeyPressed]);\n\n const isInsideDcApp = useIsInsideIsolatedDcApp();\n const classes = useStyles({ commentsListHeight, isAllCommentsVisibleKeyPressed, isInsideDcApp });\n\n return (\n <div className={(openCommentInput || !!commentsCount) && classes.feedCommentsContainer}>\n {openCommentInput && !isNativeDetected && (\n <CommentInput\n inputRef={inputEl}\n postComment={postComment}\n setIsPosting={setIsPosting}\n companyId={feedItem.company_id}\n autoFocus={false}\n currentUser={currentUser}\n parentId={`${feedItem.id}-${feedItem.comments?.size}`}\n />\n )}\n {openCommentList && (\n <div className={classes.feedCommentsList}>\n <div className={classes.feedCommentsListContentWrapper}>\n <div className={classes.feedCommentsListContent} ref={commentsListRef}>\n {visibleComments.map(comment => (\n <Comment\n key={comment.id}\n comment={comment}\n handleDeleteCallback={noop /* NOTE: Received through subscription */}\n patchCommentCallback={noop}\n companyId={feedItem.company_id}\n currentUser={currentUser}\n />\n ))}\n {commentsListHeight && <div className={classes.gradient} />}\n </div>\n </div>\n {moreCommentsExist && (\n <Typography\n variant=\"caption\"\n color=\"primary\"\n data-testid={`${PAGE_NAME}_viewMoreComments`}\n className={classes.showMore}\n onClick={toggleShowAllComments}\n >\n {isAllCommentsVisibleKeyPressed ? 'Hide older comments' : 'See all comments'}\n </Typography>\n )}\n </div>\n )}\n\n {isPosting && <CommentLoader />}\n </div>\n );\n}\n\nFeedComments.propTypes = {\n openCommentInput: PropTypes.bool.isRequired,\n feedItem: PropTypes.shape().isRequired,\n currentUser: PropTypes.shape().isRequired,\n};\n\nexport default FeedComments;\n"],"names":["useStyles","makeStyles","showMore","cursor","feedCommentsContainer","padding","feedCommentsList","marginTop","feedCommentsListContent","height","_ref","commentsListHeight","overflow","_ref2","feedCommentsListContentWrapper","position","gradient","bottom","left","width","background","_ref3","isInsideDcApp","concat","FeedComments","_ref4","_feedItem$comments","openCommentInput","openCommentList","feedItem","currentUser","comments","commentsCount","length","moreCommentsExist","useState","_useState2","_slicedToArray","_useState","isPosting","setIsPosting","_useState4","_useState3","isVisibleCommentsAppeared","setIsVisibleCommentsAppeared","_useState6","_useState5","isAllCommentsVisibleKeyPressed","setIsAllCommentsVisibleKeyPressed","_useState8","_useState7","setCommentsListHeight","inputEl","useRef","commentsListRef","visibleComments","useMemo","sortedComments","sortBy","item","moment","created_at","unix","slice","useEffect","divHeight","current","clientHeight","useIsInsideIsolatedDcApp","classes","_jsxs","className","children","isNativeDetected","_jsx","CommentInput","inputRef","postComment","comment","postFeedItemComment","id","companyId","company_id","autoFocus","parentId","size","ref","map","Comment","handleDeleteCallback","noop","patchCommentCallback","Typography","variant","color","onClick","CommentLoader","propTypes","PropTypes","bool","isRequired","shape"],"mappings":"u1YAaA,IAEMA,EAAYC,EAAW,CAC3BC,SAAU,CACRC,OAAQ,WAEVC,sBAAuB,CAAEC,QAAS,iBAClCC,iBAAkB,CAAEC,UAAW,IAC/BC,wBAAyB,CACvBC,OAAQ,SAAAC,GAAA,IAAGC,IAAAA,mBAAkB,OAAOA,GAAsBA,EAAqB,CAAC,EAChFC,SAAU,SAAAC,GAAqB,SAAlBF,oBAA+C,QAAQ,GAEtEG,+BAAgC,CAC9BC,SAAU,YAEZC,SAAU,CACRD,SAAU,WACVE,OAAQ,EACRC,KAAM,EACNC,MAAO,OACPV,OAAQ,GACRW,WAAY,SAAAC,GAAA,IAAGC,IAAAA,cAAa,MAAA,mDAAAC,OAExBD,EAAgB,UAAY,SAAQ,SAAA,KAgB5C,SAASE,EAA2EC,GAAA,IAAAC,EAA5DC,IAAAA,iBAAkBC,IAAAA,gBAAiBC,IAAAA,SAAUC,IAAAA,YAC3DC,EAAaF,EAAbE,SAEFC,EAAgBD,EAASE,OACzBC,EAAoBF,EANW,EAQHG,EAAAA,GAAS,GAAMC,EAAAC,EAAAC,EAAA,GAA1CC,EAASH,EAAA,GAAEI,EAAYJ,EAAA,GACoCD,EAAAA,GAAS,GAAMM,EAAAJ,EAAAK,EAAA,GAA1EC,EAAyBF,EAAA,GAAEG,EAA4BH,EAAA,GACcN,EAAAA,GAAS,GAAMU,EAAAR,EAAAS,EAAA,GAApFC,EAA8BF,EAAA,GAAEG,EAAiCH,EAAA,GACpBV,EAAAA,EAAS,MAAKc,EAAAZ,EAAAa,EAAA,GAA3DvC,EAAkBsC,EAAA,GAAEE,EAAqBF,EAAA,GAE1CG,EAAUC,IACVC,EAAkBD,IAUlBE,EAAkBC,GAAQ,WAC9B,IAAMC,EAAiBC,EAAO7B,EAASE,UAAU,SAAA4B,GAAI,OAAKC,EAAOD,EAAKE,YAAYC,UAElF,OAAKf,EAGDA,IAAmCJ,EAC9Bc,EAAeM,MAAM,EA9BgB,GAiC1ChB,GAAkCJ,EAAkCc,EAEjE,GAREA,EAAeM,MAAM,EA5BK,EAqCpC,GAAE,CAAChC,EAAUY,EAA2BI,IAEzCiB,GAAU,WACR,GAvC8C,IAwC5CT,EAAgBtB,SACftB,EACD,CACA,IAAMsD,EAAYX,EAAgBY,QAAQC,aAC1ChB,EAAsBc,GACtBrB,GAA6B,EAC/B,CAEIjC,IAAuBoC,IACzBI,EAAsB,MACtBP,GAA6B,GAEhC,GAAE,CAACW,EAAgBtB,OAAQtB,EAAoBoC,IAEhD,IAAMzB,EAAgB8C,IAChBC,EAAUrE,EAAU,CAAEW,mBAAAA,EAAoBoC,+BAAAA,EAAgCzB,cAAAA,IAEhF,OACEgD,EAAA,MAAA,CAAKC,WAAY5C,KAAsBK,IAAkBqC,EAAQjE,sBAAsBoE,SAAA,CACpF7C,IAAqB8C,GACpBC,EAACC,EAAY,CACXC,SAAUxB,EACVyB,YA3CY,SAAAC,GAClBC,EAAoBlD,EAASmD,GAAIF,IA2C3BtC,aAAcA,EACdyC,UAAWpD,EAASqD,WACpBC,WAAW,EACXrD,YAAaA,EACbsD,SAAQ,GAAA7D,OAAKM,EAASmD,GAAE,KAAAzD,OAAI,QAAJG,EAAIG,EAASE,gBAAT,IAAAL,OAAA,EAAAA,EAAmB2D,QAGlDzD,GACC0C,EAAA,MAAA,CAAKC,UAAWF,EAAQ/D,iBAAiBkE,SACvC,CAAAE,EAAA,MAAA,CAAKH,UAAWF,EAAQvD,+BAA+B0D,SACrDF,EAAA,MAAA,CAAKC,UAAWF,EAAQ7D,wBAAyB8E,IAAKhC,EAAgBkB,SAAA,CACnEjB,EAAgBgC,KAAI,SAAAT,GAAO,OAC1BJ,EAACc,EAAO,CAENV,QAASA,EACTW,qBAAsBC,EACtBC,qBAAsBD,EACtBT,UAAWpD,EAASqD,WACpBpD,YAAaA,GALRgD,EAAQE,OAQhBrE,GAAsB+D,EAAA,MAAA,CAAKH,UAAWF,EAAQrD,gBAGlDkB,GACCwC,EAACkB,EAAU,CACTC,QAAQ,UACRC,MAAM,UACN,cAAA,GAAAvE,OAjII,eAiIyC,qBAC7CgD,UAAWF,EAAQnE,SACnB6F,QA9EkB,WAC5B/C,GAAmCD,IA6EMyB,SAE9BzB,EAAiC,sBAAwB,wBAMjER,GAAamC,EAACsB,EAAgB,CAAA,KAGrC,CAEAxE,EAAayE,UAAY,CACvBtE,iBAAkBuE,EAAUC,KAAKC,WACjCvE,SAAUqE,EAAUG,QAAQD,WAC5BtE,YAAaoE,EAAUG,QAAQD"}
@@ -1,2 +1,2 @@
1
- import{__assign as o}from'./../../ext-esm/tslib/tslib.es6.js';import{jsxs as s,jsx as c,Fragment as i}from"react/jsx-runtime";import{useDropzone as n}from"react-dropzone";import t from"classnames";import{useStyles as m}from"./styles.js";import{FileAdditionOne as r}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 e}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{Regular14 as p}from"../Typography.js";import l from"../Button/components/Button/index.js";import"moment-timezone";import"@material-ui/core";import"../Button/components/LiveButton/components/LiveButtonStateIndicator/index.js";import"../Button/components/LiveButton/styles.js";import{parseAccept as u,formatDescription as a}from"../../componentsV2/FilesDropzone/utils.js";var d=function(d){var j=d.multiple,I=d.children,h=d.accept,v=d.onDrop,f=d.className,F=d.maxFiles,b=d.maxSize,x=d.errorText,C=d.disabled,g=m(),z=u(h),A=z.mimetypes,B=z.extensions,D=A.length||B.length?o({"*/*":B},Object.fromEntries(A.map((function(o){return[o,[]]})))):void 0,k=a(B,b),y=n({onDrop:v,multiple:j,accept:D,maxFiles:F,maxSize:b,disabled:C}),N=y.getRootProps,O=y.getInputProps,P=y.isDragActive;return s("div",{className:f,children:[s("div",o({},N(),{className:t(g.root,C&&g.disabled,P&&g.active),children:[c("input",o({},O())),I||s(i,{children:[c(r,{size:24,className:g.icon}),c(p,{children:"Drag & Drop your file here or"}),c(l,{variation:"tertiary",size:"small",disabled:C,className:g.uploadButton,children:"Choose file"})]})]})),!x&&k&&c(p,{className:t(g.description,C&&g.disabled),children:k}),x&&s(p,{className:g.error,children:[c(e,{size:20}),x]})]})};export{d as FilesDropzone};
1
+ import{__assign as o}from'./../../ext-esm/tslib/tslib.es6.js';import{jsxs as s,jsx as c,Fragment as i}from"react/jsx-runtime";import{useDropzone as n}from"react-dropzone";import t from"classnames";import{useStyles as m}from"./styles.js";import{FileAdditionOne as r}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 e}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/Lasso.js";import{Regular14 as p}from"../Typography.js";import l from"../Button/components/Button/index.js";import"moment-timezone";import"@material-ui/core";import"../Button/components/LiveButton/components/LiveButtonStateIndicator/index.js";import"../Button/components/LiveButton/styles.js";import{parseAccept as u,formatDescription as a}from"../../componentsV2/FilesDropzone/utils.js";var d=function(d){var j=d.multiple,I=d.children,h=d.accept,v=d.onDrop,f=d.className,F=d.maxFiles,b=d.maxSize,x=d.errorText,C=d.disabled,g=m(),z=u(h),A=z.mimetypes,B=z.extensions,D=A.length||B.length?o({"*/*":B},Object.fromEntries(A.map((function(o){return[o,[]]})))):void 0,k=a(B,b),y=n({onDrop:v,multiple:j,accept:D,maxFiles:F,maxSize:b,disabled:C}),N=y.getRootProps,O=y.getInputProps,P=y.isDragActive;return s("div",{className:f,children:[s("div",o({},N(),{className:t(g.root,C&&g.disabled,P&&g.active),children:[c("input",o({},O())),I||s(i,{children:[c(r,{size:24,className:g.icon}),c(p,{children:"Drag & Drop your file here or"}),c(l,{variation:"tertiary",size:"small",disabled:C,className:g.uploadButton,children:"Choose file"})]})]})),!x&&k&&c(p,{className:t(g.description,C&&g.disabled),children:k}),x&&s(p,{className:g.error,children:[c(e,{size:20}),x]})]})};export{d as FilesDropzone};
2
2
  //# sourceMappingURL=FilesDropzone.js.map
@@ -1,2 +1,2 @@
1
- import{__assign as o}from'./../../ext-esm/tslib/tslib.es6.js';import{jsxs as s,jsx as n,Fragment as i}from"react/jsx-runtime";import{useState as e,useEffect as c,useMemo as t}from"react";import r from"prop-types";import a from"classnames";import{Typography as m,LinearProgress as l}from"@material-ui/core";import d from"../IconButton/index.js";import u from"../Button/components/Button/index.js";import"moment-timezone";import"../Button/components/LiveButton/components/LiveButtonStateIndicator/index.js";import"../Button/components/LiveButton/styles.js";import{CloseSmallIcon as p,DeleteFourIcon as f,CheckOneIcon as I,RedoIcon as h,UploadIcon as j}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"../../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 g from"./Icons/IconWarning.js";import{FileIcon as v}from"../FileIcon/FileIcon.js";import{useStyles as z}from"./useStyles.js";function B(r){var B,N,C,S,b,y,w,F=r.size,L=r.unit,k=r.name,A=r.customUnitName,P=r.sizeBytes,x=r.handleCancel,M=r.onReload,E=r.onDelete,T=r.loadedBytes,O=r.error,R=r.errorText,U=r.formatError,D=r.importButtonType,W=r.isLoadingAnimation,q=r.showActions,G=z(),K=e({}),Z=K[0],_=K[1],H=e(0),J=H[0],Q=H[1],V=e(!0),X=V[0],Y=V[1],$="large"===F,oo=$?24:16,so=$?"medium":"small";c((function(){_(function(o,s,n){return"time"===s?{downloaded:0,unit:"min",convertedSize:o}:"custom"===s?{downloaded:0,unit:n,convertedSize:o}:o>=Math.pow(10,6)?{downloaded:0,unit:"MB",convertedSize:Math.floor(o/Math.pow(10,5))/10}:o>=Math.pow(10,3)?{downloaded:0,unit:"KB",convertedSize:Math.floor(o/Math.pow(10,2))/10}:{downloaded:0,unit:"B",convertedSize:Math.floor(10*o)/10}}(P,L,A))}),[P,L]),c((function(){if(T&&P){var s=Math.round(T/P*100);_((function(n){return o(o({},n),{downloaded:Math.floor(n.convertedSize*s/10)/10})})),Q(s)}}),[T,P]),c((function(){var o;return E&&J>=100&&(Y(!0),o=setTimeout((function(){Y(!1)}),5e3)),function(){return o&&clearTimeout(o)}}),[J]),c((function(){O&&(Q(0),_((function(s){return o(o({},s),{downloaded:0})})))}),[O]);var no=t((function(){var o,s;return[a(G.iconButton,((o={})[G.iconButtonLarge]=$,o)),a(G.actionIcon,((s={})[G.actionIconLarge]=$,s))]}),[$]),io=no[0],eo=no[1];return s("div",{className:G.fileStateWrapper,children:[n("div",{className:G.fileIconContainer,children:n(v,{name:k,style:{fontSize:$?48:32}})}),s("div",{className:G.fileState,children:[s("div",{className:G.fileStateProgress,children:[n("div",{className:G.fileNameWrapper,children:n(m,{className:a(G.fileName,(B={},B[G.fileNameLarge]=$,B)),children:k.length>7?s(i,{children:[n("span",{className:G.firstPart,children:k.slice(0,k.length-7)}),n("span",{children:k.slice(-7)})]}):k})}),!W&&n(l,{className:G.progressBar,variant:"determinate",value:J,classes:{colorPrimary:a(G.progressBackground,(N={},N[G.progressBarError]=O,N)),barColorPrimary:a(G.progressBarColor,(C={},C[G.progressBarError]=O,C))}}),s("div",{className:G.loaderProgressContainer,children:[!W&&n(m,{className:a(G.fileSize,(S={},S[G.fileSizeLarge]=$,S)),component:"span",children:"".concat(Z.downloaded," of ").concat(Z.convertedSize," ").concat(Z.unit)}),s("div",{className:a(G.progressStatus,(b={},b[G.fileSizeLarge]=$,b)),children:[O&&s(m,{component:"div",className:G.errorContainer,children:[n(g,{size:F}),n(m,{component:"span",className:a(G.errorText,(y={},y[G.fileSizeLarge]=$,y)),children:U?"Upload Error. Unacceptable file format.":"Upload Error".concat(R&&". ".concat(R))})]}),!O&&!W&&"".concat(J," %")]})]})]}),q&&s("div",{className:G.fileActions,children:[J<100&&!O&&n(i,{children:W?n("div",{className:a(G.loadingIcon,(w={},w[G.loadingLargeIcon]=$,w)),style:{backgroundImage:"url(".concat("/static/media/6fa6f1128bc0185126482345243bcd42.svg",")")}}):n(d,{tooltipProps:{title:"Cancel"},className:io,onClick:function(){x(k),Q(0),_((function(s){return o(o({},s),{downloaded:0})}))},size:so,children:n(p,{className:eo,size:oo})})}),100===J&&!O&&(!X&&E?n(d,{variant:"contained",tooltipProps:{title:"Delete"},className:io,onClick:E,size:so,children:n(f,{className:eo,size:oo})}):n(I,{fill:"#75DB29",size:oo,style:{marginLeft:12}})),M&&O&&n(i,{children:U?n(i,{children:"default"===D?n(u,{size:$?"medium":"small",variation:"primary",startIcon:n(j,{}),onClick:M,children:"Import"}):n(d,{size:so,tooltipProps:{title:"Import File"},className:io,onClick:M,children:n(j,{size:oo})})}):n(d,{size:so,tooltipProps:{title:"Reload"},className:io,onClick:M,children:n(h,{size:oo})})})]})]})]})}var N={size:r.oneOf(["small","large"]),unit:r.oneOf(["size","time","custom"]),customUnitName:r.string,onDelete:r.func,onReload:r.func,handleCancel:r.func,name:r.string,sizeBytes:r.number,error:r.bool,errorText:r.string,formatError:r.bool,importButtonType:r.oneOf(["default","icon"]),loadedBytes:r.number.isRequired,isLoadingAnimation:r.bool,showActions:r.bool};B.propTypes=N,B.defaultProps={size:"small",unit:"size",onDelete:null,onReload:null,name:"",customUnitName:"",sizeBytes:1,error:null,errorText:"",formatError:!1,importButtonType:"default",handleCancel:null,isLoadingAnimation:!1,showActions:!0};export{B as default};
1
+ import{__assign as o}from'./../../ext-esm/tslib/tslib.es6.js';import{jsxs as s,jsx as n,Fragment as i}from"react/jsx-runtime";import{useState as e,useEffect as c,useMemo as t}from"react";import r from"prop-types";import a from"classnames";import{Typography as m,LinearProgress as l}from"@material-ui/core";import d from"../IconButton/index.js";import u from"../Button/components/Button/index.js";import"moment-timezone";import"../Button/components/LiveButton/components/LiveButtonStateIndicator/index.js";import"../Button/components/LiveButton/styles.js";import{CloseSmallIcon as p,DeleteFourIcon as f,CheckOneIcon as I,RedoIcon as h,UploadIcon as j}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"../../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/Lasso.js";import g from"./Icons/IconWarning.js";import{FileIcon as v}from"../FileIcon/FileIcon.js";import{useStyles as z}from"./useStyles.js";function B(r){var B,N,C,S,b,y,w,L=r.size,F=r.unit,k=r.name,A=r.customUnitName,P=r.sizeBytes,x=r.handleCancel,M=r.onReload,E=r.onDelete,T=r.loadedBytes,O=r.error,R=r.errorText,U=r.formatError,D=r.importButtonType,W=r.isLoadingAnimation,q=r.showActions,G=z(),K=e({}),Z=K[0],_=K[1],H=e(0),J=H[0],Q=H[1],V=e(!0),X=V[0],Y=V[1],$="large"===L,oo=$?24:16,so=$?"medium":"small";c((function(){_(function(o,s,n){return"time"===s?{downloaded:0,unit:"min",convertedSize:o}:"custom"===s?{downloaded:0,unit:n,convertedSize:o}:o>=Math.pow(10,6)?{downloaded:0,unit:"MB",convertedSize:Math.floor(o/Math.pow(10,5))/10}:o>=Math.pow(10,3)?{downloaded:0,unit:"KB",convertedSize:Math.floor(o/Math.pow(10,2))/10}:{downloaded:0,unit:"B",convertedSize:Math.floor(10*o)/10}}(P,F,A))}),[P,F]),c((function(){if(T&&P){var s=Math.round(T/P*100);_((function(n){return o(o({},n),{downloaded:Math.floor(n.convertedSize*s/10)/10})})),Q(s)}}),[T,P]),c((function(){var o;return E&&J>=100&&(Y(!0),o=setTimeout((function(){Y(!1)}),5e3)),function(){return o&&clearTimeout(o)}}),[J]),c((function(){O&&(Q(0),_((function(s){return o(o({},s),{downloaded:0})})))}),[O]);var no=t((function(){var o,s;return[a(G.iconButton,((o={})[G.iconButtonLarge]=$,o)),a(G.actionIcon,((s={})[G.actionIconLarge]=$,s))]}),[$]),io=no[0],eo=no[1];return s("div",{className:G.fileStateWrapper,children:[n("div",{className:G.fileIconContainer,children:n(v,{name:k,style:{fontSize:$?48:32}})}),s("div",{className:G.fileState,children:[s("div",{className:G.fileStateProgress,children:[n("div",{className:G.fileNameWrapper,children:n(m,{className:a(G.fileName,(B={},B[G.fileNameLarge]=$,B)),children:k.length>7?s(i,{children:[n("span",{className:G.firstPart,children:k.slice(0,k.length-7)}),n("span",{children:k.slice(-7)})]}):k})}),!W&&n(l,{className:G.progressBar,variant:"determinate",value:J,classes:{colorPrimary:a(G.progressBackground,(N={},N[G.progressBarError]=O,N)),barColorPrimary:a(G.progressBarColor,(C={},C[G.progressBarError]=O,C))}}),s("div",{className:G.loaderProgressContainer,children:[!W&&n(m,{className:a(G.fileSize,(S={},S[G.fileSizeLarge]=$,S)),component:"span",children:"".concat(Z.downloaded," of ").concat(Z.convertedSize," ").concat(Z.unit)}),s("div",{className:a(G.progressStatus,(b={},b[G.fileSizeLarge]=$,b)),children:[O&&s(m,{component:"div",className:G.errorContainer,children:[n(g,{size:L}),n(m,{component:"span",className:a(G.errorText,(y={},y[G.fileSizeLarge]=$,y)),children:U?"Upload Error. Unacceptable file format.":"Upload Error".concat(R&&". ".concat(R))})]}),!O&&!W&&"".concat(J," %")]})]})]}),q&&s("div",{className:G.fileActions,children:[J<100&&!O&&n(i,{children:W?n("div",{className:a(G.loadingIcon,(w={},w[G.loadingLargeIcon]=$,w)),style:{backgroundImage:"url(".concat("/static/media/6fa6f1128bc0185126482345243bcd42.svg",")")}}):n(d,{tooltipProps:{title:"Cancel"},className:io,onClick:function(){x(k),Q(0),_((function(s){return o(o({},s),{downloaded:0})}))},size:so,children:n(p,{className:eo,size:oo})})}),100===J&&!O&&(!X&&E?n(d,{variant:"contained",tooltipProps:{title:"Delete"},className:io,onClick:E,size:so,children:n(f,{className:eo,size:oo})}):n(I,{fill:"#75DB29",size:oo,style:{marginLeft:12}})),M&&O&&n(i,{children:U?n(i,{children:"default"===D?n(u,{size:$?"medium":"small",variation:"primary",startIcon:n(j,{}),onClick:M,children:"Import"}):n(d,{size:so,tooltipProps:{title:"Import File"},className:io,onClick:M,children:n(j,{size:oo})})}):n(d,{size:so,tooltipProps:{title:"Reload"},className:io,onClick:M,children:n(h,{size:oo})})})]})]})]})}var N={size:r.oneOf(["small","large"]),unit:r.oneOf(["size","time","custom"]),customUnitName:r.string,onDelete:r.func,onReload:r.func,handleCancel:r.func,name:r.string,sizeBytes:r.number,error:r.bool,errorText:r.string,formatError:r.bool,importButtonType:r.oneOf(["default","icon"]),loadedBytes:r.number.isRequired,isLoadingAnimation:r.bool,showActions:r.bool};B.propTypes=N,B.defaultProps={size:"small",unit:"size",onDelete:null,onReload:null,name:"",customUnitName:"",sizeBytes:1,error:null,errorText:"",formatError:!1,importButtonType:"default",handleCancel:null,isLoadingAnimation:!1,showActions:!0};export{B as default};
2
2
  //# sourceMappingURL=FilesLoader.js.map
@@ -1,2 +1,2 @@
1
- import{jsxs as o,jsx as s,Fragment as c}from"react/jsx-runtime";import i from"classnames";import{LinearProgress as n}from"@material-ui/core";import{FileIcon as t}from"../FileIcon/FileIcon.js";import r from"../IconButton/index.js";import{CloseIcon as e,DeleteFourIcon as m,RedoIcon as l}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 a}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{MiddleTruncatedText as p}from"../MiddleTruncatedText/MiddleTruncatedText.js";import{Regular14 as u,Regular12 as d}from"../Typography.js";import{formatSizeProgress as j}from"./utils.js";import{useStyles as I}from"./styles.js";var h=function(h){var C=h.formatProgress,v=void 0===C?j:C,F=h.className,f=h.name,x=h.current,k=h.total,N=h.errorText,g=h.onCancel,T=h.onReload,P=h.onDelete,A=I(),M=k>=0&&x>=0,R=Math.min(100,Math.ceil(x/k*100)),b=x>=k;return o("div",{className:i(A.root,F),children:[s(t,{name:f,className:A.icon,strokeWidth:2}),o("div",{className:A.content,children:[s(u,{className:A.name,children:s(p,{children:f},f)}),!N&&!b&&o(c,{children:[s(n,{className:A.progressBar,variant:M?"determinate":void 0,value:R}),o("div",{className:A.progressTextContainer,children:[s(d,{className:A.progressText,children:v(k,x)}),M&&o(d,{className:A.progressText,children:[R,"%"]})]})]}),N&&o(u,{className:A.error,children:[s(a,{size:16}),N]})]}),g&&!N&&!b&&s(r,{onClick:g,size:"small",tooltipProps:{title:"Cancel"},children:s(e,{})}),P&&(N||b)&&s(r,{onClick:P,size:"small",tooltipProps:{title:"Remove File"},children:s(m,{})}),T&&N&&s(r,{onClick:T,size:"small",tooltipProps:{title:"Reload"},children:s(l,{})})]})};export{h as FilesLoaderV2};
1
+ import{jsxs as o,jsx as s,Fragment as c}from"react/jsx-runtime";import i from"classnames";import{LinearProgress as n}from"@material-ui/core";import{FileIcon as t}from"../FileIcon/FileIcon.js";import r from"../IconButton/index.js";import{CloseIcon as e,DeleteFourIcon as m,RedoIcon as l}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 a}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/Lasso.js";import{MiddleTruncatedText as p}from"../MiddleTruncatedText/MiddleTruncatedText.js";import{Regular14 as u,Regular12 as d}from"../Typography.js";import{formatSizeProgress as j}from"./utils.js";import{useStyles as I}from"./styles.js";var h=function(h){var C=h.formatProgress,v=void 0===C?j:C,F=h.className,f=h.name,x=h.current,k=h.total,N=h.errorText,g=h.onCancel,T=h.onReload,P=h.onDelete,A=I(),M=k>=0&&x>=0,R=Math.min(100,Math.ceil(x/k*100)),b=x>=k;return o("div",{className:i(A.root,F),children:[s(t,{name:f,className:A.icon,strokeWidth:2}),o("div",{className:A.content,children:[s(u,{className:A.name,children:s(p,{children:f},f)}),!N&&!b&&o(c,{children:[s(n,{className:A.progressBar,variant:M?"determinate":void 0,value:R}),o("div",{className:A.progressTextContainer,children:[s(d,{className:A.progressText,children:v(k,x)}),M&&o(d,{className:A.progressText,children:[R,"%"]})]})]}),N&&o(u,{className:A.error,children:[s(a,{size:16}),N]})]}),g&&!N&&!b&&s(r,{onClick:g,size:"small",tooltipProps:{title:"Cancel"},children:s(e,{})}),P&&(N||b)&&s(r,{onClick:P,size:"small",tooltipProps:{title:"Remove File"},children:s(m,{})}),T&&N&&s(r,{onClick:T,size:"small",tooltipProps:{title:"Reload"},children:s(l,{})})]})};export{h as FilesLoaderV2};
2
2
  //# sourceMappingURL=FilesLoaderV2.js.map
@@ -1,2 +1,2 @@
1
- import{makeStyles as o}from"@material-ui/core";import{Tooltip as s}from"../Tooltip/Tooltip.js";import"../Tooltip/ScrollableTooltip.js";import{CloseSmallIcon as c}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"../../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{jsx as i}from"react/jsx-runtime";var n=o((function(o){return{buttonWrapper:{display:"flex",alignItems:"center",color:o.palette.primary.text7,"&:hover":{color:o.palette.primary.text1,cursor:"pointer"},marginLeft:"-24px",zIndex:999}}}));function t(o){var t=o.onClose,r=n();return i("div",{className:r.buttonWrapper,onClick:t,children:i(s,{title:"Clear",placement:"bottom",children:i(c,{size:16,strokeWidth:3})})})}export{t as default};
1
+ import{makeStyles as o}from"@material-ui/core";import{Tooltip as s}from"../Tooltip/Tooltip.js";import"../Tooltip/ScrollableTooltip.js";import{CloseSmallIcon as c}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"../../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/Lasso.js";import{jsx as i}from"react/jsx-runtime";var n=o((function(o){return{buttonWrapper:{display:"flex",alignItems:"center",color:o.palette.primary.text7,"&:hover":{color:o.palette.primary.text1,cursor:"pointer"},marginLeft:"-24px",zIndex:999}}}));function t(o){var t=o.onClose,r=n();return i("div",{className:r.buttonWrapper,onClick:t,children:i(s,{title:"Clear",placement:"bottom",children:i(c,{size:16,strokeWidth:3})})})}export{t as default};
2
2
  //# sourceMappingURL=CloseSuggestion.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"CloseSuggestion.js","sources":["../../../src/components/Formula/CloseSuggestion.js"],"sourcesContent":["import { makeStyles } from '@material-ui/core';\n\nimport Tooltip from '~/components/Tooltip';\nimport { CloseSmallIcon } from '~/icons';\n\nconst useStyles = makeStyles(theme => ({\n buttonWrapper: {\n display: 'flex',\n alignItems: 'center',\n color: theme.palette.primary.text7,\n '&:hover': {\n color: theme.palette.primary.text1,\n cursor: 'pointer',\n },\n marginLeft: '-24px',\n zIndex: 999,\n },\n}));\n\nexport default function CloseSuggestion({ onClose }) {\n const classes = useStyles();\n return (\n <div className={classes.buttonWrapper} onClick={onClose}>\n <Tooltip title=\"Clear\" placement=\"bottom\">\n <CloseSmallIcon size={16} strokeWidth={3} />\n </Tooltip>\n </div>\n );\n}\n"],"names":["useStyles","makeStyles","theme","buttonWrapper","display","alignItems","color","palette","primary","text7","text1","cursor","marginLeft","zIndex","CloseSuggestion","_ref","onClose","classes","_jsx","className","onClick","children","Tooltip","title","placement","CloseSmallIcon","size","strokeWidth"],"mappings":"gwEAKA,IAAMA,EAAYC,GAAW,SAAAC,GAAK,MAAK,CACrCC,cAAe,CACbC,QAAS,OACTC,WAAY,SACZC,MAAOJ,EAAMK,QAAQC,QAAQC,MAC7B,UAAW,CACTH,MAAOJ,EAAMK,QAAQC,QAAQE,MAC7BC,OAAQ,WAEVC,WAAY,QACZC,OAAQ,KAEX,IAEc,SAASC,EAA6BC,GAAA,IAAXC,IAAAA,QAClCC,EAAUjB,IAChB,OACEkB,EAAA,MAAA,CAAKC,UAAWF,EAAQd,cAAeiB,QAASJ,EAAQK,SACtDH,EAACI,EAAO,CAACC,MAAM,QAAQC,UAAU,SAAQH,SACvCH,EAACO,EAAc,CAACC,KAAM,GAAIC,YAAa,OAI/C"}
1
+ {"version":3,"file":"CloseSuggestion.js","sources":["../../../src/components/Formula/CloseSuggestion.js"],"sourcesContent":["import { makeStyles } from '@material-ui/core';\n\nimport Tooltip from '~/components/Tooltip';\nimport { CloseSmallIcon } from '~/icons';\n\nconst useStyles = makeStyles(theme => ({\n buttonWrapper: {\n display: 'flex',\n alignItems: 'center',\n color: theme.palette.primary.text7,\n '&:hover': {\n color: theme.palette.primary.text1,\n cursor: 'pointer',\n },\n marginLeft: '-24px',\n zIndex: 999,\n },\n}));\n\nexport default function CloseSuggestion({ onClose }) {\n const classes = useStyles();\n return (\n <div className={classes.buttonWrapper} onClick={onClose}>\n <Tooltip title=\"Clear\" placement=\"bottom\">\n <CloseSmallIcon size={16} strokeWidth={3} />\n </Tooltip>\n </div>\n );\n}\n"],"names":["useStyles","makeStyles","theme","buttonWrapper","display","alignItems","color","palette","primary","text7","text1","cursor","marginLeft","zIndex","CloseSuggestion","_ref","onClose","classes","_jsx","className","onClick","children","Tooltip","title","placement","CloseSmallIcon","size","strokeWidth"],"mappings":"+yEAKA,IAAMA,EAAYC,GAAW,SAAAC,GAAK,MAAK,CACrCC,cAAe,CACbC,QAAS,OACTC,WAAY,SACZC,MAAOJ,EAAMK,QAAQC,QAAQC,MAC7B,UAAW,CACTH,MAAOJ,EAAMK,QAAQC,QAAQE,MAC7BC,OAAQ,WAEVC,WAAY,QACZC,OAAQ,KAEX,IAEc,SAASC,EAA6BC,GAAA,IAAXC,IAAAA,QAClCC,EAAUjB,IAChB,OACEkB,EAAA,MAAA,CAAKC,UAAWF,EAAQd,cAAeiB,QAASJ,EAAQK,SACtDH,EAACI,EAAO,CAACC,MAAM,QAAQC,UAAU,SAAQH,SACvCH,EAACO,EAAc,CAACC,KAAM,GAAIC,YAAa,OAI/C"}
@@ -1,2 +1,2 @@
1
- import{jsxs as o,jsx as s}from"react/jsx-runtime";import{useState as i,useMemo as n,useRef as c,useCallback as r,useEffect as e}from"react";import t from"classnames";import{useTheme as l,Button as a}from"@material-ui/core";import{replaceStringToLabel as m}from"./utils.js";import{useFormulaFunction as u}from"./useFormulaFunction.js";import{useFormulaStyles as p}from"./useFormulaStyles.js";import d from"./RootXIcon.js";import f from"./FormulaTextEditor.js";import h from"./CloseSuggestion.js";import j from"./SuggestionsMenu.js";import{CloseSmallIcon as v,InfoIcon 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"../../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 C from"../../effects/useOutsideClick.js";import{Tooltip as b}from"../Tooltip/Tooltip.js";import"../Tooltip/ScrollableTooltip.js";var F=[{value:"*",isShift:!0,label:"8"},{value:"/",label:"/"},{value:"(",isShift:!0,label:"9"},{value:")",isShift:!0,label:"0"},{value:"+",isShift:!0,label:"+"},{value:"-",label:"-"},{value:"^",isShift:!0,label:"6"}],g=function(o,s,i){return s?i?o.palette.error.main:o.palette.primary.main:o.palette.primary.text7},N=function(N){var k,y=N.suggestions,S=void 0===y?[]:y,x=N.initFormula,T=void 0===x?"":x,W=N.onSave,A=void 0===W?function(){}:W,O=i(!0),E=O[0],H=O[1],U=i(!1),P=U[0],R=U[1],V=i(!1),M=V[0],q=V[1],G=i(T),L=G[0],z=G[1],B=i(0),D=B[0],X=B[1],Z=i(0),w=Z[0],J=Z[1],K=m(L,S),Q=K.search("/f"),Y=-1!==Q,$=n((function(){return S.map((function(o){return o.key}))}),[S]),_=K.substring(Q+"/f".length,D),oo=c(),so=p({isValue:!Y&&!!L}),io=l(),no=u(L,$),co=no.formulaFunction,ro=no.error;C(oo,(function(){q(!1)}));var eo=function(o){var s,i=S.find((function(s){return s.key===o}));R(!0),q(!0),z((function(s){return s.replace("".concat("/f").concat(_),o?"[".concat(o,"]"):"")})),X(Q+((null===(s=null==i?void 0:i.label)||void 0===s?void 0:s.length)||0))},to=r((function(o,s){D!==s&&X(s),o!==L&&(z(o),H(!1))}),[L,D]);return e((function(){z(T)}),[T]),o("div",{className:so.formulaContainer,children:[o("div",{className:so.formulaHeaderWrapper,children:[o("div",{className:so.formulaHeaderTextWrapper,children:[s(d,{color:g(io,M,ro)}),s("div",{className:so.formulaHeaderText,style:{color:g(io,M,ro)},children:"Formula Expression"})]}),o("div",{className:so.formulaHeaderButtonWrapper,onClick:function(){Y||(H(!1),z(""),X(0),R(!0))},children:[s(v,{strokeWidth:3,size:16}),s("div",{className:so.formulaHeaderText,children:"Clear"})]})]}),o("div",{className:so.formulaEditorWrapper,children:[s("div",{ref:oo,onClick:function(){q(!0)},children:s(f,{initFormula:L,cursorPos:D,color:g(io,M,ro),suggestions:S,isValueUpdated:P,setIsValueUpdated:R,onChange:to})}),Y&&s(h,{onClose:function(){return eo("")}})]}),Y&&s(j,{suggestions:S,keyStr:_,onAddSuggestion:eo,onChangeHeight:J}),o("div",{className:so.formulaFooterWrapper,style:{marginTop:Y?-w:0},children:[s(I,{className:so.formulaFooterIcon,strokeWidth:3,size:16}),s("div",{className:so.formulaFooterTextWrapper,children:o("div",{className:so.formulaFooterText,children:["Type ",s("span",{className:so.funcText,children:"/f"})," to do add live channels to your equation. Use your keybord for numbers and"," ",s(b,{title:s("div",{className:so.tooltipWrapper,children:F.map((function(i){return o("div",{className:so.tooltipLine,children:[s("span",{className:so.tooltipValue,children:i.value}),o("div",{className:so.tooltipLabelContainer,children:[!!i.isShift&&s("span",{className:so.tooltipSymbol,children:"⇧"}),s("span",{children:i.label})]},i.value)]},i.value)}))}),placement:"bottom",children:s("span",{className:so.successColor,children:"math symbols"})})]})})]}),s(a,{className:so.verifyButton,variant:"contained",color:"primary",onClick:function(){H(!0);var o=S.map((function(o){return o.key})).filter((function(o){return L&&L.includes(o)}));A({formula:L,variables:o,formulaFunc:co})},disabled:E||!co,children:"Verify"}),!!L&&s("span",{className:t(so.resultText,(k={},k[so.errorColor]=!!ro,k[so.resultSuccessColor]=!ro,k)),children:ro?"The formula is not valid":"The formula is valid"})]})};export{N as default};
1
+ import{jsxs as o,jsx as s}from"react/jsx-runtime";import{useState as i,useMemo as c,useRef as n,useCallback as r,useEffect as t}from"react";import e from"classnames";import{useTheme as l,Button as a}from"@material-ui/core";import{replaceStringToLabel as m}from"./utils.js";import{useFormulaFunction as u}from"./useFormulaFunction.js";import{useFormulaStyles as p}from"./useFormulaStyles.js";import d from"./RootXIcon.js";import f from"./FormulaTextEditor.js";import h from"./CloseSuggestion.js";import j from"./SuggestionsMenu.js";import{CloseSmallIcon as v,InfoIcon 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"../../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/Lasso.js";import C from"../../effects/useOutsideClick.js";import{Tooltip as b}from"../Tooltip/Tooltip.js";import"../Tooltip/ScrollableTooltip.js";var F=[{value:"*",isShift:!0,label:"8"},{value:"/",label:"/"},{value:"(",isShift:!0,label:"9"},{value:")",isShift:!0,label:"0"},{value:"+",isShift:!0,label:"+"},{value:"-",label:"-"},{value:"^",isShift:!0,label:"6"}],g=function(o,s,i){return s?i?o.palette.error.main:o.palette.primary.main:o.palette.primary.text7},N=function(N){var k,y=N.suggestions,S=void 0===y?[]:y,x=N.initFormula,T=void 0===x?"":x,W=N.onSave,A=void 0===W?function(){}:W,O=i(!0),E=O[0],H=O[1],U=i(!1),P=U[0],R=U[1],V=i(!1),L=V[0],M=V[1],q=i(T),G=q[0],z=q[1],B=i(0),D=B[0],X=B[1],Z=i(0),w=Z[0],J=Z[1],K=m(G,S),Q=K.search("/f"),Y=-1!==Q,$=c((function(){return S.map((function(o){return o.key}))}),[S]),_=K.substring(Q+"/f".length,D),oo=n(),so=p({isValue:!Y&&!!G}),io=l(),co=u(G,$),no=co.formulaFunction,ro=co.error;C(oo,(function(){M(!1)}));var to=function(o){var s,i=S.find((function(s){return s.key===o}));R(!0),M(!0),z((function(s){return s.replace("".concat("/f").concat(_),o?"[".concat(o,"]"):"")})),X(Q+((null===(s=null==i?void 0:i.label)||void 0===s?void 0:s.length)||0))},eo=r((function(o,s){D!==s&&X(s),o!==G&&(z(o),H(!1))}),[G,D]);return t((function(){z(T)}),[T]),o("div",{className:so.formulaContainer,children:[o("div",{className:so.formulaHeaderWrapper,children:[o("div",{className:so.formulaHeaderTextWrapper,children:[s(d,{color:g(io,L,ro)}),s("div",{className:so.formulaHeaderText,style:{color:g(io,L,ro)},children:"Formula Expression"})]}),o("div",{className:so.formulaHeaderButtonWrapper,onClick:function(){Y||(H(!1),z(""),X(0),R(!0))},children:[s(v,{strokeWidth:3,size:16}),s("div",{className:so.formulaHeaderText,children:"Clear"})]})]}),o("div",{className:so.formulaEditorWrapper,children:[s("div",{ref:oo,onClick:function(){M(!0)},children:s(f,{initFormula:G,cursorPos:D,color:g(io,L,ro),suggestions:S,isValueUpdated:P,setIsValueUpdated:R,onChange:eo})}),Y&&s(h,{onClose:function(){return to("")}})]}),Y&&s(j,{suggestions:S,keyStr:_,onAddSuggestion:to,onChangeHeight:J}),o("div",{className:so.formulaFooterWrapper,style:{marginTop:Y?-w:0},children:[s(I,{className:so.formulaFooterIcon,strokeWidth:3,size:16}),s("div",{className:so.formulaFooterTextWrapper,children:o("div",{className:so.formulaFooterText,children:["Type ",s("span",{className:so.funcText,children:"/f"})," to do add live channels to your equation. Use your keybord for numbers and"," ",s(b,{title:s("div",{className:so.tooltipWrapper,children:F.map((function(i){return o("div",{className:so.tooltipLine,children:[s("span",{className:so.tooltipValue,children:i.value}),o("div",{className:so.tooltipLabelContainer,children:[!!i.isShift&&s("span",{className:so.tooltipSymbol,children:"⇧"}),s("span",{children:i.label})]},i.value)]},i.value)}))}),placement:"bottom",children:s("span",{className:so.successColor,children:"math symbols"})})]})})]}),s(a,{className:so.verifyButton,variant:"contained",color:"primary",onClick:function(){H(!0);var o=S.map((function(o){return o.key})).filter((function(o){return G&&G.includes(o)}));A({formula:G,variables:o,formulaFunc:no})},disabled:E||!no,children:"Verify"}),!!G&&s("span",{className:e(so.resultText,(k={},k[so.errorColor]=!!ro,k[so.resultSuccessColor]=!ro,k)),children:ro?"The formula is not valid":"The formula is valid"})]})};export{N as default};
2
2
  //# sourceMappingURL=Formula.js.map
@@ -1,2 +1,2 @@
1
- import{__assign as o}from'./../../ext-esm/tslib/tslib.es6.js';import{jsxs as n,jsx as i,Fragment as s}from"react/jsx-runtime";import{Grid as t,TextField as e,Box as c}from"@material-ui/core";import{noop as r,isEmpty as a,trim as d}from"lodash";import{useState as l,useEffect as m}from"react";import{CheckSmallIcon as u,CloseSmallIcon as p,WriteIcon as I,DeleteFourIcon as g}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"../../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 j from"../IconButton/index.js";import{GradientPicker as v}from"../GradientPicker/GradientPicker.js";import{DEFAULT_GRADIENTS as f,DEFAULT_GRADIENT_STOPS as h,TEMP_GRADIENT_ID as S,GRADIENT_MAX_NAME_LENGTH as C}from"./configuration/constants.js";import{GradientList as b}from"./GradientList.js";import{GradientSelect as G}from"./GradientSelect.js";import{useStyles as k}from"./GradientManager.styles.js";var F=function(F){var x,y=F.gradientId,P=F.onGradientEditStateChange,A=void 0===P?r:P,B=F.onChange,N=void 0===B?r:B,O=F.defaultGradients,w=void 0===O?f:O,E=F.defaultGradientStops,M=void 0===E?h:E,D=F.allowNoname,R=F.scaleOptions,L=void 0===R?{scaleFrom:0,scaleTo:100}:R,U=F.className,T=k(),W=new b(F.gradients||[],w,F.onGradientsChange),q=l(null),H=q[0],K=q[1],V=F.disableGradientsManagement||!F.onGradientsChange,Z=W.getHelperText({name:null==H?void 0:H.name,allowNoname:D,gradientId:y});m((function(){A(Boolean(H))}),[Boolean(H)]);var _=(null===(x=W.getById(y))||void 0===x?void 0:x.gradientStops)||F.gradientStops||M,z=function(){if(a(Z)){var o=H.gradientStops,n=d(H.name);if(K(null),n){if(W.getById(H.id||y))return W.update(y,{gradientStops:o,name:n}),void N({gradientId:y,gradientStops:o});var i=W.add(n,o);N({gradientId:null==i?void 0:i.id,gradientStops:o})}else D&&N({gradientStops:o,gradientId:null})}},J=function(o){o===y&&(N({gradientId:null,gradientStops:_}),K(null)),W.remove(o)},Q=function(n){var i=n.trimStart().substring(0,C);K(o(o({},H),{name:i}))};return n(t,{container:!0,className:U,children:[i(t,{item:!0,xs:6,children:H?i(e,o({InputLabelProps:{shrink:!0},className:T.customGradientName,label:"Gradient Name",value:H.name,onChange:function(o){return Q(o.target.value)},onFocus:function(o){o.target.select()},onKeyDown:function(o){var n;if("Enter"===o.key){var i=null===(n=o.target)||void 0===n?void 0:n.value;i&&(Q(i),z())}},autoFocus:!0,fullWidth:!0},Z)):i(G,{value:y,gradients:F.gradients||[],onChange:function(o){var n,i=W.getById(o);N({gradientId:o,gradientStops:null!==(n=null==i?void 0:i.gradientStops)&&void 0!==n?n:M})},defaultGradients:w,onAction:function(o,n){switch(o){case"add":K({name:"",gradientStops:M,id:S});break;case"delete":J(n)}},readonly:V})}),i(t,{item:!0,xs:6,children:i(c,{display:"flex",alignItems:"center",height:"100%",children:i(c,{display:"flex",paddingLeft:1,children:n(s,H?{children:[i(j,{"data-testid":"save-gradient-btn",onClick:z,tooltipProps:{title:"Save"},disabled:!!Z||V,children:i(u,{})}),i(j,{"data-testid":"cancel-edit-btn",onClick:function(){K(null)},tooltipProps:{title:"Cancel"},children:i(p,{})})]}:{children:[i(j,{"data-testid":"edit-gradient-btn",onClick:function(){var o;W.isDefault(y)?K({name:W.newName(),gradientStops:_,id:S}):K({name:(null===(o=W.getById(y))||void 0===o?void 0:o.name)||"",gradientStops:_})},tooltipProps:{title:"Edit"},disabled:V,children:i(I,{})}),!!W.getById(y)&&!W.isDefault(y)&&i(j,{"data-testid":"delete-gradient-btn",onClick:function(){return J(y)},tooltipProps:{title:"Remove"},disabled:V,children:i(g,{})})]})})})}),i(t,{item:!0,xs:12,children:i(v,{from:null==L?void 0:L.scaleFrom,to:null==L?void 0:L.scaleTo,unit:null==L?void 0:L.scaleUnit,noScale:!0,gradientStops:(null==H?void 0:H.gradientStops)||_,onChange:function(n){K(o(o({},H),{gradientStops:n}))},readonly:!H,isMoveInputVisible:!0})})]})};export{F as GradientManager};
1
+ import{__assign as o}from'./../../ext-esm/tslib/tslib.es6.js';import{jsxs as n,jsx as i,Fragment as s}from"react/jsx-runtime";import{Grid as t,TextField as c,Box as e}from"@material-ui/core";import{noop as r,isEmpty as a,trim as d}from"lodash";import{useState as l,useEffect as m}from"react";import{CheckSmallIcon as u,CloseSmallIcon as p,WriteIcon as I,DeleteFourIcon as g}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"../../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/Lasso.js";import j from"../IconButton/index.js";import{GradientPicker as v}from"../GradientPicker/GradientPicker.js";import{DEFAULT_GRADIENTS as f,DEFAULT_GRADIENT_STOPS as h,TEMP_GRADIENT_ID as S,GRADIENT_MAX_NAME_LENGTH as C}from"./configuration/constants.js";import{GradientList as b}from"./GradientList.js";import{GradientSelect as G}from"./GradientSelect.js";import{useStyles as k}from"./GradientManager.styles.js";var F=function(F){var x,y=F.gradientId,P=F.onGradientEditStateChange,A=void 0===P?r:P,B=F.onChange,N=void 0===B?r:B,O=F.defaultGradients,w=void 0===O?f:O,E=F.defaultGradientStops,M=void 0===E?h:E,D=F.allowNoname,L=F.scaleOptions,R=void 0===L?{scaleFrom:0,scaleTo:100}:L,U=F.className,T=k(),W=new b(F.gradients||[],w,F.onGradientsChange),q=l(null),H=q[0],K=q[1],V=F.disableGradientsManagement||!F.onGradientsChange,Z=W.getHelperText({name:null==H?void 0:H.name,allowNoname:D,gradientId:y});m((function(){A(Boolean(H))}),[Boolean(H)]);var _=(null===(x=W.getById(y))||void 0===x?void 0:x.gradientStops)||F.gradientStops||M,z=function(){if(a(Z)){var o=H.gradientStops,n=d(H.name);if(K(null),n){if(W.getById(H.id||y))return W.update(y,{gradientStops:o,name:n}),void N({gradientId:y,gradientStops:o});var i=W.add(n,o);N({gradientId:null==i?void 0:i.id,gradientStops:o})}else D&&N({gradientStops:o,gradientId:null})}},J=function(o){o===y&&(N({gradientId:null,gradientStops:_}),K(null)),W.remove(o)},Q=function(n){var i=n.trimStart().substring(0,C);K(o(o({},H),{name:i}))};return n(t,{container:!0,className:U,children:[i(t,{item:!0,xs:6,children:H?i(c,o({InputLabelProps:{shrink:!0},className:T.customGradientName,label:"Gradient Name",value:H.name,onChange:function(o){return Q(o.target.value)},onFocus:function(o){o.target.select()},onKeyDown:function(o){var n;if("Enter"===o.key){var i=null===(n=o.target)||void 0===n?void 0:n.value;i&&(Q(i),z())}},autoFocus:!0,fullWidth:!0},Z)):i(G,{value:y,gradients:F.gradients||[],onChange:function(o){var n,i=W.getById(o);N({gradientId:o,gradientStops:null!==(n=null==i?void 0:i.gradientStops)&&void 0!==n?n:M})},defaultGradients:w,onAction:function(o,n){switch(o){case"add":K({name:"",gradientStops:M,id:S});break;case"delete":J(n)}},readonly:V})}),i(t,{item:!0,xs:6,children:i(e,{display:"flex",alignItems:"center",height:"100%",children:i(e,{display:"flex",paddingLeft:1,children:n(s,H?{children:[i(j,{"data-testid":"save-gradient-btn",onClick:z,tooltipProps:{title:"Save"},disabled:!!Z||V,children:i(u,{})}),i(j,{"data-testid":"cancel-edit-btn",onClick:function(){K(null)},tooltipProps:{title:"Cancel"},children:i(p,{})})]}:{children:[i(j,{"data-testid":"edit-gradient-btn",onClick:function(){var o;W.isDefault(y)?K({name:W.newName(),gradientStops:_,id:S}):K({name:(null===(o=W.getById(y))||void 0===o?void 0:o.name)||"",gradientStops:_})},tooltipProps:{title:"Edit"},disabled:V,children:i(I,{})}),!!W.getById(y)&&!W.isDefault(y)&&i(j,{"data-testid":"delete-gradient-btn",onClick:function(){return J(y)},tooltipProps:{title:"Remove"},disabled:V,children:i(g,{})})]})})})}),i(t,{item:!0,xs:12,children:i(v,{from:null==R?void 0:R.scaleFrom,to:null==R?void 0:R.scaleTo,unit:null==R?void 0:R.scaleUnit,noScale:!0,gradientStops:(null==H?void 0:H.gradientStops)||_,onChange:function(n){K(o(o({},H),{gradientStops:n}))},readonly:!H,isMoveInputVisible:!0})})]})};export{F as GradientManager};
2
2
  //# sourceMappingURL=GradientManager.js.map
@@ -1,2 +1,2 @@
1
- import{jsxs as o,jsx as s}from"react/jsx-runtime";import{ListSubheader as i,MenuItem as n}from"@material-ui/core";import c from"@material-ui/icons/AddCircle";import{useState as t}from"react";import r from"classnames";import{isEmpty as e}from"lodash";import{GradientPreview as m}from"./GradientPreview/GradientPreview.js";import a from"../Select/index.js";import l from"../IconButton/index.js";import{useStyles as u}from"./GradientSelect.styles.js";import{DeleteFourIcon 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"../../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";var p=function(p){var I=p.value,j=p.gradients,h=p.onChange,v=p.defaultGradients,f=p.onAction,C=p.readonly,g=u(),G=t(!1),F=G[0],b=G[1],P=function(o){var s,i;if(o.stopPropagation(),!C){var n=null===(i=null===(s=o.currentTarget.closest("li"))||void 0===s?void 0:s.dataset)||void 0===i?void 0:i.value;I===n&&b(!1),f("delete",n)}},k=e(j)&&C;return o(a,{"data-testid":"gradient-select",label:"Gradients",value:I||"",className:g.select,onChange:function(o){var s=o.target;s.value&&h(s.value)},open:F,onClose:function(){return b(!1)},onOpen:function(){return b(!0)},inputProps:{name:"gradientId",id:"gradientId"},FormControlProps:{fullWidth:!0},fullWidth:!0,defaultValue:"",InputLabelProps:{shrink:!0},children:[s(i,{className:g.listHeader,children:"Gradients"}),!k&&o(i,{className:g.subHeader,children:["My Gradients",!C&&s(l,{color:"primary","data-testid":"add-gradient-btn",className:g.addButton,onClick:function(){return f("add")},tooltipProps:{title:"Create Custom Gradient"},children:s(c,{color:"primary"})})]}),j.map((function(i){var c=i.id,t=i.name,e=i.gradientStops;return o(n,{value:c,className:g.customGradientListItem,children:[s(m,{gradientStops:e}),s("span",{children:t}),s(l,{className:r({disabled:C}),onClick:P,tooltipProps:{title:"Remove Gradient"},size:"medium",children:s(d,{})})]},c)})),!e(v)&&s(i,{className:g.subHeader,children:"Default Gradients"}),v.map((function(i){var c=i.id,t=i.name,r=i.gradientStops;return o(n,{value:c,className:g.customGradientListItem,children:[s(m,{gradientStops:r}),s("span",{children:t})]},c)}))]})};export{p as GradientSelect};
1
+ import{jsxs as o,jsx as s}from"react/jsx-runtime";import{ListSubheader as i,MenuItem as n}from"@material-ui/core";import c from"@material-ui/icons/AddCircle";import{useState as t}from"react";import r from"classnames";import{isEmpty as e}from"lodash";import{GradientPreview as m}from"./GradientPreview/GradientPreview.js";import a from"../Select/index.js";import l from"../IconButton/index.js";import{useStyles as u}from"./GradientSelect.styles.js";import{DeleteFourIcon 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"../../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/Lasso.js";var p=function(p){var I=p.value,j=p.gradients,h=p.onChange,v=p.defaultGradients,f=p.onAction,C=p.readonly,g=u(),G=t(!1),F=G[0],b=G[1],P=function(o){var s,i;if(o.stopPropagation(),!C){var n=null===(i=null===(s=o.currentTarget.closest("li"))||void 0===s?void 0:s.dataset)||void 0===i?void 0:i.value;I===n&&b(!1),f("delete",n)}},k=e(j)&&C;return o(a,{"data-testid":"gradient-select",label:"Gradients",value:I||"",className:g.select,onChange:function(o){var s=o.target;s.value&&h(s.value)},open:F,onClose:function(){return b(!1)},onOpen:function(){return b(!0)},inputProps:{name:"gradientId",id:"gradientId"},FormControlProps:{fullWidth:!0},fullWidth:!0,defaultValue:"",InputLabelProps:{shrink:!0},children:[s(i,{className:g.listHeader,children:"Gradients"}),!k&&o(i,{className:g.subHeader,children:["My Gradients",!C&&s(l,{color:"primary","data-testid":"add-gradient-btn",className:g.addButton,onClick:function(){return f("add")},tooltipProps:{title:"Create Custom Gradient"},children:s(c,{color:"primary"})})]}),j.map((function(i){var c=i.id,t=i.name,e=i.gradientStops;return o(n,{value:c,className:g.customGradientListItem,children:[s(m,{gradientStops:e}),s("span",{children:t}),s(l,{className:r({disabled:C}),onClick:P,tooltipProps:{title:"Remove Gradient"},size:"medium",children:s(d,{})})]},c)})),!e(v)&&s(i,{className:g.subHeader,children:"Default Gradients"}),v.map((function(i){var c=i.id,t=i.name,r=i.gradientStops;return o(n,{value:c,className:g.customGradientListItem,children:[s(m,{gradientStops:r}),s("span",{children:t})]},c)}))]})};export{p as GradientSelect};
2
2
  //# sourceMappingURL=GradientSelect.js.map
@@ -1,2 +1,2 @@
1
- import{__assign as o,__spreadArray as n}from'./../../ext-esm/tslib/tslib.es6.js';import{jsxs as i,jsx as t}from"react/jsx-runtime";import{useRef as s,useState as c,useEffect as r,useMemo as e}from"react";import l from"classnames";import a from"react-draggable";import{find as m,noop as u,sortBy as d,reject as p,clamp as f,omit as h}from"lodash";import v from"tinygradient";import{v4 as I}from"uuid";import{Typography as j,Tooltip as g,Popover as C,TextField as b}from"@material-ui/core";import{Add as k}from"@material-ui/icons";import{DeleteFourIcon as F}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"../../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 x from"../ColorPicker/PaletteChromePicker/PaletteChromePicker.js";import{calcGradientStyle as y,getStopText as N,roundToStep as P,getRangeStep as O}from"./GradientPicker.utils.js";import{useThrottledCallback as _}from"../shared/useThrottledCallback.js";import A from"../IconButton/index.js";import{useStyles as M}from"./GradientPicker.styles.js";import{withSize as S}from"react-sizeme";var T=S()((function(S){var T=S.size,z=S.from,B=void 0===z?0:z,E=S.to,G=void 0===E?100:E,R=S.unit,D=S.gradientStops,L=S.onChange,U=S.style,V=S.isMoveInputVisible,W=S.readonly,q=S.noScale,w=S["data-testid"],H=void 0===w?"GradientPicker":w,K=s(),X=c([]),Z=X[0],J=X[1],Q=c(null),Y=Q[0],$=Q[1],oo=c(null),no=oo[0],io=oo[1],to=c(null),so=to[0],co=to[1],ro=M({readonly:W}),eo=Number.isFinite(B)?Number(B):0,lo=Number.isFinite(G)?Number(G):100,ao=lo-eo;r((function(){(D.length!==(null==Z?void 0:Z.length)||D.some((function(o,n){return o.color!==Z[n].color||o.pos!==Z[n].pos})))&&J(D.map((function(n){return o(o({},n),{id:I()})})))}),[D]);var mo=e((function(){return y(Z)}),[Z]),uo=e((function(){var o;return null===(o=K.current)||void 0===o?void 0:o.clientWidth}),[T.width,K.current]),po=function(o){var n=d(o,"pos");J(n),L&&L(n.map((function(o){return h(o,"id")})))},fo=function(o){if(o.target===o.currentTarget){var n=o.currentTarget.getBoundingClientRect(),i=o.clientX-n.left;co(Number.isFinite(i)?i:null)}else co(null)},ho=_((function(i,t,s,c){if(void 0===c&&(c=!1),!Y){var r=t/uo*100,e=m(Z,{id:i});if(s>=40||s<=-50)Io();else{var l=o(o({},e),{pos:r}),a=d(n(n([],p(Z,{id:i}),!0),[l],!1),"pos");if(c)return po(a),void io(null);J(a),go||io(i)}}}),0),vo=function(){po(Z),io(null),$(null)},Io=function(){Z.length>2&&(po(p(Z,{id:no})),$(null),io(null))},jo=!Y&&Number.isFinite(so)&&!W,go=m(Z,{id:no}),Co=O(ao),bo=function(o){if(!o)return null;var n=eo+(null==o?void 0:o.pos)/100*ao;return P(n,Co/100)}(go);return i("div",{className:ro.root,style:U,children:[!q&&i("div",{className:ro.indicatorContainer,children:[t("div",{children:i(j,{"data-testid":"".concat(H,"_from"),className:ro.indicator,children:[eo," ",R]})}),t("div",{children:i(j,{"data-testid":"".concat(H,"_to"),className:ro.indicator,children:[lo," ",R]})})]}),i("div",{onMouseEnter:fo,onMouseMove:fo,onMouseLeave:function(){return co(null)},onClick:function(o){if(!W){var i=so/uo*100,t=v(Z.map((function(o){return{color:o.color,pos:o.pos/100}}))),s="#".concat(t.rgbAt(i/100).toHex()),c={id:I(),pos:i,color:s};po(n(n([],Z,!0),[c],!1))}},"data-testid":"".concat(H,"_track"),className:ro.mainBar,style:{background:"linear-gradient(90deg, ".concat(mo,")")},ref:K,children:[jo&&t("div",{"data-testid":"".concat(H,"_addCircle"),className:ro.addCircle,style:{left:so-12},children:t(k,{fontSize:"small",className:ro.addIcon})}),!!uo&&Z.map((function(o,n){var i,s=o.pos,c=o.color,r=o.id;return t(a,{disabled:W,axis:"x",bounds:{left:-12,right:uo-12,top:-50,bottom:40},onDrag:function(o,n){return ho(r,n.x+12,n.y,!1)},onStop:function(o,n){return ho(r,n.x+12,n.y,!0)},position:{x:uo*s/100-12,y:-4},children:t("div",{onClick:function(o){return function(o,n){o.stopPropagation(),W||no||(io(n),$(o.currentTarget))}(o,r)},"data-testid":"".concat(H,"_stop_").concat(n),className:l(ro.circle,{highlight:no===r}),style:{backgroundColor:c},children:t(g,{title:(i=s,N(i,{fromValue:eo,toValue:lo})),placement:"top",children:t("div",{style:{height:"100%"}})})})},r)}))]}),Boolean(Y)&&i(C,{id:"colors-popper",open:Boolean(Y),anchorEl:Y,onClose:vo,anchorOrigin:{vertical:"bottom",horizontal:"left"},transformOrigin:{vertical:"top",horizontal:"left"},children:[t(x,{color:null==go?void 0:go.color,onChange:function(n){var i=n.hex;J(Z.map((function(n){return n.id===no?o(o({},n),{color:i}):n})))},onSizeChange:u,enableTransparencyPalette:!1}),t(A,{"data-testid":"".concat(H,"_stopDelete"),className:ro.removeButton,onClick:Io,children:t(F,{className:ro.deleteIcon})}),V&&t(b,{"data-testid":"".concat(H,"_moveInput"),type:"number",variant:"outlined",value:bo,classes:{root:ro.posTextfield},InputProps:{inputProps:{min:eo,max:lo,step:Co,maxLength:10},classes:{root:ro.posOutlinedRoot,input:ro.posOutlinedInput}},autoFocus:!0,onFocus:function(o){return o.target.select()},onChange:function(n){if(""===n.target.value){var i=n.target;setTimeout((function(){return null==i?void 0:i.select()}))}var t=f(Number(n.target.value),eo,lo);t||n.target.select();var s=(t-eo)/ao*100;J(Z.map((function(n){return n.id===no?o(o({},n),{pos:s}):n})))},onKeyDown:function(o){return"Enter"===o.key&&vo()}})]})]})})),z=function(n){return t(T,o({},n))};export{z as GradientPicker};
1
+ import{__assign as o,__spreadArray as n}from'./../../ext-esm/tslib/tslib.es6.js';import{jsxs as i,jsx as t}from"react/jsx-runtime";import{useRef as s,useState as c,useEffect as r,useMemo as e}from"react";import l from"classnames";import a from"react-draggable";import{find as m,noop as u,sortBy as d,reject as p,clamp as f,omit as h}from"lodash";import I from"tinygradient";import{v4 as v}from"uuid";import{Typography as j,Tooltip as g,Popover as C,TextField as b}from"@material-ui/core";import{Add as k}from"@material-ui/icons";import{DeleteFourIcon as F}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"../../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/Lasso.js";import x from"../ColorPicker/PaletteChromePicker/PaletteChromePicker.js";import{calcGradientStyle as y,getStopText as N,roundToStep as P,getRangeStep as O}from"./GradientPicker.utils.js";import{useThrottledCallback as _}from"../shared/useThrottledCallback.js";import A from"../IconButton/index.js";import{useStyles as M}from"./GradientPicker.styles.js";import{withSize as S}from"react-sizeme";var T=S()((function(S){var T=S.size,z=S.from,B=void 0===z?0:z,E=S.to,G=void 0===E?100:E,R=S.unit,D=S.gradientStops,L=S.onChange,U=S.style,V=S.isMoveInputVisible,W=S.readonly,q=S.noScale,w=S["data-testid"],H=void 0===w?"GradientPicker":w,K=s(),X=c([]),Z=X[0],J=X[1],Q=c(null),Y=Q[0],$=Q[1],oo=c(null),no=oo[0],io=oo[1],to=c(null),so=to[0],co=to[1],ro=M({readonly:W}),eo=Number.isFinite(B)?Number(B):0,lo=Number.isFinite(G)?Number(G):100,ao=lo-eo;r((function(){(D.length!==(null==Z?void 0:Z.length)||D.some((function(o,n){return o.color!==Z[n].color||o.pos!==Z[n].pos})))&&J(D.map((function(n){return o(o({},n),{id:v()})})))}),[D]);var mo=e((function(){return y(Z)}),[Z]),uo=e((function(){var o;return null===(o=K.current)||void 0===o?void 0:o.clientWidth}),[T.width,K.current]),po=function(o){var n=d(o,"pos");J(n),L&&L(n.map((function(o){return h(o,"id")})))},fo=function(o){if(o.target===o.currentTarget){var n=o.currentTarget.getBoundingClientRect(),i=o.clientX-n.left;co(Number.isFinite(i)?i:null)}else co(null)},ho=_((function(i,t,s,c){if(void 0===c&&(c=!1),!Y){var r=t/uo*100,e=m(Z,{id:i});if(s>=40||s<=-50)vo();else{var l=o(o({},e),{pos:r}),a=d(n(n([],p(Z,{id:i}),!0),[l],!1),"pos");if(c)return po(a),void io(null);J(a),go||io(i)}}}),0),Io=function(){po(Z),io(null),$(null)},vo=function(){Z.length>2&&(po(p(Z,{id:no})),$(null),io(null))},jo=!Y&&Number.isFinite(so)&&!W,go=m(Z,{id:no}),Co=O(ao),bo=function(o){if(!o)return null;var n=eo+(null==o?void 0:o.pos)/100*ao;return P(n,Co/100)}(go);return i("div",{className:ro.root,style:U,children:[!q&&i("div",{className:ro.indicatorContainer,children:[t("div",{children:i(j,{"data-testid":"".concat(H,"_from"),className:ro.indicator,children:[eo," ",R]})}),t("div",{children:i(j,{"data-testid":"".concat(H,"_to"),className:ro.indicator,children:[lo," ",R]})})]}),i("div",{onMouseEnter:fo,onMouseMove:fo,onMouseLeave:function(){return co(null)},onClick:function(o){if(!W){var i=so/uo*100,t=I(Z.map((function(o){return{color:o.color,pos:o.pos/100}}))),s="#".concat(t.rgbAt(i/100).toHex()),c={id:v(),pos:i,color:s};po(n(n([],Z,!0),[c],!1))}},"data-testid":"".concat(H,"_track"),className:ro.mainBar,style:{background:"linear-gradient(90deg, ".concat(mo,")")},ref:K,children:[jo&&t("div",{"data-testid":"".concat(H,"_addCircle"),className:ro.addCircle,style:{left:so-12},children:t(k,{fontSize:"small",className:ro.addIcon})}),!!uo&&Z.map((function(o,n){var i,s=o.pos,c=o.color,r=o.id;return t(a,{disabled:W,axis:"x",bounds:{left:-12,right:uo-12,top:-50,bottom:40},onDrag:function(o,n){return ho(r,n.x+12,n.y,!1)},onStop:function(o,n){return ho(r,n.x+12,n.y,!0)},position:{x:uo*s/100-12,y:-4},children:t("div",{onClick:function(o){return function(o,n){o.stopPropagation(),W||no||(io(n),$(o.currentTarget))}(o,r)},"data-testid":"".concat(H,"_stop_").concat(n),className:l(ro.circle,{highlight:no===r}),style:{backgroundColor:c},children:t(g,{title:(i=s,N(i,{fromValue:eo,toValue:lo})),placement:"top",children:t("div",{style:{height:"100%"}})})})},r)}))]}),Boolean(Y)&&i(C,{id:"colors-popper",open:Boolean(Y),anchorEl:Y,onClose:Io,anchorOrigin:{vertical:"bottom",horizontal:"left"},transformOrigin:{vertical:"top",horizontal:"left"},children:[t(x,{color:null==go?void 0:go.color,onChange:function(n){var i=n.hex;J(Z.map((function(n){return n.id===no?o(o({},n),{color:i}):n})))},onSizeChange:u,enableTransparencyPalette:!1}),t(A,{"data-testid":"".concat(H,"_stopDelete"),className:ro.removeButton,onClick:vo,children:t(F,{className:ro.deleteIcon})}),V&&t(b,{"data-testid":"".concat(H,"_moveInput"),type:"number",variant:"outlined",value:bo,classes:{root:ro.posTextfield},InputProps:{inputProps:{min:eo,max:lo,step:Co,maxLength:10},classes:{root:ro.posOutlinedRoot,input:ro.posOutlinedInput}},autoFocus:!0,onFocus:function(o){return o.target.select()},onChange:function(n){if(""===n.target.value){var i=n.target;setTimeout((function(){return null==i?void 0:i.select()}))}var t=f(Number(n.target.value),eo,lo);t||n.target.select();var s=(t-eo)/ao*100;J(Z.map((function(n){return n.id===no?o(o({},n),{pos:s}):n})))},onKeyDown:function(o){return"Enter"===o.key&&Io()}})]})]})})),z=function(n){return t(T,o({},n))};export{z as GradientPicker};
2
2
  //# sourceMappingURL=GradientPicker.js.map
@@ -1,2 +1,2 @@
1
- import{createSvgIcon as o}from"@material-ui/core";import s from"moment";import{HelpIcon as c}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"../../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{getLocalStorageItem as i}from"../../utils/localStorage.js";import{jsxs as n,jsx as t}from"react/jsx-runtime";var e=o(n("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[n("g",{clipPath:"url(#clip0_69385_73795)",children:[t("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.3986 4.3986C6.34317 2.45406 9.0317 1.25 12 1.25C14.9683 1.25 17.6568 2.45406 19.6014 4.3986L19.0711 4.92893L19.6014 4.3986C21.5459 6.34317 22.75 9.0317 22.75 12C22.75 14.9683 21.5459 17.6568 19.6014 19.6014C17.6568 21.5459 14.9683 22.75 12 22.75C9.0317 22.75 6.34317 21.5459 4.3986 19.6014L4.92893 19.0711L4.3986 19.6014C2.45406 17.6568 1.25 14.9683 1.25 12C1.25 9.0317 2.45406 6.34317 4.3986 4.3986L4.3986 4.3986ZM12 2.75C9.4455 2.75 7.13403 3.78452 5.45926 5.45926C3.78451 7.13404 2.75 9.4455 2.75 12C2.75 14.5545 3.78452 16.866 5.45926 18.5407C7.13403 20.2155 9.4455 21.25 12 21.25C14.5545 21.25 16.866 20.2155 18.5407 18.5407C20.2155 16.866 21.25 14.5545 21.25 12C21.25 9.4455 20.2155 7.13403 18.5407 5.45926C16.866 3.78452 14.5545 2.75 12 2.75Z",fill:"#BDBDBD"}),t("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 18.8125C12.6904 18.8125 13.25 18.2529 13.25 17.5625C13.25 16.8722 12.6904 16.3125 12 16.3125C11.3097 16.3125 10.75 16.8722 10.75 17.5625C10.75 18.2529 11.3097 18.8125 12 18.8125Z",fill:"#BDBDBD"}),t("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.25 9.3125C8.25 7.24144 9.92894 5.5625 12 5.5625C14.0711 5.5625 15.75 7.24144 15.75 9.3125C15.75 11.1267 14.4617 12.64 12.75 12.9875V14.3125C12.75 14.7267 12.4142 15.0625 12 15.0625C11.5858 15.0625 11.25 14.7267 11.25 14.3125V12.3125C11.25 11.8983 11.5858 11.5625 12 11.5625C13.2426 11.5625 14.25 10.5551 14.25 9.3125C14.25 8.06986 13.2426 7.0625 12 7.0625C10.7574 7.0625 9.75 8.06986 9.75 9.3125C9.75 9.72671 9.41421 10.0625 9 10.0625C8.58579 10.0625 8.25 9.72671 8.25 9.3125Z",fill:"#BDBDBD"}),t("rect",{x:"15.5",y:"-0.5",width:"9",height:"9",rx:"4.5",fill:"#75DB29"}),t("rect",{x:"15.5",y:"-0.5",width:"9",height:"9",rx:"4.5",stroke:"#212121"})]}),t("defs",{children:t("clipPath",{id:"clip0_69385_73795",children:t("rect",{width:"24",height:"24",fill:"white"})})})]}),"NewContentIcon");function r(o){var n,r=o.appId,m=o.helpContentUpdatedAt,l=null===(n=i("helpCenter"))||void 0===n?void 0:n[r],p=m&&(!l||s(l).isBefore(m));return t(p?e:c,{})}export{r as HelpCenterIcon};
1
+ import{createSvgIcon as o}from"@material-ui/core";import s from"moment";import{HelpIcon as c}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"../../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/Lasso.js";import{getLocalStorageItem as i}from"../../utils/localStorage.js";import{jsxs as n,jsx as t}from"react/jsx-runtime";var e=o(n("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[n("g",{clipPath:"url(#clip0_69385_73795)",children:[t("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.3986 4.3986C6.34317 2.45406 9.0317 1.25 12 1.25C14.9683 1.25 17.6568 2.45406 19.6014 4.3986L19.0711 4.92893L19.6014 4.3986C21.5459 6.34317 22.75 9.0317 22.75 12C22.75 14.9683 21.5459 17.6568 19.6014 19.6014C17.6568 21.5459 14.9683 22.75 12 22.75C9.0317 22.75 6.34317 21.5459 4.3986 19.6014L4.92893 19.0711L4.3986 19.6014C2.45406 17.6568 1.25 14.9683 1.25 12C1.25 9.0317 2.45406 6.34317 4.3986 4.3986L4.3986 4.3986ZM12 2.75C9.4455 2.75 7.13403 3.78452 5.45926 5.45926C3.78451 7.13404 2.75 9.4455 2.75 12C2.75 14.5545 3.78452 16.866 5.45926 18.5407C7.13403 20.2155 9.4455 21.25 12 21.25C14.5545 21.25 16.866 20.2155 18.5407 18.5407C20.2155 16.866 21.25 14.5545 21.25 12C21.25 9.4455 20.2155 7.13403 18.5407 5.45926C16.866 3.78452 14.5545 2.75 12 2.75Z",fill:"#BDBDBD"}),t("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 18.8125C12.6904 18.8125 13.25 18.2529 13.25 17.5625C13.25 16.8722 12.6904 16.3125 12 16.3125C11.3097 16.3125 10.75 16.8722 10.75 17.5625C10.75 18.2529 11.3097 18.8125 12 18.8125Z",fill:"#BDBDBD"}),t("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.25 9.3125C8.25 7.24144 9.92894 5.5625 12 5.5625C14.0711 5.5625 15.75 7.24144 15.75 9.3125C15.75 11.1267 14.4617 12.64 12.75 12.9875V14.3125C12.75 14.7267 12.4142 15.0625 12 15.0625C11.5858 15.0625 11.25 14.7267 11.25 14.3125V12.3125C11.25 11.8983 11.5858 11.5625 12 11.5625C13.2426 11.5625 14.25 10.5551 14.25 9.3125C14.25 8.06986 13.2426 7.0625 12 7.0625C10.7574 7.0625 9.75 8.06986 9.75 9.3125C9.75 9.72671 9.41421 10.0625 9 10.0625C8.58579 10.0625 8.25 9.72671 8.25 9.3125Z",fill:"#BDBDBD"}),t("rect",{x:"15.5",y:"-0.5",width:"9",height:"9",rx:"4.5",fill:"#75DB29"}),t("rect",{x:"15.5",y:"-0.5",width:"9",height:"9",rx:"4.5",stroke:"#212121"})]}),t("defs",{children:t("clipPath",{id:"clip0_69385_73795",children:t("rect",{width:"24",height:"24",fill:"white"})})})]}),"NewContentIcon");function r(o){var n,r=o.appId,m=o.helpContentUpdatedAt,l=null===(n=i("helpCenter"))||void 0===n?void 0:n[r],p=m&&(!l||s(l).isBefore(m));return t(p?e:c,{})}export{r as HelpCenterIcon};
2
2
  //# sourceMappingURL=HelpCenterIcon.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"HelpCenterIcon.js","sources":["../../../src/components/HelpCenter/HelpCenterIcon.js"],"sourcesContent":["import { createSvgIcon } from '@material-ui/core';\nimport moment from 'moment';\n\nimport { HelpIcon } from '~/icons';\nimport { getLocalStorageItem } from '~/utils/localStorage';\n\nconst NewContentIcon = createSvgIcon(\n <svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <g clipPath=\"url(#clip0_69385_73795)\">\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M4.3986 4.3986C6.34317 2.45406 9.0317 1.25 12 1.25C14.9683 1.25 17.6568 2.45406 19.6014 4.3986L19.0711 4.92893L19.6014 4.3986C21.5459 6.34317 22.75 9.0317 22.75 12C22.75 14.9683 21.5459 17.6568 19.6014 19.6014C17.6568 21.5459 14.9683 22.75 12 22.75C9.0317 22.75 6.34317 21.5459 4.3986 19.6014L4.92893 19.0711L4.3986 19.6014C2.45406 17.6568 1.25 14.9683 1.25 12C1.25 9.0317 2.45406 6.34317 4.3986 4.3986L4.3986 4.3986ZM12 2.75C9.4455 2.75 7.13403 3.78452 5.45926 5.45926C3.78451 7.13404 2.75 9.4455 2.75 12C2.75 14.5545 3.78452 16.866 5.45926 18.5407C7.13403 20.2155 9.4455 21.25 12 21.25C14.5545 21.25 16.866 20.2155 18.5407 18.5407C20.2155 16.866 21.25 14.5545 21.25 12C21.25 9.4455 20.2155 7.13403 18.5407 5.45926C16.866 3.78452 14.5545 2.75 12 2.75Z\"\n fill=\"#BDBDBD\"\n />\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M12 18.8125C12.6904 18.8125 13.25 18.2529 13.25 17.5625C13.25 16.8722 12.6904 16.3125 12 16.3125C11.3097 16.3125 10.75 16.8722 10.75 17.5625C10.75 18.2529 11.3097 18.8125 12 18.8125Z\"\n fill=\"#BDBDBD\"\n />\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M8.25 9.3125C8.25 7.24144 9.92894 5.5625 12 5.5625C14.0711 5.5625 15.75 7.24144 15.75 9.3125C15.75 11.1267 14.4617 12.64 12.75 12.9875V14.3125C12.75 14.7267 12.4142 15.0625 12 15.0625C11.5858 15.0625 11.25 14.7267 11.25 14.3125V12.3125C11.25 11.8983 11.5858 11.5625 12 11.5625C13.2426 11.5625 14.25 10.5551 14.25 9.3125C14.25 8.06986 13.2426 7.0625 12 7.0625C10.7574 7.0625 9.75 8.06986 9.75 9.3125C9.75 9.72671 9.41421 10.0625 9 10.0625C8.58579 10.0625 8.25 9.72671 8.25 9.3125Z\"\n fill=\"#BDBDBD\"\n />\n <rect x=\"15.5\" y=\"-0.5\" width=\"9\" height=\"9\" rx=\"4.5\" fill=\"#75DB29\" />\n <rect x=\"15.5\" y=\"-0.5\" width=\"9\" height=\"9\" rx=\"4.5\" stroke=\"#212121\" />\n </g>\n <defs>\n <clipPath id=\"clip0_69385_73795\">\n <rect width=\"24\" height=\"24\" fill=\"white\" />\n </clipPath>\n </defs>\n </svg>,\n 'NewContentIcon'\n);\n\nexport function HelpCenterIcon({ appId, helpContentUpdatedAt }) {\n const helpCenterLastOpenedAt = getLocalStorageItem('helpCenter')?.[appId];\n\n const isNewContent =\n helpContentUpdatedAt &&\n (!helpCenterLastOpenedAt || moment(helpCenterLastOpenedAt).isBefore(helpContentUpdatedAt));\n\n const Icon = isNewContent ? NewContentIcon : HelpIcon;\n return <Icon />;\n}\n"],"names":["NewContentIcon","createSvgIcon","_jsxs","width","height","viewBox","fill","xmlns","children","clipPath","_jsx","fillRule","clipRule","d","x","y","rx","stroke","id","HelpCenterIcon","_ref","_getLocalStorageItem","appId","helpContentUpdatedAt","helpCenterLastOpenedAt","getLocalStorageItem","isNewContent","moment","isBefore","HelpIcon"],"mappings":"uwEAMA,IAAMA,EAAiBC,EACrBC,EAAA,MAAA,CAAKC,MAAM,KAAKC,OAAO,KAAKC,QAAQ,YAAYC,KAAK,OAAOC,MAAM,6BAA4BC,SAC5F,CAAAN,EAAA,IAAA,CAAGO,SAAS,0BAAyBD,SACnC,CAAAE,EAAA,OAAA,CACEC,SAAS,UACTC,SAAS,UACTC,EAAE,mvBACFP,KAAK,YAEPI,EAAA,OAAA,CACEC,SAAS,UACTC,SAAS,UACTC,EAAE,yLACFP,KAAK,YAEPI,EAAA,OAAA,CACEC,SAAS,UACTC,SAAS,UACTC,EAAE,keACFP,KAAK,YAEPI,EAAA,OAAA,CAAMI,EAAE,OAAOC,EAAE,OAAOZ,MAAM,IAAIC,OAAO,IAAIY,GAAG,MAAMV,KAAK,YAC3DI,EAAA,OAAA,CAAMI,EAAE,OAAOC,EAAE,OAAOZ,MAAM,IAAIC,OAAO,IAAIY,GAAG,MAAMC,OAAO,eAE/DP,EAAA,OAAA,CAAAF,SACEE,EAAA,WAAA,CAAUQ,GAAG,oBAAmBV,SAC9BE,EAAA,OAAA,CAAMP,MAAM,KAAKC,OAAO,KAAKE,KAAK,iBAIxC,kBAGK,SAASa,EAAgDC,GAAA,IAAAC,EAA/BC,IAAAA,MAAOC,IAAAA,qBAChCC,EAA0D,UAAjCC,EAAoB,qBAAa,IAAAJ,OAAA,EAAjCA,EAAoCC,GAE7DI,EACJH,KACEC,GAA0BG,EAAOH,GAAwBI,SAASL,IAGtE,OAAOb,EADMgB,EAAe1B,EAAiB6B,EAC9B,CAAA,EACjB"}
1
+ {"version":3,"file":"HelpCenterIcon.js","sources":["../../../src/components/HelpCenter/HelpCenterIcon.js"],"sourcesContent":["import { createSvgIcon } from '@material-ui/core';\nimport moment from 'moment';\n\nimport { HelpIcon } from '~/icons';\nimport { getLocalStorageItem } from '~/utils/localStorage';\n\nconst NewContentIcon = createSvgIcon(\n <svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <g clipPath=\"url(#clip0_69385_73795)\">\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M4.3986 4.3986C6.34317 2.45406 9.0317 1.25 12 1.25C14.9683 1.25 17.6568 2.45406 19.6014 4.3986L19.0711 4.92893L19.6014 4.3986C21.5459 6.34317 22.75 9.0317 22.75 12C22.75 14.9683 21.5459 17.6568 19.6014 19.6014C17.6568 21.5459 14.9683 22.75 12 22.75C9.0317 22.75 6.34317 21.5459 4.3986 19.6014L4.92893 19.0711L4.3986 19.6014C2.45406 17.6568 1.25 14.9683 1.25 12C1.25 9.0317 2.45406 6.34317 4.3986 4.3986L4.3986 4.3986ZM12 2.75C9.4455 2.75 7.13403 3.78452 5.45926 5.45926C3.78451 7.13404 2.75 9.4455 2.75 12C2.75 14.5545 3.78452 16.866 5.45926 18.5407C7.13403 20.2155 9.4455 21.25 12 21.25C14.5545 21.25 16.866 20.2155 18.5407 18.5407C20.2155 16.866 21.25 14.5545 21.25 12C21.25 9.4455 20.2155 7.13403 18.5407 5.45926C16.866 3.78452 14.5545 2.75 12 2.75Z\"\n fill=\"#BDBDBD\"\n />\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M12 18.8125C12.6904 18.8125 13.25 18.2529 13.25 17.5625C13.25 16.8722 12.6904 16.3125 12 16.3125C11.3097 16.3125 10.75 16.8722 10.75 17.5625C10.75 18.2529 11.3097 18.8125 12 18.8125Z\"\n fill=\"#BDBDBD\"\n />\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M8.25 9.3125C8.25 7.24144 9.92894 5.5625 12 5.5625C14.0711 5.5625 15.75 7.24144 15.75 9.3125C15.75 11.1267 14.4617 12.64 12.75 12.9875V14.3125C12.75 14.7267 12.4142 15.0625 12 15.0625C11.5858 15.0625 11.25 14.7267 11.25 14.3125V12.3125C11.25 11.8983 11.5858 11.5625 12 11.5625C13.2426 11.5625 14.25 10.5551 14.25 9.3125C14.25 8.06986 13.2426 7.0625 12 7.0625C10.7574 7.0625 9.75 8.06986 9.75 9.3125C9.75 9.72671 9.41421 10.0625 9 10.0625C8.58579 10.0625 8.25 9.72671 8.25 9.3125Z\"\n fill=\"#BDBDBD\"\n />\n <rect x=\"15.5\" y=\"-0.5\" width=\"9\" height=\"9\" rx=\"4.5\" fill=\"#75DB29\" />\n <rect x=\"15.5\" y=\"-0.5\" width=\"9\" height=\"9\" rx=\"4.5\" stroke=\"#212121\" />\n </g>\n <defs>\n <clipPath id=\"clip0_69385_73795\">\n <rect width=\"24\" height=\"24\" fill=\"white\" />\n </clipPath>\n </defs>\n </svg>,\n 'NewContentIcon'\n);\n\nexport function HelpCenterIcon({ appId, helpContentUpdatedAt }) {\n const helpCenterLastOpenedAt = getLocalStorageItem('helpCenter')?.[appId];\n\n const isNewContent =\n helpContentUpdatedAt &&\n (!helpCenterLastOpenedAt || moment(helpCenterLastOpenedAt).isBefore(helpContentUpdatedAt));\n\n const Icon = isNewContent ? NewContentIcon : HelpIcon;\n return <Icon />;\n}\n"],"names":["NewContentIcon","createSvgIcon","_jsxs","width","height","viewBox","fill","xmlns","children","clipPath","_jsx","fillRule","clipRule","d","x","y","rx","stroke","id","HelpCenterIcon","_ref","_getLocalStorageItem","appId","helpContentUpdatedAt","helpCenterLastOpenedAt","getLocalStorageItem","isNewContent","moment","isBefore","HelpIcon"],"mappings":"szEAMA,IAAMA,EAAiBC,EACrBC,EAAA,MAAA,CAAKC,MAAM,KAAKC,OAAO,KAAKC,QAAQ,YAAYC,KAAK,OAAOC,MAAM,6BAA4BC,SAC5F,CAAAN,EAAA,IAAA,CAAGO,SAAS,0BAAyBD,SACnC,CAAAE,EAAA,OAAA,CACEC,SAAS,UACTC,SAAS,UACTC,EAAE,mvBACFP,KAAK,YAEPI,EAAA,OAAA,CACEC,SAAS,UACTC,SAAS,UACTC,EAAE,yLACFP,KAAK,YAEPI,EAAA,OAAA,CACEC,SAAS,UACTC,SAAS,UACTC,EAAE,keACFP,KAAK,YAEPI,EAAA,OAAA,CAAMI,EAAE,OAAOC,EAAE,OAAOZ,MAAM,IAAIC,OAAO,IAAIY,GAAG,MAAMV,KAAK,YAC3DI,EAAA,OAAA,CAAMI,EAAE,OAAOC,EAAE,OAAOZ,MAAM,IAAIC,OAAO,IAAIY,GAAG,MAAMC,OAAO,eAE/DP,EAAA,OAAA,CAAAF,SACEE,EAAA,WAAA,CAAUQ,GAAG,oBAAmBV,SAC9BE,EAAA,OAAA,CAAMP,MAAM,KAAKC,OAAO,KAAKE,KAAK,iBAIxC,kBAGK,SAASa,EAAgDC,GAAA,IAAAC,EAA/BC,IAAAA,MAAOC,IAAAA,qBAChCC,EAA0D,UAAjCC,EAAoB,qBAAa,IAAAJ,OAAA,EAAjCA,EAAoCC,GAE7DI,EACJH,KACEC,GAA0BG,EAAOH,GAAwBI,SAASL,IAGtE,OAAOb,EADMgB,EAAe1B,EAAiB6B,EAC9B,CAAA,EACjB"}
@@ -1,2 +1,2 @@
1
- import{jsxs as o,Fragment as s,jsx as c}from"react/jsx-runtime";import{useRef as n,useState as i,useEffect as t,Children as r,isValidElement as e,cloneElement as m}from"react";import p from"classnames";import l from"../Button/components/Button/index.js";import"moment-timezone";import"@material-ui/core";import"../Button/components/LiveButton/components/LiveButtonStateIndicator/index.js";import"../Button/components/LiveButton/styles.js";import{CloseIcon as a}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"../../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{Regular14 as u}from"../Typography.js";import{Popper as j}from"../Popper/Popper.js";import I from"../IconButton/index.js";import{useStyles as d}from"./styles.js";var h=function(h){var f=d(),C=n(),v=i(),F=v[0],x=v[1],b=i(),k=b[0],B=b[1];if(t((function(){setTimeout((function(){return B(h.open?h.anchorEl||C.current:void 0)}),100)})),!h.anchorEl&&r.count(h.children)>1)throw new Error("Hint expects a single reffable element as a child");var E=h.anchorEl?h.children:r.map(h.children,(function(o){return e(o)?m(o,{ref:C}):o}));return o(s,{children:[E,o(j,{className:p(f.popper,h.className),transition:!0,open:!!k,anchorEl:k,placement:h.placement,modifiers:{flip:{enabled:!0},arrow:{enabled:!!F,element:F}},children:[c("div",{ref:x,className:f.arrow}),o("div",{className:f.tooltip,children:[h.title&&c("span",{className:p(f.title,h.onClose&&f.hasClose),children:h.title}),h.onClose&&c(I,{onClick:h.onClose,className:f.close,size:"small",children:c(a,{})}),h.content&&c(u,{className:f.content,children:h.content}),h.onConfirm&&c(l,{color:"inherit",className:f.button,onClick:h.onConfirm,children:h.confirmText||"Got It"})]})]})]})};export{h as Hint};
1
+ import{jsxs as o,Fragment as s,jsx as c}from"react/jsx-runtime";import{useRef as n,useState as i,useEffect as t,Children as r,isValidElement as e,cloneElement as m}from"react";import p from"classnames";import l from"../Button/components/Button/index.js";import"moment-timezone";import"@material-ui/core";import"../Button/components/LiveButton/components/LiveButtonStateIndicator/index.js";import"../Button/components/LiveButton/styles.js";import{CloseIcon as a}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"../../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/Lasso.js";import{Regular14 as u}from"../Typography.js";import{Popper as j}from"../Popper/Popper.js";import I from"../IconButton/index.js";import{useStyles as d}from"./styles.js";var h=function(h){var f=d(),C=n(),v=i(),F=v[0],x=v[1],b=i(),k=b[0],B=b[1];if(t((function(){setTimeout((function(){return B(h.open?h.anchorEl||C.current:void 0)}),100)})),!h.anchorEl&&r.count(h.children)>1)throw new Error("Hint expects a single reffable element as a child");var E=h.anchorEl?h.children:r.map(h.children,(function(o){return e(o)?m(o,{ref:C}):o}));return o(s,{children:[E,o(j,{className:p(f.popper,h.className),transition:!0,open:!!k,anchorEl:k,placement:h.placement,modifiers:{flip:{enabled:!0},arrow:{enabled:!!F,element:F}},children:[c("div",{ref:x,className:f.arrow}),o("div",{className:f.tooltip,children:[h.title&&c("span",{className:p(f.title,h.onClose&&f.hasClose),children:h.title}),h.onClose&&c(I,{onClick:h.onClose,className:f.close,size:"small",children:c(a,{})}),h.content&&c(u,{className:f.content,children:h.content}),h.onConfirm&&c(l,{color:"inherit",className:f.button,onClick:h.onConfirm,children:h.confirmText||"Got It"})]})]})]})};export{h as Hint};
2
2
  //# sourceMappingURL=Hint.js.map