@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 +1 @@
1
- {"version":3,"file":"DevCenterIsolatedApp.js","sources":["../../../../src/components/DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedApp.js"],"sourcesContent":["import { useCallback, useContext, useEffect, useMemo, useRef, useState } from 'react';\nimport classNames from 'classnames';\nimport { withRouter } from 'react-router';\nimport { noop } from 'lodash';\nimport PropTypes from 'prop-types';\n\nimport { IsolatedPage, APP_IFRAME_ATTRIBUTE } from './IsolatedPage';\nimport { ISOLATED_PAGE_APP_CONTAINER_ID } from './constants';\n\nimport styles from './DevCenterIsolatedApp.module.css';\n\nimport AppContext from '~/components/DevCenter/AppContext';\nimport { usePermissionsContext } from '~/permissions';\nimport { devcenter as devCenterUtils, getUserUnits, subscribeForUserUnitsUpdates } from '~/utils';\nimport { DevCenterAppContainer } from '~/components/DevCenter';\nimport { isInsideNewMobileApp } from '~/utils/mobileDetect';\n\nconst PAGE_NAME = 'DevCenter_AppContainer';\n\nfunction DevCenterIsolatedAppComponent({\n isIsolationFeatureEnabled,\n onAppFullscreenTransparentMode,\n onIsMaximizedChange,\n onInnerContainerMouseEnter,\n onInnerContainerMouseLeave,\n onAppContainerClick,\n setInnerContainerRefFn,\n ...props\n}) {\n const devCenterRouter = useMemo(\n () => devCenterUtils.createDevCenterRouter(props.router),\n [props.router?.location]\n );\n\n const isNonIsolatedApp =\n (devCenterUtils.isCorvaApp(props?.app?.app) &&\n !devCenterUtils.isIsolationEnabledInPackageManifest(props?.app?.package)) ||\n !isIsolationFeatureEnabled;\n\n const DCAppComponent = isNonIsolatedApp ? DevCenterAppContainer : IsolatedPage;\n\n const appIframeDocument = useRef();\n const containerRef = useRef();\n const fixedSizeContainerRef = useRef();\n const modalModeRef = useRef(false);\n\n const isAppMaximized = devCenterUtils.isAppMaximized(props.router?.location?.query, props.app.id);\n\n // save to ref to not re-create setIsFullscreenModalMode callback on change and reduce the amoount of DC apps re-renders\n const isAppMaximizedRef = useRef(isAppMaximized);\n isAppMaximizedRef.current = isAppMaximized;\n\n const [userUnits, setUserUnits] = useState(getUserUnits());\n\n useEffect(() => {\n const unsubscribeFn = subscribeForUserUnitsUpdates(newUserUnits => setUserUnits(newUserUnits));\n\n return () => unsubscribeFn();\n }, []);\n\n const appContextValue = useContext(AppContext);\n const permissionsContextValue = usePermissionsContext();\n\n /*\n What is fullscreen modal mode?\n\n Our apps, are shown in isolated iFrames. Because of it, when an app has some modal\n and opens it - it's opened inside of its iframe, instead of opening at the center of the screen.\n\n To make app modals & other elements be opened at the center of the screen, as if they are not inside of an iframe,\n we use some hacks.\n\n When the app wants to open a fullscreen element, we make its iframe fullscreen, but with transparent background,\n and we set width/height & position of that app iframe to inner app container that is located inside of the iframe.\n So when iframe's fullscreen element is opened, it looks like it's a part of the platform, and the app which shows the element, looks like\n usual, not in fullscreen\n\n So the platform provides this setIsFullscreenModalMode function to DC apps.\n When DC app wants to open a modal that should be opened at the center of the screen - it needs to\n call setIsFullscreenModalMode(true) first. And when it closes the modal - setIsFullscreenModalMode(false)\n\n Two things are important about this\n - all these styles that make this invisible background work should be applied at once\n - enter and exit from the mode, shouldn't trigger even a single re-render, as it may impact\n some elements inside the DC app\n\n There's a second parameter to `setIsFullscreenModalMode`: `isModal`. It should be used when a fullscreen overlay is displayed\n (Modal, for instance) that should cover everything on screen.\n\n What it does - it basically sets the stretched element's z-index to a very high value, so it covers every other UI element in CWF\n */\n\n function handleAppFullscreenTransparentModeExit() {\n onAppFullscreenTransparentMode({ appId: props.app.id, isModeEnabled: false });\n document.body.classList.remove('dc-isolated-app__body-overflow', styles.compensateScroll);\n }\n\n const setIsFullscreenModalMode = useCallback(\n function setIsFullscreenModalMode(nextIsFullscreenModalModeValue, isModal = false) {\n // When an app is already in fullscreen mode, no need to use this\n // invisible fullscreen mode to make elements take the whole screen\n\n if (\n !isIsolationFeatureEnabled ||\n isNonIsolatedApp ||\n (isAppMaximizedRef.current && !modalModeRef.current) ||\n modalModeRef.current === nextIsFullscreenModalModeValue\n ) {\n return;\n }\n\n const classesEditMethod = nextIsFullscreenModalModeValue ? 'add' : 'remove';\n\n containerRef.current?.classList[classesEditMethod](styles.containerMaximizedTransparent);\n\n if (isModal || classesEditMethod === 'remove') {\n containerRef.current?.classList[classesEditMethod](\n styles.containerMaximizedTransparentModal\n );\n }\n\n appIframeDocument.current = containerRef.current?.querySelector(\n `[${APP_IFRAME_ATTRIBUTE}]`\n )?.contentWindow?.document;\n\n const isolatedPageAppContainer = appIframeDocument.current?.getElementById(\n ISOLATED_PAGE_APP_CONTAINER_ID\n );\n\n if (!isolatedPageAppContainer) {\n return;\n }\n\n if (nextIsFullscreenModalModeValue) {\n const { top, left, width, height } = fixedSizeContainerRef.current.getBoundingClientRect();\n\n // We need to directly set inner iFrame container sizes together with DC platform styles\n // as passing this as props and using some effect inside of an iframe\n // results in a slight delay, which looks like a quick layout jump\n isolatedPageAppContainer.setAttribute(\n 'style',\n `\n top: ${top}px;\n left: ${left}px;\n width: ${width}px;\n height: ${height}px;\n position: absolute;\n `\n );\n onAppFullscreenTransparentMode({ appId: props.app.id, isModeEnabled: true });\n const isBodyScrollVisible = window.innerWidth !== document.body.clientWidth;\n document.body.classList.add(\n 'dc-isolated-app__body-overflow',\n isBodyScrollVisible && styles.compensateScroll\n );\n } else {\n isolatedPageAppContainer.setAttribute('style', '');\n handleAppFullscreenTransparentModeExit();\n }\n modalModeRef.current = nextIsFullscreenModalModeValue;\n },\n [isIsolationFeatureEnabled, isNonIsolatedApp, isAppMaximizedRef]\n );\n\n useEffect(() => {\n return handleAppFullscreenTransparentModeExit;\n }, []);\n\n useEffect(() => {\n if (isAppMaximized && modalModeRef.current) {\n setIsFullscreenModalMode(false);\n }\n }, [isAppMaximized]);\n\n /**\n * This should be the same function as calling react-intersection-observer's ref setter actually triggers re-render.\n * Which in its turn causes infinite re-render loop.\n */\n const setContainerRefs = useCallback(node => {\n containerRef.current = node;\n setInnerContainerRefFn(node);\n }, []);\n\n return (\n <div\n className={classNames('dc-isolated-app', styles.fixedSizeContainer)}\n ref={fixedSizeContainerRef}\n >\n <div\n ref={setContainerRefs}\n onMouseEnter={onInnerContainerMouseEnter}\n onMouseLeave={onInnerContainerMouseLeave}\n data-testid={`${PAGE_NAME}_${props.app.app.name}`}\n className={classNames(\n styles.container,\n isInsideNewMobileApp && styles.newMobileAppContainer,\n isAppMaximized && styles.containerMaximized\n )}\n >\n <DCAppComponent\n {...props}\n appContextValue={appContextValue}\n devCenterRouter={devCenterRouter}\n globalNotificationToastsAPI={window[Symbol.for('notificationToasts')]}\n globalMixpanelEventTracker={window[Symbol.for('logToMixpanel')]}\n onAppContainerClick={onAppContainerClick}\n onIsMaximizedChange={onIsMaximizedChange}\n permissionsContextValue={permissionsContextValue}\n setIsFullscreenModalMode={setIsFullscreenModalMode}\n userUnits={userUnits}\n />\n </div>\n </div>\n );\n}\n\nDevCenterIsolatedAppComponent.propTypes = {\n app: PropTypes.shape({\n id: PropTypes.number,\n app: PropTypes.shape({\n name: PropTypes.string,\n }),\n }).isRequired,\n currentUser: PropTypes.shape({}).isRequired,\n isIsolationFeatureEnabled: PropTypes.bool,\n onAppContainerClick: PropTypes.func,\n onAppFullscreenTransparentMode: PropTypes.func,\n onAppRemove: PropTypes.func,\n onInnerContainerMouseEnter: PropTypes.func,\n onInnerContainerMouseLeave: PropTypes.func,\n onIsMaximizedChange: PropTypes.func,\n onSettingChange: PropTypes.func,\n onSettingsChange: PropTypes.func,\n setInnerContainerRefFn: PropTypes.func,\n updateCurrentDashboardAppLastAnnotation: PropTypes.func,\n};\n\nDevCenterIsolatedAppComponent.defaultProps = {\n isIsolationFeatureEnabled: false,\n onAppContainerClick: noop,\n onAppFullscreenTransparentMode: noop,\n onAppRemove: noop,\n onInnerContainerMouseEnter: noop,\n onInnerContainerMouseLeave: noop,\n onIsMaximizedChange: noop,\n onSettingChange: noop,\n onSettingsChange: noop,\n setInnerContainerRefFn: noop,\n updateCurrentDashboardAppLastAnnotation: noop,\n};\n\nexport const DevCenterIsolatedApp = withRouter(DevCenterIsolatedAppComponent);\n"],"names":["DevCenterIsolatedAppComponent","_ref","_props$router","_props$app","_props$app2","_props$router2","_props$router2$locati","isIsolationFeatureEnabled","onAppFullscreenTransparentMode","onIsMaximizedChange","onInnerContainerMouseEnter","onInnerContainerMouseLeave","onAppContainerClick","setInnerContainerRefFn","props","_objectWithoutProperties","_excluded","devCenterRouter","useMemo","devCenterUtils","router","location","isNonIsolatedApp","app","package","DCAppComponent","DevCenterAppContainer","IsolatedPage","appIframeDocument","useRef","containerRef","fixedSizeContainerRef","modalModeRef","isAppMaximized","query","id","isAppMaximizedRef","current","_useState","useState","getUserUnits","_useState2","_slicedToArray","userUnits","setUserUnits","useEffect","unsubscribeFn","subscribeForUserUnitsUpdates","newUserUnits","appContextValue","useContext","AppContext","permissionsContextValue","usePermissionsContext","handleAppFullscreenTransparentModeExit","appId","isModeEnabled","document","body","classList","remove","styles","compensateScroll","setIsFullscreenModalMode","useCallback","nextIsFullscreenModalModeValue","_containerRef$current","_containerRef$current3","_containerRef$current4","_containerRef$current5","_appIframeDocument$cu","isModal","_containerRef$current2","classesEditMethod","containerMaximizedTransparent","containerMaximizedTransparentModal","querySelector","concat","APP_IFRAME_ATTRIBUTE","contentWindow","isolatedPageAppContainer","getElementById","ISOLATED_PAGE_APP_CONTAINER_ID","_fixedSizeContainerRe","getBoundingClientRect","top","left","width","height","setAttribute","isBodyScrollVisible","window","innerWidth","clientWidth","add","setContainerRefs","node","_jsx","className","classNames","fixedSizeContainer","ref","children","onMouseEnter","onMouseLeave","PAGE_NAME","name","container","isInsideNewMobileApp","newMobileAppContainer","containerMaximized","_objectSpread","globalNotificationToastsAPI","Symbol","for","globalMixpanelEventTracker","propTypes","PropTypes","shape","number","string","isRequired","currentUser","bool","func","onAppRemove","onSettingChange","onSettingsChange","updateCurrentDashboardAppLastAnnotation","defaultProps","noop","DevCenterIsolatedApp","withRouter"],"mappings":"kiFAmBA,SAASA,EASNC,GAAA,IAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EARDC,IAAAA,0BACAC,IAAAA,+BACAC,IAAAA,oBACAC,IAAAA,2BACAC,IAAAA,2BACAC,IAAAA,oBACAC,IAAAA,uBACGC,EAAKC,EAAAd,EAAAe,GAEFC,EAAkBC,GACtB,WAAA,OAAMC,EAAqCL,EAAMM,OACjD,GAAA,SAAAlB,EAACY,EAAMM,2BAANlB,EAAcmB,WAGXC,EACHH,EAA0BL,SAAA,QAAKX,EAALW,EAAOS,WAAP,IAAApB,OAAK,EAALA,EAAYoB,OACpCJ,EAAmDL,iBAAAA,EAAAA,EAAOS,sBAAPT,EAAAV,EAAYoB,WACjEjB,EAEGkB,EAAiBH,EAAmBI,EAAwBC,EAE5DC,EAAoBC,IACpBC,EAAeD,IACfE,EAAwBF,IACxBG,EAAeH,GAAO,GAEtBI,EAAiBd,EAA0C,QAAZL,EAAAA,EAAMM,cAAM,IAAAf,GAAU,QAAVC,EAAZD,EAAcgB,gBAAQ,IAAAf,OAAV,EAAZA,EAAwB4B,MAAOpB,EAAMS,IAAIY,IAGxFC,EAAoBP,EAAOI,GACjCG,EAAkBC,QAAUJ,EAE5B,IAAAK,EAAkCC,EAASC,KAAeC,EAAAC,EAAAJ,EAAA,GAAnDK,EAASF,EAAA,GAAEG,EAAYH,EAAA,GAE9BI,GAAU,WACR,IAAMC,EAAgBC,GAA6B,SAAAC,GAAY,OAAIJ,EAAaI,MAEhF,OAAO,WAAA,OAAMF,GAAe,CAC7B,GAAE,IAEH,IAAMG,EAAkBC,EAAWC,GAC7BC,GAA0BC,IA+BhC,SAASC,KACP9C,EAA+B,CAAE+C,MAAOzC,EAAMS,IAAIY,GAAIqB,eAAe,IACrEC,SAASC,KAAKC,UAAUC,OAAO,iCAAkCC,EAAOC,iBAC1E,CAEA,IAAMC,GAA2BC,GAC/B,SAAkCC,GAAiD,IAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAAjBC,0DAIhE,GACGhE,IACDe,KACCc,EAAkBC,SAAYL,EAAaK,UAC5CL,EAAaK,UAAY4B,EAJ3B,CASA,IAI+CO,EAJzCC,EAAoBR,EAAiC,MAAQ,SAInE,GAFoB,QAApBC,EAAApC,EAAaO,eAAO,IAAA6B,GAApBA,EAAsBP,UAAUc,GAAmBZ,EAAOa,+BAEtDH,GAAiC,WAAtBE,EACO,QAApBD,EAAA1C,EAAaO,eAAO,IAAAmC,GAApBA,EAAsBb,UAAUc,GAC9BZ,EAAOc,oCAIX/C,EAAkBS,QAAU,QAAH8B,EAAGrC,EAAaO,eAAb,IAAA8B,GAE3B,QAF2BC,EAAAD,EAAsBS,cAAa,IAAAC,OACzDC,EACL,aAAA,IAAAV,GAAe,QAAfC,EAF2BD,EAEzBW,qBAAa,IAAAV,OAFY,EAAAA,EAEVZ,SAElB,IAAMuB,UAA2BpD,EAAAA,EAAkBS,4BAAlBiC,EAA2BW,eAC1DC,GAGF,GAAKF,EAAL,CAIA,GAAIf,EAAgC,CAClC,IAAAkB,EAAqCpD,EAAsBM,QAAQ+C,wBAA3DC,IAAAA,IAAKC,IAAAA,KAAMC,IAAAA,MAAOC,IAAAA,OAK1BR,EAAyBS,aACvB,QAEKJ,kBAAAA,OAAAA,EACCC,uBAAAA,OAAAA,EACCC,wBAAAA,OAAAA,EACCC,yBAAAA,OAAAA,EAGT,6CACDhF,EAA+B,CAAE+C,MAAOzC,EAAMS,IAAIY,GAAIqB,eAAe,IACrE,IAAMkC,EAAsBC,OAAOC,aAAenC,SAASC,KAAKmC,YAChEpC,SAASC,KAAKC,UAAUmC,IACtB,iCACAJ,GAAuB7B,EAAOC,iBAElC,MACEkB,EAAyBS,aAAa,QAAS,IAC/CnC,KAEFtB,EAAaK,QAAU4B,CA5BvB,CAtBA,CAmDD,GACD,CAAC1D,EAA2Be,EAAkBc,IAGhDS,GAAU,WACR,OAAOS,EACR,GAAE,IAEHT,GAAU,WACJZ,GAAkBD,EAAaK,SACjC0B,IAAyB,EAE7B,GAAG,CAAC9B,IAMJ,IAAM8D,GAAmB/B,GAAY,SAAAgC,GACnClE,EAAaO,QAAU2D,EACvBnF,EAAuBmF,EACxB,GAAE,IAEH,OACEC,EAAA,MAAA,CACEC,UAAWC,EAAW,kBAAmBtC,EAAOuC,oBAChDC,IAAKtE,EAAsBuE,SAE3BL,EAAA,MAAA,CACEI,IAAKN,GACLQ,aAAc7F,EACd8F,aAAc7F,EACd,cAAgB8F,GAAAA,OA/KN,qCA+KmB3F,EAAMS,IAAIA,IAAImF,MAC3CR,UAAWC,EACTtC,EAAO8C,UACPC,GAAwB/C,EAAOgD,sBAC/B5E,GAAkB4B,EAAOiD,oBACzBR,SAEFL,EAACxE,EAAcsF,EAAAA,EAAA,GACTjG,GAAK,GAAA,CACTmC,gBAAiBA,EACjBhC,gBAAiBA,EACjB+F,4BAA6BrB,OAAOsB,OAAOC,IAAI,uBAC/CC,2BAA4BxB,OAAOsB,OAAOC,IAAI,kBAC9CtG,oBAAqBA,EACrBH,oBAAqBA,EACrB2C,wBAAyBA,GACzBW,yBAA0BA,GAC1BpB,UAAWA,QAKrB,CAEA3C,EAA8BoH,UAAY,CACxC7F,IAAK8F,EAAUC,MAAM,CACnBnF,GAAIkF,EAAUE,OACdhG,IAAK8F,EAAUC,MAAM,CACnBZ,KAAMW,EAAUG,WAEjBC,WACHC,YAAaL,EAAUC,MAAM,CAAA,GAAIG,WACjClH,0BAA2B8G,EAAUM,KACrC/G,oBAAqByG,EAAUO,KAC/BpH,+BAAgC6G,EAAUO,KAC1CC,YAAaR,EAAUO,KACvBlH,2BAA4B2G,EAAUO,KACtCjH,2BAA4B0G,EAAUO,KACtCnH,oBAAqB4G,EAAUO,KAC/BE,gBAAiBT,EAAUO,KAC3BG,iBAAkBV,EAAUO,KAC5B/G,uBAAwBwG,EAAUO,KAClCI,wCAAyCX,EAAUO,MAGrD5H,EAA8BiI,aAAe,CAC3C1H,2BAA2B,EAC3BK,oBAAqBsH,EACrB1H,+BAAgC0H,EAChCL,YAAaK,EACbxH,2BAA4BwH,EAC5BvH,2BAA4BuH,EAC5BzH,oBAAqByH,EACrBJ,gBAAiBI,EACjBH,iBAAkBG,EAClBrH,uBAAwBqH,EACxBF,wCAAyCE,OAG9BC,EAAuBC,EAAWpI"}
1
+ {"version":3,"file":"DevCenterIsolatedApp.js","sources":["../../../../src/components/DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedApp.js"],"sourcesContent":["import { useCallback, useContext, useEffect, useMemo, useRef, useState } from 'react';\nimport classNames from 'classnames';\nimport { withRouter } from 'react-router';\nimport { noop } from 'lodash';\nimport PropTypes from 'prop-types';\n\nimport { IsolatedPage, APP_IFRAME_ATTRIBUTE } from './IsolatedPage';\nimport { ISOLATED_PAGE_APP_CONTAINER_ID } from './constants';\n\nimport styles from './DevCenterIsolatedApp.module.css';\n\nimport AppContext from '~/components/DevCenter/AppContext';\nimport { usePermissionsContext } from '~/permissions';\nimport { devcenter as devCenterUtils, getUserUnits, subscribeForUserUnitsUpdates } from '~/utils';\nimport { DevCenterAppContainer } from '~/components/DevCenter';\nimport { isInsideNewMobileApp } from '~/utils/mobileDetect';\n\nconst PAGE_NAME = 'DevCenter_AppContainer';\n\nfunction DevCenterIsolatedAppComponent({\n isIsolationFeatureEnabled,\n onAppFullscreenTransparentMode,\n onIsMaximizedChange,\n onInnerContainerMouseEnter,\n onInnerContainerMouseLeave,\n onAppContainerClick,\n setInnerContainerRefFn,\n ...props\n}) {\n const devCenterRouter = useMemo(\n () => devCenterUtils.createDevCenterRouter(props.router),\n [props.router?.location]\n );\n\n const isNonIsolatedApp =\n (devCenterUtils.isCorvaApp(props?.app?.app) &&\n !devCenterUtils.isIsolationEnabledInPackageManifest(props?.app?.package)) ||\n !isIsolationFeatureEnabled;\n\n const DCAppComponent = isNonIsolatedApp ? DevCenterAppContainer : IsolatedPage;\n\n const appIframeDocument = useRef();\n const containerRef = useRef();\n const fixedSizeContainerRef = useRef();\n const fullscreenModeRef = useRef(false);\n const fullscreenModalModeRef = useRef(false);\n\n const isAppMaximized = devCenterUtils.isAppMaximized(props.router?.location?.query, props.app.id);\n\n // save to ref to not re-create setIsFullscreenModalMode callback on change and reduce the amoount of DC apps re-renders\n const isAppMaximizedRef = useRef(isAppMaximized);\n isAppMaximizedRef.current = isAppMaximized;\n\n const [userUnits, setUserUnits] = useState(getUserUnits());\n\n useEffect(() => {\n const unsubscribeFn = subscribeForUserUnitsUpdates(newUserUnits => setUserUnits(newUserUnits));\n\n return () => unsubscribeFn();\n }, []);\n\n const appContextValue = useContext(AppContext);\n const permissionsContextValue = usePermissionsContext();\n\n /*\n What is fullscreen modal mode?\n\n Our apps, are shown in isolated iFrames. Because of it, when an app has some modal\n and opens it - it's opened inside of its iframe, instead of opening at the center of the screen.\n\n To make app modals & other elements be opened at the center of the screen, as if they are not inside of an iframe,\n we use some hacks.\n\n When the app wants to open a fullscreen element, we make its iframe fullscreen, but with transparent background,\n and we set width/height & position of that app iframe to inner app container that is located inside of the iframe.\n So when iframe's fullscreen element is opened, it looks like it's a part of the platform, and the app which shows the element, looks like\n usual, not in fullscreen\n\n So the platform provides this setIsFullscreenModalMode function to DC apps.\n When DC app wants to open a modal that should be opened at the center of the screen - it needs to\n call setIsFullscreenModalMode(true) first. And when it closes the modal - setIsFullscreenModalMode(false)\n\n Two things are important about this\n - all these styles that make this invisible background work should be applied at once\n - enter and exit from the mode, shouldn't trigger even a single re-render, as it may impact\n some elements inside the DC app\n\n There's a second parameter to `setIsFullscreenModalMode`: `isModal`. It should be used when a fullscreen overlay is displayed\n (Modal, for instance) that should cover everything on screen.\n\n What it does - it basically sets the stretched element's z-index to a very high value, so it covers every other UI element in CWF\n */\n\n function handleAppFullscreenTransparentModeExit() {\n onAppFullscreenTransparentMode({ appId: props.app.id, isModeEnabled: false });\n document.body.classList.remove('dc-isolated-app__body-overflow', styles.compensateScroll);\n }\n\n const setIsFullscreenModalMode = useCallback(\n function setIsFullscreenModalMode(nextIsFullscreenModalModeValue, isModal = false) {\n // When an app is already in fullscreen mode, no need to use this\n // invisible fullscreen mode to make elements take the whole screen\n\n if (\n !isIsolationFeatureEnabled ||\n isNonIsolatedApp ||\n (isAppMaximizedRef.current && !fullscreenModeRef.current) ||\n fullscreenModeRef.current === nextIsFullscreenModalModeValue\n ) {\n // Adding modal class if modal is opened when non-modal is already open\n if (isModal && fullscreenModalModeRef.current !== isModal) {\n fullscreenModalModeRef.current = isModal;\n containerRef.current?.classList.add(styles.containerMaximizedTransparentModal);\n }\n\n return;\n }\n\n const classesEditMethod = nextIsFullscreenModalModeValue ? 'add' : 'remove';\n\n containerRef.current?.classList[classesEditMethod](styles.containerMaximizedTransparent);\n\n if (isModal || classesEditMethod === 'remove') {\n containerRef.current?.classList[classesEditMethod](\n styles.containerMaximizedTransparentModal\n );\n }\n\n appIframeDocument.current = containerRef.current?.querySelector(\n `[${APP_IFRAME_ATTRIBUTE}]`\n )?.contentWindow?.document;\n\n const isolatedPageAppContainer = appIframeDocument.current?.getElementById(\n ISOLATED_PAGE_APP_CONTAINER_ID\n );\n\n if (!isolatedPageAppContainer) {\n return;\n }\n\n if (nextIsFullscreenModalModeValue) {\n const { top, left, width, height } = fixedSizeContainerRef.current.getBoundingClientRect();\n\n // We need to directly set inner iFrame container sizes together with DC platform styles\n // as passing this as props and using some effect inside of an iframe\n // results in a slight delay, which looks like a quick layout jump\n isolatedPageAppContainer.setAttribute(\n 'style',\n `\n top: ${top}px;\n left: ${left}px;\n width: ${width}px;\n height: ${height}px;\n position: absolute;\n `\n );\n onAppFullscreenTransparentMode({ appId: props.app.id, isModeEnabled: true });\n const isBodyScrollVisible = window.innerWidth !== document.body.clientWidth;\n document.body.classList.add(\n 'dc-isolated-app__body-overflow',\n isBodyScrollVisible && styles.compensateScroll\n );\n } else {\n isolatedPageAppContainer.setAttribute('style', '');\n handleAppFullscreenTransparentModeExit();\n }\n fullscreenModeRef.current = nextIsFullscreenModalModeValue;\n fullscreenModalModeRef.current = isModal;\n },\n [isIsolationFeatureEnabled, isNonIsolatedApp, isAppMaximizedRef]\n );\n\n useEffect(() => {\n return handleAppFullscreenTransparentModeExit;\n }, []);\n\n useEffect(() => {\n if (isAppMaximized && fullscreenModeRef.current) {\n setIsFullscreenModalMode(false);\n }\n }, [isAppMaximized]);\n\n /**\n * This should be the same function as calling react-intersection-observer's ref setter actually triggers re-render.\n * Which in its turn causes infinite re-render loop.\n */\n const setContainerRefs = useCallback(node => {\n containerRef.current = node;\n setInnerContainerRefFn(node);\n }, []);\n\n return (\n <div\n className={classNames('dc-isolated-app', styles.fixedSizeContainer)}\n ref={fixedSizeContainerRef}\n >\n <div\n ref={setContainerRefs}\n onMouseEnter={onInnerContainerMouseEnter}\n onMouseLeave={onInnerContainerMouseLeave}\n data-testid={`${PAGE_NAME}_${props.app.app.name}`}\n className={classNames(\n styles.container,\n isInsideNewMobileApp && styles.newMobileAppContainer,\n isAppMaximized && styles.containerMaximized\n )}\n >\n <DCAppComponent\n {...props}\n appContextValue={appContextValue}\n devCenterRouter={devCenterRouter}\n globalNotificationToastsAPI={window[Symbol.for('notificationToasts')]}\n globalMixpanelEventTracker={window[Symbol.for('logToMixpanel')]}\n onAppContainerClick={onAppContainerClick}\n onIsMaximizedChange={onIsMaximizedChange}\n permissionsContextValue={permissionsContextValue}\n setIsFullscreenModalMode={setIsFullscreenModalMode}\n userUnits={userUnits}\n />\n </div>\n </div>\n );\n}\n\nDevCenterIsolatedAppComponent.propTypes = {\n app: PropTypes.shape({\n id: PropTypes.number,\n app: PropTypes.shape({\n name: PropTypes.string,\n }),\n }).isRequired,\n currentUser: PropTypes.shape({}).isRequired,\n isIsolationFeatureEnabled: PropTypes.bool,\n onAppContainerClick: PropTypes.func,\n onAppFullscreenTransparentMode: PropTypes.func,\n onAppRemove: PropTypes.func,\n onInnerContainerMouseEnter: PropTypes.func,\n onInnerContainerMouseLeave: PropTypes.func,\n onIsMaximizedChange: PropTypes.func,\n onSettingChange: PropTypes.func,\n onSettingsChange: PropTypes.func,\n setInnerContainerRefFn: PropTypes.func,\n updateCurrentDashboardAppLastAnnotation: PropTypes.func,\n};\n\nDevCenterIsolatedAppComponent.defaultProps = {\n isIsolationFeatureEnabled: false,\n onAppContainerClick: noop,\n onAppFullscreenTransparentMode: noop,\n onAppRemove: noop,\n onInnerContainerMouseEnter: noop,\n onInnerContainerMouseLeave: noop,\n onIsMaximizedChange: noop,\n onSettingChange: noop,\n onSettingsChange: noop,\n setInnerContainerRefFn: noop,\n updateCurrentDashboardAppLastAnnotation: noop,\n};\n\nexport const DevCenterIsolatedApp = withRouter(DevCenterIsolatedAppComponent);\n"],"names":["DevCenterIsolatedAppComponent","_ref","_props$router","_props$app","_props$app2","_props$router2","_props$router2$locati","isIsolationFeatureEnabled","onAppFullscreenTransparentMode","onIsMaximizedChange","onInnerContainerMouseEnter","onInnerContainerMouseLeave","onAppContainerClick","setInnerContainerRefFn","props","_objectWithoutProperties","_excluded","devCenterRouter","useMemo","devCenterUtils","router","location","isNonIsolatedApp","app","package","DCAppComponent","DevCenterAppContainer","IsolatedPage","appIframeDocument","useRef","containerRef","fixedSizeContainerRef","fullscreenModeRef","fullscreenModalModeRef","isAppMaximized","query","id","isAppMaximizedRef","current","_useState","useState","getUserUnits","_useState2","_slicedToArray","userUnits","setUserUnits","useEffect","unsubscribeFn","subscribeForUserUnitsUpdates","newUserUnits","appContextValue","useContext","AppContext","permissionsContextValue","usePermissionsContext","handleAppFullscreenTransparentModeExit","appId","isModeEnabled","document","body","classList","remove","styles","compensateScroll","setIsFullscreenModalMode","useCallback","nextIsFullscreenModalModeValue","_containerRef$current2","_containerRef$current4","_containerRef$current5","_containerRef$current6","_appIframeDocument$cu","isModal","_containerRef$current","add","containerMaximizedTransparentModal","_containerRef$current3","classesEditMethod","containerMaximizedTransparent","querySelector","concat","APP_IFRAME_ATTRIBUTE","contentWindow","isolatedPageAppContainer","getElementById","ISOLATED_PAGE_APP_CONTAINER_ID","_fixedSizeContainerRe","getBoundingClientRect","top","left","width","height","setAttribute","isBodyScrollVisible","window","innerWidth","clientWidth","setContainerRefs","node","_jsx","className","classNames","fixedSizeContainer","ref","children","onMouseEnter","onMouseLeave","PAGE_NAME","name","container","isInsideNewMobileApp","newMobileAppContainer","containerMaximized","_objectSpread","globalNotificationToastsAPI","Symbol","for","globalMixpanelEventTracker","propTypes","PropTypes","shape","number","string","isRequired","currentUser","bool","func","onAppRemove","onSettingChange","onSettingsChange","updateCurrentDashboardAppLastAnnotation","defaultProps","noop","DevCenterIsolatedApp","withRouter"],"mappings":"kiFAmBA,SAASA,EASNC,GAAA,IAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EARDC,IAAAA,0BACAC,IAAAA,+BACAC,IAAAA,oBACAC,IAAAA,2BACAC,IAAAA,2BACAC,IAAAA,oBACAC,IAAAA,uBACGC,EAAKC,EAAAd,EAAAe,GAEFC,EAAkBC,GACtB,WAAA,OAAMC,EAAqCL,EAAMM,OACjD,GAAA,SAAAlB,EAACY,EAAMM,2BAANlB,EAAcmB,WAGXC,EACHH,EAA0BL,SAAA,QAAKX,EAALW,EAAOS,WAAP,IAAApB,OAAK,EAALA,EAAYoB,OACpCJ,EAAmDL,iBAAAA,EAAAA,EAAOS,sBAAPT,EAAAV,EAAYoB,WACjEjB,EAEGkB,EAAiBH,EAAmBI,EAAwBC,EAE5DC,EAAoBC,IACpBC,EAAeD,IACfE,EAAwBF,IACxBG,EAAoBH,GAAO,GAC3BI,EAAyBJ,GAAO,GAEhCK,EAAiBf,EAA0C,QAAZL,EAAAA,EAAMM,cAAM,IAAAf,GAAU,QAAVC,EAAZD,EAAcgB,gBAAQ,IAAAf,OAAV,EAAZA,EAAwB6B,MAAOrB,EAAMS,IAAIa,IAGxFC,EAAoBR,EAAOK,GACjCG,EAAkBC,QAAUJ,EAE5B,IAAAK,EAAkCC,EAASC,KAAeC,EAAAC,EAAAJ,EAAA,GAAnDK,EAASF,EAAA,GAAEG,EAAYH,EAAA,GAE9BI,GAAU,WACR,IAAMC,EAAgBC,GAA6B,SAAAC,GAAY,OAAIJ,EAAaI,MAEhF,OAAO,WAAA,OAAMF,GAAe,CAC7B,GAAE,IAEH,IAAMG,GAAkBC,EAAWC,GAC7BC,GAA0BC,IA+BhC,SAASC,KACP/C,EAA+B,CAAEgD,MAAO1C,EAAMS,IAAIa,GAAIqB,eAAe,IACrEC,SAASC,KAAKC,UAAUC,OAAO,iCAAkCC,EAAOC,iBAC1E,CAEA,IAAMC,GAA2BC,GAC/B,SAAkCC,GAAiD,IAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAAjBC,0DAIhE,IACGjE,GACDe,GACCe,EAAkBC,UAAYN,EAAkBM,SACjDN,EAAkBM,UAAY4B,EAJhC,CAO6D,IAAAO,EAAvDD,GAAWvC,EAAuBK,UAAYkC,IAChDvC,EAAuBK,QAAUkC,EACb,QAApBC,EAAA3C,EAAaQ,eAAO,IAAAmC,GAApBA,EAAsBb,UAAUc,IAAIZ,EAAOa,oCAI/C,KAbA,CAeA,IAI+CC,EAJzCC,EAAoBX,EAAiC,MAAQ,SAInE,GAFoB,QAApBC,EAAArC,EAAaQ,eAAO,IAAA6B,GAApBA,EAAsBP,UAAUiB,GAAmBf,EAAOgB,+BAEtDN,GAAiC,WAAtBK,EACO,QAApBD,EAAA9C,EAAaQ,eAAO,IAAAsC,GAApBA,EAAsBhB,UAAUiB,GAC9Bf,EAAOa,oCAIX/C,EAAkBU,QAAU,QAAH8B,EAAGtC,EAAaQ,eAAb,IAAA8B,GAE3B,QAF2BC,EAAAD,EAAsBW,cAAa,IAAAC,OACzDC,EACL,aAAA,IAAAZ,GAAe,QAAfC,EAF2BD,EAEzBa,qBAAa,IAAAZ,OAFY,EAAAA,EAEVZ,SAElB,IAAMyB,UAA2BvD,EAAAA,EAAkBU,4BAAlBiC,EAA2Ba,eAC1DC,GAGF,GAAKF,EAAL,CAIA,GAAIjB,EAAgC,CAClC,IAAAoB,EAAqCvD,EAAsBO,QAAQiD,wBAA3DC,IAAAA,IAAKC,IAAAA,KAAMC,IAAAA,MAAOC,IAAAA,OAK1BR,EAAyBS,aACvB,QAEKJ,kBAAAA,OAAAA,EACCC,uBAAAA,OAAAA,EACCC,wBAAAA,OAAAA,EACCC,yBAAAA,OAAAA,EAGT,6CACDnF,EAA+B,CAAEgD,MAAO1C,EAAMS,IAAIa,GAAIqB,eAAe,IACrE,IAAMoC,EAAsBC,OAAOC,aAAerC,SAASC,KAAKqC,YAChEtC,SAASC,KAAKC,UAAUc,IACtB,iCACAmB,GAAuB/B,EAAOC,iBAElC,MACEoB,EAAyBS,aAAa,QAAS,IAC/CrC,KAEFvB,EAAkBM,QAAU4B,EAC5BjC,EAAuBK,QAAUkC,CA7BjC,CAtBA,CAoDD,GACD,CAACjE,EAA2Be,EAAkBe,IAGhDS,GAAU,WACR,OAAOS,EACR,GAAE,IAEHT,GAAU,WACJZ,GAAkBF,EAAkBM,SACtC0B,IAAyB,EAE7B,GAAG,CAAC9B,IAMJ,IAAM+D,GAAmBhC,GAAY,SAAAiC,GACnCpE,EAAaQ,QAAU4D,EACvBrF,EAAuBqF,EACxB,GAAE,IAEH,OACEC,EAAA,MAAA,CACEC,UAAWC,EAAW,kBAAmBvC,EAAOwC,oBAChDC,IAAKxE,EAAsByE,SAE3BL,EAAA,MAAA,CACEI,IAAKN,GACLQ,aAAc/F,EACdgG,aAAc/F,EACd,cAAgBgG,GAAAA,OAvLN,qCAuLmB7F,EAAMS,IAAIA,IAAIqF,MAC3CR,UAAWC,EACTvC,EAAO+C,UACPC,GAAwBhD,EAAOiD,sBAC/B7E,GAAkB4B,EAAOkD,oBACzBR,SAEFL,EAAC1E,EAAcwF,EAAAA,EAAA,GACTnG,GAAK,GAAA,CACToC,gBAAiBA,GACjBjC,gBAAiBA,EACjBiG,4BAA6BpB,OAAOqB,OAAOC,IAAI,uBAC/CC,2BAA4BvB,OAAOqB,OAAOC,IAAI,kBAC9CxG,oBAAqBA,EACrBH,oBAAqBA,EACrB4C,wBAAyBA,GACzBW,yBAA0BA,GAC1BpB,UAAWA,QAKrB,CAEA5C,EAA8BsH,UAAY,CACxC/F,IAAKgG,EAAUC,MAAM,CACnBpF,GAAImF,EAAUE,OACdlG,IAAKgG,EAAUC,MAAM,CACnBZ,KAAMW,EAAUG,WAEjBC,WACHC,YAAaL,EAAUC,MAAM,CAAA,GAAIG,WACjCpH,0BAA2BgH,EAAUM,KACrCjH,oBAAqB2G,EAAUO,KAC/BtH,+BAAgC+G,EAAUO,KAC1CC,YAAaR,EAAUO,KACvBpH,2BAA4B6G,EAAUO,KACtCnH,2BAA4B4G,EAAUO,KACtCrH,oBAAqB8G,EAAUO,KAC/BE,gBAAiBT,EAAUO,KAC3BG,iBAAkBV,EAAUO,KAC5BjH,uBAAwB0G,EAAUO,KAClCI,wCAAyCX,EAAUO,MAGrD9H,EAA8BmI,aAAe,CAC3C5H,2BAA2B,EAC3BK,oBAAqBwH,EACrB5H,+BAAgC4H,EAChCL,YAAaK,EACb1H,2BAA4B0H,EAC5BzH,2BAA4ByH,EAC5B3H,oBAAqB2H,EACrBJ,gBAAiBI,EACjBH,iBAAkBG,EAClBvH,uBAAwBuH,EACxBF,wCAAyCE,OAG9BC,EAAuBC,EAAWtI"}
@@ -1,2 +1,2 @@
1
- import o from"@babel/runtime/helpers/defineProperty";import s from"@babel/runtime/helpers/objectWithoutProperties";import{useEffect as t,useRef as n}from"react";import i from"prop-types";import{makeStyles as e}from"@material-ui/core";import r from"classnames";import c from"moment-timezone";import{useXProps as m}from"./effects/useXProps.js";import{ISOLATED_PAGE_APP_CONTAINER_ID as p}from"./constants.js";import{replaceUndefinedValuesWithNull as l}from"./utils/replaceUndefinedValuesWithNull.js";import{getDashboardCapturingHandler as a}from"./utils/dashboardCapturing.js";import{IsInsideIsolatedDcAppProvider as u}from"../DevCenterAppContainer/components/IsInsideIsolatedDcAppProvider/IsInsideIsolatedDcAppProvider.js";import j from"../DevCenterAppContainer/DevCenterAppContainer.js";import{jsx as d}from"react/jsx-runtime";import"@icon-park/react/es/all";import{IconParkProvider as I}from"../../../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 f from"../../../hocs/withMUIProvidersHOC.js";import"../../../hocs/withAssetEditorLockHOC.js";import g from"../AppContext.js";import{THEMES as C}from"../../../constants/theme.js";import{LOCAL_STORAGE_APP_THEME_KEY as h}from"../../../CLI/hocs/constants.js";import{setThemeVariables as b}from"../../../utils/themeVariables.js";import{isPDFReportView as v}from"../../../CLI/hocs/utils.js";import{PermissionsContext as A}from"../../../permissions/PermissionsContext.js";import{updateUserUnits as P}from"../../../utils/index.js";import"../../../styles/iconPark.global.css.js";import"../../../styles/index.global.css.js";import"../../../styles/reactVirtualized.global.css.js";import"../../../styles/emojiMart.global.css.js";import"../../../styles/mapbox.global.css.js";import"../../../styles/lightbox.global.css.js";import"../../../styles/generatedThemesVariables.global.css.js";import"../../../styles/customScrollbars.global.css.js";var y=["appContextValue","globalMixpanelEventTracker","globalNotificationToastsAPI","onSettingChange","onSettingsChange","permissionsContextValue","timezone","userUnits"];function O(o,s){var t=Object.keys(o);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(o);s&&(n=n.filter((function(s){return Object.getOwnPropertyDescriptor(o,s).enumerable}))),t.push.apply(t,n)}return t}function S(s){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?O(Object(n),!0).forEach((function(t){o(s,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(n)):O(Object(n)).forEach((function(o){Object.defineProperty(s,o,Object.getOwnPropertyDescriptor(n,o))}))}return s}var x=f(j),w=e((function(){return{"@global":{body:{backgroundColor:"transparent",overflow:"hidden"}}}}));function L(o){var i,e,j,f,O=o.CLIAppComponent,L=o.CLIAppSettings,D=o.containerReportClassName;w();var k=m(),F=k.appContextValue,E=k.globalMixpanelEventTracker,T=k.globalNotificationToastsAPI,R=k.onSettingChange,U=k.onSettingsChange,M=k.permissionsContextValue,V=k.timezone,N=k.userUnits,z=s(k,y),G=z.location.pathname.startsWith("/reports/")||v,W=null==z||null===(i=z.app)||void 0===i?void 0:i.id,H=localStorage.getItem(h)||(null===(e=z.currentUser)||void 0===e||null===(j=e.settings)||void 0===j||null===(f=j.uiSettings)||void 0===f?void 0:f.theme)||C.DARK,q=!G&&H!==C.LIGHT;t((function(){b(q)}),[q]),t((function(){window[Symbol.for("notificationToasts")]=T,window[Symbol.for("logToMixpanel")]=E}),[T,E]);var K=n(!0);return(K.current||G)&&(K.current=!1,P({userUnits:N})),t((function(){return V&&c.tz.setDefault(V),function(){return c.tz.setDefault(null)}}),[V]),t((function(){var o=a(W);return window.addEventListener("message",o),function(){return window.removeEventListener("message",o)}}),[W]),d(A.Provider,{value:M,children:d(g.Provider,{value:F,children:d(u,{value:!0,children:d(I,{children:d("div",{id:p,className:r(G&&D),children:d(x,S(S({},z),{},{theme:q?C.DARK:C.LIGHT,onSettingsChange:function(o){return U(l(o))},onSettingChange:function(o,s){return R(o,l(s))},CLIAppComponent:O,CLIAppSettings:L}))})})})})})}L.propTypes={CLIAppComponent:i.func,CLIAppSettings:i.func,containerReportClassName:i.string},L.defaultProps={CLIAppComponent:null,CLIAppSettings:null,containerReportClassName:null};export{L as DevCenterIsolatedAppPage};
1
+ import o from"@babel/runtime/helpers/defineProperty";import s from"@babel/runtime/helpers/objectWithoutProperties";import{useEffect as t,useRef as n}from"react";import i from"prop-types";import{makeStyles as e}from"@material-ui/core";import r from"classnames";import c from"moment-timezone";import{useXProps as m}from"./effects/useXProps.js";import{ISOLATED_PAGE_APP_CONTAINER_ID as p}from"./constants.js";import{replaceUndefinedValuesWithNull as l}from"./utils/replaceUndefinedValuesWithNull.js";import{getDashboardCapturingHandler as a}from"./utils/dashboardCapturing.js";import{IsInsideIsolatedDcAppProvider as u}from"../DevCenterAppContainer/components/IsInsideIsolatedDcAppProvider/IsInsideIsolatedDcAppProvider.js";import j from"../DevCenterAppContainer/DevCenterAppContainer.js";import{jsx as d}from"react/jsx-runtime";import"@icon-park/react/es/all";import{IconParkProvider as I}from"../../../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 f from"../../../hocs/withMUIProvidersHOC.js";import"../../../hocs/withAssetEditorLockHOC.js";import g from"../AppContext.js";import{THEMES as C}from"../../../constants/theme.js";import{LOCAL_STORAGE_APP_THEME_KEY as h}from"../../../CLI/hocs/constants.js";import{setThemeVariables as b}from"../../../utils/themeVariables.js";import{isPDFReportView as v}from"../../../CLI/hocs/utils.js";import{PermissionsContext as A}from"../../../permissions/PermissionsContext.js";import{updateUserUnits as P}from"../../../utils/index.js";import"../../../styles/iconPark.global.css.js";import"../../../styles/index.global.css.js";import"../../../styles/reactVirtualized.global.css.js";import"../../../styles/emojiMart.global.css.js";import"../../../styles/mapbox.global.css.js";import"../../../styles/lightbox.global.css.js";import"../../../styles/generatedThemesVariables.global.css.js";import"../../../styles/customScrollbars.global.css.js";var y=["appContextValue","globalMixpanelEventTracker","globalNotificationToastsAPI","onSettingChange","onSettingsChange","permissionsContextValue","timezone","userUnits"];function O(o,s){var t=Object.keys(o);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(o);s&&(n=n.filter((function(s){return Object.getOwnPropertyDescriptor(o,s).enumerable}))),t.push.apply(t,n)}return t}function S(s){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?O(Object(n),!0).forEach((function(t){o(s,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(n)):O(Object(n)).forEach((function(o){Object.defineProperty(s,o,Object.getOwnPropertyDescriptor(n,o))}))}return s}var x=f(j),w=e((function(){return{"@global":{body:{backgroundColor:"transparent",overflow:"hidden"}}}}));function L(o){var i,e,j,f,O=o.CLIAppComponent,L=o.CLIAppSettings,D=o.containerReportClassName;w();var k=m(),F=k.appContextValue,E=k.globalMixpanelEventTracker,T=k.globalNotificationToastsAPI,R=k.onSettingChange,U=k.onSettingsChange,M=k.permissionsContextValue,V=k.timezone,N=k.userUnits,z=s(k,y),G=z.location.pathname.startsWith("/reports/")||v,W=null==z||null===(i=z.app)||void 0===i?void 0:i.id,H=localStorage.getItem(h)||(null===(e=z.currentUser)||void 0===e||null===(j=e.settings)||void 0===j||null===(f=j.uiSettings)||void 0===f?void 0:f.theme)||C.DARK,q=!G&&H!==C.LIGHT;t((function(){b(q)}),[q]),t((function(){window[Symbol.for("notificationToasts")]=T,window[Symbol.for("logToMixpanel")]=E}),[T,E]);var K=n(!0);return(K.current||G)&&(K.current=!1,P({userUnits:N})),t((function(){return V&&c.tz.setDefault(V),function(){return c.tz.setDefault(null)}}),[V]),t((function(){var o=a(W);return window.addEventListener("message",o),function(){return window.removeEventListener("message",o)}}),[W]),d(A.Provider,{value:M,children:d(g.Provider,{value:F,children:d(u,{value:!0,children:d(I,{children:d("div",{id:p,className:r(G&&D),children:d(x,S(S({},z),{},{theme:q?C.DARK:C.LIGHT,onSettingsChange:function(o){return U(l(o))},onSettingChange:function(o,s){return R(o,l(s))},CLIAppComponent:O,CLIAppSettings:L}))})})})})})}L.propTypes={CLIAppComponent:i.func,CLIAppSettings:i.func,containerReportClassName:i.string},L.defaultProps={CLIAppComponent:null,CLIAppSettings:null,containerReportClassName:null};export{L as DevCenterIsolatedAppPage};
2
2
  //# sourceMappingURL=DevCenterIsolatedAppPage.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"DevCenterIsolatedAppPage.js","sources":["../../../../src/components/DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedAppPage.js"],"sourcesContent":["import { useEffect, useRef } from 'react';\nimport PropTypes from 'prop-types';\nimport { makeStyles } from '@material-ui/core';\nimport classNames from 'classnames';\nimport moment from 'moment-timezone';\n\nimport { useXProps } from './effects/useXProps';\nimport { ISOLATED_PAGE_APP_CONTAINER_ID } from './constants';\nimport { replaceUndefinedValuesWithNull } from './utils/replaceUndefinedValuesWithNull';\nimport { getDashboardCapturingHandler } from './utils/dashboardCapturing';\n\nimport { IsInsideIsolatedDcAppProvider } from '~/components/DevCenter/DevCenterAppContainer/components/IsInsideIsolatedDcAppProvider';\nimport DevCenterAppContainer from '~/components/DevCenter/DevCenterAppContainer';\nimport { IconParkProvider } from '~/icons';\nimport { withMUIProvidersHOC } from '~/hocs';\nimport AppContext from '~/components/DevCenter/AppContext';\nimport { THEMES } from '~/constants/theme';\nimport { LOCAL_STORAGE_APP_THEME_KEY } from '~/CLI/hocs/constants';\nimport { setThemeVariables } from '~/utils/themeVariables';\nimport { isPDFReportView } from '~/CLI/hocs/utils';\nimport { PermissionsContext } from '~/permissions/PermissionsContext';\nimport { updateUserUnits } from '~/utils';\nimport '~/styles/globalStyles';\n\nconst DevCenterAppContainerWithMUI = withMUIProvidersHOC(DevCenterAppContainer);\n\n/**\n * It's important to keep these global styles in js, to apply only\n * when the component is actually used, if moved to CSS - they'll be\n * applied to whatever somehow imports the code\n */\nconst useStyles = makeStyles(() => ({\n '@global': {\n body: {\n backgroundColor: 'transparent',\n overflow: 'hidden',\n },\n },\n}));\n\n/**\n * Root component that is rendered inside of app's iframe.\n * Receives CLIAppComponent, CLIAppSettings when used\n * in local development\n */\nexport function DevCenterIsolatedAppPage({\n CLIAppComponent,\n CLIAppSettings,\n containerReportClassName,\n}) {\n useStyles();\n\n const {\n appContextValue,\n globalMixpanelEventTracker,\n globalNotificationToastsAPI,\n onSettingChange,\n onSettingsChange,\n permissionsContextValue,\n timezone,\n userUnits,\n ...xProps\n } = useXProps();\n const isReportsPage = xProps.location.pathname.startsWith('/reports/') || isPDFReportView;\n const appId = xProps?.app?.id;\n\n // Force light theme for PDF reports view\n const selectedTheme =\n localStorage.getItem(LOCAL_STORAGE_APP_THEME_KEY) ||\n xProps.currentUser?.settings?.uiSettings?.theme ||\n THEMES.DARK;\n const isDarkTheme = !isReportsPage && selectedTheme !== THEMES.LIGHT;\n\n useEffect(() => {\n setThemeVariables(isDarkTheme);\n }, [isDarkTheme]);\n\n useEffect(() => {\n window[Symbol.for('notificationToasts')] = globalNotificationToastsAPI;\n window[Symbol.for('logToMixpanel')] = globalMixpanelEventTracker;\n }, [globalNotificationToastsAPI, globalMixpanelEventTracker]);\n\n const isFirstRenderRef = useRef(true);\n if (isFirstRenderRef.current || isReportsPage) {\n isFirstRenderRef.current = false;\n updateUserUnits({ userUnits });\n }\n\n useEffect(() => {\n if (timezone) moment.tz.setDefault(timezone);\n return () => moment.tz.setDefault(null);\n }, [timezone]);\n\n useEffect(() => {\n const dashboardCapturingHandler = getDashboardCapturingHandler(appId);\n window.addEventListener('message', dashboardCapturingHandler);\n return () => window.removeEventListener('message', dashboardCapturingHandler);\n }, [appId]);\n\n return (\n <PermissionsContext.Provider value={permissionsContextValue}>\n <AppContext.Provider value={appContextValue}>\n <IsInsideIsolatedDcAppProvider value>\n <IconParkProvider>\n <div\n id={ISOLATED_PAGE_APP_CONTAINER_ID}\n className={classNames(isReportsPage && containerReportClassName)}\n >\n <DevCenterAppContainerWithMUI\n {...xProps}\n theme={isDarkTheme ? THEMES.DARK : THEMES.LIGHT}\n // zoid serializes passed arguments using JSON.stringify.\n // All undefined values are removed as they are not valid JSON values\n // so we replace undefined values with null to not drop them\n // Any future cb function that passes arbitrary objects as args\n // also should be wrapped in this mapper\n onSettingsChange={nextSettings =>\n onSettingsChange(replaceUndefinedValuesWithNull(nextSettings))\n }\n onSettingChange={(key, value) =>\n onSettingChange(key, replaceUndefinedValuesWithNull(value))\n }\n CLIAppComponent={CLIAppComponent}\n CLIAppSettings={CLIAppSettings}\n />\n </div>\n </IconParkProvider>\n </IsInsideIsolatedDcAppProvider>\n </AppContext.Provider>\n </PermissionsContext.Provider>\n );\n}\n\nDevCenterIsolatedAppPage.propTypes = {\n CLIAppComponent: PropTypes.func,\n CLIAppSettings: PropTypes.func,\n containerReportClassName: PropTypes.string,\n};\n\nDevCenterIsolatedAppPage.defaultProps = {\n CLIAppComponent: null,\n CLIAppSettings: null,\n containerReportClassName: null,\n};\n"],"names":["DevCenterAppContainerWithMUI","withMUIProvidersHOC","DevCenterAppContainer","useStyles","makeStyles","body","backgroundColor","overflow","DevCenterIsolatedAppPage","_ref","_xProps$app","_xProps$currentUser","_xProps$currentUser$s","_xProps$currentUser$s2","CLIAppComponent","CLIAppSettings","containerReportClassName","_useXProps","useXProps","appContextValue","globalMixpanelEventTracker","globalNotificationToastsAPI","onSettingChange","onSettingsChange","permissionsContextValue","timezone","userUnits","xProps","_objectWithoutProperties","_excluded","isReportsPage","location","pathname","startsWith","isPDFReportView","appId","app","id","selectedTheme","localStorage","getItem","LOCAL_STORAGE_APP_THEME_KEY","currentUser","settings","uiSettings","theme","THEMES","DARK","isDarkTheme","LIGHT","useEffect","setThemeVariables","window","Symbol","for","isFirstRenderRef","useRef","current","updateUserUnits","moment","tz","setDefault","dashboardCapturingHandler","getDashboardCapturingHandler","addEventListener","removeEventListener","_jsx","PermissionsContext","Provider","value","children","AppContext","IsInsideIsolatedDcAppProvider","IconParkProvider","ISOLATED_PAGE_APP_CONTAINER_ID","className","classNames","_objectSpread","nextSettings","replaceUndefinedValuesWithNull","key","propTypes","PropTypes","func","string","defaultProps"],"mappings":"2rJAwBA,IAAMA,EAA+BC,EAAoBC,GAOnDC,EAAYC,GAAW,WAAA,MAAO,CAClC,UAAW,CACTC,KAAM,CACJC,gBAAiB,cACjBC,SAAU,WAGf,IAOM,SAASC,EAIbC,GAAA,IAAAC,EAAAC,EAAAC,EAAAC,EAHDC,IAAAA,gBACAC,IAAAA,eACAC,IAAAA,yBAEAb,IAEA,IAAAc,EAUIC,IATFC,IAAAA,gBACAC,IAAAA,2BACAC,IAAAA,4BACAC,IAAAA,gBACAC,IAAAA,iBACAC,IAAAA,wBACAC,IAAAA,SACAC,IAAAA,UACGC,EAAMC,EAAAX,EAAAY,GAELC,EAAgBH,EAAOI,SAASC,SAASC,WAAW,cAAgBC,EACpEC,EAAQR,SAAA,QAAAA,EAAAA,EAAQS,WAAR,IAAA1B,OAAAiB,EAAAjB,EAAa2B,GAGrBC,EACJC,aAAaC,QAAQC,aACrBd,EAAAA,EAAOe,0BAAP,UAAA/B,EAAoBgC,gBAApB,IAAA/B,GAAwC,QAAxCC,EAAAD,EAA8BgC,kBAAU,IAAA/B,SAAxCA,EAA0CgC,QAC1CC,EAAOC,KACHC,GAAelB,GAAiBQ,IAAkBQ,EAAOG,MAE/DC,GAAU,WACRC,EAAkBH,EACpB,GAAG,CAACA,IAEJE,GAAU,WACRE,OAAOC,OAAOC,IAAI,uBAAyBjC,EAC3C+B,OAAOC,OAAOC,IAAI,kBAAoBlC,CACxC,GAAG,CAACC,EAA6BD,IAEjC,IAAMmC,EAAmBC,GAAO,GAiBhC,OAhBID,EAAiBE,SAAW3B,KAC9ByB,EAAiBE,SAAU,EAC3BC,EAAgB,CAAEhC,UAAAA,KAGpBwB,GAAU,WAER,OADIzB,GAAUkC,EAAOC,GAAGC,WAAWpC,GAC5B,WAAA,OAAMkC,EAAOC,GAAGC,WAAW,KAAK,CACzC,GAAG,CAACpC,IAEJyB,GAAU,WACR,IAAMY,EAA4BC,EAA6B5B,GAE/D,OADAiB,OAAOY,iBAAiB,UAAWF,GAC5B,WAAA,OAAMV,OAAOa,oBAAoB,UAAWH,EAA0B,CAC/E,GAAG,CAAC3B,IAGF+B,EAACC,EAAmBC,SAAQ,CAACC,MAAO7C,EAAwB8C,SAC1DJ,EAACK,EAAWH,SAAQ,CAACC,MAAOlD,EAAgBmD,SAC1CJ,EAACM,EAA6B,CAACH,OAAK,EAAAC,SAClCJ,EAACO,EAAgB,CAAAH,SACfJ,EAAA,MAAA,CACE7B,GAAIqC,EACJC,UAAWC,EAAW9C,GAAiBd,GAA0BsD,SAEjEJ,EAAClE,EAA4B6E,EAAAA,EAAA,GACvBlD,GAAM,GAAA,CACVkB,MAAOG,EAAcF,EAAOC,KAAOD,EAAOG,MAM1C1B,iBAAkB,SAAAuD,GAAY,OAC5BvD,EAAiBwD,EAA+BD,GACjD,EACDxD,gBAAiB,SAAC0D,EAAKX,GAAK,OAC1B/C,EAAgB0D,EAAKD,EAA+BV,GACrD,EACDvD,gBAAiBA,EACjBC,eAAgBA,cAQhC,CAEAP,EAAyByE,UAAY,CACnCnE,gBAAiBoE,EAAUC,KAC3BpE,eAAgBmE,EAAUC,KAC1BnE,yBAA0BkE,EAAUE,QAGtC5E,EAAyB6E,aAAe,CACtCvE,gBAAiB,KACjBC,eAAgB,KAChBC,yBAA0B"}
1
+ {"version":3,"file":"DevCenterIsolatedAppPage.js","sources":["../../../../src/components/DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedAppPage.js"],"sourcesContent":["import { useEffect, useRef } from 'react';\nimport PropTypes from 'prop-types';\nimport { makeStyles } from '@material-ui/core';\nimport classNames from 'classnames';\nimport moment from 'moment-timezone';\n\nimport { useXProps } from './effects/useXProps';\nimport { ISOLATED_PAGE_APP_CONTAINER_ID } from './constants';\nimport { replaceUndefinedValuesWithNull } from './utils/replaceUndefinedValuesWithNull';\nimport { getDashboardCapturingHandler } from './utils/dashboardCapturing';\n\nimport { IsInsideIsolatedDcAppProvider } from '~/components/DevCenter/DevCenterAppContainer/components/IsInsideIsolatedDcAppProvider';\nimport DevCenterAppContainer from '~/components/DevCenter/DevCenterAppContainer';\nimport { IconParkProvider } from '~/icons';\nimport { withMUIProvidersHOC } from '~/hocs';\nimport AppContext from '~/components/DevCenter/AppContext';\nimport { THEMES } from '~/constants/theme';\nimport { LOCAL_STORAGE_APP_THEME_KEY } from '~/CLI/hocs/constants';\nimport { setThemeVariables } from '~/utils/themeVariables';\nimport { isPDFReportView } from '~/CLI/hocs/utils';\nimport { PermissionsContext } from '~/permissions/PermissionsContext';\nimport { updateUserUnits } from '~/utils';\nimport '~/styles/globalStyles';\n\nconst DevCenterAppContainerWithMUI = withMUIProvidersHOC(DevCenterAppContainer);\n\n/**\n * It's important to keep these global styles in js, to apply only\n * when the component is actually used, if moved to CSS - they'll be\n * applied to whatever somehow imports the code\n */\nconst useStyles = makeStyles(() => ({\n '@global': {\n body: {\n backgroundColor: 'transparent',\n overflow: 'hidden',\n },\n },\n}));\n\n/**\n * Root component that is rendered inside of app's iframe.\n * Receives CLIAppComponent, CLIAppSettings when used\n * in local development\n */\nexport function DevCenterIsolatedAppPage({\n CLIAppComponent,\n CLIAppSettings,\n containerReportClassName,\n}) {\n useStyles();\n\n const {\n appContextValue,\n globalMixpanelEventTracker,\n globalNotificationToastsAPI,\n onSettingChange,\n onSettingsChange,\n permissionsContextValue,\n timezone,\n userUnits,\n ...xProps\n } = useXProps();\n const isReportsPage = xProps.location.pathname.startsWith('/reports/') || isPDFReportView;\n const appId = xProps?.app?.id;\n\n // Force light theme for PDF reports view\n const selectedTheme =\n localStorage.getItem(LOCAL_STORAGE_APP_THEME_KEY) ||\n xProps.currentUser?.settings?.uiSettings?.theme ||\n THEMES.DARK;\n const isDarkTheme = !isReportsPage && selectedTheme !== THEMES.LIGHT;\n\n useEffect(() => {\n setThemeVariables(isDarkTheme);\n }, [isDarkTheme]);\n\n useEffect(() => {\n window[Symbol.for('notificationToasts')] = globalNotificationToastsAPI;\n window[Symbol.for('logToMixpanel')] = globalMixpanelEventTracker;\n }, [globalNotificationToastsAPI, globalMixpanelEventTracker]);\n\n const isFirstRenderRef = useRef(true);\n if (isFirstRenderRef.current || isReportsPage) {\n isFirstRenderRef.current = false;\n updateUserUnits({ userUnits });\n }\n\n useEffect(() => {\n if (timezone) moment.tz.setDefault(timezone);\n return () => moment.tz.setDefault(null);\n }, [timezone]);\n\n useEffect(() => {\n const dashboardCapturingHandler = getDashboardCapturingHandler(appId);\n window.addEventListener('message', dashboardCapturingHandler);\n return () => window.removeEventListener('message', dashboardCapturingHandler);\n }, [appId]);\n\n return (\n <PermissionsContext.Provider value={permissionsContextValue}>\n <AppContext.Provider value={appContextValue}>\n <IsInsideIsolatedDcAppProvider value>\n <IconParkProvider>\n <div\n id={ISOLATED_PAGE_APP_CONTAINER_ID}\n className={classNames(isReportsPage && containerReportClassName)}\n >\n <DevCenterAppContainerWithMUI\n {...xProps}\n theme={isDarkTheme ? THEMES.DARK : THEMES.LIGHT}\n // zoid serializes passed arguments using JSON.stringify.\n // All undefined values are removed as they are not valid JSON values\n // so we replace undefined values with null to not drop them\n // Any future cb function that passes arbitrary objects as args\n // also should be wrapped in this mapper\n onSettingsChange={nextSettings =>\n onSettingsChange(replaceUndefinedValuesWithNull(nextSettings))\n }\n onSettingChange={(key, value) =>\n onSettingChange(key, replaceUndefinedValuesWithNull(value))\n }\n CLIAppComponent={CLIAppComponent}\n CLIAppSettings={CLIAppSettings}\n />\n </div>\n </IconParkProvider>\n </IsInsideIsolatedDcAppProvider>\n </AppContext.Provider>\n </PermissionsContext.Provider>\n );\n}\n\nDevCenterIsolatedAppPage.propTypes = {\n CLIAppComponent: PropTypes.func,\n CLIAppSettings: PropTypes.func,\n containerReportClassName: PropTypes.string,\n};\n\nDevCenterIsolatedAppPage.defaultProps = {\n CLIAppComponent: null,\n CLIAppSettings: null,\n containerReportClassName: null,\n};\n"],"names":["DevCenterAppContainerWithMUI","withMUIProvidersHOC","DevCenterAppContainer","useStyles","makeStyles","body","backgroundColor","overflow","DevCenterIsolatedAppPage","_ref","_xProps$app","_xProps$currentUser","_xProps$currentUser$s","_xProps$currentUser$s2","CLIAppComponent","CLIAppSettings","containerReportClassName","_useXProps","useXProps","appContextValue","globalMixpanelEventTracker","globalNotificationToastsAPI","onSettingChange","onSettingsChange","permissionsContextValue","timezone","userUnits","xProps","_objectWithoutProperties","_excluded","isReportsPage","location","pathname","startsWith","isPDFReportView","appId","app","id","selectedTheme","localStorage","getItem","LOCAL_STORAGE_APP_THEME_KEY","currentUser","settings","uiSettings","theme","THEMES","DARK","isDarkTheme","LIGHT","useEffect","setThemeVariables","window","Symbol","for","isFirstRenderRef","useRef","current","updateUserUnits","moment","tz","setDefault","dashboardCapturingHandler","getDashboardCapturingHandler","addEventListener","removeEventListener","_jsx","PermissionsContext","Provider","value","children","AppContext","IsInsideIsolatedDcAppProvider","IconParkProvider","ISOLATED_PAGE_APP_CONTAINER_ID","className","classNames","_objectSpread","nextSettings","replaceUndefinedValuesWithNull","key","propTypes","PropTypes","func","string","defaultProps"],"mappings":"6uJAwBA,IAAMA,EAA+BC,EAAoBC,GAOnDC,EAAYC,GAAW,WAAA,MAAO,CAClC,UAAW,CACTC,KAAM,CACJC,gBAAiB,cACjBC,SAAU,WAGf,IAOM,SAASC,EAIbC,GAAA,IAAAC,EAAAC,EAAAC,EAAAC,EAHDC,IAAAA,gBACAC,IAAAA,eACAC,IAAAA,yBAEAb,IAEA,IAAAc,EAUIC,IATFC,IAAAA,gBACAC,IAAAA,2BACAC,IAAAA,4BACAC,IAAAA,gBACAC,IAAAA,iBACAC,IAAAA,wBACAC,IAAAA,SACAC,IAAAA,UACGC,EAAMC,EAAAX,EAAAY,GAELC,EAAgBH,EAAOI,SAASC,SAASC,WAAW,cAAgBC,EACpEC,EAAQR,SAAA,QAAAA,EAAAA,EAAQS,WAAR,IAAA1B,OAAAiB,EAAAjB,EAAa2B,GAGrBC,EACJC,aAAaC,QAAQC,aACrBd,EAAAA,EAAOe,0BAAP,UAAA/B,EAAoBgC,gBAApB,IAAA/B,GAAwC,QAAxCC,EAAAD,EAA8BgC,kBAAU,IAAA/B,SAAxCA,EAA0CgC,QAC1CC,EAAOC,KACHC,GAAelB,GAAiBQ,IAAkBQ,EAAOG,MAE/DC,GAAU,WACRC,EAAkBH,EACpB,GAAG,CAACA,IAEJE,GAAU,WACRE,OAAOC,OAAOC,IAAI,uBAAyBjC,EAC3C+B,OAAOC,OAAOC,IAAI,kBAAoBlC,CACxC,GAAG,CAACC,EAA6BD,IAEjC,IAAMmC,EAAmBC,GAAO,GAiBhC,OAhBID,EAAiBE,SAAW3B,KAC9ByB,EAAiBE,SAAU,EAC3BC,EAAgB,CAAEhC,UAAAA,KAGpBwB,GAAU,WAER,OADIzB,GAAUkC,EAAOC,GAAGC,WAAWpC,GAC5B,WAAA,OAAMkC,EAAOC,GAAGC,WAAW,KAAK,CACzC,GAAG,CAACpC,IAEJyB,GAAU,WACR,IAAMY,EAA4BC,EAA6B5B,GAE/D,OADAiB,OAAOY,iBAAiB,UAAWF,GAC5B,WAAA,OAAMV,OAAOa,oBAAoB,UAAWH,EAA0B,CAC/E,GAAG,CAAC3B,IAGF+B,EAACC,EAAmBC,SAAQ,CAACC,MAAO7C,EAAwB8C,SAC1DJ,EAACK,EAAWH,SAAQ,CAACC,MAAOlD,EAAgBmD,SAC1CJ,EAACM,EAA6B,CAACH,OAAK,EAAAC,SAClCJ,EAACO,EAAgB,CAAAH,SACfJ,EAAA,MAAA,CACE7B,GAAIqC,EACJC,UAAWC,EAAW9C,GAAiBd,GAA0BsD,SAEjEJ,EAAClE,EAA4B6E,EAAAA,EAAA,GACvBlD,GAAM,GAAA,CACVkB,MAAOG,EAAcF,EAAOC,KAAOD,EAAOG,MAM1C1B,iBAAkB,SAAAuD,GAAY,OAC5BvD,EAAiBwD,EAA+BD,GACjD,EACDxD,gBAAiB,SAAC0D,EAAKX,GAAK,OAC1B/C,EAAgB0D,EAAKD,EAA+BV,GACrD,EACDvD,gBAAiBA,EACjBC,eAAgBA,cAQhC,CAEAP,EAAyByE,UAAY,CACnCnE,gBAAiBoE,EAAUC,KAC3BpE,eAAgBmE,EAAUC,KAC1BnE,yBAA0BkE,EAAUE,QAGtC5E,EAAyB6E,aAAe,CACtCvE,gBAAiB,KACjBC,eAAgB,KAChBC,yBAA0B"}
@@ -1,2 +1,2 @@
1
- import o from"@babel/runtime/helpers/defineProperty";import e from"@babel/runtime/helpers/slicedToArray";import{useState as t,createRef as s,useCallback as i,useEffect as n}from"react";import r from"prop-types";import p from"classnames";import{Modal as m,Typography as c,IconButton as a}from"@material-ui/core";import l from"@material-ui/icons/Close";import d from"@material-ui/icons/GetApp";import{useStyles as j}from"./styles.js";import{jsx as u,jsxs as A}from"react/jsx-runtime";import"../DevCenter/DevCenterAppContainer/components/IsInsideIsolatedDcAppProvider/IsInsideIsolatedDcAppProvider.js";import"../DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/DcFullscreenElemsCoordinatorProvider.js";import"../DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/IsInsideDcFullscreenElemProvider.js";import"lodash";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"../../utils/mobileDetect.js";import"../IconButton/index.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"../Modal/CorvaModal.css.js";import"uuid";import"../IconMenu/index.js";import"../StyledMenuItem/index.js";import"../AppIcon/AppIcon.js";import"../DevCenter/AppHeader/AppHeader.js";import"../DevCenter/AppSideBar/AppSideBar.js";import"../DevCenter/AppsDataProvider/AppsDataProvider.js";import"@material-ui/icons";import"../DevCenter/AppContext.js";import"../DevCenter/DevCenterRouterContext/DevCenterRouterContext.js";import"../DevCenter/DevCenterRouterContext/UniversalLink/UniversalLink.js";import"@babel/runtime/helpers/objectWithoutProperties";import"react-router";import"@babel/runtime/helpers/asyncToGenerator";import"@babel/runtime/regenerator";import"../../utils/index.js";import"../DevCenter/DevCenterAppContainer/components/AppActions/AppActions.css.js";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"../../componentsV2/Header/Header.scss.js";import"../../componentsV2/Button/Button.js";import"../../componentsV2/ButtonIcon/ButtonIcon.js";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"../../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"../../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"../../componentsV2/AppCommonsProvider/AppCommonsContext.js";import"../../componentsV2/AppHeader/AppHeader.constants.js";import"../../componentsV2/AppHeader/AppBadge/AppBadge.scss.js";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"../../clients/jsonApi/index.js";import"@babel/runtime/helpers/toConsumableArray";import"lodash/set";import"lodash/get";import"lodash/unset";import"moment";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"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"../../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"../DevCenter/DevCenterAppContainer/components/RestoreAppSizeButton/index.js";import"rollbar";import"@rollbar/react";import"../DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchButton.scss.js";import"../DevCenter/DevCenterAppContainer/DevCenterAppContainer.css.js";import"../Icons/AnnotationIcon.js";import"../Annotations/components/AnnotationsList/index.js";import"../Annotations/components/LastAnnotation/index.js";import"../Annotations/AnnotationsContext.js";import"../Toaster/Toaster.js";import"../HelpCenter/HelpCenterIcon.js";import"../DevCenter/NavigationBar/NavigationBar.js";import"../DevCenter/SideBar/SideBar.js";import"../DevCenter/AppSettingsPopover/AppSettingsPopover.js";import"../DevCenter/AppFilterPanelLayout/AppFilterPanelLayout.js";import"../DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedAppPage.js";import"../DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedApp.js";import"../AssetEditor/index.js";import"../AssetEditorV2/index.js";import"../AppVersionsSelect/AppVersionsSelect.js";import C from"../LoadingIndicator/LoadingIndicator.js";import"../Typography.js";import"../RealTimeValuesSidebar/RealTimeSidebar.js";import"../CollapsableSidebar.js";import"../DateTimePicker/index.js";import"../DatePicker/index.js";import"../ErrorBoundary/ErrorBoundary.js";import"../ErrorBoundary/DevCenterAppErrorView/DevCenterAppErrorView.js";import"../SlateFormattedText/SlateFormattedText.js";import"../SlateFormattedText/RenderElements.js";import"slate";import"../EmptyState/EmptyState.js";import"../ParameterCharts/ParameterCharts.js";import"../ParameterCharts/AddEditTrack.js";import"../ChartActionsList/ChartActionsList.js";import"../CopyToClipboard/CopyToClipboard.js";import"../AssetEditor/AssetEditorAutocomplete.js";import"../AssetEditor/SingleAssetEditor.js";import"react-color";import"../SettingEditors/ColorEditor/style.css.js";import"../SettingEditors/DropdownEditor/index.js";import"../SwitchControl/index.js";import"../ColorPicker/ColorPicker.js";import"../Chart/components/ChartButton.js";import"../Chart/components/ChartButtons.js";import"../Chart/components/ChartWrapper.js";import"../Chart/components/AxisDropdown.js";import"../Chart/components/ChartSelect.js";import"../Chart/components/buttons/DragToZoomButton.js";import"../Chart/components/buttons/ZoomInButton.js";import"../Chart/components/buttons/ZoomOutButton.js";import"../Chart/components/buttons/PanButton.js";import"../Chart/components/buttons/ResetZoomButton.js";import"../Chart/components/buttons/HideAxesButton.js";import"../Chart/components/buttons/ChartTypeButton.js";import"../ColorPicker/PaletteChromePicker/PaletteChromePicker.js";import"../TruncatedText/index.js";import"../MiddleTruncatedText/MiddleTruncatedText.js";import"../RangeSlider/constants.js";import"../RangeSlider/Input.css.js";import"../RangeSlider/RangeSlider.css.js";import"../AdvancedSlider/AdvancedSlider.js";import"../Breadcrumbs/index.js";import"../VirtualizedTable/index.js";import"../EmptyView/EmptyView.js";import"../EmptyView/EmptyAppView/EmptyAppView.js";import"../Button/components/Button/index.js";import"moment-timezone";import"../Button/components/LiveButton/components/LiveButtonStateIndicator/index.js";import"../Button/components/LiveButton/styles.js";import"../ContextMenuItem/index.js";import"../FolderMenuItem/index.js";import"../EditableItem/EditableItem/index.js";import"../EditableItem/EditableItemWithBadge/index.js";import"../Checkbox/index.js";import"../FolderMenuItemWithLinks/index.js";import"../TextField/index.js";import"../Chip/index.js";import"../Counter/index.js";import"../AnchorsList/AnchorsList.js";import"../Select/index.js";import"../Select/SelectFilterBy.js";import"../CustomSelect/index.js";import"../Tabs/Tabs.js";import"../Tabs/Tab.js";import"../ResizableTable/ResizableTable.js";import"../GradientPicker/GradientPicker.js";import"../GradientManager/GradientList.js";import"@material-ui/icons/AddCircle";import"../GradientManager/GradientPreview/GradientPreview.js";import"../GradientManager/GradientSelect.styles.js";import"../GradientManager/GradientManager.styles.js";import"../Drillstring/BHASchematic.js";import"../Drillstring/BHATable/index.js";import"../Drillstring/BHAComponentIcon.js";import"../Drillstring/BHAComponentDetail/index.js";import"../Drillstring/BHATileIcon.js";import"../Drillstring/BHATile/BHATile.js";import"../Drillstring/BHAList/BHAList.js";import"../Drillstring/BHAComponentsTable/BHAComponentsTable.js";import"../Casing/CasingTable/index.js";import"../Casing/CasingComponentIcon.js";import"../Casing/CasingTileIcon.js";import"../Casing/CasingTableV2/CasingTableV2.js";import"../Casing/CasingTile/CasingTile.js";import"../DisabledSettingsMessage/DisabledSettingsMessage.js";import"../WellSummary/WellSummaryItemLabel.js";import"../WellSummary/WellSummaryItemTitle.js";import"../WellSummary/WellSummaryItemValue.js";import"../WellSummary/ActivitySummaryChart.js";import"../WellSummary/FracWirelineTimeChart.js";import"../BICOffsetPickerDialog/index.js";import"../OffsetWellButton/OffsetWellButton.js";import"../OffsetWellPickerV2/OffsetWellPickerDialog.js";import"../OffsetWellPickerV3/index.js";import"../OffsetWellChips/Chip.js";import"../OffsetWellChips/ChipsContainer.js";import"../OffsetWellPickerV4/utils/apiCalls.js";import"../OffsetWellPickerV4/effects/useAdvancedWells.js";import"../OffsetWellPickerV4/constants.js";import"react-virtualized";import"../OffsetWellPickerV4/effects/useAssetsData.js";import"../../permissions/PermissionsContext.js";import"../../permissions/constants/index.js";import"../../permissions/withPermissionsHOC.js";import"../../permissions/ProvidePermissions.js";import"../OffsetWellPickerV4/components/AppHeader/AppHeader.js";import"../OffsetWellPickerV4/components/Toolbar/Toolbar.js";import"../OffsetWellPickerV4/components/Filter/Filter.js";import"../OffsetWellPickerV4/components/Map/WellsMap.js";import"../OffsetWellPickerV4/components/OffsetWellsTable/OffsetWellsTable.js";import"../OffsetWellPickerV4/components/OffsetWellsTable/AdvancedSearch/constants.js";import"../OffsetWellPickerV4/utils/index.js";import"../OffsetWellPickerV4/OffsetWellPickerV4.module.css.js";import"@material-ui/core/Snackbar";import"../Notifications/Toast.js";import"../Notifications/Notifications.scss.js";import"../../styles/typography/index.js";import"../../styles/counter/counter.module.scss.js";import"../OffsetWellMap/OffsetWellMap.js";import"../ConfirmationDialog.js";import"../TextLink/index.js";import"../Avatar/index.js";import"../Template/TemplatePopover/index.js";import"../Template/TemplateSharingDialog/index.js";import"../MenuItem/index.js";import"../MiddleTruncate/MiddleTruncate.js";import"../PinnableFilters/PinnableFilters.js";import"../HeaderLayout/HeaderLayout.js";import"../PadOffsetsPicker/PadOffsetsPicker.js";import"../PadOffsetsPicker/OffsetAssetChip.js";import"../PadOffsetsPicker/OffsetAssetsListExpander.js";import"../PadOffsetsPicker/StagesSelector.js";import"../PadOffsetsPickerV2/PadOffsetsPickerV2.js";import"../Table/TableToolbar/TableToolbar.js";import"../Table/TableContainer/TableContainer.js";import"../Table/TableCell/TableCell.js";import"../Table/TablePagination/TablePagination.js";import"../Table/TablePaginationActions/TablePaginationActions.js";import"../Tooltip/ScrollableTooltip.js";import"../PriceInput/PriceInput.js";import"../LabelsCounter/LabelsCounter.js";import"../Stepper/Stepper.js";import"../Stepper/Step/Step.js";import"../Stepper/StepsWrapper.js";import"../Comment/CommentIcon/index.js";import"../FilesLoader/FilesLoader.js";import"../../componentsV2/FileIcon/icons/ArchiveFileIcon.js";import"../../componentsV2/FileIcon/icons/CSVFileIcon.js";import"../../componentsV2/FileIcon/icons/DocFileIcon.js";import"../../componentsV2/FileIcon/icons/EDMFileIcon.js";import"../../componentsV2/FileIcon/icons/ExcelFileIcon.js";import"../../componentsV2/FileIcon/icons/ImageFileIcon.js";import"../../componentsV2/FileIcon/icons/JsonFileIcon.js";import"../../componentsV2/FileIcon/icons/LasFileIcon.js";import"../../componentsV2/FileIcon/icons/OtherFileIcon.js";import"../../componentsV2/FileIcon/icons/PdfFileIcon.js";import"../../componentsV2/FileIcon/icons/PowerPointFileIcon.js";import"../../componentsV2/FileIcon/icons/TxtFileIcon.js";import"../../componentsV2/FileIcon/icons/UnknownFileIcon.js";import"../../componentsV2/FileIcon/icons/VideoFileIcon.js";import"../../componentsV2/FileIcon/icons/XmlFileIcon.js";import"../SearchInput/index.js";import"../FeedItem/FeedItem.js";import"../FeedItem/FeedItemEditProvider/FeedItemEditProvider.js";import"../PostInput/PostInput.js";import"../KeyboardDateTimePicker.js";import"../AddComment/Popover.js";import"../AddComment/Popup.js";import"../StageDesignVActual/ComparisonBar/ComparisonBar.js";import"../StageDesignVActual/ElementsComparison/ElementsComparison.js";import"../StageDesignVActual/ComparisonHeader.js";import"../StageDesignVActual/ComparisonRow.js";import"../EmbeddedApp/DevCenterEmbeddedApp.js";import"../EmbeddedApp/EmbeddedApp.js";import"../Autocomplete/Autocomplete.js";import"../ColorPickerPalette/ColorPickerPalette.js";import"../Search/Search.js";import"../Search/components/Listbox.js";import"../Search/components/Paper.js";import"../Search/components/RecentSearches.js";import"../Search/components/Groups.js";import"../Search/components/SelectAllListItem.js";import"../StatusBadge/index.js";import"../Attachment/index.js";import"../EmojiIconButton.js";import"../FileUploadIconButton.js";import"../FilePreview/index.js";import"../FailedFileUploading.js";import"../UserMention/index.js";import"../CommentsInfo/index.js";import"../CommentInput/index.js";import"../Comment/index.js";import"../CommentLoader.js";import"../AssetNameLabel/AssetStatusBadge.js";import"../AssetEditorV2/components/PrimaryAssetSelect.js";import"../AssetEditorV2/components/SecondaryAssetSelect.js";import"../AssetEditorV2/components/SelectItem.js";import"../AssetEditorV2/components/MultipleAssetsToggle.js";import"../AssetEditorV2/components/PrimaryAssetSelectV2.js";import"../EChartsWrapper/EChartsWrapper.js";import"../AssetsMultipleSelector/AssetsMultipleSelector.js";import"../GoogleDocsViewer/index.js";import"../NewDocumentViewer/effects/useFileContent.js";import"../NewDocumentViewer/styles.js";import"../FilesLoaderV2/styles.js";import"../FilesDropzone/styles.js";import"../FilesProcessor/styles.js";import"../Hint/styles.js";import"@babel/runtime/helpers/taggedTemplateLiteral";import"fparser";import"../Formula/useFormulaStyles.js";import"../Formula/RootXIcon.js";import"../Formula/FormulaTextEditor.js";import"../Formula/CloseSuggestion.js";import"../Formula/SuggestionsMenu.js";var V=function(r){var V=r.open,S=r.fileUrl,I=r.fileSize,g=r.fileName,v=r.webviewType,f=r.onClose,D=t(!0),b=e(D,2),P=b[0],h=b[1],T=t(!1),x=e(T,2),F=x[0],B=x[1],y=s(null),k=s(null),L=j(),M=i((function(){return"office"===v?"https://view.officeapps.live.com/op/embed.aspx?src=".concat(window.encodeURIComponent(S)):"https://docs.google.com/viewer?url=".concat(encodeURIComponent(S),"&embedded=true")}),[S]),E=function(){k.current&&(k.current.src=M(),k.current.contentWindow.location.reload())},H=function(){y.current&&clearInterval(y.current),h(!1)};return n((function(){h(!0),B(!1);var o=I&&I>=1048576?I/1048576*1e4:1e4;return y&&V&&(clearInterval(y.current),y.current=setInterval(E,o)),function(){clearInterval(y.current)}}),[S,V]),u(m,{open:V,onClose:f,onContextMenu:function(o){return o.stopPropagation()},children:A("div",{className:L.cDocsViewer,children:[A("div",{className:L.cDocsViewerToolbar,children:[u(c,{children:g}),A("div",{children:[u(a,{size:"small",className:L.cDocsViewerToolbarIconButton,children:u("a",{download:!0,href:S,target:"_blank",rel:"noopener noreferrer",children:u(d,{fontSize:"small"})})}),u(a,{size:"small",onClick:f,className:L.cDocsViewerToolbarIconButton,children:u(l,{fontSize:"small"})})]})]}),P&&u("div",{className:L.cDocsViewerFrame,children:u(C,{white:!1})}),F?u("div",{className:L.cDocsViewerFrame,children:u(c,{variant:"body2",className:L.cDocsViewerFrameFailed,children:"Loading failed"})}):u("iframe",{className:p(L.cDocsViewerFrame,o({},L.cDocsViewerFrameHidden,P)),title:S,src:M(),onLoad:H,onError:function(){H(),B(!0)},ref:k})]})})};V.propTypes={open:r.bool.isRequired,fileUrl:r.string.isRequired,webviewType:r.oneOf(["google","office"]),fileName:r.string,fileSize:r.number,onClose:r.func.isRequired,classes:r.shape({}).isRequired},V.defaultProps={fileName:void 0,fileSize:void 0,webviewType:"google"};export{V as default};
1
+ import e from"@babel/runtime/helpers/defineProperty";import o from"@babel/runtime/helpers/slicedToArray";import{useState as t,createRef as s,useCallback as i,useEffect as n}from"react";import r from"prop-types";import p from"classnames";import{Modal as m,Typography as c,IconButton as a}from"@material-ui/core";import l from"@material-ui/icons/Close";import d from"@material-ui/icons/GetApp";import{useStyles as j}from"./styles.js";import{jsx as u,jsxs as A}from"react/jsx-runtime";import"../DevCenter/DevCenterAppContainer/components/IsInsideIsolatedDcAppProvider/IsInsideIsolatedDcAppProvider.js";import"../DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/DcFullscreenElemsCoordinatorProvider.js";import"../DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/IsInsideDcFullscreenElemProvider.js";import"lodash";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"../../utils/mobileDetect.js";import"../IconButton/index.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"../Modal/CorvaModal.css.js";import"uuid";import"../IconMenu/index.js";import"../StyledMenuItem/index.js";import"../AppIcon/AppIcon.js";import"../DevCenter/AppHeader/AppHeader.js";import"../DevCenter/AppSideBar/AppSideBar.js";import"../DevCenter/AppsDataProvider/AppsDataProvider.js";import"@material-ui/icons";import"../DevCenter/AppContext.js";import"../DevCenter/DevCenterRouterContext/DevCenterRouterContext.js";import"../DevCenter/DevCenterRouterContext/UniversalLink/UniversalLink.js";import"@babel/runtime/helpers/objectWithoutProperties";import"react-router";import"@babel/runtime/helpers/asyncToGenerator";import"@babel/runtime/regenerator";import"../../utils/index.js";import"../DevCenter/DevCenterAppContainer/components/AppActions/AppActions.css.js";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"../../componentsV2/Header/Header.scss.js";import"../../componentsV2/Button/Button.js";import"../../componentsV2/ButtonIcon/ButtonIcon.js";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"../../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"../../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"../../componentsV2/AppCommonsProvider/AppCommonsContext.js";import"../../componentsV2/AppHeader/AppHeader.constants.js";import"../../componentsV2/AppHeader/AppBadge/AppBadge.scss.js";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"../../clients/jsonApi/index.js";import"@babel/runtime/helpers/toConsumableArray";import"lodash/set";import"lodash/get";import"lodash/unset";import"moment";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"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"../../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"../DevCenter/DevCenterAppContainer/components/RestoreAppSizeButton/index.js";import"rollbar";import"@rollbar/react";import"../DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchButton.scss.js";import"../DevCenter/DevCenterAppContainer/DevCenterAppContainer.css.js";import"../Icons/AnnotationIcon.js";import"../Annotations/components/AnnotationsList/index.js";import"../Annotations/components/LastAnnotation/index.js";import"../Annotations/AnnotationsContext.js";import"../Toaster/Toaster.js";import"../HelpCenter/HelpCenterIcon.js";import"../DevCenter/NavigationBar/NavigationBar.js";import"../DevCenter/SideBar/SideBar.js";import"../DevCenter/AppSettingsPopover/AppSettingsPopover.js";import"../DevCenter/AppFilterPanelLayout/AppFilterPanelLayout.js";import"../DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedAppPage.js";import"../DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedApp.js";import"../AssetEditor/index.js";import"../AssetEditorV2/index.js";import"../AppVersionsSelect/AppVersionsSelect.js";import C from"../LoadingIndicator/LoadingIndicator.js";import"../Typography.js";import"../RealTimeValuesSidebar/RealTimeSidebar.js";import"../CollapsableSidebar.js";import"../DateTimePicker/index.js";import"../DatePicker/index.js";import"../ErrorBoundary/ErrorBoundary.js";import"../ErrorBoundary/DevCenterAppErrorView/DevCenterAppErrorView.js";import"../SlateFormattedText/SlateFormattedText.js";import"../SlateFormattedText/RenderElements.js";import"slate";import"../EmptyState/EmptyState.js";import"../ParameterCharts/ParameterCharts.js";import"../ParameterCharts/AddEditTrack.js";import"../ChartActionsList/ChartActionsList.js";import"../CopyToClipboard/CopyToClipboard.js";import"../AssetEditor/AssetEditorAutocomplete.js";import"../AssetEditor/SingleAssetEditor.js";import"react-color";import"../SettingEditors/ColorEditor/style.css.js";import"../SettingEditors/DropdownEditor/index.js";import"../SwitchControl/index.js";import"../ColorPicker/ColorPicker.js";import"../Chart/components/ChartButton.js";import"../Chart/components/ChartButtons.js";import"../Chart/components/ChartWrapper.js";import"../Chart/components/AxisDropdown.js";import"../Chart/components/ChartSelect.js";import"../Chart/components/buttons/DragToZoomButton.js";import"../Chart/components/buttons/ZoomInButton.js";import"../Chart/components/buttons/ZoomOutButton.js";import"../Chart/components/buttons/PanButton.js";import"../Chart/components/buttons/ResetZoomButton.js";import"../Chart/components/buttons/HideAxesButton.js";import"../Chart/components/buttons/ChartTypeButton.js";import"../ColorPicker/PaletteChromePicker/PaletteChromePicker.js";import"../TruncatedText/index.js";import"../MiddleTruncatedText/MiddleTruncatedText.js";import"../RangeSlider/constants.js";import"../RangeSlider/Input.css.js";import"../RangeSlider/RangeSlider.css.js";import"../AdvancedSlider/AdvancedSlider.js";import"../Breadcrumbs/index.js";import"../VirtualizedTable/index.js";import"../EmptyView/EmptyView.js";import"../EmptyView/EmptyAppView/EmptyAppView.js";import"../Button/components/Button/index.js";import"moment-timezone";import"../Button/components/LiveButton/components/LiveButtonStateIndicator/index.js";import"../Button/components/LiveButton/styles.js";import"../ContextMenuItem/index.js";import"../FolderMenuItem/index.js";import"../EditableItem/EditableItem/index.js";import"../EditableItem/EditableItemWithBadge/index.js";import"../Checkbox/index.js";import"../FolderMenuItemWithLinks/index.js";import"../TextField/index.js";import"../Chip/index.js";import"../Counter/index.js";import"../AnchorsList/AnchorsList.js";import"../Select/index.js";import"../Select/SelectFilterBy.js";import"../CustomSelect/index.js";import"../Tabs/Tabs.js";import"../Tabs/Tab.js";import"../ResizableTable/ResizableTable.js";import"../GradientPicker/GradientPicker.js";import"../GradientManager/GradientList.js";import"@material-ui/icons/AddCircle";import"../GradientManager/GradientPreview/GradientPreview.js";import"../GradientManager/GradientSelect.styles.js";import"../GradientManager/GradientManager.styles.js";import"../Drillstring/BHASchematic.js";import"../Drillstring/BHATable/index.js";import"../Drillstring/BHAComponentIcon.js";import"../Drillstring/BHAComponentDetail/index.js";import"../Drillstring/BHATileIcon.js";import"../Drillstring/BHATile/BHATile.js";import"../Drillstring/BHAList/BHAList.js";import"../Drillstring/BHAComponentsTable/BHAComponentsTable.js";import"../Casing/CasingTable/index.js";import"../Casing/CasingComponentIcon.js";import"../Casing/CasingTileIcon.js";import"../Casing/CasingTableV2/CasingTableV2.js";import"../Casing/CasingTile/CasingTile.js";import"../DisabledSettingsMessage/DisabledSettingsMessage.js";import"../WellSummary/WellSummaryItemLabel.js";import"../WellSummary/WellSummaryItemTitle.js";import"../WellSummary/WellSummaryItemValue.js";import"../WellSummary/ActivitySummaryChart.js";import"../WellSummary/FracWirelineTimeChart.js";import"../BICOffsetPickerDialog/index.js";import"../OffsetWellButton/OffsetWellButton.js";import"../OffsetWellPickerV2/OffsetWellPickerDialog.js";import"../OffsetWellPickerV3/index.js";import"../OffsetWellChips/Chip.js";import"../OffsetWellChips/ChipsContainer.js";import"zustand";import"../OffsetWellPickerV5/stores/picker-props-store/PickerPropsStoreContext.js";import"../OffsetWellPickerV5/constants.js";import"lodash/isEqual";import"../OffsetWellPickerV5/stores/filter-store/FilterStoreContext.js";import"../OffsetWellPickerV5/stores/view-store/ViewStoreContext.js";import"../OffsetWellPickerV5/api/shared/dataFormatter.js";import"geolib";import"../../utils/convert.js";import"../OffsetWellPickerV5/utils/wellTransformations.js";import"react-virtualized";import"../OffsetWellPickerV5/effects/useAssetsData.js";import"../../permissions/PermissionsContext.js";import"../../permissions/constants/index.js";import"../../permissions/withPermissionsHOC.js";import"../../permissions/ProvidePermissions.js";import"../OffsetWellPickerV5/components/AppHeader/AppHeader.js";import"../OffsetWellPickerV5/components/Filter/Filter.js";import"react-map-gl/mapbox";import"mapbox-gl/dist/mapbox-gl.css";import"../OffsetWellPickerV5/components/Map/OffsetWellMap/components/RadiusInput/RadiusInput.module.css.js";import"../OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapControls/MapControls.module.css.js";import"@material-ui/icons/Info";import"@material-ui/icons/Block";import"../OffsetWellPickerV5/components/Map/OffsetWellMap/components/WellTooltip/WellTooltip.module.css.js";import"../OffsetWellPickerV5/components/Map/OffsetWellMap/components/LayerSwitcher/LayerSwitcher.module.css.js";import"../OffsetWellPickerV5/components/Map/OffsetWellMap/components/LassoTip/LassoTip.module.css.js";import"@turf/circle";import"@turf/bbox";import"../OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useWellMarkers.js";import"@mapbox/mapbox-gl-draw";import"@mapbox/mapbox-gl-draw/dist/mapbox-gl-draw.css";import"../OffsetWellPickerV5/components/Map/OffsetWellMap/OffsetWellMap.module.css.js";import"../../config/mapbox/index.js";import"../OffsetWellPickerV5/components/Map/WellsMap.module.css.js";import"../OffsetWellPickerV5/components/OffsetWellsTable/OffsetWellsTable.js";import"../OffsetWellPickerV5/components/OffsetWellsTable/OffsetWellsTableHead.js";import"../OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/AdvancedSearch.js";import"../OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/constants.js";import"../OffsetWellPickerV5/utils/index.js";import"../OffsetWellPickerV5/OffsetWellPickerV5.module.css.js";import"../OffsetWellPickerV5/components/OffsetWellsTable/OffsetWellsTable.module.css.js";import"@material-ui/core/Snackbar";import"../Notifications/Toast.js";import"../Notifications/Notifications.scss.js";import"../../styles/typography/index.js";import"../../styles/counter/counter.module.scss.js";import"../OffsetWellPickerV4/utils/apiCalls.js";import"../OffsetWellPickerV4/effects/useAdvancedWells.js";import"../OffsetWellPickerV4/constants.js";import"../OffsetWellPickerV4/effects/useAssetsData.js";import"../OffsetWellPickerV4/components/AppHeader/AppHeader.js";import"../OffsetWellPickerV4/components/Toolbar/Toolbar.js";import"../OffsetWellPickerV4/components/Filter/Filter.js";import"../OffsetWellPickerV4/components/Map/WellsMap.js";import"../OffsetWellPickerV4/components/OffsetWellsTable/OffsetWellsTable.js";import"../OffsetWellPickerV4/components/OffsetWellsTable/AdvancedSearch/constants.js";import"../OffsetWellPickerV4/utils/index.js";import"../OffsetWellPickerV4/OffsetWellPickerV4.module.css.js";import"../OffsetWellMap/OffsetWellMap.js";import"../ConfirmationDialog.js";import"../TextLink/index.js";import"../Avatar/index.js";import"../Template/TemplatePopover/index.js";import"../Template/TemplateSharingDialog/index.js";import"../MenuItem/index.js";import"../MiddleTruncate/MiddleTruncate.js";import"../PinnableFilters/PinnableFilters.js";import"../HeaderLayout/HeaderLayout.js";import"../PadOffsetsPicker/PadOffsetsPicker.js";import"../PadOffsetsPicker/OffsetAssetChip.js";import"../PadOffsetsPicker/OffsetAssetsListExpander.js";import"../PadOffsetsPicker/StagesSelector.js";import"../PadOffsetsPickerV2/PadOffsetsPickerV2.js";import"../Table/TableToolbar/TableToolbar.js";import"../Table/TableContainer/TableContainer.js";import"../Table/TableCell/TableCell.js";import"../Table/TablePagination/TablePagination.js";import"../Table/TablePaginationActions/TablePaginationActions.js";import"../Tooltip/ScrollableTooltip.js";import"../PriceInput/PriceInput.js";import"../LabelsCounter/LabelsCounter.js";import"../Stepper/Stepper.js";import"../Stepper/Step/Step.js";import"../Stepper/StepsWrapper.js";import"../Comment/CommentIcon/index.js";import"../FilesLoader/FilesLoader.js";import"../../componentsV2/FileIcon/icons/ArchiveFileIcon.js";import"../../componentsV2/FileIcon/icons/CSVFileIcon.js";import"../../componentsV2/FileIcon/icons/DocFileIcon.js";import"../../componentsV2/FileIcon/icons/EDMFileIcon.js";import"../../componentsV2/FileIcon/icons/ExcelFileIcon.js";import"../../componentsV2/FileIcon/icons/ImageFileIcon.js";import"../../componentsV2/FileIcon/icons/JsonFileIcon.js";import"../../componentsV2/FileIcon/icons/LasFileIcon.js";import"../../componentsV2/FileIcon/icons/OtherFileIcon.js";import"../../componentsV2/FileIcon/icons/PdfFileIcon.js";import"../../componentsV2/FileIcon/icons/PowerPointFileIcon.js";import"../../componentsV2/FileIcon/icons/TxtFileIcon.js";import"../../componentsV2/FileIcon/icons/UnknownFileIcon.js";import"../../componentsV2/FileIcon/icons/VideoFileIcon.js";import"../../componentsV2/FileIcon/icons/XmlFileIcon.js";import"../SearchInput/index.js";import"../FeedItem/FeedItem.js";import"../FeedItem/FeedItemEditProvider/FeedItemEditProvider.js";import"../PostInput/PostInput.js";import"../KeyboardDateTimePicker.js";import"../AddComment/Popover.js";import"../AddComment/Popup.js";import"../StageDesignVActual/ComparisonBar/ComparisonBar.js";import"../StageDesignVActual/ElementsComparison/ElementsComparison.js";import"../StageDesignVActual/ComparisonHeader.js";import"../StageDesignVActual/ComparisonRow.js";import"../EmbeddedApp/DevCenterEmbeddedApp.js";import"../EmbeddedApp/EmbeddedApp.js";import"../Autocomplete/Autocomplete.js";import"../ColorPickerPalette/ColorPickerPalette.js";import"../Search/Search.js";import"../Search/components/Listbox.js";import"../Search/components/Paper.js";import"../Search/components/RecentSearches.js";import"../Search/components/Groups.js";import"../Search/components/SelectAllListItem.js";import"../StatusBadge/index.js";import"../Attachment/index.js";import"../EmojiIconButton.js";import"../FileUploadIconButton.js";import"../FilePreview/index.js";import"../FailedFileUploading.js";import"../UserMention/index.js";import"../CommentsInfo/index.js";import"../CommentInput/index.js";import"../Comment/index.js";import"../CommentLoader.js";import"../AssetNameLabel/AssetStatusBadge.js";import"../AssetEditorV2/components/PrimaryAssetSelect.js";import"../AssetEditorV2/components/SecondaryAssetSelect.js";import"../AssetEditorV2/components/SelectItem.js";import"../AssetEditorV2/components/MultipleAssetsToggle.js";import"../AssetEditorV2/components/PrimaryAssetSelectV2.js";import"../EChartsWrapper/EChartsWrapper.js";import"../AssetsMultipleSelector/AssetsMultipleSelector.js";import"../GoogleDocsViewer/index.js";import"../NewDocumentViewer/effects/useFileContent.js";import"../NewDocumentViewer/styles.js";import"../FilesLoaderV2/styles.js";import"../FilesDropzone/styles.js";import"../FilesProcessor/styles.js";import"../Hint/styles.js";import"@babel/runtime/helpers/taggedTemplateLiteral";import"fparser";import"../Formula/useFormulaStyles.js";import"../Formula/RootXIcon.js";import"../Formula/FormulaTextEditor.js";import"../Formula/CloseSuggestion.js";import"../Formula/SuggestionsMenu.js";var f=function(r){var f=r.open,V=r.fileUrl,S=r.fileSize,I=r.fileName,P=r.webviewType,g=r.onClose,b=t(!0),v=o(b,2),D=v[0],h=v[1],T=t(!1),x=o(T,2),F=x[0],W=x[1],k=s(null),B=s(null),O=j(),M=i((function(){return"office"===P?"https://view.officeapps.live.com/op/embed.aspx?src=".concat(window.encodeURIComponent(V)):"https://docs.google.com/viewer?url=".concat(encodeURIComponent(V),"&embedded=true")}),[V]),y=function(){B.current&&(B.current.src=M(),B.current.contentWindow.location.reload())},L=function(){k.current&&clearInterval(k.current),h(!1)};return n((function(){h(!0),W(!1);var e=S&&S>=1048576?S/1048576*1e4:1e4;return k&&f&&(clearInterval(k.current),k.current=setInterval(y,e)),function(){clearInterval(k.current)}}),[V,f]),u(m,{open:f,onClose:g,onContextMenu:function(e){return e.stopPropagation()},children:A("div",{className:O.cDocsViewer,children:[A("div",{className:O.cDocsViewerToolbar,children:[u(c,{children:I}),A("div",{children:[u(a,{size:"small",className:O.cDocsViewerToolbarIconButton,children:u("a",{download:!0,href:V,target:"_blank",rel:"noopener noreferrer",children:u(d,{fontSize:"small"})})}),u(a,{size:"small",onClick:g,className:O.cDocsViewerToolbarIconButton,children:u(l,{fontSize:"small"})})]})]}),D&&u("div",{className:O.cDocsViewerFrame,children:u(C,{white:!1})}),F?u("div",{className:O.cDocsViewerFrame,children:u(c,{variant:"body2",className:O.cDocsViewerFrameFailed,children:"Loading failed"})}):u("iframe",{className:p(O.cDocsViewerFrame,e({},O.cDocsViewerFrameHidden,D)),title:V,src:M(),onLoad:L,onError:function(){L(),W(!0)},ref:B})]})})};f.propTypes={open:r.bool.isRequired,fileUrl:r.string.isRequired,webviewType:r.oneOf(["google","office"]),fileName:r.string,fileSize:r.number,onClose:r.func.isRequired,classes:r.shape({}).isRequired},f.defaultProps={fileName:void 0,fileSize:void 0,webviewType:"google"};export{f as default};
2
2
  //# sourceMappingURL=DocumentViewer.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"DocumentViewer.js","sources":["../../../src/components/DocumentViewer/DocumentViewer.js"],"sourcesContent":["import { createRef, useCallback, useEffect, useState } from 'react';\nimport PropTypes from 'prop-types';\nimport classNames from 'classnames';\nimport { Typography, Modal, IconButton } from '@material-ui/core';\nimport CloseIcon from '@material-ui/icons/Close';\nimport GetAppIcon from '@material-ui/icons/GetApp';\n\nimport { useStyles } from './styles.js';\n\nimport { LoadingIndicator } from '~/components';\n\nconst REQUEST_TIMEOUT = 10000;\nconst BYTES_IN_MEGABYTE = 1048576;\n\nconst DocumentViewer = ({ open, fileUrl, fileSize, fileName, webviewType, onClose }) => {\n const [isLoading, setIsLoading] = useState(true);\n const [isLoadingFailed, setIsLoadingFailed] = useState(false);\n const timeoutRef = createRef(null);\n const iframeRef = createRef(null);\n const styles = useStyles();\n\n const getIframeLink = useCallback(() => {\n return webviewType === 'office'\n ? `https://view.officeapps.live.com/op/embed.aspx?src=${window.encodeURIComponent(fileUrl)}`\n : `https://docs.google.com/viewer?url=${encodeURIComponent(fileUrl)}&embedded=true`;\n }, [fileUrl]);\n\n const reloadFrame = () => {\n if (iframeRef.current) {\n iframeRef.current.src = getIframeLink();\n iframeRef.current.contentWindow.location.reload();\n }\n };\n\n const handleFrameLoad = () => {\n if (timeoutRef.current) {\n clearInterval(timeoutRef.current);\n }\n setIsLoading(false);\n };\n\n const handleFrameError = () => {\n handleFrameLoad();\n setIsLoadingFailed(true);\n };\n\n useEffect(() => {\n setIsLoading(true);\n setIsLoadingFailed(false);\n const timeOut =\n fileSize && fileSize >= BYTES_IN_MEGABYTE\n ? (fileSize / BYTES_IN_MEGABYTE) * REQUEST_TIMEOUT\n : REQUEST_TIMEOUT;\n\n if (timeoutRef && open) {\n clearInterval(timeoutRef.current);\n timeoutRef.current = setInterval(reloadFrame, timeOut);\n }\n\n return () => {\n clearInterval(timeoutRef.current);\n };\n }, [fileUrl, open]);\n\n return (\n <Modal open={open} onClose={onClose} onContextMenu={e => e.stopPropagation()}>\n <div className={styles.cDocsViewer}>\n <div className={styles.cDocsViewerToolbar}>\n <Typography>{fileName}</Typography>\n <div>\n <IconButton size=\"small\" className={styles.cDocsViewerToolbarIconButton}>\n <a download href={fileUrl} target=\"_blank\" rel=\"noopener noreferrer\">\n <GetAppIcon fontSize=\"small\" />\n </a>\n </IconButton>\n <IconButton\n size=\"small\"\n onClick={onClose}\n className={styles.cDocsViewerToolbarIconButton}\n >\n <CloseIcon fontSize=\"small\" />\n </IconButton>\n </div>\n </div>\n\n {isLoading && (\n <div className={styles.cDocsViewerFrame}>\n <LoadingIndicator white={false} />\n </div>\n )}\n {isLoadingFailed ? (\n <div className={styles.cDocsViewerFrame}>\n <Typography variant=\"body2\" className={styles.cDocsViewerFrameFailed}>\n Loading failed\n </Typography>\n </div>\n ) : (\n <iframe\n className={classNames(styles.cDocsViewerFrame, {\n [styles.cDocsViewerFrameHidden]: isLoading,\n })}\n title={fileUrl}\n src={getIframeLink()}\n onLoad={handleFrameLoad}\n onError={handleFrameError}\n ref={iframeRef}\n />\n )}\n </div>\n </Modal>\n );\n};\n\nDocumentViewer.propTypes = {\n open: PropTypes.bool.isRequired,\n fileUrl: PropTypes.string.isRequired,\n webviewType: PropTypes.oneOf(['google', 'office']),\n fileName: PropTypes.string,\n fileSize: PropTypes.number,\n onClose: PropTypes.func.isRequired,\n classes: PropTypes.shape({}).isRequired,\n};\n\nDocumentViewer.defaultProps = {\n fileName: undefined,\n fileSize: undefined,\n webviewType: 'google',\n};\n\nexport default DocumentViewer;\n"],"names":["DocumentViewer","_ref","open","fileUrl","fileSize","fileName","webviewType","onClose","useState","_useState2","_slicedToArray","_useState","isLoading","setIsLoading","_useState4","_useState3","isLoadingFailed","setIsLoadingFailed","timeoutRef","createRef","iframeRef","styles","useStyles","getIframeLink","useCallback","concat","window","encodeURIComponent","reloadFrame","current","src","contentWindow","location","reload","handleFrameLoad","clearInterval","useEffect","timeOut","setInterval","_jsx","Modal","onContextMenu","e","stopPropagation","children","_jsxs","className","cDocsViewer","cDocsViewerToolbar","Typography","IconButton","size","cDocsViewerToolbarIconButton","download","href","target","rel","GetAppIcon","fontSize","onClick","CloseIcon","cDocsViewerFrame","LoadingIndicator","white","variant","cDocsViewerFrameFailed","classNames","cDocsViewerFrameHidden","title","onLoad","onError","ref","propTypes","PropTypes","bool","isRequired","string","oneOf","number","func","classes","shape","defaultProps","undefined"],"mappings":"+4sBAWA,IAGMA,EAAiB,SAAiEC,GAAA,IAA9DC,IAAAA,KAAMC,IAAAA,QAASC,IAAAA,SAAUC,IAAAA,SAAUC,IAAAA,YAAaC,IAAAA,QACtCC,EAAAA,GAAS,GAAKC,EAAAC,EAAAC,EAAA,GAAzCC,EAASH,EAAA,GAAEI,EAAYJ,EAAA,GACgBD,EAAAA,GAAS,GAAMM,EAAAJ,EAAAK,EAAA,GAAtDC,EAAeF,EAAA,GAAEG,EAAkBH,EAAA,GACpCI,EAAaC,EAAU,MACvBC,EAAYD,EAAU,MACtBE,EAASC,IAETC,EAAgBC,GAAY,WAChC,MAAuB,WAAhBlB,EAAwB,sDAAAmB,OAC2BC,OAAOC,mBAAmBxB,IAC1CwB,sCAAAA,OAAAA,mBAAmBxB,GAAwB,iBACvF,GAAG,CAACA,IAEEyB,EAAc,WACdR,EAAUS,UACZT,EAAUS,QAAQC,IAAMP,IACxBH,EAAUS,QAAQE,cAAcC,SAASC,WAIvCC,EAAkB,WAClBhB,EAAWW,SACbM,cAAcjB,EAAWW,SAE3BhB,GAAa,IA0Bf,OAlBAuB,GAAU,WACRvB,GAAa,GACbI,GAAmB,GACnB,IAAMoB,EACJjC,GAAYA,GAtCQ,QAuCfA,EAvCe,QADF,QAgDpB,OALIc,GAAchB,IAChBiC,cAAcjB,EAAWW,SACzBX,EAAWW,QAAUS,YAAYV,EAAaS,IAGzC,WACLF,cAAcjB,EAAWW,SAE7B,GAAG,CAAC1B,EAASD,IAGXqC,EAACC,EAAK,CAACtC,KAAMA,EAAMK,QAASA,EAASkC,cAAe,SAAAC,GAAC,OAAIA,EAAEC,iBAAkB,EAAAC,SAC3EC,EAAA,MAAA,CAAKC,UAAWzB,EAAO0B,YAAYH,SACjC,CAAAC,EAAA,MAAA,CAAKC,UAAWzB,EAAO2B,mBAAmBJ,SAAA,CACxCL,EAACU,EAAU,CAAAL,SAAEvC,IACbwC,EAAA,MAAA,CAAAD,SAAA,CACEL,EAACW,EAAU,CAACC,KAAK,QAAQL,UAAWzB,EAAO+B,6BAA6BR,SACtEL,EAAA,IAAA,CAAGc,UAAQ,EAACC,KAAMnD,EAASoD,OAAO,SAASC,IAAI,sBAAqBZ,SAClEL,EAACkB,EAAU,CAACC,SAAS,cAGzBnB,EAACW,EAAU,CACTC,KAAK,QACLQ,QAASpD,EACTuC,UAAWzB,EAAO+B,6BAA6BR,SAE/CL,EAACqB,EAAS,CAACF,SAAS,kBAKzB9C,GACC2B,EAAA,MAAA,CAAKO,UAAWzB,EAAOwC,iBAAiBjB,SACtCL,EAACuB,EAAgB,CAACC,OAAO,MAG5B/C,EACCuB,EAAA,MAAA,CAAKO,UAAWzB,EAAOwC,iBAAiBjB,SACtCL,EAACU,EAAU,CAACe,QAAQ,QAAQlB,UAAWzB,EAAO4C,uBAAuBrB,SAAA,qBAKvEL,EAAA,SAAA,CACEO,UAAWoB,EAAW7C,EAAOwC,iBAC1BxC,EAAAA,CAAAA,EAAAA,EAAO8C,uBAAyBvD,IAEnCwD,MAAOjE,EACP2B,IAAKP,IACL8C,OAAQnC,EACRoC,QA/De,WACvBpC,IACAjB,GAAmB,IA8DXsD,IAAKnD,QAMjB,EAEApB,EAAewE,UAAY,CACzBtE,KAAMuE,EAAUC,KAAKC,WACrBxE,QAASsE,EAAUG,OAAOD,WAC1BrE,YAAamE,EAAUI,MAAM,CAAC,SAAU,WACxCxE,SAAUoE,EAAUG,OACpBxE,SAAUqE,EAAUK,OACpBvE,QAASkE,EAAUM,KAAKJ,WACxBK,QAASP,EAAUQ,MAAM,CAAA,GAAIN,YAG/B3E,EAAekF,aAAe,CAC5B7E,cAAU8E,EACV/E,cAAU+E,EACV7E,YAAa"}
1
+ {"version":3,"file":"DocumentViewer.js","sources":["../../../src/components/DocumentViewer/DocumentViewer.js"],"sourcesContent":["import { createRef, useCallback, useEffect, useState } from 'react';\nimport PropTypes from 'prop-types';\nimport classNames from 'classnames';\nimport { Typography, Modal, IconButton } from '@material-ui/core';\nimport CloseIcon from '@material-ui/icons/Close';\nimport GetAppIcon from '@material-ui/icons/GetApp';\n\nimport { useStyles } from './styles.js';\n\nimport { LoadingIndicator } from '~/components';\n\nconst REQUEST_TIMEOUT = 10000;\nconst BYTES_IN_MEGABYTE = 1048576;\n\nconst DocumentViewer = ({ open, fileUrl, fileSize, fileName, webviewType, onClose }) => {\n const [isLoading, setIsLoading] = useState(true);\n const [isLoadingFailed, setIsLoadingFailed] = useState(false);\n const timeoutRef = createRef(null);\n const iframeRef = createRef(null);\n const styles = useStyles();\n\n const getIframeLink = useCallback(() => {\n return webviewType === 'office'\n ? `https://view.officeapps.live.com/op/embed.aspx?src=${window.encodeURIComponent(fileUrl)}`\n : `https://docs.google.com/viewer?url=${encodeURIComponent(fileUrl)}&embedded=true`;\n }, [fileUrl]);\n\n const reloadFrame = () => {\n if (iframeRef.current) {\n iframeRef.current.src = getIframeLink();\n iframeRef.current.contentWindow.location.reload();\n }\n };\n\n const handleFrameLoad = () => {\n if (timeoutRef.current) {\n clearInterval(timeoutRef.current);\n }\n setIsLoading(false);\n };\n\n const handleFrameError = () => {\n handleFrameLoad();\n setIsLoadingFailed(true);\n };\n\n useEffect(() => {\n setIsLoading(true);\n setIsLoadingFailed(false);\n const timeOut =\n fileSize && fileSize >= BYTES_IN_MEGABYTE\n ? (fileSize / BYTES_IN_MEGABYTE) * REQUEST_TIMEOUT\n : REQUEST_TIMEOUT;\n\n if (timeoutRef && open) {\n clearInterval(timeoutRef.current);\n timeoutRef.current = setInterval(reloadFrame, timeOut);\n }\n\n return () => {\n clearInterval(timeoutRef.current);\n };\n }, [fileUrl, open]);\n\n return (\n <Modal open={open} onClose={onClose} onContextMenu={e => e.stopPropagation()}>\n <div className={styles.cDocsViewer}>\n <div className={styles.cDocsViewerToolbar}>\n <Typography>{fileName}</Typography>\n <div>\n <IconButton size=\"small\" className={styles.cDocsViewerToolbarIconButton}>\n <a download href={fileUrl} target=\"_blank\" rel=\"noopener noreferrer\">\n <GetAppIcon fontSize=\"small\" />\n </a>\n </IconButton>\n <IconButton\n size=\"small\"\n onClick={onClose}\n className={styles.cDocsViewerToolbarIconButton}\n >\n <CloseIcon fontSize=\"small\" />\n </IconButton>\n </div>\n </div>\n\n {isLoading && (\n <div className={styles.cDocsViewerFrame}>\n <LoadingIndicator white={false} />\n </div>\n )}\n {isLoadingFailed ? (\n <div className={styles.cDocsViewerFrame}>\n <Typography variant=\"body2\" className={styles.cDocsViewerFrameFailed}>\n Loading failed\n </Typography>\n </div>\n ) : (\n <iframe\n className={classNames(styles.cDocsViewerFrame, {\n [styles.cDocsViewerFrameHidden]: isLoading,\n })}\n title={fileUrl}\n src={getIframeLink()}\n onLoad={handleFrameLoad}\n onError={handleFrameError}\n ref={iframeRef}\n />\n )}\n </div>\n </Modal>\n );\n};\n\nDocumentViewer.propTypes = {\n open: PropTypes.bool.isRequired,\n fileUrl: PropTypes.string.isRequired,\n webviewType: PropTypes.oneOf(['google', 'office']),\n fileName: PropTypes.string,\n fileSize: PropTypes.number,\n onClose: PropTypes.func.isRequired,\n classes: PropTypes.shape({}).isRequired,\n};\n\nDocumentViewer.defaultProps = {\n fileName: undefined,\n fileSize: undefined,\n webviewType: 'google',\n};\n\nexport default DocumentViewer;\n"],"names":["DocumentViewer","_ref","open","fileUrl","fileSize","fileName","webviewType","onClose","useState","_useState2","_slicedToArray","_useState","isLoading","setIsLoading","_useState4","_useState3","isLoadingFailed","setIsLoadingFailed","timeoutRef","createRef","iframeRef","styles","useStyles","getIframeLink","useCallback","concat","window","encodeURIComponent","reloadFrame","current","src","contentWindow","location","reload","handleFrameLoad","clearInterval","useEffect","timeOut","setInterval","_jsx","Modal","onContextMenu","e","stopPropagation","children","_jsxs","className","cDocsViewer","cDocsViewerToolbar","Typography","IconButton","size","cDocsViewerToolbarIconButton","download","href","target","rel","GetAppIcon","fontSize","onClick","CloseIcon","cDocsViewerFrame","LoadingIndicator","white","variant","cDocsViewerFrameFailed","classNames","cDocsViewerFrameHidden","title","onLoad","onError","ref","propTypes","PropTypes","bool","isRequired","string","oneOf","number","func","classes","shape","defaultProps","undefined"],"mappings":"soxBAWA,IAGMA,EAAiB,SAAiEC,GAAA,IAA9DC,IAAAA,KAAMC,IAAAA,QAASC,IAAAA,SAAUC,IAAAA,SAAUC,IAAAA,YAAaC,IAAAA,QACtCC,EAAAA,GAAS,GAAKC,EAAAC,EAAAC,EAAA,GAAzCC,EAASH,EAAA,GAAEI,EAAYJ,EAAA,GACgBD,EAAAA,GAAS,GAAMM,EAAAJ,EAAAK,EAAA,GAAtDC,EAAeF,EAAA,GAAEG,EAAkBH,EAAA,GACpCI,EAAaC,EAAU,MACvBC,EAAYD,EAAU,MACtBE,EAASC,IAETC,EAAgBC,GAAY,WAChC,MAAuB,WAAhBlB,EAAwB,sDAAAmB,OAC2BC,OAAOC,mBAAmBxB,IAC1CwB,sCAAAA,OAAAA,mBAAmBxB,GAAwB,iBACvF,GAAG,CAACA,IAEEyB,EAAc,WACdR,EAAUS,UACZT,EAAUS,QAAQC,IAAMP,IACxBH,EAAUS,QAAQE,cAAcC,SAASC,WAIvCC,EAAkB,WAClBhB,EAAWW,SACbM,cAAcjB,EAAWW,SAE3BhB,GAAa,IA0Bf,OAlBAuB,GAAU,WACRvB,GAAa,GACbI,GAAmB,GACnB,IAAMoB,EACJjC,GAAYA,GAtCQ,QAuCfA,EAvCe,QADF,QAgDpB,OALIc,GAAchB,IAChBiC,cAAcjB,EAAWW,SACzBX,EAAWW,QAAUS,YAAYV,EAAaS,IAGzC,WACLF,cAAcjB,EAAWW,SAE7B,GAAG,CAAC1B,EAASD,IAGXqC,EAACC,EAAK,CAACtC,KAAMA,EAAMK,QAASA,EAASkC,cAAe,SAAAC,GAAC,OAAIA,EAAEC,iBAAkB,EAAAC,SAC3EC,EAAA,MAAA,CAAKC,UAAWzB,EAAO0B,YAAYH,SACjC,CAAAC,EAAA,MAAA,CAAKC,UAAWzB,EAAO2B,mBAAmBJ,SAAA,CACxCL,EAACU,EAAU,CAAAL,SAAEvC,IACbwC,EAAA,MAAA,CAAAD,SAAA,CACEL,EAACW,EAAU,CAACC,KAAK,QAAQL,UAAWzB,EAAO+B,6BAA6BR,SACtEL,EAAA,IAAA,CAAGc,UAAQ,EAACC,KAAMnD,EAASoD,OAAO,SAASC,IAAI,sBAAqBZ,SAClEL,EAACkB,EAAU,CAACC,SAAS,cAGzBnB,EAACW,EAAU,CACTC,KAAK,QACLQ,QAASpD,EACTuC,UAAWzB,EAAO+B,6BAA6BR,SAE/CL,EAACqB,EAAS,CAACF,SAAS,kBAKzB9C,GACC2B,EAAA,MAAA,CAAKO,UAAWzB,EAAOwC,iBAAiBjB,SACtCL,EAACuB,EAAgB,CAACC,OAAO,MAG5B/C,EACCuB,EAAA,MAAA,CAAKO,UAAWzB,EAAOwC,iBAAiBjB,SACtCL,EAACU,EAAU,CAACe,QAAQ,QAAQlB,UAAWzB,EAAO4C,uBAAuBrB,SAAA,qBAKvEL,EAAA,SAAA,CACEO,UAAWoB,EAAW7C,EAAOwC,iBAC1BxC,EAAAA,CAAAA,EAAAA,EAAO8C,uBAAyBvD,IAEnCwD,MAAOjE,EACP2B,IAAKP,IACL8C,OAAQnC,EACRoC,QA/De,WACvBpC,IACAjB,GAAmB,IA8DXsD,IAAKnD,QAMjB,EAEApB,EAAewE,UAAY,CACzBtE,KAAMuE,EAAUC,KAAKC,WACrBxE,QAASsE,EAAUG,OAAOD,WAC1BrE,YAAamE,EAAUI,MAAM,CAAC,SAAU,WACxCxE,SAAUoE,EAAUG,OACpBxE,SAAUqE,EAAUK,OACpBvE,QAASkE,EAAUM,KAAKJ,WACxBK,QAASP,EAAUQ,MAAM,CAAA,GAAIN,YAG/B3E,EAAekF,aAAe,CAC5B7E,cAAU8E,EACV/E,cAAU+E,EACV7E,YAAa"}