@corva/ui 3.78.0-1 → 3.78.0-11

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 (584) hide show
  1. package/cjs-bundle/clients/index.js +1 -1
  2. package/cjs-bundle/clients/index.js.map +1 -1
  3. package/cjs-bundle/clients/subscriptions/constants.js +1 -1
  4. package/cjs-bundle/clients/subscriptions/constants.js.map +1 -1
  5. package/cjs-bundle/clients/subscriptions.js +1 -1
  6. package/cjs-bundle/clients/subscriptions.js.map +1 -1
  7. package/cjs-bundle/components/AddComment/Popover.js +1 -1
  8. package/cjs-bundle/components/AddComment/Popover.js.map +1 -1
  9. package/cjs-bundle/components/AddComment/components/Content.js +1 -1
  10. package/cjs-bundle/components/AddComment/components/Content.js.map +1 -1
  11. package/cjs-bundle/components/AssetEditor/effects/index.js +1 -1
  12. package/cjs-bundle/components/AssetEditor/effects/index.js.map +1 -1
  13. package/cjs-bundle/components/AssetEditorV2/effects/index.js +1 -1
  14. package/cjs-bundle/components/AssetEditorV2/effects/index.js.map +1 -1
  15. package/cjs-bundle/components/AssetEditorV2/effects/usePrimaryAssetSelectData.js +1 -1
  16. package/cjs-bundle/components/AssetEditorV2/effects/usePrimaryAssetSelectData.js.map +1 -1
  17. package/cjs-bundle/components/Attachment/index.js +1 -1
  18. package/cjs-bundle/components/Attachment/index.js.map +1 -1
  19. package/cjs-bundle/components/BICOffsetPickerDialog/index.js +1 -1
  20. package/cjs-bundle/components/BICOffsetPickerDialog/index.js.map +1 -1
  21. package/cjs-bundle/components/Casing/CasingTableV2/components/CasingJoints/Editor.js +1 -1
  22. package/cjs-bundle/components/Casing/CasingTableV2/components/CasingJoints/Editor.js.map +1 -1
  23. package/cjs-bundle/components/Casing/CasingTableV2/components/Component.js +1 -1
  24. package/cjs-bundle/components/Casing/CasingTableV2/components/Component.js.map +1 -1
  25. package/cjs-bundle/components/Casing/CasingTableV2/components/DrillPipe/Editor.js +1 -1
  26. package/cjs-bundle/components/Casing/CasingTableV2/components/DrillPipe/Editor.js.map +1 -1
  27. package/cjs-bundle/components/CollapsableSidebar.js +1 -1
  28. package/cjs-bundle/components/CollapsableSidebar.js.map +1 -1
  29. package/cjs-bundle/components/CommentComposer/CommentComposer.js +1 -1
  30. package/cjs-bundle/components/CommentComposer/CommentComposer.js.map +1 -1
  31. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/DevCenterAppContainer.js +1 -1
  32. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/DevCenterAppContainer.js.map +1 -1
  33. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchButton.js +1 -1
  34. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchButton.js.map +1 -1
  35. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/LegacyAppActions.js +1 -1
  36. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/LegacyAppActions.js.map +1 -1
  37. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/NonPriorityMenus.js +1 -1
  38. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/NonPriorityMenus.js.map +1 -1
  39. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/PriorityMenus.js +1 -1
  40. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/PriorityMenus.js.map +1 -1
  41. package/cjs-bundle/components/DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedAppPage.js +1 -1
  42. package/cjs-bundle/components/DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedAppPage.js.map +1 -1
  43. package/cjs-bundle/components/DocumentViewer/DocumentViewer.js +1 -1
  44. package/cjs-bundle/components/DocumentViewer/DocumentViewer.js.map +1 -1
  45. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Agitator/Editor.js +1 -1
  46. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Agitator/Editor.js.map +1 -1
  47. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Bit/Editor.js +1 -1
  48. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Bit/Editor.js.map +1 -1
  49. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Component.js +1 -1
  50. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Component.js.map +1 -1
  51. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/DrillCollar/Editor.js +1 -1
  52. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/DrillCollar/Editor.js.map +1 -1
  53. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/DrillPipe/Editor.js +1 -1
  54. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/DrillPipe/Editor.js.map +1 -1
  55. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Jar/Editor.js +1 -1
  56. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Jar/Editor.js.map +1 -1
  57. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Lwd/Editor.js +1 -1
  58. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Lwd/Editor.js.map +1 -1
  59. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Mwd/Editor.js +1 -1
  60. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Mwd/Editor.js.map +1 -1
  61. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Pdm/Editor.js +1 -1
  62. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Pdm/Editor.js.map +1 -1
  63. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Rss/Editor.js +1 -1
  64. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Rss/Editor.js.map +1 -1
  65. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Stabilizer/Editor.js +1 -1
  66. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Stabilizer/Editor.js.map +1 -1
  67. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Sub/Editor.js +1 -1
  68. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Sub/Editor.js.map +1 -1
  69. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Ur/Editor.js +1 -1
  70. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Ur/Editor.js.map +1 -1
  71. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/shared/ConfirmationPopup.js +1 -1
  72. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/shared/ConfirmationPopup.js.map +1 -1
  73. package/cjs-bundle/components/FeedItem/FeedItem.js +1 -1
  74. package/cjs-bundle/components/FeedItem/FeedItem.js.map +1 -1
  75. package/cjs-bundle/components/GradientManager/GradientManager.js +1 -1
  76. package/cjs-bundle/components/GradientManager/GradientManager.js.map +1 -1
  77. package/cjs-bundle/components/GradientManager/GradientSelect.js +1 -1
  78. package/cjs-bundle/components/GradientManager/GradientSelect.js.map +1 -1
  79. package/cjs-bundle/components/OffsetWellPickerV2/OffsetWellPickerDialog.js +1 -1
  80. package/cjs-bundle/components/OffsetWellPickerV2/OffsetWellPickerDialog.js.map +1 -1
  81. package/cjs-bundle/components/OffsetWellPickerV2/components/Filter/ToggleMapButton.js +1 -1
  82. package/cjs-bundle/components/OffsetWellPickerV2/components/Filter/ToggleMapButton.js.map +1 -1
  83. package/cjs-bundle/components/OffsetWellPickerV2/components/Map/Map.js +1 -1
  84. package/cjs-bundle/components/OffsetWellPickerV2/components/Map/Map.js.map +1 -1
  85. package/cjs-bundle/components/OffsetWellPickerV2/components/Table/MetricsAddMenu.js +1 -1
  86. package/cjs-bundle/components/OffsetWellPickerV2/components/Table/MetricsAddMenu.js.map +1 -1
  87. package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/MetricsAddMenu.js +1 -1
  88. package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/MetricsAddMenu.js.map +1 -1
  89. package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/index.js +1 -1
  90. package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/index.js.map +1 -1
  91. package/cjs-bundle/components/OffsetWellPickerV3/components/OffsetWellSelectionView/index.js +1 -1
  92. package/cjs-bundle/components/OffsetWellPickerV3/components/OffsetWellSelectionView/index.js.map +1 -1
  93. package/cjs-bundle/components/OffsetWellPickerV3/components/TabSelection/ToggleMapButton.js +1 -1
  94. package/cjs-bundle/components/OffsetWellPickerV3/components/TabSelection/ToggleMapButton.js.map +1 -1
  95. package/cjs-bundle/components/OffsetWellPickerV3/components/TabSelection/index.js +1 -1
  96. package/cjs-bundle/components/OffsetWellPickerV3/components/TabSelection/index.js.map +1 -1
  97. package/cjs-bundle/components/OffsetWellPickerV3/components/WellHubView/index.js +1 -1
  98. package/cjs-bundle/components/OffsetWellPickerV3/components/WellHubView/index.js.map +1 -1
  99. package/cjs-bundle/components/OffsetWellPickerV3/components/shared/OffsetWellTableHead.js +1 -1
  100. package/cjs-bundle/components/OffsetWellPickerV3/components/shared/OffsetWellTableHead.js.map +1 -1
  101. package/cjs-bundle/components/OffsetWellPickerV5/OffsetWellPickerV5.js +1 -1
  102. package/cjs-bundle/components/OffsetWellPickerV5/OffsetWellPickerV5.js.map +1 -1
  103. package/cjs-bundle/components/OffsetWellPickerV5/components/AppHeader/components/HeaderActions/HeaderActions.js +1 -1
  104. package/cjs-bundle/components/OffsetWellPickerV5/components/AppHeader/components/HeaderActions/HeaderActions.js.map +1 -1
  105. package/cjs-bundle/components/OffsetWellPickerV5/components/AppHeader/components/LoadAllWellsToggle/LoadAllWellsToggle.js +1 -1
  106. package/cjs-bundle/components/OffsetWellPickerV5/components/AppHeader/components/LoadAllWellsToggle/LoadAllWellsToggle.js.map +1 -1
  107. package/cjs-bundle/components/OffsetWellPickerV5/components/Filter/Filter.js +1 -1
  108. package/cjs-bundle/components/OffsetWellPickerV5/components/Filter/Filter.js.map +1 -1
  109. package/cjs-bundle/components/OffsetWellPickerV5/components/Filter/components/CustomDateFields/CustomDateFields.js +1 -1
  110. package/cjs-bundle/components/OffsetWellPickerV5/components/Filter/components/CustomDateFields/CustomDateFields.js.map +1 -1
  111. package/cjs-bundle/components/OffsetWellPickerV5/components/Filter/components/PeriodFilterSelect/PeriodFilterSelect.js +1 -1
  112. package/cjs-bundle/components/OffsetWellPickerV5/components/Filter/components/PeriodFilterSelect/PeriodFilterSelect.js.map +1 -1
  113. package/cjs-bundle/components/OffsetWellPickerV5/components/Filter/components/SingleFilterSelect/SingleFilterSelect.js +1 -1
  114. package/cjs-bundle/components/OffsetWellPickerV5/components/Filter/components/SingleFilterSelect/SingleFilterSelect.js.map +1 -1
  115. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/ClusterTooltip/ClusterTooltip.js +1 -1
  116. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/ClusterTooltip/ClusterTooltip.js.map +1 -1
  117. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/LayerSwitcher/LayerSwitcher.js +1 -1
  118. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/LayerSwitcher/LayerSwitcher.js.map +1 -1
  119. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapControls/MapControls.js +1 -1
  120. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapControls/MapControls.js.map +1 -1
  121. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapHints/MapHintsStash.js +1 -1
  122. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapHints/MapHintsStash.js.map +1 -1
  123. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/SubjectWellMarker/SubjectWellMarker.js +1 -1
  124. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/SubjectWellMarker/SubjectWellMarker.js.map +1 -1
  125. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellPickerContent/OffsetWellPickerContent.js +1 -1
  126. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellPickerContent/OffsetWellPickerContent.js.map +1 -1
  127. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellPickerV5WithStore/OffsetWellPickerV5WithStore.js +1 -1
  128. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellPickerV5WithStore/OffsetWellPickerV5WithStore.js.map +1 -1
  129. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellPickerV5WithStore/components/CompanySafeguardWrapper/CompanySafeguardWrapper.js +1 -1
  130. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellPickerV5WithStore/components/CompanySafeguardWrapper/CompanySafeguardWrapper.js.map +1 -1
  131. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellPickerV5WithStore/components/UserSettingsWrapper/UserSettingsWrapper.js +1 -1
  132. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellPickerV5WithStore/components/UserSettingsWrapper/UserSettingsWrapper.js.map +1 -1
  133. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/components/AssetResultSection/AssetResultSection.js +1 -1
  134. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/components/AssetResultSection/AssetResultSection.js.map +1 -1
  135. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/components/AutoCompleteAssetSearch/AutoCompleteAssetSearch.js +1 -1
  136. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/components/AutoCompleteAssetSearch/AutoCompleteAssetSearch.js.map +1 -1
  137. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/hooks/useAssetsData.utils.js +1 -1
  138. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/hooks/useAssetsData.utils.js.map +1 -1
  139. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/hooks/useAssetsFetch.js +1 -1
  140. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/hooks/useAssetsFetch.js.map +1 -1
  141. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/CompanyCell/CompanyCell.js +1 -1
  142. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/CompanyCell/CompanyCell.js.map +1 -1
  143. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/FormationCell/FormationCell.js +1 -1
  144. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/FormationCell/FormationCell.js.map +1 -1
  145. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/InterventionAssetCell/InterventionAssetCell.js +1 -1
  146. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/InterventionAssetCell/InterventionAssetCell.js.map +1 -1
  147. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/PadNameCell/PadNameCell.js +1 -1
  148. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/PadNameCell/PadNameCell.js.map +1 -1
  149. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/RigCell/RigCell.js +1 -1
  150. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/RigCell/RigCell.js.map +1 -1
  151. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/WellNameCell/WellNameCell.js +1 -1
  152. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/WellNameCell/WellNameCell.js.map +1 -1
  153. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/MetricCell/MetricCell.js +1 -1
  154. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/MetricCell/MetricCell.js.map +1 -1
  155. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/SettingsMenu.js +1 -1
  156. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/SettingsMenu.js.map +1 -1
  157. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/MetricsSettingsSection/MetricsSettingsSection.js +1 -1
  158. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/MetricsSettingsSection/MetricsSettingsSection.js.map +1 -1
  159. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/TableSettingsSection/TableSettingsSection.js +1 -1
  160. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/TableSettingsSection/TableSettingsSection.js.map +1 -1
  161. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/WellNameHeaderCell/WellNameHeaderCell.js +1 -1
  162. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/WellNameHeaderCell/WellNameHeaderCell.js.map +1 -1
  163. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/hooks/useAdvancedSearchHandler.js +1 -1
  164. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/hooks/useAdvancedSearchHandler.js.map +1 -1
  165. package/cjs-bundle/components/OffsetWellPickerV5/components/PickerModalActions/PickerModalActions.js +1 -1
  166. package/cjs-bundle/components/OffsetWellPickerV5/components/PickerModalActions/PickerModalActions.js.map +1 -1
  167. package/cjs-bundle/components/OffsetWellPickerV5/hooks/use-well-data-pipeline/useAdvancedWells.js +1 -1
  168. package/cjs-bundle/components/OffsetWellPickerV5/hooks/use-well-data-pipeline/useAdvancedWells.js.map +1 -1
  169. package/cjs-bundle/components/OffsetWellPickerV5/hooks/use-well-data-pipeline/useCompanyMetricKey.js +1 -1
  170. package/cjs-bundle/components/OffsetWellPickerV5/hooks/use-well-data-pipeline/useCompanyMetricKey.js.map +1 -1
  171. package/cjs-bundle/components/OffsetWellPickerV5/hooks/use-well-data-pipeline/useCompanyProvider.js +1 -1
  172. package/cjs-bundle/components/OffsetWellPickerV5/hooks/use-well-data-pipeline/useCompanyProvider.js.map +1 -1
  173. package/cjs-bundle/components/OffsetWellPickerV5/hooks/use-well-data-pipeline/useFetchSubjectWell.js +1 -1
  174. package/cjs-bundle/components/OffsetWellPickerV5/hooks/use-well-data-pipeline/useFetchSubjectWell.js.map +1 -1
  175. package/cjs-bundle/components/OffsetWellPickerV5/hooks/use-well-data-pipeline/useSearchedWells.js +1 -1
  176. package/cjs-bundle/components/OffsetWellPickerV5/hooks/use-well-data-pipeline/useSearchedWells.js.map +1 -1
  177. package/cjs-bundle/components/OffsetWellPickerV5/hooks/use-well-data-pipeline/useWellDataPipeline.js +1 -1
  178. package/cjs-bundle/components/OffsetWellPickerV5/hooks/use-well-data-pipeline/useWellDataPipeline.js.map +1 -1
  179. package/cjs-bundle/components/OffsetWellPickerV5/hooks/useAllWells/useLoadAllWellsCallback.js +1 -1
  180. package/cjs-bundle/components/OffsetWellPickerV5/hooks/useAllWells/useLoadAllWellsCallback.js.map +1 -1
  181. package/cjs-bundle/components/OffsetWellPickerV5/hooks/useCompanies.js +1 -1
  182. package/cjs-bundle/components/OffsetWellPickerV5/hooks/useCompanies.js.map +1 -1
  183. package/cjs-bundle/components/OffsetWellPickerV5/hooks/useExternalOffsets.js +1 -1
  184. package/cjs-bundle/components/OffsetWellPickerV5/hooks/useExternalOffsets.js.map +1 -1
  185. package/cjs-bundle/components/OffsetWellPickerV5/hooks/useIsAdmin.js +1 -1
  186. package/cjs-bundle/components/OffsetWellPickerV5/hooks/useIsAdmin.js.map +1 -1
  187. package/cjs-bundle/components/OffsetWellPickerV5/hooks/usePinnedWells.js +1 -1
  188. package/cjs-bundle/components/OffsetWellPickerV5/hooks/usePinnedWells.js.map +1 -1
  189. package/cjs-bundle/components/OffsetWellPickerV5/stores/idas-resync-store/createIdasResyncController.js +1 -1
  190. package/cjs-bundle/components/OffsetWellPickerV5/stores/idas-resync-store/createIdasResyncController.js.map +1 -1
  191. package/cjs-bundle/components/PadModeSelect/effects/useWellStreamActivityTypeSubscription.js +1 -1
  192. package/cjs-bundle/components/PadModeSelect/effects/useWellStreamActivityTypeSubscription.js.map +1 -1
  193. package/cjs-bundle/components/PadOffsetsPicker/StagesSelector.js +1 -1
  194. package/cjs-bundle/components/PadOffsetsPicker/StagesSelector.js.map +1 -1
  195. package/cjs-bundle/components/PadOffsetsPickerV2/PadOffsetsPickerV2.js +1 -1
  196. package/cjs-bundle/components/PadOffsetsPickerV2/PadOffsetsPickerV2.js.map +1 -1
  197. package/cjs-bundle/components/PinnableFilters/effects/index.js +1 -1
  198. package/cjs-bundle/components/PinnableFilters/effects/index.js.map +1 -1
  199. package/cjs-bundle/components/RealTimeValuesSidebar/SidebarFooter.js +1 -1
  200. package/cjs-bundle/components/RealTimeValuesSidebar/SidebarFooter.js.map +1 -1
  201. package/cjs-bundle/components/StatusBadge/components/DQAlertsTooltip.js +1 -1
  202. package/cjs-bundle/components/StatusBadge/components/DQAlertsTooltip.js.map +1 -1
  203. package/cjs-bundle/components/index.js +1 -1
  204. package/cjs-bundle/componentsV2/AppDqPopover/DqAlertTooltip/DqAlertTooltip.js +1 -1
  205. package/cjs-bundle/componentsV2/AppDqPopover/DqAlertTooltip/DqAlertTooltip.js.map +1 -1
  206. package/cjs-bundle/componentsV2/AppFooter/DqPopover/DqPopover.js +1 -1
  207. package/cjs-bundle/componentsV2/AppFooter/DqPopover/DqPopover.js.map +1 -1
  208. package/cjs-bundle/componentsV2/AppHeader/AppAssets/utils.js +1 -1
  209. package/cjs-bundle/componentsV2/AppHeader/AppAssets/utils.js.map +1 -1
  210. package/cjs-bundle/componentsV2/AppHeader/V3/Actions/Actions.js +1 -1
  211. package/cjs-bundle/componentsV2/AppHeader/V3/Actions/Actions.js.map +1 -1
  212. package/cjs-bundle/componentsV2/AppHeader/V3/AppTitle/AppTitle.js +1 -1
  213. package/cjs-bundle/componentsV2/AppHeader/V3/AppTitle/AppTitle.js.map +1 -1
  214. package/cjs-bundle/componentsV2/AppHeader/V3/AssetSelector/AssetSelector.js +1 -1
  215. package/cjs-bundle/componentsV2/AppHeader/V3/AssetSelector/AssetSelector.js.map +1 -1
  216. package/cjs-bundle/componentsV2/AppHeader/V3/VersionSelect/VersionSelect.js +1 -1
  217. package/cjs-bundle/componentsV2/AppHeader/V3/VersionSelect/VersionSelect.js.map +1 -1
  218. package/cjs-bundle/componentsV2/AppPanel/AppPanelDisplay.js +1 -1
  219. package/cjs-bundle/componentsV2/AppPanel/AppPanelDisplay.js.map +1 -1
  220. package/cjs-bundle/componentsV2/Autocomplete/Autocomplete.js +1 -1
  221. package/cjs-bundle/componentsV2/Autocomplete/Autocomplete.js.map +1 -1
  222. package/cjs-bundle/componentsV2/Autocomplete/AutocompleteInput/AutocompleteInput.js +1 -1
  223. package/cjs-bundle/componentsV2/Autocomplete/AutocompleteInput/AutocompleteInput.js.map +1 -1
  224. package/cjs-bundle/componentsV2/CompletionsOffsetWellPicker/Map/Map.js +1 -1
  225. package/cjs-bundle/componentsV2/CompletionsOffsetWellPicker/Map/Map.js.map +1 -1
  226. package/cjs-bundle/componentsV2/InterventionEventSelector/useInterventionUnitEvents.js +1 -1
  227. package/cjs-bundle/componentsV2/InterventionEventSelector/useInterventionUnitEvents.js.map +1 -1
  228. package/cjs-bundle/componentsV2/PadModeSelect/PadModeSelect.js +1 -1
  229. package/cjs-bundle/componentsV2/PadModeSelect/PadModeSelect.js.map +1 -1
  230. package/cjs-bundle/componentsV2/TemplatesControl/PublishModal/PublishModal.js +1 -1
  231. package/cjs-bundle/componentsV2/TemplatesControl/PublishModal/PublishModal.js.map +1 -1
  232. package/cjs-bundle/componentsV2/TemplatesControl/ShareModal/ShareModal.js +1 -1
  233. package/cjs-bundle/componentsV2/TemplatesControl/ShareModal/ShareModal.js.map +1 -1
  234. package/cjs-bundle/componentsV2/TemplatesControl/Store/hooks/usePublishTemplate.js +1 -1
  235. package/cjs-bundle/componentsV2/TemplatesControl/Store/hooks/usePublishTemplate.js.map +1 -1
  236. package/cjs-bundle/componentsV2/TemplatesControl/Store/utils.js +1 -1
  237. package/cjs-bundle/componentsV2/TemplatesControl/Store/utils.js.map +1 -1
  238. package/cjs-bundle/componentsV2/TemplatesControl/Toggle/Toggle.js +1 -1
  239. package/cjs-bundle/componentsV2/TemplatesControl/Toggle/Toggle.js.map +1 -1
  240. package/cjs-bundle/componentsV2/TextInputBase/TextInputBase.js +1 -1
  241. package/cjs-bundle/componentsV2/TextInputBase/TextInputBase.js.map +1 -1
  242. package/cjs-bundle/componentsV2/TextInputNext/TextInputNext.js +1 -1
  243. package/cjs-bundle/componentsV2/TextInputNext/TextInputNext.js.map +1 -1
  244. package/cjs-bundle/config/theme/palette.mjs.js +1 -1
  245. package/cjs-bundle/config/theme/palette.mjs.js.map +1 -1
  246. package/cjs-bundle/effects/index.js +1 -1
  247. package/cjs-bundle/effects/subscriptions/fetchInitialSubscriptionsData.js +2 -0
  248. package/cjs-bundle/effects/subscriptions/fetchInitialSubscriptionsData.js.map +1 -0
  249. package/cjs-bundle/effects/subscriptions/useSubscriptions.v2.js +1 -1
  250. package/cjs-bundle/effects/subscriptions/useSubscriptions.v2.js.map +1 -1
  251. package/cjs-bundle/effects/useGlobalOffsetWellsSync.js +1 -1
  252. package/cjs-bundle/effects/useGlobalOffsetWellsSync.js.map +1 -1
  253. package/cjs-bundle/effects/useSubscriptions.js +1 -1
  254. package/cjs-bundle/effects/useSubscriptions.js.map +1 -1
  255. package/cjs-bundle/effects/useWellnessAlerts.js +1 -1
  256. package/cjs-bundle/effects/useWellnessAlerts.js.map +1 -1
  257. package/cjs-bundle/icons/customIcons/icons/Search.js.map +1 -1
  258. package/cjs-bundle/permissions/constants/index.js +1 -1
  259. package/cjs-bundle/permissions/constants/index.js.map +1 -1
  260. package/cjs-bundle/styles/generatedThemesVariables.global.css.js +1 -1
  261. package/cjs-bundle/testing/AppTestWrapper/AppTestWrapper.js +1 -1
  262. package/cjs-bundle/testing/AppTestWrapper/AppTestWrapper.js.map +1 -1
  263. package/cjs-bundle/utils/index.js +1 -1
  264. package/cjs-bundle/utils/index.js.map +1 -1
  265. package/cjs-bundle/utils/safeTemplate.js +2 -0
  266. package/cjs-bundle/utils/safeTemplate.js.map +1 -0
  267. package/clients/index.d.ts +1 -9
  268. package/clients/index.d.ts.map +1 -1
  269. package/clients/index.js +1 -1
  270. package/clients/index.js.map +1 -1
  271. package/clients/subscriptions/constants.d.ts +0 -1
  272. package/clients/subscriptions/constants.d.ts.map +1 -1
  273. package/clients/subscriptions/constants.js +1 -1
  274. package/clients/subscriptions/constants.js.map +1 -1
  275. package/clients/subscriptions.d.ts.map +1 -1
  276. package/clients/subscriptions.js +1 -1
  277. package/clients/subscriptions.js.map +1 -1
  278. package/components/AddComment/Popover.js +1 -1
  279. package/components/AddComment/Popover.js.map +1 -1
  280. package/components/AddComment/components/Content.js +1 -1
  281. package/components/AddComment/components/Content.js.map +1 -1
  282. package/components/AssetEditor/effects/index.js +1 -1
  283. package/components/AssetEditor/effects/index.js.map +1 -1
  284. package/components/AssetEditorV2/effects/index.js +1 -1
  285. package/components/AssetEditorV2/effects/index.js.map +1 -1
  286. package/components/AssetEditorV2/effects/usePrimaryAssetSelectData.js +1 -1
  287. package/components/AssetEditorV2/effects/usePrimaryAssetSelectData.js.map +1 -1
  288. package/components/Attachment/index.js +1 -1
  289. package/components/Attachment/index.js.map +1 -1
  290. package/components/BICOffsetPickerDialog/index.js +1 -1
  291. package/components/BICOffsetPickerDialog/index.js.map +1 -1
  292. package/components/Casing/CasingTableV2/components/CasingJoints/Editor.js +1 -1
  293. package/components/Casing/CasingTableV2/components/CasingJoints/Editor.js.map +1 -1
  294. package/components/Casing/CasingTableV2/components/Component.js +1 -1
  295. package/components/Casing/CasingTableV2/components/Component.js.map +1 -1
  296. package/components/Casing/CasingTableV2/components/DrillPipe/Editor.js +1 -1
  297. package/components/Casing/CasingTableV2/components/DrillPipe/Editor.js.map +1 -1
  298. package/components/CollapsableSidebar.js +1 -1
  299. package/components/CollapsableSidebar.js.map +1 -1
  300. package/components/CommentComposer/CommentComposer.js +1 -1
  301. package/components/CommentComposer/CommentComposer.js.map +1 -1
  302. package/components/DevCenter/DevCenterAppContainer/DevCenterAppContainer.js +1 -1
  303. package/components/DevCenter/DevCenterAppContainer/DevCenterAppContainer.js.map +1 -1
  304. package/components/DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchButton.js +1 -1
  305. package/components/DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchButton.js.map +1 -1
  306. package/components/DevCenter/DevCenterAppContainer/components/LegacyAppActions.js +1 -1
  307. package/components/DevCenter/DevCenterAppContainer/components/LegacyAppActions.js.map +1 -1
  308. package/components/DevCenter/DevCenterAppContainer/components/NonPriorityMenus.js +1 -1
  309. package/components/DevCenter/DevCenterAppContainer/components/NonPriorityMenus.js.map +1 -1
  310. package/components/DevCenter/DevCenterAppContainer/components/PriorityMenus.js +1 -1
  311. package/components/DevCenter/DevCenterAppContainer/components/PriorityMenus.js.map +1 -1
  312. package/components/DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedAppPage.js +1 -1
  313. package/components/DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedAppPage.js.map +1 -1
  314. package/components/DocumentViewer/DocumentViewer.js +1 -1
  315. package/components/DocumentViewer/DocumentViewer.js.map +1 -1
  316. package/components/Drillstring/BHAComponentDetail/constants.d.ts +2 -2
  317. package/components/Drillstring/BHAComponentsTable/components/Agitator/Editor.js +1 -1
  318. package/components/Drillstring/BHAComponentsTable/components/Agitator/Editor.js.map +1 -1
  319. package/components/Drillstring/BHAComponentsTable/components/Bit/Editor.js +1 -1
  320. package/components/Drillstring/BHAComponentsTable/components/Bit/Editor.js.map +1 -1
  321. package/components/Drillstring/BHAComponentsTable/components/Component.js +1 -1
  322. package/components/Drillstring/BHAComponentsTable/components/Component.js.map +1 -1
  323. package/components/Drillstring/BHAComponentsTable/components/DrillCollar/Editor.js +1 -1
  324. package/components/Drillstring/BHAComponentsTable/components/DrillCollar/Editor.js.map +1 -1
  325. package/components/Drillstring/BHAComponentsTable/components/DrillPipe/Editor.js +1 -1
  326. package/components/Drillstring/BHAComponentsTable/components/DrillPipe/Editor.js.map +1 -1
  327. package/components/Drillstring/BHAComponentsTable/components/Jar/Editor.js +1 -1
  328. package/components/Drillstring/BHAComponentsTable/components/Jar/Editor.js.map +1 -1
  329. package/components/Drillstring/BHAComponentsTable/components/Lwd/Editor.js +1 -1
  330. package/components/Drillstring/BHAComponentsTable/components/Lwd/Editor.js.map +1 -1
  331. package/components/Drillstring/BHAComponentsTable/components/Mwd/Editor.js +1 -1
  332. package/components/Drillstring/BHAComponentsTable/components/Mwd/Editor.js.map +1 -1
  333. package/components/Drillstring/BHAComponentsTable/components/Pdm/Editor.js +1 -1
  334. package/components/Drillstring/BHAComponentsTable/components/Pdm/Editor.js.map +1 -1
  335. package/components/Drillstring/BHAComponentsTable/components/Rss/Editor.js +1 -1
  336. package/components/Drillstring/BHAComponentsTable/components/Rss/Editor.js.map +1 -1
  337. package/components/Drillstring/BHAComponentsTable/components/Stabilizer/Editor.js +1 -1
  338. package/components/Drillstring/BHAComponentsTable/components/Stabilizer/Editor.js.map +1 -1
  339. package/components/Drillstring/BHAComponentsTable/components/Sub/Editor.js +1 -1
  340. package/components/Drillstring/BHAComponentsTable/components/Sub/Editor.js.map +1 -1
  341. package/components/Drillstring/BHAComponentsTable/components/Ur/Editor.js +1 -1
  342. package/components/Drillstring/BHAComponentsTable/components/Ur/Editor.js.map +1 -1
  343. package/components/Drillstring/BHAComponentsTable/components/shared/ConfirmationPopup.js +1 -1
  344. package/components/Drillstring/BHAComponentsTable/components/shared/ConfirmationPopup.js.map +1 -1
  345. package/components/FeedItem/FeedItem.js +1 -1
  346. package/components/FeedItem/FeedItem.js.map +1 -1
  347. package/components/GradientManager/GradientManager.js +1 -1
  348. package/components/GradientManager/GradientManager.js.map +1 -1
  349. package/components/GradientManager/GradientSelect.js +1 -1
  350. package/components/GradientManager/GradientSelect.js.map +1 -1
  351. package/components/OffsetWellPickerV2/OffsetWellPickerDialog.js +1 -1
  352. package/components/OffsetWellPickerV2/OffsetWellPickerDialog.js.map +1 -1
  353. package/components/OffsetWellPickerV2/components/Filter/ToggleMapButton.js +1 -1
  354. package/components/OffsetWellPickerV2/components/Filter/ToggleMapButton.js.map +1 -1
  355. package/components/OffsetWellPickerV2/components/Map/Map.js +1 -1
  356. package/components/OffsetWellPickerV2/components/Map/Map.js.map +1 -1
  357. package/components/OffsetWellPickerV2/components/Table/MetricsAddMenu.js +1 -1
  358. package/components/OffsetWellPickerV2/components/Table/MetricsAddMenu.js.map +1 -1
  359. package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/MetricsAddMenu.js +1 -1
  360. package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/MetricsAddMenu.js.map +1 -1
  361. package/components/OffsetWellPickerV3/components/CustomSelectionView/index.js +1 -1
  362. package/components/OffsetWellPickerV3/components/CustomSelectionView/index.js.map +1 -1
  363. package/components/OffsetWellPickerV3/components/OffsetWellSelectionView/index.js +1 -1
  364. package/components/OffsetWellPickerV3/components/OffsetWellSelectionView/index.js.map +1 -1
  365. package/components/OffsetWellPickerV3/components/TabSelection/ToggleMapButton.js +1 -1
  366. package/components/OffsetWellPickerV3/components/TabSelection/ToggleMapButton.js.map +1 -1
  367. package/components/OffsetWellPickerV3/components/TabSelection/index.js +1 -1
  368. package/components/OffsetWellPickerV3/components/TabSelection/index.js.map +1 -1
  369. package/components/OffsetWellPickerV3/components/WellHubView/index.js +1 -1
  370. package/components/OffsetWellPickerV3/components/WellHubView/index.js.map +1 -1
  371. package/components/OffsetWellPickerV3/components/shared/OffsetWellTableHead.js +1 -1
  372. package/components/OffsetWellPickerV3/components/shared/OffsetWellTableHead.js.map +1 -1
  373. package/components/OffsetWellPickerV5/OffsetWellPickerV5.js +1 -1
  374. package/components/OffsetWellPickerV5/OffsetWellPickerV5.js.map +1 -1
  375. package/components/OffsetWellPickerV5/components/AppHeader/components/HeaderActions/HeaderActions.js +1 -1
  376. package/components/OffsetWellPickerV5/components/AppHeader/components/HeaderActions/HeaderActions.js.map +1 -1
  377. package/components/OffsetWellPickerV5/components/AppHeader/components/LoadAllWellsToggle/LoadAllWellsToggle.js +1 -1
  378. package/components/OffsetWellPickerV5/components/AppHeader/components/LoadAllWellsToggle/LoadAllWellsToggle.js.map +1 -1
  379. package/components/OffsetWellPickerV5/components/Filter/Filter.js +1 -1
  380. package/components/OffsetWellPickerV5/components/Filter/Filter.js.map +1 -1
  381. package/components/OffsetWellPickerV5/components/Filter/components/CustomDateFields/CustomDateFields.js +1 -1
  382. package/components/OffsetWellPickerV5/components/Filter/components/CustomDateFields/CustomDateFields.js.map +1 -1
  383. package/components/OffsetWellPickerV5/components/Filter/components/PeriodFilterSelect/PeriodFilterSelect.js +1 -1
  384. package/components/OffsetWellPickerV5/components/Filter/components/PeriodFilterSelect/PeriodFilterSelect.js.map +1 -1
  385. package/components/OffsetWellPickerV5/components/Filter/components/SingleFilterSelect/SingleFilterSelect.js +1 -1
  386. package/components/OffsetWellPickerV5/components/Filter/components/SingleFilterSelect/SingleFilterSelect.js.map +1 -1
  387. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/ClusterTooltip/ClusterTooltip.js +1 -1
  388. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/ClusterTooltip/ClusterTooltip.js.map +1 -1
  389. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/LayerSwitcher/LayerSwitcher.js +1 -1
  390. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/LayerSwitcher/LayerSwitcher.js.map +1 -1
  391. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapControls/MapControls.js +1 -1
  392. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapControls/MapControls.js.map +1 -1
  393. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapHints/MapHintsStash.js +1 -1
  394. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapHints/MapHintsStash.js.map +1 -1
  395. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/SubjectWellMarker/SubjectWellMarker.js +1 -1
  396. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/SubjectWellMarker/SubjectWellMarker.js.map +1 -1
  397. package/components/OffsetWellPickerV5/components/OffsetWellPickerContent/OffsetWellPickerContent.js +1 -1
  398. package/components/OffsetWellPickerV5/components/OffsetWellPickerContent/OffsetWellPickerContent.js.map +1 -1
  399. package/components/OffsetWellPickerV5/components/OffsetWellPickerV5WithStore/OffsetWellPickerV5WithStore.js +1 -1
  400. package/components/OffsetWellPickerV5/components/OffsetWellPickerV5WithStore/OffsetWellPickerV5WithStore.js.map +1 -1
  401. package/components/OffsetWellPickerV5/components/OffsetWellPickerV5WithStore/components/CompanySafeguardWrapper/CompanySafeguardWrapper.js +1 -1
  402. package/components/OffsetWellPickerV5/components/OffsetWellPickerV5WithStore/components/CompanySafeguardWrapper/CompanySafeguardWrapper.js.map +1 -1
  403. package/components/OffsetWellPickerV5/components/OffsetWellPickerV5WithStore/components/UserSettingsWrapper/UserSettingsWrapper.js +1 -1
  404. package/components/OffsetWellPickerV5/components/OffsetWellPickerV5WithStore/components/UserSettingsWrapper/UserSettingsWrapper.js.map +1 -1
  405. package/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/components/AssetResultSection/AssetResultSection.js +1 -1
  406. package/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/components/AssetResultSection/AssetResultSection.js.map +1 -1
  407. package/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/components/AutoCompleteAssetSearch/AutoCompleteAssetSearch.js +1 -1
  408. package/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/components/AutoCompleteAssetSearch/AutoCompleteAssetSearch.js.map +1 -1
  409. package/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/hooks/useAssetsData.utils.js +1 -1
  410. package/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/hooks/useAssetsData.utils.js.map +1 -1
  411. package/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/hooks/useAssetsFetch.js +1 -1
  412. package/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/hooks/useAssetsFetch.js.map +1 -1
  413. package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/CompanyCell/CompanyCell.js +1 -1
  414. package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/CompanyCell/CompanyCell.js.map +1 -1
  415. package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/FormationCell/FormationCell.js +1 -1
  416. package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/FormationCell/FormationCell.js.map +1 -1
  417. package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/InterventionAssetCell/InterventionAssetCell.js +1 -1
  418. package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/InterventionAssetCell/InterventionAssetCell.js.map +1 -1
  419. package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/PadNameCell/PadNameCell.js +1 -1
  420. package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/PadNameCell/PadNameCell.js.map +1 -1
  421. package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/RigCell/RigCell.js +1 -1
  422. package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/RigCell/RigCell.js.map +1 -1
  423. package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/WellNameCell/WellNameCell.js +1 -1
  424. package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/WellNameCell/WellNameCell.js.map +1 -1
  425. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/MetricCell/MetricCell.js +1 -1
  426. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/MetricCell/MetricCell.js.map +1 -1
  427. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/SettingsMenu.js +1 -1
  428. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/SettingsMenu.js.map +1 -1
  429. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/MetricsSettingsSection/MetricsSettingsSection.js +1 -1
  430. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/MetricsSettingsSection/MetricsSettingsSection.js.map +1 -1
  431. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/TableSettingsSection/TableSettingsSection.js +1 -1
  432. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/TableSettingsSection/TableSettingsSection.js.map +1 -1
  433. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/WellNameHeaderCell/WellNameHeaderCell.js +1 -1
  434. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/WellNameHeaderCell/WellNameHeaderCell.js.map +1 -1
  435. package/components/OffsetWellPickerV5/components/OffsetWellsTable/hooks/useAdvancedSearchHandler.js +1 -1
  436. package/components/OffsetWellPickerV5/components/OffsetWellsTable/hooks/useAdvancedSearchHandler.js.map +1 -1
  437. package/components/OffsetWellPickerV5/components/PickerModalActions/PickerModalActions.js +1 -1
  438. package/components/OffsetWellPickerV5/components/PickerModalActions/PickerModalActions.js.map +1 -1
  439. package/components/OffsetWellPickerV5/hooks/use-well-data-pipeline/useAdvancedWells.js +1 -1
  440. package/components/OffsetWellPickerV5/hooks/use-well-data-pipeline/useAdvancedWells.js.map +1 -1
  441. package/components/OffsetWellPickerV5/hooks/use-well-data-pipeline/useCompanyMetricKey.js +1 -1
  442. package/components/OffsetWellPickerV5/hooks/use-well-data-pipeline/useCompanyMetricKey.js.map +1 -1
  443. package/components/OffsetWellPickerV5/hooks/use-well-data-pipeline/useCompanyProvider.js +1 -1
  444. package/components/OffsetWellPickerV5/hooks/use-well-data-pipeline/useCompanyProvider.js.map +1 -1
  445. package/components/OffsetWellPickerV5/hooks/use-well-data-pipeline/useFetchSubjectWell.js +1 -1
  446. package/components/OffsetWellPickerV5/hooks/use-well-data-pipeline/useFetchSubjectWell.js.map +1 -1
  447. package/components/OffsetWellPickerV5/hooks/use-well-data-pipeline/useSearchedWells.js +1 -1
  448. package/components/OffsetWellPickerV5/hooks/use-well-data-pipeline/useSearchedWells.js.map +1 -1
  449. package/components/OffsetWellPickerV5/hooks/use-well-data-pipeline/useWellDataPipeline.js +1 -1
  450. package/components/OffsetWellPickerV5/hooks/use-well-data-pipeline/useWellDataPipeline.js.map +1 -1
  451. package/components/OffsetWellPickerV5/hooks/useAllWells/useLoadAllWellsCallback.js +1 -1
  452. package/components/OffsetWellPickerV5/hooks/useAllWells/useLoadAllWellsCallback.js.map +1 -1
  453. package/components/OffsetWellPickerV5/hooks/useCompanies.js +1 -1
  454. package/components/OffsetWellPickerV5/hooks/useCompanies.js.map +1 -1
  455. package/components/OffsetWellPickerV5/hooks/useExternalOffsets.js +1 -1
  456. package/components/OffsetWellPickerV5/hooks/useExternalOffsets.js.map +1 -1
  457. package/components/OffsetWellPickerV5/hooks/useIsAdmin.js +1 -1
  458. package/components/OffsetWellPickerV5/hooks/useIsAdmin.js.map +1 -1
  459. package/components/OffsetWellPickerV5/hooks/usePinnedWells.js +1 -1
  460. package/components/OffsetWellPickerV5/hooks/usePinnedWells.js.map +1 -1
  461. package/components/OffsetWellPickerV5/stores/idas-resync-store/createIdasResyncController.js +1 -1
  462. package/components/OffsetWellPickerV5/stores/idas-resync-store/createIdasResyncController.js.map +1 -1
  463. package/components/PadModeSelect/effects/useWellStreamActivityTypeSubscription.js +1 -1
  464. package/components/PadModeSelect/effects/useWellStreamActivityTypeSubscription.js.map +1 -1
  465. package/components/PadOffsetsPicker/StagesSelector.js +1 -1
  466. package/components/PadOffsetsPicker/StagesSelector.js.map +1 -1
  467. package/components/PadOffsetsPickerV2/PadOffsetsPickerV2.js +1 -1
  468. package/components/PadOffsetsPickerV2/PadOffsetsPickerV2.js.map +1 -1
  469. package/components/PinnableFilters/effects/index.js +1 -1
  470. package/components/PinnableFilters/effects/index.js.map +1 -1
  471. package/components/RealTimeValuesSidebar/SidebarFooter.js +1 -1
  472. package/components/RealTimeValuesSidebar/SidebarFooter.js.map +1 -1
  473. package/components/StatusBadge/components/DQAlertsTooltip.d.ts.map +1 -1
  474. package/components/StatusBadge/components/DQAlertsTooltip.js +1 -1
  475. package/components/StatusBadge/components/DQAlertsTooltip.js.map +1 -1
  476. package/components/index.js +1 -1
  477. package/componentsV2/AppDqPopover/DqAlertTooltip/DqAlertTooltip.d.ts.map +1 -1
  478. package/componentsV2/AppDqPopover/DqAlertTooltip/DqAlertTooltip.js +1 -1
  479. package/componentsV2/AppDqPopover/DqAlertTooltip/DqAlertTooltip.js.map +1 -1
  480. package/componentsV2/AppFooter/DqPopover/DqPopover.js +1 -1
  481. package/componentsV2/AppFooter/DqPopover/DqPopover.js.map +1 -1
  482. package/componentsV2/AppHeader/AppAssets/utils.js +1 -1
  483. package/componentsV2/AppHeader/AppAssets/utils.js.map +1 -1
  484. package/componentsV2/AppHeader/V3/Actions/Actions.js +1 -1
  485. package/componentsV2/AppHeader/V3/Actions/Actions.js.map +1 -1
  486. package/componentsV2/AppHeader/V3/AppTitle/AppTitle.js +1 -1
  487. package/componentsV2/AppHeader/V3/AppTitle/AppTitle.js.map +1 -1
  488. package/componentsV2/AppHeader/V3/AssetSelector/AssetSelector.js +1 -1
  489. package/componentsV2/AppHeader/V3/AssetSelector/AssetSelector.js.map +1 -1
  490. package/componentsV2/AppHeader/V3/VersionSelect/VersionSelect.js +1 -1
  491. package/componentsV2/AppHeader/V3/VersionSelect/VersionSelect.js.map +1 -1
  492. package/componentsV2/AppPanel/AppPanelDisplay.js +1 -1
  493. package/componentsV2/AppPanel/AppPanelDisplay.js.map +1 -1
  494. package/componentsV2/Autocomplete/Autocomplete.d.ts.map +1 -1
  495. package/componentsV2/Autocomplete/Autocomplete.js +1 -1
  496. package/componentsV2/Autocomplete/Autocomplete.js.map +1 -1
  497. package/componentsV2/Autocomplete/AutocompleteInput/AutocompleteInput.d.ts.map +1 -1
  498. package/componentsV2/Autocomplete/AutocompleteInput/AutocompleteInput.js +1 -1
  499. package/componentsV2/Autocomplete/AutocompleteInput/AutocompleteInput.js.map +1 -1
  500. package/componentsV2/Autocomplete/AutocompleteNext.stories.d.ts +1 -0
  501. package/componentsV2/Autocomplete/AutocompleteNext.stories.d.ts.map +1 -1
  502. package/componentsV2/CompletionsOffsetWellPicker/Map/Map.js +1 -1
  503. package/componentsV2/CompletionsOffsetWellPicker/Map/Map.js.map +1 -1
  504. package/componentsV2/InterventionEventSelector/useInterventionUnitEvents.js +1 -1
  505. package/componentsV2/InterventionEventSelector/useInterventionUnitEvents.js.map +1 -1
  506. package/componentsV2/PadModeSelect/PadModeSelect.js +1 -1
  507. package/componentsV2/PadModeSelect/PadModeSelect.js.map +1 -1
  508. package/componentsV2/TemplatesControl/PublishModal/PublishModal.js +1 -1
  509. package/componentsV2/TemplatesControl/PublishModal/PublishModal.js.map +1 -1
  510. package/componentsV2/TemplatesControl/ShareModal/ShareModal.js +1 -1
  511. package/componentsV2/TemplatesControl/ShareModal/ShareModal.js.map +1 -1
  512. package/componentsV2/TemplatesControl/Store/hooks/usePublishTemplate.d.ts.map +1 -1
  513. package/componentsV2/TemplatesControl/Store/hooks/usePublishTemplate.js +1 -1
  514. package/componentsV2/TemplatesControl/Store/hooks/usePublishTemplate.js.map +1 -1
  515. package/componentsV2/TemplatesControl/Store/utils.d.ts +7 -0
  516. package/componentsV2/TemplatesControl/Store/utils.d.ts.map +1 -1
  517. package/componentsV2/TemplatesControl/Store/utils.js +1 -1
  518. package/componentsV2/TemplatesControl/Store/utils.js.map +1 -1
  519. package/componentsV2/TemplatesControl/Toggle/Toggle.js +1 -1
  520. package/componentsV2/TemplatesControl/Toggle/Toggle.js.map +1 -1
  521. package/componentsV2/TextInputBase/TextInputBase.js +1 -1
  522. package/componentsV2/TextInputBase/TextInputBase.js.map +1 -1
  523. package/componentsV2/TextInputNext/TextInputNext.js +1 -1
  524. package/componentsV2/TextInputNext/TextInputNext.js.map +1 -1
  525. package/config/theme/lightThemePalette.d.mts +4 -0
  526. package/config/theme/lightThemePalette.d.mts.map +1 -1
  527. package/config/theme/palette.d.mts +4 -0
  528. package/config/theme/palette.d.mts.map +1 -1
  529. package/config/theme/palette.mjs.js +1 -1
  530. package/config/theme/palette.mjs.js.map +1 -1
  531. package/config/theme/themeVariables.d.mts +12 -0
  532. package/config/theme/themeVariables.d.mts.map +1 -1
  533. package/effects/index.js +1 -1
  534. package/effects/subscriptions/fetchInitialSubscriptionsData.d.ts +23 -0
  535. package/effects/subscriptions/fetchInitialSubscriptionsData.d.ts.map +1 -0
  536. package/effects/subscriptions/fetchInitialSubscriptionsData.js +2 -0
  537. package/effects/subscriptions/fetchInitialSubscriptionsData.js.map +1 -0
  538. package/effects/subscriptions/useSubscriptions.v2.d.ts.map +1 -1
  539. package/effects/subscriptions/useSubscriptions.v2.js +1 -1
  540. package/effects/subscriptions/useSubscriptions.v2.js.map +1 -1
  541. package/effects/useGlobalOffsetWellsSync.js +1 -1
  542. package/effects/useGlobalOffsetWellsSync.js.map +1 -1
  543. package/effects/useSubscriptions.d.ts +1 -2
  544. package/effects/useSubscriptions.d.ts.map +1 -1
  545. package/effects/useSubscriptions.js +1 -1
  546. package/effects/useSubscriptions.js.map +1 -1
  547. package/effects/useWellnessAlerts.js +1 -1
  548. package/effects/useWellnessAlerts.js.map +1 -1
  549. package/icons/customIcons/icons/Search.d.ts +1 -1
  550. package/icons/customIcons/icons/Search.js.map +1 -1
  551. package/mcp-server/server.mjs +14079 -29649
  552. package/package.json +1 -1
  553. package/permissions/constants/index.d.ts +1 -0
  554. package/permissions/constants/index.d.ts.map +1 -1
  555. package/permissions/constants/index.js +1 -1
  556. package/permissions/constants/index.js.map +1 -1
  557. package/styles/common.scss +2 -0
  558. package/styles/generatedThemesVariables.global.css +1 -1
  559. package/styles/generatedThemesVariables.global.css.js +1 -1
  560. package/testing/AppTestWrapper/AppTestWrapper.js +1 -1
  561. package/testing/AppTestWrapper/AppTestWrapper.js.map +1 -1
  562. package/tsconfig.tsbuildinfo +1 -1
  563. package/utils/__tests__/safeTemplate.test.d.ts +2 -0
  564. package/utils/__tests__/safeTemplate.test.d.ts.map +1 -0
  565. package/utils/index.d.ts +1 -0
  566. package/utils/index.d.ts.map +1 -1
  567. package/utils/index.js +1 -1
  568. package/utils/index.js.map +1 -1
  569. package/utils/safeTemplate.d.ts +24 -0
  570. package/utils/safeTemplate.d.ts.map +1 -0
  571. package/utils/safeTemplate.js +2 -0
  572. package/utils/safeTemplate.js.map +1 -0
  573. package/cjs-bundle/clients/subscriptions.v1.js +0 -2
  574. package/cjs-bundle/clients/subscriptions.v1.js.map +0 -1
  575. package/cjs-bundle/effects/subscriptions/useSubscriptions.v1.js +0 -2
  576. package/cjs-bundle/effects/subscriptions/useSubscriptions.v1.js.map +0 -1
  577. package/clients/subscriptions.v1.d.ts +0 -9
  578. package/clients/subscriptions.v1.d.ts.map +0 -1
  579. package/clients/subscriptions.v1.js +0 -2
  580. package/clients/subscriptions.v1.js.map +0 -1
  581. package/effects/subscriptions/useSubscriptions.v1.d.ts +0 -24
  582. package/effects/subscriptions/useSubscriptions.v1.d.ts.map +0 -1
  583. package/effects/subscriptions/useSubscriptions.v1.js +0 -2
  584. package/effects/subscriptions/useSubscriptions.v1.js.map +0 -1
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../components/UserMention/utils/index.js"),t=require("./StageDesignVActualUtils.js"),r=require("./alerts.js"),s=require("./audio.js"),o=require("./casing/index.js"),i=require("./chartSeries.js"),a=require("./completion.js"),n=require("./components.js"),p=require("./convert.js"),l=require("./csvExport.js"),x=require("./devcenter.js"),u=require("./drillstring/index.js"),g=require("./DrillstringUtils.js"),c=require("./FluidCheckUtils.js"),d=require("./formatting.js"),j=require("./ga.js"),q=require("./goals.js"),U=require("./goalsConfig/index.js"),y=require("./lasParser.js"),m=require("./main.js"),f=require("./mapUnits.js"),h=require("./mapbox.js"),v=require("./metrics/index.js"),S=require("./mobileDetect.js"),A=require("./nativeMessages.js"),I=require("./notifications.js"),b=require("./feed.js"),D=require("./permissions.js"),B=require("./reports.js"),T=require("./time.js"),C=require("./torqueAndHookloadUtils.js"),F=require("./accuracy.js"),N=require("./notificationToasts.js"),w=require("./devcenterToasts.js"),M=require("./convertKeys.js"),P=require("./dashboardReports.js"),k=require("./apps.js"),H=require("./themeVariables.js"),W=require("./env.js"),K=require("./fileExtension.js"),V=require("./jsonaDataFormatter.js"),E=require("./bha.js"),L=require("./localStorage.js"),R=require("./sharedDCStore.js"),z=require("./resolveWellHubSlug.js"),O=require("./delayedHighcharts.js"),X=require("./formatFileSize.js"),Y=require("./charts/index.js"),_=require("./delay.js"),G=require("./downloadBlob.js"),J=require("./getSingleAsset.js"),Q=require("./charts/getXAxis.js"),Z=require("./charts/getYAxis.js"),$=p.convertArray,ee=p.convertValue,te=p.getAllUnitTypes,re=p.getDefaultImperialUnit,se=p.getDefaultUnits,oe=p.getUnitDescription,ie=p.getUnitDisplay,ae=p.getUnitPlural,ne=p.getUnitPreference,pe=p.getUnitsByType,le=p.getUnitSingular,xe=p.getUnitSystem,ue=p.updateUserUnits,ge=p.getUserUnits,ce=p.subscribeForUserUnitsUpdates,de=p.getUniqueUnitsByType,je=Q.getXAxis,qe=Z.getYAxis;exports.formatMentionText=e.formatMentionText,exports.isSuggestionsListOpened=e.isSuggestionsListOpened,exports.stripMentionMarkup=e.stripMentionMarkup,exports.StageDesignVActualUtils=t,exports.alerts=r,exports.audio=s,exports.casing=o,exports.chartSeries=i,exports.completion=a,exports.components=n,exports.convert=p,exports.csvExport=l,exports.devcenter=x,exports.drillstring=u,exports.drillstringUtils=g,exports.fluidCheckUtils=c,exports.formatting=d,exports.ga=j,exports.goals=q,exports.goalsConfig=U,exports.lasParser=y,exports.main=m,exports.mapUnits=f,exports.mapbox=h,exports.metricsUtils=v,exports.mobileDetect=S,exports.nativeMessages=A,exports.notifications=I,exports.feed=b,exports.permissions=D,exports.reports=B,exports.time=T,exports.torqueAndHookloadUtils=C,exports.accuracy=F,exports.createNotification=N.createNotification,exports.removeNotification=N.removeNotification,exports.showErrorNotification=N.showErrorNotification,exports.showInfoNotification=N.showInfoNotification,exports.showNeutralNotification=N.showNeutralNotification,exports.showSuccessNotification=N.showSuccessNotification,exports.showWarningNotification=N.showWarningNotification,exports.showToast=w.showToast,exports.convertKeysToCamelCase=M.convertKeysToCamelCase,exports.convertKeysToSnakeCase=M.convertKeysToSnakeCase,exports.getConvertKeys=M.getConvertKeys,exports.dashboardReports=P,exports.apps=k,exports.themeVariables=H,exports.env=W,exports.fileExtension=K,exports.jsonaDataFormatter=V.jsonaDataFormatter,exports.bha=E,exports.getLocalStorageItem=L.getLocalStorageItem,exports.updateLocalStorageItem=L.updateLocalStorageItem,exports.sharedDCStore=R.sharedDCStore,exports.resolveWellHubSlug=z,exports.enableHighchartsDelayedTooltip=O.enableHighchartsDelayedTooltip,exports.formatFileSize=X.formatFileSize,exports.chart=Y,exports.delay=_.delay,exports.downloadBlob=G.downloadBlob,exports.getAssetByFracFleetId=J.getAssetByFracFleetId,exports.getAssetByInterventionUnitId=J.getAssetByInterventionUnitId,exports.getAssetByPadId=J.getAssetByPadId,exports.getAssetByRigId=J.getAssetByRigId,exports.getAssetByWellIdForInterventionUnit=J.getAssetByWellIdForInterventionUnit,exports.getAssetByWellIdForRig=J.getAssetByWellIdForRig,exports.convertArray=$,exports.convertValue=ee,exports.getAllUnitTypes=te,exports.getChartHorizontalAxis=je,exports.getChartVerticalAxis=qe,exports.getDefaultImperialUnit=re,exports.getDefaultUnits=se,exports.getUniqueUnitsByType=de,exports.getUnitDescription=oe,exports.getUnitDisplay=ie,exports.getUnitPlural=ae,exports.getUnitPreference=ne,exports.getUnitSingular=le,exports.getUnitSystem=xe,exports.getUnitsByType=pe,exports.getUserUnits=ge,exports.subscribeForUserUnitsUpdates=ce,exports.updateUserUnits=ue;
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../components/UserMention/utils/index.js"),t=require("./StageDesignVActualUtils.js"),r=require("./alerts.js"),s=require("./audio.js"),o=require("./casing/index.js"),i=require("./chartSeries.js"),a=require("./completion.js"),n=require("./components.js"),p=require("./convert.js"),l=require("./csvExport.js"),x=require("./devcenter.js"),u=require("./drillstring/index.js"),g=require("./DrillstringUtils.js"),c=require("./FluidCheckUtils.js"),d=require("./formatting.js"),j=require("./ga.js"),q=require("./goals.js"),U=require("./goalsConfig/index.js"),m=require("./lasParser.js"),y=require("./main.js"),f=require("./mapUnits.js"),h=require("./mapbox.js"),v=require("./metrics/index.js"),S=require("./mobileDetect.js"),A=require("./nativeMessages.js"),I=require("./notifications.js"),b=require("./feed.js"),D=require("./permissions.js"),T=require("./reports.js"),B=require("./time.js"),C=require("./torqueAndHookloadUtils.js"),F=require("./accuracy.js"),N=require("./notificationToasts.js"),w=require("./devcenterToasts.js"),M=require("./convertKeys.js"),P=require("./dashboardReports.js"),k=require("./apps.js"),H=require("./themeVariables.js"),W=require("./env.js"),K=require("./fileExtension.js"),V=require("./jsonaDataFormatter.js"),E=require("./bha.js"),L=require("./localStorage.js"),R=require("./sharedDCStore.js"),z=require("./resolveWellHubSlug.js"),O=require("./delayedHighcharts.js"),X=require("./formatFileSize.js"),Y=require("./charts/index.js"),_=require("./delay.js"),G=require("./downloadBlob.js"),J=require("./getSingleAsset.js"),Q=require("./safeTemplate.js"),Z=require("./charts/getXAxis.js"),$=require("./charts/getYAxis.js"),ee=p.convertArray,te=p.convertValue,re=p.getAllUnitTypes,se=p.getDefaultImperialUnit,oe=p.getDefaultUnits,ie=p.getUnitDescription,ae=p.getUnitDisplay,ne=p.getUnitPlural,pe=p.getUnitPreference,le=p.getUnitsByType,xe=p.getUnitSingular,ue=p.getUnitSystem,ge=p.updateUserUnits,ce=p.getUserUnits,de=p.subscribeForUserUnitsUpdates,je=p.getUniqueUnitsByType,qe=Z.getXAxis,Ue=$.getYAxis;exports.formatMentionText=e.formatMentionText,exports.isSuggestionsListOpened=e.isSuggestionsListOpened,exports.stripMentionMarkup=e.stripMentionMarkup,exports.StageDesignVActualUtils=t,exports.alerts=r,exports.audio=s,exports.casing=o,exports.chartSeries=i,exports.completion=a,exports.components=n,exports.convert=p,exports.csvExport=l,exports.devcenter=x,exports.drillstring=u,exports.drillstringUtils=g,exports.fluidCheckUtils=c,exports.formatting=d,exports.ga=j,exports.goals=q,exports.goalsConfig=U,exports.lasParser=m,exports.main=y,exports.mapUnits=f,exports.mapbox=h,exports.metricsUtils=v,exports.mobileDetect=S,exports.nativeMessages=A,exports.notifications=I,exports.feed=b,exports.permissions=D,exports.reports=T,exports.time=B,exports.torqueAndHookloadUtils=C,exports.accuracy=F,exports.createNotification=N.createNotification,exports.removeNotification=N.removeNotification,exports.showErrorNotification=N.showErrorNotification,exports.showInfoNotification=N.showInfoNotification,exports.showNeutralNotification=N.showNeutralNotification,exports.showSuccessNotification=N.showSuccessNotification,exports.showWarningNotification=N.showWarningNotification,exports.showToast=w.showToast,exports.convertKeysToCamelCase=M.convertKeysToCamelCase,exports.convertKeysToSnakeCase=M.convertKeysToSnakeCase,exports.getConvertKeys=M.getConvertKeys,exports.dashboardReports=P,exports.apps=k,exports.themeVariables=H,exports.env=W,exports.fileExtension=K,exports.jsonaDataFormatter=V.jsonaDataFormatter,exports.bha=E,exports.getLocalStorageItem=L.getLocalStorageItem,exports.updateLocalStorageItem=L.updateLocalStorageItem,exports.sharedDCStore=R.sharedDCStore,exports.resolveWellHubSlug=z,exports.enableHighchartsDelayedTooltip=O.enableHighchartsDelayedTooltip,exports.formatFileSize=X.formatFileSize,exports.chart=Y,exports.delay=_.delay,exports.downloadBlob=G.downloadBlob,exports.getAssetByFracFleetId=J.getAssetByFracFleetId,exports.getAssetByInterventionUnitId=J.getAssetByInterventionUnitId,exports.getAssetByPadId=J.getAssetByPadId,exports.getAssetByRigId=J.getAssetByRigId,exports.getAssetByWellIdForInterventionUnit=J.getAssetByWellIdForInterventionUnit,exports.getAssetByWellIdForRig=J.getAssetByWellIdForRig,exports.safeTemplate=Q.safeTemplate,exports.convertArray=ee,exports.convertValue=te,exports.getAllUnitTypes=re,exports.getChartHorizontalAxis=qe,exports.getChartVerticalAxis=Ue,exports.getDefaultImperialUnit=se,exports.getDefaultUnits=oe,exports.getUniqueUnitsByType=je,exports.getUnitDescription=ie,exports.getUnitDisplay=ae,exports.getUnitPlural=ne,exports.getUnitPreference=pe,exports.getUnitSingular=xe,exports.getUnitSystem=ue,exports.getUnitsByType=le,exports.getUserUnits=ce,exports.subscribeForUserUnitsUpdates=de,exports.updateUserUnits=ge;
2
2
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../../../src/utils/index.ts"],"sourcesContent":["import {\n formatMentionText,\n isSuggestionsListOpened,\n stripMentionMarkup,\n} from '../components/UserMention/utils';\n\nimport * as StageDesignVActualUtils from './StageDesignVActualUtils';\nimport * as alerts from './alerts';\nimport * as audio from './audio';\nimport * as casing from './casing';\nimport * as chartSeries from './chartSeries';\nimport * as completion from './completion';\nimport * as components from './components';\nimport * as convert from './convert';\nimport * as csvExport from './csvExport';\nimport * as devcenter from './devcenter';\nimport * as drillstring from './drillstring';\nimport * as drillstringUtils from './DrillstringUtils';\nimport * as fluidCheckUtils from './FluidCheckUtils';\nimport * as formatting from './formatting';\nimport * as ga from './ga';\nimport * as goals from './goals';\nimport * as goalsConfig from './goalsConfig';\nimport * as lasParser from './lasParser';\nimport * as main from './main';\nimport * as mapUnits from './mapUnits';\nimport * as mapbox from './mapbox';\nimport * as metricsUtils from './metrics';\nimport * as mobileDetect from './mobileDetect';\nimport * as nativeMessages from './nativeMessages';\nimport * as notifications from './notifications';\nimport * as feed from './feed';\nimport * as permissions from './permissions';\nimport * as reports from './reports';\nimport * as time from './time';\nimport * as torqueAndHookloadUtils from './torqueAndHookloadUtils';\nimport * as accuracy from './accuracy';\nimport {\n createNotification,\n removeNotification,\n showErrorNotification,\n showInfoNotification,\n showNeutralNotification,\n showSuccessNotification,\n showWarningNotification,\n} from './notificationToasts';\nimport { showToast } from './devcenterToasts';\nimport { convertKeysToCamelCase, convertKeysToSnakeCase, getConvertKeys } from './convertKeys';\nimport * as dashboardReports from './dashboardReports';\nimport * as apps from './apps';\nimport * as themeVariables from './themeVariables';\nimport * as env from './env';\nimport * as fileExtension from './fileExtension';\nimport { jsonaDataFormatter } from './jsonaDataFormatter';\nimport * as bha from './bha';\nimport { getLocalStorageItem, updateLocalStorageItem } from './localStorage';\nimport { sharedDCStore } from './sharedDCStore';\nimport resolveWellHubSlug from './resolveWellHubSlug';\nimport { enableHighchartsDelayedTooltip } from './delayedHighcharts';\nimport { formatFileSize } from './formatFileSize';\nimport { getXAxis, getYAxis } from './charts';\n\nconst {\n convertArray,\n convertValue,\n getAllUnitTypes,\n getDefaultImperialUnit,\n getDefaultUnits,\n getUnitDescription,\n getUnitDisplay,\n getUnitPlural,\n getUnitPreference,\n getUnitsByType,\n getUnitSingular,\n getUnitSystem,\n updateUserUnits,\n getUserUnits,\n subscribeForUserUnitsUpdates,\n getUniqueUnitsByType,\n} = convert;\n\nexport {\n StageDesignVActualUtils,\n accuracy,\n alerts,\n apps,\n audio,\n bha,\n casing,\n chartSeries,\n enableHighchartsDelayedTooltip,\n completion,\n components,\n convert,\n convertArray,\n convertKeysToCamelCase,\n convertKeysToSnakeCase,\n convertValue,\n createNotification,\n csvExport,\n dashboardReports,\n devcenter,\n drillstring,\n drillstringUtils,\n env,\n feed,\n fileExtension,\n fluidCheckUtils,\n formatting,\n ga,\n formatMentionText,\n getAllUnitTypes,\n getConvertKeys,\n getDefaultImperialUnit,\n getDefaultUnits,\n getLocalStorageItem,\n getUniqueUnitsByType,\n getUnitDescription,\n getUnitDisplay,\n getUnitPlural,\n getUnitPreference,\n getUnitSingular,\n getUnitSystem,\n getUnitsByType,\n getUserUnits,\n goals,\n goalsConfig,\n jsonaDataFormatter,\n lasParser,\n main,\n mapUnits,\n mapbox,\n metricsUtils,\n mobileDetect,\n nativeMessages,\n notifications,\n permissions,\n removeNotification,\n reports,\n resolveWellHubSlug,\n sharedDCStore,\n showErrorNotification,\n showInfoNotification,\n showNeutralNotification,\n showSuccessNotification,\n showToast,\n showWarningNotification,\n subscribeForUserUnitsUpdates,\n themeVariables,\n time,\n torqueAndHookloadUtils,\n updateLocalStorageItem,\n updateUserUnits,\n isSuggestionsListOpened,\n stripMentionMarkup,\n formatFileSize,\n};\n\nexport * from './delay';\nexport * from './downloadBlob';\nexport * from './getSingleAsset';\n\nexport * as chart from './charts';\n// Deprecated, reexported for backwards compatibility\n/**\n * @deprecated\n */\nexport const getChartHorizontalAxis = getXAxis;\n\n/**\n * @deprecated\n */\nexport const getChartVerticalAxis = getYAxis;\n"],"names":["convertArray","convert","convertValue","getAllUnitTypes","getDefaultImperialUnit","getDefaultUnits","getUnitDescription","getUnitDisplay","getUnitPlural","getUnitPreference","getUnitsByType","getUnitSingular","getUnitSystem","updateUserUnits","getUserUnits","subscribeForUserUnitsUpdates","getUniqueUnitsByType","getChartHorizontalAxis","getXAxis","getChartVerticalAxis","getYAxis"],"mappings":"+pDA+DEA,EAgBEC,EAAAA,aAfFC,GAeED,EAAAA,aAdFE,GAcEF,EAAAA,gBAbFG,GAaEH,EAAAA,uBAZFI,GAYEJ,EAAAA,gBAXFK,GAWEL,EAAAA,mBAVFM,GAUEN,EAAAA,eATFO,GASEP,EAAAA,cARFQ,GAQER,EAAAA,kBAPFS,GAOET,EAAAA,eANFU,GAMEV,EAAAA,gBALFW,GAKEX,EAAAA,cAJFY,GAIEZ,EAAAA,gBAHFa,GAGEb,EAAAA,aAFFc,GAEEd,EAAAA,6BADFe,GACEf,EADkBe,qBAyFTC,GAAyBC,EAAQA,SAKjCC,GAAuBC,EAAAA"}
1
+ {"version":3,"file":"index.js","sources":["../../../src/utils/index.ts"],"sourcesContent":["import {\n formatMentionText,\n isSuggestionsListOpened,\n stripMentionMarkup,\n} from '../components/UserMention/utils';\n\nimport * as StageDesignVActualUtils from './StageDesignVActualUtils';\nimport * as alerts from './alerts';\nimport * as audio from './audio';\nimport * as casing from './casing';\nimport * as chartSeries from './chartSeries';\nimport * as completion from './completion';\nimport * as components from './components';\nimport * as convert from './convert';\nimport * as csvExport from './csvExport';\nimport * as devcenter from './devcenter';\nimport * as drillstring from './drillstring';\nimport * as drillstringUtils from './DrillstringUtils';\nimport * as fluidCheckUtils from './FluidCheckUtils';\nimport * as formatting from './formatting';\nimport * as ga from './ga';\nimport * as goals from './goals';\nimport * as goalsConfig from './goalsConfig';\nimport * as lasParser from './lasParser';\nimport * as main from './main';\nimport * as mapUnits from './mapUnits';\nimport * as mapbox from './mapbox';\nimport * as metricsUtils from './metrics';\nimport * as mobileDetect from './mobileDetect';\nimport * as nativeMessages from './nativeMessages';\nimport * as notifications from './notifications';\nimport * as feed from './feed';\nimport * as permissions from './permissions';\nimport * as reports from './reports';\nimport * as time from './time';\nimport * as torqueAndHookloadUtils from './torqueAndHookloadUtils';\nimport * as accuracy from './accuracy';\nimport {\n createNotification,\n removeNotification,\n showErrorNotification,\n showInfoNotification,\n showNeutralNotification,\n showSuccessNotification,\n showWarningNotification,\n} from './notificationToasts';\nimport { showToast } from './devcenterToasts';\nimport { convertKeysToCamelCase, convertKeysToSnakeCase, getConvertKeys } from './convertKeys';\nimport * as dashboardReports from './dashboardReports';\nimport * as apps from './apps';\nimport * as themeVariables from './themeVariables';\nimport * as env from './env';\nimport * as fileExtension from './fileExtension';\nimport { jsonaDataFormatter } from './jsonaDataFormatter';\nimport * as bha from './bha';\nimport { getLocalStorageItem, updateLocalStorageItem } from './localStorage';\nimport { sharedDCStore } from './sharedDCStore';\nimport resolveWellHubSlug from './resolveWellHubSlug';\nimport { enableHighchartsDelayedTooltip } from './delayedHighcharts';\nimport { formatFileSize } from './formatFileSize';\nimport { getXAxis, getYAxis } from './charts';\n\nconst {\n convertArray,\n convertValue,\n getAllUnitTypes,\n getDefaultImperialUnit,\n getDefaultUnits,\n getUnitDescription,\n getUnitDisplay,\n getUnitPlural,\n getUnitPreference,\n getUnitsByType,\n getUnitSingular,\n getUnitSystem,\n updateUserUnits,\n getUserUnits,\n subscribeForUserUnitsUpdates,\n getUniqueUnitsByType,\n} = convert;\n\nexport {\n StageDesignVActualUtils,\n accuracy,\n alerts,\n apps,\n audio,\n bha,\n casing,\n chartSeries,\n enableHighchartsDelayedTooltip,\n completion,\n components,\n convert,\n convertArray,\n convertKeysToCamelCase,\n convertKeysToSnakeCase,\n convertValue,\n createNotification,\n csvExport,\n dashboardReports,\n devcenter,\n drillstring,\n drillstringUtils,\n env,\n feed,\n fileExtension,\n fluidCheckUtils,\n formatting,\n ga,\n formatMentionText,\n getAllUnitTypes,\n getConvertKeys,\n getDefaultImperialUnit,\n getDefaultUnits,\n getLocalStorageItem,\n getUniqueUnitsByType,\n getUnitDescription,\n getUnitDisplay,\n getUnitPlural,\n getUnitPreference,\n getUnitSingular,\n getUnitSystem,\n getUnitsByType,\n getUserUnits,\n goals,\n goalsConfig,\n jsonaDataFormatter,\n lasParser,\n main,\n mapUnits,\n mapbox,\n metricsUtils,\n mobileDetect,\n nativeMessages,\n notifications,\n permissions,\n removeNotification,\n reports,\n resolveWellHubSlug,\n sharedDCStore,\n showErrorNotification,\n showInfoNotification,\n showNeutralNotification,\n showSuccessNotification,\n showToast,\n showWarningNotification,\n subscribeForUserUnitsUpdates,\n themeVariables,\n time,\n torqueAndHookloadUtils,\n updateLocalStorageItem,\n updateUserUnits,\n isSuggestionsListOpened,\n stripMentionMarkup,\n formatFileSize,\n};\n\nexport * from './delay';\nexport * from './downloadBlob';\nexport * from './getSingleAsset';\n\nexport * as chart from './charts';\n// Deprecated, reexported for backwards compatibility\n/**\n * @deprecated\n */\nexport const getChartHorizontalAxis = getXAxis;\n\n/**\n * @deprecated\n */\nexport const getChartVerticalAxis = getYAxis;\n\nexport * from './safeTemplate';\n"],"names":["convertArray","convert","convertValue","getAllUnitTypes","getDefaultImperialUnit","getDefaultUnits","getUnitDescription","getUnitDisplay","getUnitPlural","getUnitPreference","getUnitsByType","getUnitSingular","getUnitSystem","updateUserUnits","getUserUnits","subscribeForUserUnitsUpdates","getUniqueUnitsByType","getChartHorizontalAxis","getXAxis","getChartVerticalAxis","getYAxis"],"mappings":"8rDA+DEA,GAgBEC,EAAAA,aAfFC,GAeED,EAAAA,aAdFE,GAcEF,EAAAA,gBAbFG,GAaEH,EAAAA,uBAZFI,GAYEJ,EAAAA,gBAXFK,GAWEL,EAAAA,mBAVFM,GAUEN,EAAAA,eATFO,GASEP,EAAAA,cARFQ,GAQER,EAAAA,kBAPFS,GAOET,EAAAA,eANFU,GAMEV,EAAAA,gBALFW,GAKEX,EAAAA,cAJFY,GAIEZ,EAAAA,gBAHFa,GAGEb,EAAAA,aAFFc,GAEEd,EAAAA,6BADFe,GACEf,EADkBe,qBAyFTC,GAAyBC,EAAQA,SAKjCC,GAAuBC,EAAAA"}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("@babel/runtime/helpers/slicedToArray"),r=require("@babel/runtime/helpers/toConsumableArray");function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n=t(e),i=t(r),a=/<%-([\s\S]*?)%>|<%=([\s\S]*?)%>|<%([\s\S]*?)%>|\$\{([\s\S]*?)\}/g,o=/^[A-Za-z_$][\w$]*/,u=/^(?:\d+\.?\d*|\.\d+)(?:[eE][+-]?\d+)?/,l={true:!0,false:!1,null:null,undefined:void 0},c={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},f=function(e){return e.replace(/[&<>"']/g,(function(e){return c[e]}))},p={b:"\b",f:"\f",n:"\n",r:"\r",t:"\t",v:"\v",0:"\0"},s=["\n","\r","\u2028","\u2029"],d=/\\(?:u\{([\da-fA-F]+)\}|u([\da-fA-F]{4})|x([\da-fA-F]{2})|\r\n|([\s\S]))/g,v=function(e){var r=0,t=function(t){throw new SyntaxError("".concat(t," in template expression `").concat(e,"` (position ").concat(r,")"))},n=function(){for(;r<e.length&&/\s/.test(e[r]);)r+=1},i=function(t){return n(),e[r]===t&&(r+=1,!0)},a=function(e){i(e)||t("Expected `".concat(e,"`"))},c=function(){n(),r>=e.length&&t("Unexpected end of expression");var i=e[r];if("("===i){r+=1;var c=v();return a(")"),c}if('"'===i||"'"===i)return function(){for(var n=e[r],i=r+=1;r<e.length&&e[r]!==n;)r+="\\"===e[r]?2:1;e[r]!==n&&t("Unterminated string literal");var a,o=e.slice(i,r);return r+=1,{type:"literal",value:(a=o,a.replace(d,(function(e,r,t,n,i){var a;return void 0!==r?String.fromCodePoint(parseInt(r,16)):void 0!==t?String.fromCharCode(parseInt(t,16)):void 0!==n?String.fromCharCode(parseInt(n,16)):void 0===i||s.includes(i)?"":null!==(a=p[i])&&void 0!==a?a:i})))}}();var f=u.exec(e.slice(r));if(f)return r+=f[0].length,{type:"literal",value:Number(f[0])};var m=o.exec(e.slice(r));if(m){r+=m[0].length;var y=m[0];return y in l?{type:"literal",value:l[y]}:{type:"identifier",name:y}}return t("Unsupported syntax `".concat(i,"`"))},f=function(){var e=[];if(i(")"))return e;do{e.push(v())}while(i(","));return a(")"),e};function v(){for(var u=c();;)if(i(".")){n();var l=o.exec(e.slice(r));if(!l)return t("Expected a property name after `.`");r+=l[0].length,u={type:"member",object:u,property:{type:"literal",value:l[0]}}}else if(i("[")){var p=v();a("]"),u={type:"member",object:u,property:p}}else{if(!i("("))return u;u={type:"call",callee:u,args:f()}}}var m=v();return n(),r<e.length&&t("Unexpected `".concat(e[r],"`")),m},m=function(e,r){if("function"!=typeof e)throw new TypeError("".concat(r," is not a function"));return e},y=function e(r,t){var n;switch(r.type){case"literal":return r.value;case"identifier":if(t&&!(r.name in t))throw new ReferenceError("".concat(r.name," is not defined"));return null==t?void 0:t[r.name];case"member":var a=e(r.object,t),o=String(e(r.property,t));return null!=a&&null!==(n=a.hasOwnProperty)&&void 0!==n&&n.call(a,o)?a[o]:void 0;case"call":var u=r.args.map((function(r){return e(r,t)})),l=r.callee;if("member"===l.type){var c=e(l.object,t),f=String(e(l.property,t));return c&&null!=c&&c.hasOwnProperty(f)?m(c[f],f).apply(c,u):void 0}var p=e(l,t);return p?m(p,function(e){return"identifier"===e.type?e.name:"expression"}(l)).apply(void 0,i.default(u)):void 0;default:return}},h=function(e){return null==e?"":String(e)};exports.safeTemplate=function(e){var r=[],t=0;a.lastIndex=0;for(var i=a.exec(e);i;){var o,u=i,l=n.default(u,5),c=l[0],p=l[1],s=l[2],d=l[3],m=l[4];if(void 0!==d)throw new SyntaxError("The `<% %>` (evaluate) delimiter is not supported: `".concat(c.trim(),"`"));i.index>t&&r.push({text:e.slice(t,i.index)}),r.push({node:v(null!==(o=null!=p?p:s)&&void 0!==o?o:m),escape:void 0!==p}),t=i.index+c.length,i=a.exec(e)}return t<e.length&&r.push({text:e.slice(t)}),function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return r.map((function(r){if("text"in r)return r.text;var t=h(y(r.node,e));return r.escape?f(t):t})).join("")}};
2
+ //# sourceMappingURL=safeTemplate.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"safeTemplate.js","sources":["../../../src/utils/safeTemplate.ts"],"sourcesContent":["/**\n * A drop-in replacement for lodash's `template`, limited to interpolation.\n *\n * Supported delimiters (lodash defaults):\n * `<%= expression %>` — interpolate\n * `${ expression }` — interpolate (ES template syntax)\n * `<%- expression %>` — interpolate, HTML-escaped\n *\n * `<% statements %>` (the \"evaluate\" delimiter) is intentionally not supported.\n *\n * Unlike lodash, the compiled template is not built with `new Function`, so it\n * works under a CSP that forbids `unsafe-eval`. The price is a restricted\n * expression grammar: literals, identifiers resolved against the data object,\n * property access and function calls. Operators, assignments and anything else\n * throw a `SyntaxError` at compile time.\n */\n\ntype TemplateData = Record<string, unknown>;\n\ntype Node =\n | { type: 'literal'; value: unknown }\n | { type: 'identifier'; name: string }\n | { type: 'member'; object: Node; property: Node }\n | { type: 'call'; callee: Node; args: Node[] };\n\ntype Chunk = { text: string } | { node: Node; escape: boolean };\n\nconst TOKEN_RE = /<%-([\\s\\S]*?)%>|<%=([\\s\\S]*?)%>|<%([\\s\\S]*?)%>|\\$\\{([\\s\\S]*?)\\}/g;\n\nconst IDENTIFIER_RE = /^[A-Za-z_$][\\w$]*/;\nconst NUMBER_RE = /^(?:\\d+\\.?\\d*|\\.\\d+)(?:[eE][+-]?\\d+)?/;\n\nconst KEYWORDS: Record<string, unknown> = {\n true: true,\n false: false,\n null: null,\n undefined: undefined,\n};\n\nconst HTML_ESCAPES: Record<string, string> = {\n '&': '&amp;',\n '<': '&lt;',\n '>': '&gt;',\n '\"': '&quot;',\n \"'\": '&#39;',\n};\n\nconst escapeHtml = (value: string) => value.replace(/[&<>\"']/g, char => HTML_ESCAPES[char]);\n\nconst STRING_ESCAPES: Record<string, string> = {\n b: '\\b',\n f: '\\f',\n n: '\\n',\n r: '\\r',\n t: '\\t',\n v: '\\v',\n '0': '\\0',\n};\n\nconst LINE_TERMINATORS = ['\\n', '\\r', '\\u2028', '\\u2029'];\n\nconst ESCAPE_SEQUENCE_RE =\n /\\\\(?:u\\{([\\da-fA-F]+)\\}|u([\\da-fA-F]{4})|x([\\da-fA-F]{2})|\\r\\n|([\\s\\S]))/g;\n\n/**\n * Resolves backslash escape sequences the way a JS string literal does: the\n * single-character ones (`\\n`, `\\t`, `\\\\`, `\\'`, …), `\\xNN`, `\\uNNNN`, `\\u{NNNNN}`\n * and line continuations. A backslash before anything else is dropped and the\n * character kept as-is — again like a string literal. A trailing lone backslash\n * has nothing to escape, so it stays.\n */\nconst unescapeBackslashes = (value: string) =>\n value.replace(ESCAPE_SEQUENCE_RE, (_match, codePoint, unicode, hex, char) => {\n if (codePoint !== undefined) return String.fromCodePoint(parseInt(codePoint, 16));\n if (unicode !== undefined) return String.fromCharCode(parseInt(unicode, 16));\n if (hex !== undefined) return String.fromCharCode(parseInt(hex, 16));\n // `\\` before a real line break is a line continuation: both of them go away.\n if (char === undefined || LINE_TERMINATORS.includes(char)) return '';\n\n return STRING_ESCAPES[char] ?? char;\n });\n\nconst parseExpression = (source: string): Node => {\n let pos = 0;\n\n const fail = (message: string): never => {\n throw new SyntaxError(`${message} in template expression \\`${source}\\` (position ${pos})`);\n };\n\n const skipSpaces = () => {\n while (pos < source.length && /\\s/.test(source[pos])) pos += 1;\n };\n\n const eat = (char: string) => {\n skipSpaces();\n if (source[pos] !== char) return false;\n pos += 1;\n return true;\n };\n\n const expect = (char: string) => {\n if (!eat(char)) fail(`Expected \\`${char}\\``);\n };\n\n const parseString = (): Node => {\n const quote = source[pos];\n pos += 1;\n const start = pos;\n while (pos < source.length && source[pos] !== quote) {\n // A backslash escapes the character behind it, the closing quote included.\n pos += source[pos] === '\\\\' ? 2 : 1;\n }\n if (source[pos] !== quote) fail('Unterminated string literal');\n const raw = source.slice(start, pos);\n pos += 1;\n return { type: 'literal', value: unescapeBackslashes(raw) };\n };\n\n const parsePrimary = (): Node => {\n skipSpaces();\n if (pos >= source.length) fail('Unexpected end of expression');\n\n const char = source[pos];\n\n if (char === '(') {\n pos += 1;\n const node = parseOperand();\n expect(')');\n return node;\n }\n\n if (char === '\"' || char === \"'\") return parseString();\n\n const number = NUMBER_RE.exec(source.slice(pos));\n if (number) {\n pos += number[0].length;\n return { type: 'literal', value: Number(number[0]) };\n }\n\n const identifier = IDENTIFIER_RE.exec(source.slice(pos));\n if (identifier) {\n pos += identifier[0].length;\n const name = identifier[0];\n if (name in KEYWORDS) return { type: 'literal', value: KEYWORDS[name] };\n return { type: 'identifier', name };\n }\n\n return fail(`Unsupported syntax \\`${char}\\``);\n };\n\n const parseArguments = (): Node[] => {\n const args: Node[] = [];\n if (eat(')')) return args;\n do {\n args.push(parseOperand());\n } while (eat(','));\n expect(')');\n return args;\n };\n\n function parseOperand(): Node {\n let node = parsePrimary();\n\n for (;;) {\n if (eat('.')) {\n skipSpaces();\n const property = IDENTIFIER_RE.exec(source.slice(pos));\n if (!property) return fail('Expected a property name after `.`');\n pos += property[0].length;\n node = { type: 'member', object: node, property: { type: 'literal', value: property[0] } };\n } else if (eat('[')) {\n const property = parseOperand();\n expect(']');\n node = { type: 'member', object: node, property };\n } else if (eat('(')) {\n node = { type: 'call', callee: node, args: parseArguments() };\n } else {\n return node;\n }\n }\n }\n\n const node = parseOperand();\n skipSpaces();\n if (pos < source.length) fail(`Unexpected \\`${source[pos]}\\``);\n return node;\n};\n\nconst describe = (node: Node) => (node.type === 'identifier' ? node.name : 'expression');\n\nconst asFunction = (value: unknown, name: string) => {\n if (typeof value !== 'function') {\n throw new TypeError(`${name} is not a function`);\n }\n return value as (...args: unknown[]) => unknown;\n};\n\nconst evaluate = (node: Node, data: TemplateData): unknown => {\n switch (node.type) {\n case 'literal':\n return node.value;\n\n case 'identifier':\n if (data && !(node.name in data)) throw new ReferenceError(`${node.name} is not defined`);\n return data?.[node.name];\n\n case 'member':\n const evaluated = evaluate(node.object, data) as Record<string, unknown>;\n const propertyName = String(evaluate(node.property, data));\n return evaluated?.hasOwnProperty?.(propertyName) ? evaluated[propertyName] : undefined;\n\n case 'call': {\n const args = node.args.map(arg => evaluate(arg, data));\n const { callee } = node;\n\n // Keep the receiver for method calls, so `a.b()` still sees `a` as `this`.\n if (callee.type === 'member') {\n const thisArg = evaluate(callee.object, data) as Record<string, unknown>;\n const key = String(evaluate(callee.property, data));\n\n return thisArg && thisArg?.hasOwnProperty(key)\n ? asFunction(thisArg[key], key).apply(thisArg, args)\n : undefined;\n }\n\n const maybeFunction = evaluate(callee, data);\n\n return maybeFunction ? asFunction(maybeFunction, describe(callee))(...args) : undefined;\n }\n\n default:\n return undefined;\n }\n};\n\nconst toString = (value: unknown) => (value == null ? '' : String(value));\n\n/**\n * Compiles `source` into a function that interpolates a data object into it,\n * mirroring `lodash.template(source)(data)` for interpolation-only templates.\n */\nexport const safeTemplate = (source: string) => {\n const chunks: Chunk[] = [];\n let index = 0;\n\n TOKEN_RE.lastIndex = 0;\n let match = TOKEN_RE.exec(source);\n while (match) {\n const [token, escaped, interpolated, evaluated, esInterpolated] = match;\n\n if (evaluated !== undefined) {\n throw new SyntaxError(\n `The \\`<% %>\\` (evaluate) delimiter is not supported: \\`${token.trim()}\\``\n );\n }\n\n if (match.index > index) chunks.push({ text: source.slice(index, match.index) });\n chunks.push({\n node: parseExpression(escaped ?? interpolated ?? esInterpolated),\n escape: escaped !== undefined,\n });\n\n index = match.index + token.length;\n match = TOKEN_RE.exec(source);\n }\n\n if (index < source.length) chunks.push({ text: source.slice(index) });\n\n return (data: TemplateData = {}) =>\n chunks\n .map(chunk => {\n if ('text' in chunk) return chunk.text;\n const value = toString(evaluate(chunk.node, data));\n return chunk.escape ? escapeHtml(value) : value;\n })\n .join('');\n};\n"],"names":["TOKEN_RE","IDENTIFIER_RE","NUMBER_RE","KEYWORDS","true","false","null","undefined","HTML_ESCAPES","escapeHtml","value","replace","char","STRING_ESCAPES","b","f","n","r","t","v","LINE_TERMINATORS","ESCAPE_SEQUENCE_RE","parseExpression","source","pos","fail","message","SyntaxError","concat","skipSpaces","length","test","eat","expect","parsePrimary","node","parseOperand","quote","start","raw","slice","type","_match","codePoint","unicode","hex","_STRING_ESCAPES$char","String","fromCodePoint","parseInt","fromCharCode","includes","parseString","number","exec","Number","identifier","name","parseArguments","args","push","property","object","callee","asFunction","TypeError","evaluate","data","_evaluated$hasOwnProp","ReferenceError","evaluated","propertyName","hasOwnProperty","call","map","arg","thisArg","key","apply","maybeFunction","describe","_toConsumableArray","toString","chunks","index","lastIndex","match","_ref","_match2","_match3","_slicedToArray","token","escaped","interpolated","esInterpolated","trim","text","escape","arguments","chunk","join"],"mappings":"0QA2BMA,EAAW,mEAEXC,EAAgB,oBAChBC,EAAY,wCAEZC,EAAoC,CACxCC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,GAAI,SAAUA,EAAO,OAAOA,EAAMH,KAClC,IAAMtF,EAAQwE,EAAShB,EAASiC,EAAMhE,KAAMgC,IAC5C,OAAOgC,EAAMF,OAASxF,EAAWC,GAASA,CAC5C,IACC0F,KAAK,GAAG,CACf"}
@@ -23,14 +23,6 @@ export declare const corvaDataAPI: {
23
23
  post: (path: any, entity: any, requestOptions?: {}) => Promise<any>;
24
24
  del: (path: any, queryParams?: {}, requestOptions?: {}) => Promise<any>;
25
25
  };
26
- export declare const socketClient: {
27
- subscribe: <O extends import("./subscriptions/types").SubscribeOptions = import("./subscriptions/types").SubscribeOptions, T = Record<string, any>>(subscription: O, { onDataReceive }: {
28
- onDataReceive: (data: O & {
29
- data: T;
30
- }) => any;
31
- }) => () => void;
32
- onConnectionChange: (handler: import("./subscriptions/types").OnConnectionChange) => () => void;
33
- disconnect: () => void;
34
- };
26
+ export { socketClientV2 as socketClient } from './subscriptions/socket-client.v2';
35
27
  export { apiRequestsRateLimiter } from './api/rateLimiter';
36
28
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/clients/index.js"],"names":[],"mappings":"AAGA,OAAO,KAAK,aAAa,MAAM,iBAAiB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,WAAW,CAAC;AACrC,OAAO,KAAK,aAAa,MAAM,iBAAiB,CAAC;AAGjD,OAAO,KAAK,SAAS,MAAM,aAAa,CAAC;AAIzC,OAAO,EAAE,aAAa,EAAE,OAAO,EAAE,aAAa,EAAE,SAAS,EAAE,CAAC;AAC5D,OAAO,KAAK,GAAG,MAAM,OAAO,CAAC;AAC7B,cAAc,SAAS,CAAC;AAExB,eAAO,MAAM,QAAQ;;;;;;;;;;CAmBpB,CAAC;AAEF,eAAO,MAAM,YAAY;;;;;;CAWxB,CAAC;AAoEF,eAAO,MAAM,YAAY;;;;;;;;CAA6D,CAAC;AAEvF,OAAO,EAAE,sBAAsB,EAAE,MAAM,mBAAmB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/clients/index.js"],"names":[],"mappings":"AAAA,OAAO,KAAK,aAAa,MAAM,iBAAiB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,WAAW,CAAC;AACrC,OAAO,KAAK,aAAa,MAAM,iBAAiB,CAAC;AAGjD,OAAO,KAAK,SAAS,MAAM,aAAa,CAAC;AAEzC,OAAO,EAAE,aAAa,EAAE,OAAO,EAAE,aAAa,EAAE,SAAS,EAAE,CAAC;AAC5D,OAAO,KAAK,GAAG,MAAM,OAAO,CAAC;AAC7B,cAAc,SAAS,CAAC;AAExB,eAAO,MAAM,QAAQ;;;;;;;;;;CAmBpB,CAAC;AAEF,eAAO,MAAM,YAAY;;;;;;CAWxB,CAAC;AAEF,OAAO,EAAE,cAAc,IAAI,YAAY,EAAE,MAAM,kCAAkC,CAAC;AAElF,OAAO,EAAE,sBAAsB,EAAE,MAAM,mBAAmB,CAAC"}
package/clients/index.js CHANGED
@@ -1,2 +1,2 @@
1
- import t from"@babel/runtime/helpers/defineProperty";import{v4 as n}from"uuid";import{noop as o}from"lodash";import*as r from"./clientStorage/index.js";export{r as clientStorage};import*as e from"./jsonApi/index.js";export{e as jsonApi};import*as i from"./subscriptions.js";export{i as subscriptions};import{get as c,getWithHeaders as s,put as a,patch as u,post as p,del as d}from"./api/apiCore.js";import{CORVA_API_URLS as f}from"./constants.js";import*as l from"./corvaUrls.js";export{l as corvaUrls};import{handleSubscriptionsVersion as v}from"./subscriptions/constants.js";import{socketClientV2 as g}from"./subscriptions/socket-client.v2.js";import*as m from"./sso/index.js";export{m as sso};export{attachHTTPHeaders,getAppKeyAndId,getAuthorizationHeaders,getAuthorizationToken}from"./utils.js";export{apiRequestsRateLimiter}from"./api/rateLimiter.js";function h(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable}))),o.push.apply(o,r)}return o}function b(n){for(var o=1;o<arguments.length;o++){var r=null!=arguments[o]?arguments[o]:{};o%2?h(Object(r),!0).forEach((function(o){t(n,o,r[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(r)):h(Object(r)).forEach((function(t){Object.defineProperty(n,t,Object.getOwnPropertyDescriptor(r,t))}))}return n}var j={get:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return c(t,n,o)},getWithHeaders:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return s(t,n,o)},put:function(t,n){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return a(t,n,o,r)},patch:function(t,n){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return u(t,n,o,r)},post:function(t,n){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return p(t,n,o)},del:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return d(t,n,o)}},A={get:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return c(t,n,b({apiUrl:f.DATA_API},o))},put:function(t,n){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return a(t,n,o,b({apiUrl:f.DATA_API},r))},patch:function(t,n){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return u(t,n,o,b({apiUrl:f.DATA_API},r))},post:function(t,n){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return p(t,n,b({apiUrl:f.DATA_API},o))},del:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return d(t,n,b({apiUrl:f.DATA_API},o))}};function w(){if(window.xprops){var t,o,r,e,i,c=(null===(t=window.xprops)||void 0===t||null===(o=t.app)||void 0===o||null===(r=o.app)||void 0===r?void 0:r.id)||"unknown-app-id",s=(null===(e=window.xprops)||void 0===e||null===(i=e.app)||void 0===i?void 0:i.id)||"unknown-instance-id";return"".concat(c,":").concat(s,":").concat(n())}return"non-dc-app:".concat(n())}var O=v({subscribe:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.onDataReceive,e=window[Symbol.for("socket")]||{},i=e.subscribe,c=e.unsubscribe,s=e.socket;if(!s)return console.error("Socket is not initialized!"),o;var a=w(),u=b(b({},t),{},{collection:t.collection||t.dataset,appInstanceId:a}),p=r&&function(t){return t.appInstanceId===a&&r(t)};return i(u),p&&s.on("data",p),function(){p&&s.off("data",p),c(u)}},onConnectionChange:function(t){var n=(window[Symbol.for("socket")]||{}).socket;if(!n)return function(){};var o=function(){return t({status:"connected"})},r=function(n){return t({status:"disconnected",reason:n})},e=function(){return t({status:"reconnecting"})},i=function(n){return t({status:"error",reason:(null==n?void 0:n.message)||String(n)})};return n.on("connect",o),n.on("disconnect",r),n.on("reconnect",e),n.on("connect_error",i),function(){n.off("connect",o),n.off("disconnect",r),n.off("reconnect",e),n.off("connect_error",i)}}},g);export{j as corvaAPI,A as corvaDataAPI,O as socketClient};
1
+ import t from"@babel/runtime/helpers/defineProperty";import*as e from"./clientStorage/index.js";export{e as clientStorage};import*as r from"./jsonApi/index.js";export{r as jsonApi};import*as o from"./subscriptions.js";export{o as subscriptions};import{get as n,getWithHeaders as i,put as s,patch as p,post as a,del as c}from"./api/apiCore.js";import{CORVA_API_URLS as l}from"./constants.js";import*as u from"./corvaUrls.js";export{u as corvaUrls};import*as v from"./sso/index.js";export{v as sso};export{attachHTTPHeaders,getAppKeyAndId,getAuthorizationHeaders,getAuthorizationToken}from"./utils.js";export{socketClientV2 as socketClient}from"./subscriptions/socket-client.v2.js";export{apiRequestsRateLimiter}from"./api/rateLimiter.js";function f(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,o)}return r}function g(e){for(var r=1;r<arguments.length;r++){var o=null!=arguments[r]?arguments[r]:{};r%2?f(Object(o),!0).forEach((function(r){t(e,r,o[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):f(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var d={get:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return n(t,e,r)},getWithHeaders:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return i(t,e,r)},put:function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return s(t,e,r,o)},patch:function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return p(t,e,r,o)},post:function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return a(t,e,r)},del:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return c(t,e,r)}},h={get:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return n(t,e,g({apiUrl:l.DATA_API},r))},put:function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return s(t,e,r,g({apiUrl:l.DATA_API},o))},patch:function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return p(t,e,r,g({apiUrl:l.DATA_API},o))},post:function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return a(t,e,g({apiUrl:l.DATA_API},r))},del:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return c(t,e,g({apiUrl:l.DATA_API},r))}};export{d as corvaAPI,h as corvaDataAPI};
2
2
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../../src/clients/index.js"],"sourcesContent":["import { v4 as uuidV4 } from 'uuid';\nimport { noop } from 'lodash';\n\nimport * as clientStorage from './clientStorage';\nimport * as jsonApi from './jsonApi';\nimport * as subscriptions from './subscriptions';\nimport { del, get, getWithHeaders, patch, post, put } from './api/apiCore';\nimport { CORVA_API_URLS } from './constants';\nimport * as corvaUrls from './corvaUrls';\nimport { handleSubscriptionsVersion } from './subscriptions/constants';\nimport { socketClientV2 } from './subscriptions/socket-client.v2';\n\nexport { clientStorage, jsonApi, subscriptions, corvaUrls };\nexport * as sso from './sso';\nexport * from './utils';\n\nexport const corvaAPI = {\n get: (path, queryParams = {}, requestOptions = {}) => {\n return get(path, queryParams, requestOptions);\n },\n getWithHeaders: (path, queryParams = {}, requestOptions = {}) => {\n return getWithHeaders(path, queryParams, requestOptions);\n },\n put: (path, content, queryParams = {}, requestOptions = {}) => {\n return put(path, content, queryParams, requestOptions);\n },\n patch: (path, content, queryParams = {}, requestOptions = {}) => {\n return patch(path, content, queryParams, requestOptions);\n },\n post: (path, entity, requestOptions = {}) => {\n return post(path, entity, requestOptions);\n },\n del: (path, queryParams = {}, requestOptions = {}) => {\n return del(path, queryParams, requestOptions);\n },\n};\n\nexport const corvaDataAPI = {\n get: (path, queryParams = {}, requestOptions = {}) =>\n get(path, queryParams, { apiUrl: CORVA_API_URLS.DATA_API, ...requestOptions }),\n put: (path, content, queryParams = {}, requestOptions = {}) =>\n put(path, content, queryParams, { apiUrl: CORVA_API_URLS.DATA_API, ...requestOptions }),\n patch: (path, content, queryParams = {}, requestOptions = {}) =>\n patch(path, content, queryParams, { apiUrl: CORVA_API_URLS.DATA_API, ...requestOptions }),\n post: (path, entity, requestOptions = {}) =>\n post(path, entity, { apiUrl: CORVA_API_URLS.DATA_API, ...requestOptions }),\n del: (path, queryParams = {}, requestOptions = {}) =>\n del(path, queryParams, { apiUrl: CORVA_API_URLS.DATA_API, ...requestOptions }),\n};\n\nconst SOCKET_NOT_INITIALIZED_ERROR = 'Socket is not initialized!';\n\nfunction getAppInstanceId() {\n if (window.xprops) {\n const appId = window.xprops?.app?.app?.id || 'unknown-app-id';\n const appInstanceId = window.xprops?.app?.id || 'unknown-instance-id';\n\n return `${appId}:${appInstanceId}:${uuidV4()}`;\n }\n\n return `non-dc-app:${uuidV4()}`;\n}\n\nconst socketClientV1 = {\n subscribe: (subscription, { onDataReceive } = {}) => {\n const { subscribe, unsubscribe, socket } = window[Symbol.for('socket')] || {};\n\n if (!socket) {\n console.error(SOCKET_NOT_INITIALIZED_ERROR);\n // In some environments, like PDF Dashboard Report, socket is not initialized\n // But socketClient should not throw errors to prevent apps crashing\n return noop;\n }\n const subId = getAppInstanceId();\n const subscriptionWithId = {\n ...subscription,\n // NOTE: Add ability to pass dataset (because we don't use \"collection\" in new data api)\n collection: subscription.collection || subscription.dataset,\n // NOTE: Unique id is required for subscriptions server\n appInstanceId: subId,\n };\n\n const onData =\n onDataReceive && (event => event.appInstanceId === subId && onDataReceive(event));\n\n subscribe(subscriptionWithId);\n if (onData) socket.on('data', onData);\n\n // NOTE: Return unsubscribe\n return () => {\n if (onData) socket.off('data', onData);\n unsubscribe(subscriptionWithId);\n };\n },\n onConnectionChange: handler => {\n const { socket } = window[Symbol.for('socket')] || {};\n if (!socket) return () => {};\n const onConnect = () => handler({ status: 'connected' });\n const onDisconnect = reason => handler({ status: 'disconnected', reason });\n const onReconnect = () => handler({ status: 'reconnecting' });\n const onConnectError = err => handler({ status: 'error', reason: err?.message || String(err) });\n\n socket.on('connect', onConnect);\n socket.on('disconnect', onDisconnect);\n socket.on('reconnect', onReconnect);\n socket.on('connect_error', onConnectError);\n\n return () => {\n socket.off('connect', onConnect);\n socket.off('disconnect', onDisconnect);\n socket.off('reconnect', onReconnect);\n socket.off('connect_error', onConnectError);\n };\n },\n};\n\nexport const socketClient = handleSubscriptionsVersion(socketClientV1, socketClientV2);\n\nexport { apiRequestsRateLimiter } from './api/rateLimiter';\n"],"names":["corvaAPI","get","path","queryParams","arguments","length","undefined","requestOptions","getWithHeaders","put","content","patch","post","entity","del","corvaDataAPI","_objectSpread","apiUrl","CORVA_API_URLS","DATA_API","getAppInstanceId","window","xprops","_window$xprops","_window$xprops$app","_window$xprops$app$ap","_window$xprops2","_window$xprops2$app","appId","app","id","appInstanceId","concat","uuidV4","socketClient","handleSubscriptionsVersion","subscribe","subscription","_ref","onDataReceive","Symbol","for","unsubscribe","socket","console","error","noop","subId","subscriptionWithId","collection","dataset","onData","event","on","off","onConnectionChange","handler","onConnect","status","onDisconnect","reason","onReconnect","onConnectError","err","message","String","socketClientV2"],"mappings":"u5CAgBO,IAAMA,EAAW,CACtBC,IAAK,SAACC,GAAgD,IAA1CC,EAAcC,UAAAC,OAAA,QAAAC,IAAAF,UAAA,GAAAA,UAAA,GAAA,CAAA,EAAIG,EAAiBH,UAAAC,OAAA,QAAAC,IAAAF,UAAA,GAAAA,UAAA,GAAA,CAAA,EAC7C,OAAOH,EAAIC,EAAMC,EAAaI,EAC/B,EACDC,eAAgB,SAACN,GAAgD,IAA1CC,EAAcC,UAAAC,OAAA,QAAAC,IAAAF,UAAA,GAAAA,UAAA,GAAA,CAAA,EAAIG,EAAiBH,UAAAC,OA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OU,GAAG,aAAcM,GACxBhB,EAAOU,GAAG,YAAaQ,GACvBlB,EAAOU,GAAG,gBAAiBS,GAEpB,WACLnB,EAAOW,IAAI,UAAWG,GACtBd,EAAOW,IAAI,aAAcK,GACzBhB,EAAOW,IAAI,YAAaO,GACxBlB,EAAOW,IAAI,gBAAiBQ,GAEhC,GAGqEI"}
1
+ {"version":3,"file":"index.js","sources":["../../src/clients/index.js"],"sourcesContent":["import * as clientStorage from './clientStorage';\nimport * as jsonApi from './jsonApi';\nimport * as subscriptions from './subscriptions';\nimport { del, get, getWithHeaders, patch, post, put } from './api/apiCore';\nimport { CORVA_API_URLS } from './constants';\nimport * as corvaUrls from './corvaUrls';\n\nexport { clientStorage, jsonApi, subscriptions, corvaUrls };\nexport * as sso from './sso';\nexport * from './utils';\n\nexport const corvaAPI = {\n get: (path, queryParams = {}, requestOptions = {}) => {\n return get(path, queryParams, requestOptions);\n },\n getWithHeaders: (path, queryParams = {}, requestOptions = {}) => {\n return getWithHeaders(path, queryParams, requestOptions);\n },\n put: (path, content, queryParams = {}, requestOptions = {}) => {\n return put(path, content, queryParams, requestOptions);\n },\n patch: (path, content, queryParams = {}, requestOptions = {}) => {\n return patch(path, content, queryParams, requestOptions);\n },\n post: (path, entity, requestOptions = {}) => {\n return post(path, entity, requestOptions);\n },\n del: (path, queryParams = {}, requestOptions = {}) => {\n return del(path, queryParams, requestOptions);\n },\n};\n\nexport const corvaDataAPI = {\n get: (path, queryParams = {}, requestOptions = {}) =>\n get(path, queryParams, { apiUrl: CORVA_API_URLS.DATA_API, ...requestOptions }),\n put: (path, content, queryParams = {}, requestOptions = {}) =>\n put(path, content, queryParams, { apiUrl: CORVA_API_URLS.DATA_API, ...requestOptions }),\n patch: (path, content, queryParams = {}, requestOptions = {}) =>\n patch(path, content, queryParams, { apiUrl: CORVA_API_URLS.DATA_API, ...requestOptions }),\n post: (path, entity, requestOptions = {}) =>\n post(path, entity, { apiUrl: CORVA_API_URLS.DATA_API, ...requestOptions }),\n del: (path, queryParams = {}, requestOptions = {}) =>\n del(path, queryParams, { apiUrl: CORVA_API_URLS.DATA_API, ...requestOptions }),\n};\n\nexport { socketClientV2 as socketClient } from './subscriptions/socket-client.v2';\n\nexport { apiRequestsRateLimiter } from './api/rateLimiter';\n"],"names":["corvaAPI","get","path","queryParams","arguments","length","undefined","requestOptions","getWithHeaders","put","content","patch","post","entity","del","corvaDataAPI","_objectSpread","apiUrl","CORVA_API_URLS","DATA_API"],"mappings":"gyCAWO,IAAMA,EAAW,CACtBC,IAAK,SAACC,GAAgD,IAA1CC,EAAcC,UAAAC,OAAA,QAAAC,IAAAF,UAAA,GAAAA,UAAA,GAAA,CAAA,EAAIG,EAAiBH,UAAAC,OAAA,QAAAC,IAAAF,UAAA,GAAAA,UAAA,GAAA,CAAA,EAC7C,OAAOH,EAAIC,EAAMC,EAAaI,EAC/B,EACDC,eAAgB,SAACN,GAAgD,IAA1CC,EAAcC,UAAAC,OAAA,QAAAC,IAAAF,UAAA,GAAAA,UAAA,GAAA,CAAA,EAAIG,EAAiBH,UAAAC,OAAA,QAAAC,IAAAF,UAAA,GAAAA,UAAA,GAAA,CAAA,EACxD,OAAOI,EAAeN,EAAMC,EAAaI,EAC1C,EACDE,IAAK,SAACP,EAAMQ,GAAmD,IAA1CP,EAAcC,UAAAC,OAAA,QAAAC,IAAAF,UAAA,GAAAA,UAAA,GAAA,CAAA,EAAIG,EAAiBH,UAAAC,OAAA,QAAAC,IAAAF,UAAA,GAAAA,UAAA,GAAA,CAAA,EACtD,OAAOK,EAAIP,EAAMQ,EAASP,EAAaI,EACxC,EACDI,MAAO,SAACT,EAAMQ,GAAmD,IAA1CP,EAAcC,UAAAC,OAAA,QAAAC,IAAAF,UAAA,GAAAA,UAAA,GAAA,CAAA,EAAIG,EAAiBH,UAAAC,OAAA,QAAAC,IAAAF,UAAA,GAAAA,UAAA,GAAA,CAAA,EACxD,OAAOO,EAAMT,EAAMQ,EAASP,EAAaI,EAC1C,EACDK,KAAM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C,IAAAF,UAAA,GAAAA,UAAA,GAAA,CAAA,EAAE,OACtCQ,EAAKV,EAAMW,EAAMG,EAAA,CAAIC,OAAQC,EAAeC,UAAaZ,GAAiB,EAC5EO,IAAK,SAACZ,GAAI,IAAEC,EAAcC,UAAAC,OAAA,QAAAC,IAAAF,UAAA,GAAAA,UAAA,GAAA,CAAA,EAAIG,EAAiBH,UAAAC,OAAA,QAAAC,IAAAF,UAAA,GAAAA,UAAA,GAAA,CAAA,EAAE,OAC/CU,EAAIZ,EAAMC,EAAWa,EAAA,CAAIC,OAAQC,EAAeC,UAAaZ,GAAiB"}
@@ -1,4 +1,3 @@
1
- export declare const handleSubscriptionsVersion: <V1, V2>(_v1: V1, v2: V2) => V2;
2
1
  export declare const getNamespace: () => string;
3
2
  export declare const SUBSCRIPTIONS_URL: string;
4
3
  export declare const IGNORED_ROUTES_REGEXP: RegExp;
@@ -1 +1 @@
1
- {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../src/clients/subscriptions/constants.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,0BAA0B,GAAI,EAAE,EAAE,EAAE,OAAO,EAAE,MAAM,EAAE,OAEjE,CAAC;AAEF,eAAO,MAAM,YAAY,cAExB,CAAC;AAOF,eAAO,MAAM,iBAAiB,QAA4B,CAAC;AAC3D,eAAO,MAAM,qBAAqB,QAA6B,CAAC;AAGhE,eAAO,MAAM,mBAAmB,QAAiC,CAAC;AAElE;;GAEG;AACH,eAAO,MAAM,iBAAiB,QAAO;IAAE,sBAAsB,CAAC,EAAE,MAAM,CAAA;CASrE,CAAC"}
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../src/clients/subscriptions/constants.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,YAAY,cAExB,CAAC;AAOF,eAAO,MAAM,iBAAiB,QAA4B,CAAC;AAC3D,eAAO,MAAM,qBAAqB,QAA6B,CAAC;AAGhE,eAAO,MAAM,mBAAmB,QAAiC,CAAC;AAElE;;GAEG;AACH,eAAO,MAAM,iBAAiB,QAAO;IAAE,sBAAsB,CAAC,EAAE,MAAM,CAAA;CASrE,CAAC"}
@@ -1,2 +1,2 @@
1
- import*as t from"query-string";var n=t.parse(window.location.search),r=function(t,n){return n},o=function(){return"/".concat("2")},c=process.env.REACT_APP_SUBSCRIPTIONS_URL||n.subscriptions_url||"https://subscriptions.qa.corva.ai",a="".concat(c).concat(o()),e=new RegExp("^/reports.*$"),i=new RegExp("^/login(?:/.*)?$"),s=function(){try{var t=(window.top||window).location,n=t.origin,r=t.pathname,o=t.search;return n&&r&&/^https?:\/\//.test(n)&&!i.test(r)?{_current_location_href:"".concat(n).concat(r).concat(o)}:{}}catch(t){return{}}};export{e as IGNORED_ROUTES_REGEXP,i as LOGIN_ROUTES_REGEXP,a as SUBSCRIPTIONS_URL,s as getHrefDebugField,o as getNamespace,r as handleSubscriptionsVersion};
1
+ import*as t from"query-string";var n=t.parse(window.location.search),o=function(){return"/".concat("2")},r=process.env.REACT_APP_SUBSCRIPTIONS_URL||n.subscriptions_url||"https://subscriptions.qa.corva.ai",c="".concat(r).concat(o()),a=new RegExp("^/reports.*$"),e=new RegExp("^/login(?:/.*)?$"),i=function(){try{var t=(window.top||window).location,n=t.origin,o=t.pathname,r=t.search;return n&&o&&/^https?:\/\//.test(n)&&!e.test(o)?{_current_location_href:"".concat(n).concat(o).concat(r)}:{}}catch(t){return{}}};export{a as IGNORED_ROUTES_REGEXP,e as LOGIN_ROUTES_REGEXP,c as SUBSCRIPTIONS_URL,i as getHrefDebugField,o as getNamespace};
2
2
  //# sourceMappingURL=constants.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sources":["../../../src/clients/subscriptions/constants.ts"],"sourcesContent":["import * as queryString from 'query-string';\n\nconst parameters = queryString.parse(window.location.search);\n\nconst SUBSCRIPTIONS_VERSION = '2';\n\nexport const handleSubscriptionsVersion = <V1, V2>(_v1: V1, v2: V2) => {\n return v2;\n};\n\nexport const getNamespace = () => {\n return `/${SUBSCRIPTIONS_VERSION}`;\n};\n\nconst url =\n process.env.REACT_APP_SUBSCRIPTIONS_URL ||\n parameters.subscriptions_url ||\n 'https://subscriptions.qa.corva.ai';\n\nexport const SUBSCRIPTIONS_URL = `${url}${getNamespace()}`;\nexport const IGNORED_ROUTES_REGEXP = new RegExp('^/reports.*$');\n\n// Routes under /login (including oauth-callback) must not be sent back to the server\nexport const LOGIN_ROUTES_REGEXP = new RegExp('^/login(?:/.*)?$');\n\n/**\n * Returns a safe href for debugging that never includes query or hash and is omitted on login routes.\n */\nexport const getHrefDebugField = (): { _current_location_href?: string } => {\n try {\n const { origin, pathname, search } = (window.top || window).location;\n return origin && pathname && /^https?:\\/\\//.test(origin) && !LOGIN_ROUTES_REGEXP.test(pathname)\n ? { _current_location_href: `${origin}${pathname}${search}` }\n : {};\n } catch {\n return {};\n }\n};\n"],"names":["parameters","queryString","parse","window","location","search","handleSubscriptionsVersion","_v1","v2","getNamespace","concat","url","process","env","REACT_APP_SUBSCRIPTIONS_URL","subscriptions_url","SUBSCRIPTIONS_URL","IGNORED_ROUTES_REGEXP","RegExp","LOGIN_ROUTES_REGEXP","getHrefDebugField","_location","top","origin","pathname","test","_current_location_href","_unused"],"mappings":"+BAEA,IAAMA,EAAaC,EAAYC,MAAMC,OAAOC,SAASC,QAIxCC,EAA6B,SAASC,EAASC,GAC1D,OAAOA,CACT,EAEaC,EAAe,WAC1B,MAAA,IAAAC,OAP4B,IAQ9B,EAEMC,EACJC,QAAQC,IAAIC,6BACZd,EAAWe,mBACX,oCAEWC,EAAiB,GAAAN,OAAMC,GAAMF,OAAAA,KAC7BQ,EAAwB,IAAIC,OAAO,gBAGnCC,EAAsB,IAAID,OAAO,oBAKjCE,EAAoB,WAC/B,IACE,IAAAC,GAAsClB,OAAOmB,KAAOnB,QAAQC,SAApDmB,IAAAA,OAAQC,IAAAA,SAAUnB,IAAAA,OAC1B,OAAOkB,GAAUC,GAAY,eAAeC,KAAKF,KAAYJ,EAAoBM,KAAKD,GAClF,CAAEE,uBAA2BH,GAAAA,OAAAA,GAASC,OAAAA,UAAWnB,IACjD,EAGN,CAFE,MAAMsB,GACN,MAAO,EACT,CACF"}
1
+ {"version":3,"file":"constants.js","sources":["../../../src/clients/subscriptions/constants.ts"],"sourcesContent":["import * as queryString from 'query-string';\n\nconst parameters = queryString.parse(window.location.search);\n\nconst SUBSCRIPTIONS_VERSION = '2';\n\nexport const getNamespace = () => {\n return `/${SUBSCRIPTIONS_VERSION}`;\n};\n\nconst url =\n process.env.REACT_APP_SUBSCRIPTIONS_URL ||\n parameters.subscriptions_url ||\n 'https://subscriptions.qa.corva.ai';\n\nexport const SUBSCRIPTIONS_URL = `${url}${getNamespace()}`;\nexport const IGNORED_ROUTES_REGEXP = new RegExp('^/reports.*$');\n\n// Routes under /login (including oauth-callback) must not be sent back to the server\nexport const LOGIN_ROUTES_REGEXP = new RegExp('^/login(?:/.*)?$');\n\n/**\n * Returns a safe href for debugging that never includes query or hash and is omitted on login routes.\n */\nexport const getHrefDebugField = (): { _current_location_href?: string } => {\n try {\n const { origin, pathname, search } = (window.top || window).location;\n return origin && pathname && /^https?:\\/\\//.test(origin) && !LOGIN_ROUTES_REGEXP.test(pathname)\n ? { _current_location_href: `${origin}${pathname}${search}` }\n : {};\n } catch {\n return {};\n }\n};\n"],"names":["parameters","queryString","parse","window","location","search","getNamespace","concat","url","process","env","REACT_APP_SUBSCRIPTIONS_URL","subscriptions_url","SUBSCRIPTIONS_URL","IGNORED_ROUTES_REGEXP","RegExp","LOGIN_ROUTES_REGEXP","getHrefDebugField","_location","top","origin","pathname","test","_current_location_href","_unused"],"mappings":"+BAEA,IAAMA,EAAaC,EAAYC,MAAMC,OAAOC,SAASC,QAIxCC,EAAe,WAC1B,MAAA,IAAAC,OAH4B,IAI9B,EAEMC,EACJC,QAAQC,IAAIC,6BACZX,EAAWY,mBACX,oCAEWC,EAAiB,GAAAN,OAAMC,GAAMF,OAAAA,KAC7BQ,EAAwB,IAAIC,OAAO,gBAGnCC,EAAsB,IAAID,OAAO,oBAKjCE,EAAoB,WAC/B,IACE,IAAAC,GAAsCf,OAAOgB,KAAOhB,QAAQC,SAApDgB,IAAAA,OAAQC,IAAAA,SAAUhB,IAAAA,OAC1B,OAAOe,GAAUC,GAAY,eAAeC,KAAKF,KAAYJ,EAAoBM,KAAKD,GAClF,CAAEE,uBAA2BH,GAAAA,OAAAA,GAASC,OAAAA,UAAWhB,IACjD,EAGN,CAFE,MAAMmB,GACN,MAAO,EACT,CACF"}
@@ -1 +1 @@
1
- {"version":3,"file":"subscriptions.d.ts","sourceRoot":"","sources":["../../src/clients/subscriptions.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,sBAAsB,0DAAgG,CAAC"}
1
+ {"version":3,"file":"subscriptions.d.ts","sourceRoot":"","sources":["../../src/clients/subscriptions.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,sBAAsB,0DAA0C,CAAC"}
@@ -1,2 +1,2 @@
1
- import{handleSubscriptionsVersion as i}from"./subscriptions/constants.js";import{initializeSocketClient as s}from"./subscriptions.v1.js";import{SubscriptionsClientFactory as t}from"./subscriptions/subscriptions-client.factory.js";var o=i(s,(function(){return t.init()}));export{o as initializeSocketClient};
1
+ import{SubscriptionsClientFactory as i}from"./subscriptions/subscriptions-client.factory.js";var r=function(){return i.init()};export{r as initializeSocketClient};
2
2
  //# sourceMappingURL=subscriptions.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"subscriptions.js","sources":["../../src/clients/subscriptions.ts"],"sourcesContent":["import { handleSubscriptionsVersion } from \"./subscriptions/constants\";\nimport { initializeSocketClient as initializeSocketClientV1 } from \"./subscriptions.v1\";\nimport { SubscriptionsClientFactory } from \"./subscriptions/subscriptions-client.factory\";\n\nexport const initializeSocketClient = handleSubscriptionsVersion(initializeSocketClientV1, () => SubscriptionsClientFactory.init());\n"],"names":["initializeSocketClient","handleSubscriptionsVersion","initializeSocketClientV1","SubscriptionsClientFactory","init"],"mappings":"0OAIaA,EAAyBC,EAA2BC,GAA0B,WAAA,OAAMC,EAA2BC,MAAM"}
1
+ {"version":3,"file":"subscriptions.js","sources":["../../src/clients/subscriptions.ts"],"sourcesContent":["import { SubscriptionsClientFactory } from './subscriptions/subscriptions-client.factory';\n\nexport const initializeSocketClient = () => SubscriptionsClientFactory.init();\n"],"names":["initializeSocketClient","SubscriptionsClientFactory","init"],"mappings":"6FAEaA,IAAAA,EAAyB,WAAH,OAASC,EAA2BC,MAAM"}
@@ -1,2 +1,2 @@
1
- import e from"@babel/runtime/helpers/defineProperty";import o from"@babel/runtime/helpers/slicedToArray";import t from"@babel/runtime/helpers/objectWithoutProperties";import{useState as s}from"react";import{func as i,node as n,shape as r,number as p}from"prop-types";import{makeStyles as m,Popover as c,Grid as a,Typography as l}from"@material-ui/core";import d from"classnames";import j from"./components/Content.js";import"../DevCenter/DevCenterAppContainer/components/IsInsideIsolatedDcAppProvider.js";import"../DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/DcFullscreenElemsCoordinatorProvider.js";import"../DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/IsInsideDcFullscreenElemProvider.js";import"lodash";import"../Modal/CorvaModal.scss.js";import"@icon-park/react/es/all";import{jsxs as u,jsx as C}from"react/jsx-runtime";import"../../icons/IconParkProvider.js";import"../../icons/customIcons/icons/AddMessage.js";import"../../icons/customIcons/icons/DragOne.js";import"../../icons/customIcons/icons/Attention.js";import"../../icons/customIcons/icons/Collapse.js";import"../../icons/customIcons/icons/Dashboard.js";import"../../icons/customIcons/icons/Expand.js";import"../../icons/customIcons/icons/FolderClosed.js";import"../../icons/customIcons/icons/FolderClosedFilled.js";import"../../icons/customIcons/icons/FolderOpened.js";import"../../icons/customIcons/icons/GreaterOrEqual.js";import"../../icons/customIcons/icons/LessOrEqual.js";import"../../icons/customIcons/icons/Search.js";import"../../icons/customIcons/icons/SearchOne.js";import"../../icons/customIcons/icons/Wellhub.js";import"../../icons/customIcons/icons/MultiRuler.js";import"../../icons/customIcons/icons/Checkbox.js";import"../../icons/customIcons/icons/CheckboxChecked.js";import"../../icons/customIcons/icons/CheckboxIndeterminate.js";import"../../icons/customIcons/icons/Radio.js";import"../../icons/customIcons/icons/RadioChecked.js";import"../../icons/customIcons/icons/SimulFrac.js";import"../../icons/customIcons/icons/ZipperFrac.js";import"../../icons/customIcons/icons/CautionFilled.js";import"../../icons/customIcons/icons/InfoRounded.js";import"../../icons/customIcons/icons/FlameFilled.js";import"../../icons/customIcons/icons/MoreApp.js";import"../../icons/customIcons/icons/Pad.js";import"../../icons/customIcons/icons/DrilloutUnit.js";import"../../icons/customIcons/icons/FracFleet.js";import"../../icons/customIcons/icons/Global.js";import"../../icons/customIcons/icons/Program.js";import"../../icons/customIcons/icons/Rig.js";import"../../icons/customIcons/icons/Well.js";import"../../icons/customIcons/icons/Gap.js";import"../../icons/customIcons/icons/Pin.js";import"../../icons/customIcons/icons/PinOne.js";import"../../icons/customIcons/icons/PinOneCrossed.js";import"../../icons/customIcons/icons/CloseOneFilled.js";import"../../icons/customIcons/icons/AttentionFilled.js";import"../../icons/customIcons/icons/CheckOneFilled.js";import"../../icons/customIcons/icons/Archive.js";import"../../icons/customIcons/icons/ArchiveCancel.js";import"../../icons/customIcons/icons/Unarchive.js";import"../../icons/customIcons/icons/Archived.js";import"../../icons/customIcons/icons/InterventionUnit.js";import"../../icons/customIcons/icons/CloudDelete.js";import"../../icons/customIcons/icons/Lasso.js";import"../../icons/customIcons/icons/Radius.js";import"../../icons/customIcons/icons/ErrorOps.js";import"../../icons/customIcons/icons/DataTypeOps.js";import"../../icons/customIcons/icons/FalsePositiveOps.js";import"../../icons/customIcons/icons/CalibrationOps.js";import"../../icons/customIcons/icons/CriticalOps.js";import"../../icons/customIcons/icons/Company.js";import"../../icons/customIcons/icons/ArchiveOne.js";import"../../icons/customIcons/icons/ParseBotFusion.js";import"../../icons/customIcons/icons/Connect.js";import"../../icons/customIcons/icons/PuzzleOne.js";import"../../icons/customIcons/icons/Feed.js";import"../../icons/customIcons/icons/Prompt.js";import"../../icons/customIcons/icons/Companies.js";import"../../icons/customIcons/icons/ClipboardAi.js";import"../../icons/customIcons/icons/Key.js";import"../../icons/customIcons/icons/AtSignCrossed.js";import"../../icons/customIcons/icons/MappingManual.js";import"../../icons/customIcons/icons/Mapping.js";import"../../icons/customIcons/icons/Metrics.js";import"../../icons/customIcons/icons/Drops.js";import"../../icons/customIcons/icons/ClipboardSearch.js";import"../../icons/customIcons/icons/Template.js";import"../../icons/customIcons/icons/ClipboardMetrics.js";import"../../icons/customIcons/icons/ClipboardBuilder.js";import"../../icons/customIcons/icons/UnitConversion.js";import"../../icons/customIcons/icons/NPT.js";import"../../icons/customIcons/icons/GuidedFrac.js";import"../../utils/mobileDetect.js";import I from"../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"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"../DevCenter/AppContext.js";import"../DevCenter/DevCenterRouterContext/DevCenterRouterContext.js";import"../DevCenter/DevCenterRouterContext/UniversalLink/UniversalLink.js";import"react-router-dom";import"query-string";import"@babel/runtime/helpers/asyncToGenerator";import"@babel/runtime/regenerator";import"../UserMention/utils/index.js";import"../../utils/convert.js";import"moment";import"../../utils/casing/validation.js";import"lodash/mean";import"../../constants/streamSourceType.js";import"lodash/get";import"file-saver";import"../../utils/drillstring/conversion.js";import"lodash/set";import"lodash/cloneDeep";import"@babel/runtime/helpers/toConsumableArray";import"lodash/isNumber";import"lodash/has";import"../../utils/ga.js";import"../../utils/goalsConfig/goalsConfig.js";import"../../utils/lasParser.js";import"../../utils/main.js";import"../../utils/metrics/metricsConfig.js";import"../../utils/feed.js";import"../../utils/reports.js";import"moment-timezone";import"@babel/runtime/helpers/typeof";import"../../utils/dashboardReports.js";import"../../utils/env.js";import"file-extension";import"image-extensions";import"video-extensions";import"../../utils/jsonaDataFormatter.js";import"../../utils/bha.js";import"jsona";import"../../clients/jsonApi/index.js";import"../../utils/charts/Styles.scss.js";import"../../utils/getSingleAsset.js";import"@material-ui/icons";import"../EmptyState/EmptyState.js";import"../DevCenter/DevCenterAppContainer/components/AppSettingsDialog/components/RemoveAppButton.js";import"../DevCenter/DevCenterAppContainer/components/AppSettingsDialog/components/SettingsAccordion.js";import"../DevCenter/DevCenterAppContainer/components/AppSettingsDialog/styles.js";import"@material-ui/pickers";import"@date-io/moment";import"../../config/theme/index.js";import"../../hocs/withAssetEditorLockHOC.js";import"../ErrorBoundary/ErrorBoundary.js";import"../ErrorBoundary/DevCenterAppErrorView/DevCenterAppErrorView.js";import"../Button/components/Button/index.js";import"../Button/components/LiveButton/components/LiveButtonStateIndicator/index.js";import"../Button/components/LiveButton/styles.js";import"../AssetEditorV2/index.js";import"../AppVersionsSelect/AppVersionsSelect.js";import"../DisabledSettingsMessage/DisabledSettingsMessage.js";import"../ConfirmationDialog.js";import"../../permissions/PermissionsContext.js";import"../../permissions/constants/index.js";import"../../permissions/withPermissionsHOC.js";import"../../permissions/ProvidePermissions.js";import"../../componentsV2/AppHeader/V3/VersionSelect/VersionSelect.constants.js";import"../Annotations/components/AnnotationsList/index.js";import"../Annotations/components/LastAnnotation/index.js";import"../Annotations/AnnotationsContext.js";import"../../componentsV2/AppContainer/AppContainer.js";import"../../componentsV2/AppContainer/AppContainer.constants.js";import"../../componentsV2/Text/Text.js";import"../../componentsV2/Header/Header.scss.js";import"../../componentsV2/Tooltip/Tooltip.scss.js";import"../../componentsV2/TextEndTruncated/TextEndTruncated.scss.js";import"../../componentsV2/AppCommonsProvider/AppCommonsContext.js";import"../../componentsV2/AppHeader/AppHeader.constants.js";import"../../componentsV2/AppHeader/AppBadge/AppBadge.scss.js";import"../../componentsV2/Chip/Chip.js";import"../../componentsV2/TextMiddleTruncated/TextMiddleTruncated.constants.js";import"../../componentsV2/TextMiddleTruncated/TextMiddleTruncated.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"../../componentsV2/PadModeSelect/PadModeSelect.js";import"../../componentsV2/PadModeSelect/PadModeSelect.constants.js";import"../../componentsV2/AppCommonsProvider/AppCommonsProvider.js";import"../../componentsV2/utils.js";import"../../componentsV2/AppHeader/V3/VersionSelect/VersionSelect.js";import"../../componentsV2/UniversalLink/UniversalLink.scss.js";import"../../componentsV2/AppHeader/V3/AssetChips/AssetChips.scss.js";import"../../componentsV2/Button/Button.js";import"../../componentsV2/AppHeader/V3/DqStatusIcon/DqStatusIcon.js";import"../../componentsV2/AppHeader/V3/DqStatusIcon/DqStatusIcon.constants.js";import"../../componentsV2/Popover/Popover.js";import"../../componentsV2/Accordion/Accordion.scss.js";import"../../componentsV2/ButtonIcon/ButtonIcon.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"../../componentsV2/Menu/Menu.js";import"../../componentsV2/ModalWindow/ModalWindow.js";import"../../componentsV2/Modal/Modal.scss.js";import"../../componentsV2/LoaderLogo/LoaderLogo.constants.js";import"../../componentsV2/LoaderLogo/LoaderLogo.scss.js";import"../../componentsV2/AppHeader/V3/AssetSelector/AssetSelectorChip/AssetSelectorChip.js";import"../../componentsV2/TextInput/TextInput.js";import"../../componentsV2/AppHeader/V3/AssetSelector/constants.js";import"../../componentsV2/AppHeader/V3/AssetSelector/AssetSelectorSelect/AssetSelectorSelect.scss.js";import"../../componentsV2/ChipIndicator/ChipIndicator.js";import"../../componentsV2/AppHeader/V3/AssetSelector/AssetSelectorSelect/loadAssets.js";import"../../componentsV2/AppHeader/V3/AssetSelector/AssetSelector.scss.js";import"../../clients/subscriptions/constants.js";import"querystring";import"uuid/v1";import"../../clients/subscriptions.v1.js";import"../../clients/subscriptions/subscriptions-client.factory.js";import"../StatusBadge/constants.js";import"lodash/unset";import"../../clients/api/apiCore.js";import"../../clients/constants.js";import"../../clients/sso/auth0.js";import"../../clients/sso/oauth2.js";import"../../clients/api/rateLimiter.js";import"lodash/isEmpty";import"lodash/sortBy";import"../DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchContext.js";import"../../componentsV2/AppPanel/AppPanelsContext.js";import"../../componentsV2/AppHeader/V3/AppTitle/AppTitle.constants.js";import"../../componentsV2/AppHeader/V3/AppTitle/AppTitle.scss.js";import"../../componentsV2/AppHeader/V3/constants.scss.js";import"../../componentsV2/AppHeader/V3/SettingsButton/SettingsButton.constants.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/EmptyState/EmptyState.scss.js";import"../DevCenter/DevCenterAppContainer/components/DevCenterAppView/components/ChooseAssetButton.js";import"../DevCenter/DevCenterAppContainer/components/DevCenterAppView/DevCenterAppView.scss.js";import"../DevCenter/DevCenterAppContainer/components/AppActions/AppActions.css.js";import"../DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchButton.scss.js";import"../../componentsV2/Grid/Grid.js";import"../../componentsV2/Grid/Cell.js";import"../../componentsV2/PopoverPanel/PopoverPanel.js";import"../../componentsV2/Radio/Radio.js";import"../../componentsV2/RadioAndCheckboxGroup/RadioAndCheckboxGroup.scss.js";import"../../componentsV2/Checkbox/Checkbox.js";import"../../componentsV2/TextInputNext/TextInputNext.js";import"../../componentsV2/TextArea/TextArea.js";import"../../componentsV2/Label/Label.js";import"../../componentsV2/TextLink/TextLink.js";import"../../componentsV2/ChipAlert/ChipAlert.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/Hint/Hint.scss.js";import"../../componentsV2/Counter/Counter.js";import"../../componentsV2/BadgeBase/BadgeBase.scss.js";import"../../componentsV2/TemplatesControl/TemplatesControl.js";import"zustand";import"../../componentsV2/TemplatesControl/utils.js";import"../../componentsV2/TemplatesControl/icons/folder/index.js";import"../../componentsV2/TemplatesControl/Store/utils.js";import"../../componentsV2/TemplatesControl/types.js";import"../../componentsV2/BadgeDot/BadgeDot.scss.js";import"../../componentsV2/LoaderLinear/LoaderLinear.scss.js";import"../../componentsV2/Switch/Switch.js";import"../../componentsV2/Tabs/Tabs.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"../../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/Breadcrumbs/Breadcrumbs.scss.js";import"../../componentsV2/BadgeComment/BadgeComment.js";import"../../componentsV2/AppFooter/AppFooter.js";import"../../componentsV2/OffsetWellsButton/OffsetWellsButton.js";import"../../componentsV2/ChartAxisExtreme/ChartAxisExtreme.scss.js";import"highcharts";import"../../componentsV2/ChartAxisExtreme/ChartAxisExtremeDragTracker.js";import"../../componentsV2/Autocomplete/Autocomplete.js";import"../../componentsV2/Select/Select.js";import"../../componentsV2/AppPanel/AppPanel.js";import"../../componentsV2/AppSettingsDivider/AppSettingsDivider.scss.js";import"../../componentsV2/WellArchivedMessage/WellArchivedMessage.js";import"../../componentsV2/DatePicker/DatePicker.js";import"../../componentsV2/DragHandle/DragHandle.js";import"../../componentsV2/CompletionsOffsetWellPicker/CompletionsOffsetWellPicker.js";import"../../componentsV2/Slider/constants.js";import"../../componentsV2/Slider/components/SliderThumb.js";import"../../componentsV2/Slider/Slider.scss.js";import"../../componentsV2/SliderAdvanced/SliderAdvanced.js";import"react-color";import"../../componentsV2/ColorPicker/Swatches/Swatches.scss.js";import"../../componentsV2/ColorPicker/OpacityDragtracker/OpacityDragTracker.scss.js";import"../../componentsV2/ColorPicker/ColorPicker.scss.js";import"../../componentsV2/ChartHelper/ChartHelper.scss.js";import"../../componentsV2/Hotkey/Hotkey.js";import"@tanstack/react-query";import"../../componentsV2/InterventionEventSelector/useInterventionUnitEvents.js";import"../../componentsV2/InterventionEventSelector/InterventionEventSelector.scss.js";import"../DevCenter/DevCenterAppContainer/components/FullscreenButton/FullscreenButton.css.js";import"../Icons/AnnotationIcon.js";import"../HelpCenter/HelpCenterIcon.js";import"../DevCenter/DevCenterAppContainer/components/RestoreAppSizeButton/RestoreAppSizeButton.css.js";import"../DevCenter/DevCenterAppContainer/DevCenterAppContainer.scss.js";import"../Toaster/Toaster.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"../LoadingIndicator/LoadingIndicator.js";import"../Typography.js";import"../RealTimeValuesSidebar/RealTimeSidebar.js";import"../CollapsableSidebar.js";import"../DateTimePicker/index.js";import"../DatePicker/index.js";import"../SlateFormattedText/SlateFormattedText.js";import"../SlateFormattedText/RenderElements.js";import"slate";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"../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/ChartWrapperContext.js";import"../Chart/effects/useChartModifier.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"../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"@babel/runtime/helpers/classCallCheck";import"@babel/runtime/helpers/createClass";import"../GradientManager/GradientPreview/GradientPreview.js";import"../GradientManager/GradientSelect.scss.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"../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"../OffsetWellPickerV5/components/OffsetWellPickerV5WithStore/OffsetWellPickerV5WithStore.js";import"mapbox-gl/dist/mapbox-gl.css";import"@material-ui/icons/Info";import"@material-ui/icons/Block";import"../OffsetWellMap/WellTooltip.module.css.js";import"../OffsetWellMap/OffsetWellMap.module.css.js";import"../../config/mapboxGl/index.js";import"../../config/mapbox/index.js";import"react-dom";import"@material-ui/core/Snackbar";import"../Notifications/Toast.js";import"../Notifications/Notifications.scss.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"./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"../DocumentViewer/DocumentViewer.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"@material-ui/icons/Close";import"@material-ui/icons/GetApp";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";import"../CommentCard/CommentCard.js";import"@material-ui/icons/AlternateEmail";import"../AttachFileButton/AttachFileButton.scss.js";import"../CommentInputNext/CommentInputNext.js";import"../WellhubFilePicker/components/WellhubFileCard/WellhubFileCard.scss.js";import"../WellhubFilePicker/components/WellhubFilePickerView/WellhubFilePickerView.scss.js";import"react-s3-uploader/s3upload";import"../CommentComposer/CommentMetaLine.scss.js";import"../CommentComposer/ChatChannelSelector.scss.js";import"../CommentComposer/ShareToChatRow.scss.js";import"../CommentComposer/CommentComposer.scss.js";import"../AttachmentPreview/AttachmentPreview.js";import"../AttachmentPreview/AttachmentImage.js";import"../AttachmentPreview/AttachmentPreview.scss.js";import"../CommentPin/CommentPin.js";import"../FeedCard/FeedCard.js";import"../FeedItemCard/FeedItemCard.js";import"../NewCommentCursor/NewCommentCursor.js";import"../LinkedText/LinkedText.js";import"../FeedItem/feedItemTypes/AlertFeedItem.js";import"../FeedItem/feedItemTypes/PostFeedItem.js";import"../FeedItem/feedItemTypes/GeosteeringFeedItem.js";import"../FeedItem/feedItemTypes/DrillingOperationalNoteFeedItem.js";import"../FeedItem/feedItemTypes/DrillingOperationSummaryFeedItem.js";import"../FeedItem/feedItemTypes/DrillingDailyCostFeedItem.js";import"../FeedItem/feedItemTypes/DocumentFeedItem.js";import"../FeedItem/feedItemTypes/DrillerMemoFeedItem.js";import"../FeedItem/feedItemTypes/NptFeedItem.js";import"../FeedItem/feedItemTypes/SurveyStationFeedItem/index.js";import"../FeedItem/feedItemTypes/LessonsLearnedFeedItem/index.js";import"../FeedItem/feedItemTypes/TracesMemoFeedItem.js";import"../FeedItem/feedItemTypes/DepthCommentFeedItem.js";import"../FeedItem/feedItemTypes/CompletionOperationalNoteFeedItem.js";import"../FeedItem/feedItemTypes/CompletionOperationSummaryFeedItem.js";import"../FeedItem/feedItemTypes/CompletionDailyCostFeedItem.js";import"../FeedItem/feedItemTypes/CompletionDocumentFeedItem.js";import"../FeedItem/feedItemTypes/CompletionNptFeedItem.js";import"../FeedItem/feedItemTypes/StageOverviewFeedItem/index.js";import"../FeedItem/feedItemTypes/AppAnnotationFeedItem/index.js";import"../FeedItem/feedItemTypes/WellPlanFeedItem/index.js";import"../FeedItem/feedItemTypes/FluidReportFeedItem.js";import"../FeedItem/feedItemTypes/BhaFeedItem/BhaFeedItem.js";import"../FeedItem/feedItemTypes/DvDCommentFeedItem.js";import"../FeedItem/feedItemTypes/PCCommentFeedItem.js";import"../FeedItem/feedItemTypes/HookloadCommentFeedItem.js";import"../FeedItem/feedItemTypes/NptLessonsCommentFeedItem.js";import"../FeedItem/feedItemTypes/GenericDataCommentFeedItem.js";import A from"../Icons/SendIcon.js";var V=["anchorEl","anchorOrigin","onClose","onSave","startAdornment","endAdornment","customContent","userCompanyId"];function h(e,o){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);o&&(s=s.filter((function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable}))),t.push.apply(t,s)}return t}function S(o){for(var t=1;t<arguments.length;t++){var s=null!=arguments[t]?arguments[t]:{};t%2?h(Object(s),!0).forEach((function(t){e(o,t,s[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(o,Object.getOwnPropertyDescriptors(s)):h(Object(s)).forEach((function(e){Object.defineProperty(o,e,Object.getOwnPropertyDescriptor(s,e))}))}return o}var g=m((function(e){return{paper:{width:368,padding:16},inputMain:{marginBottom:0,fontSize:"11px",color:e.palette.primary.text8},inputHelper:{display:"flex",paddingRight:5},cancelText:{cursor:"pointer"},highlightedLabel:{color:e.palette.primary.main},actions:{height:36},sendRow:{display:"flex"},sendIcon:{"&.Mui-disabled":{cursor:"not-allowed!important"}}}}));function v(e){var i=e.anchorEl,n=e.anchorOrigin,r=void 0===n?F:n,p=e.onClose,m=void 0===p?T:p,h=e.onSave,v=e.startAdornment,P=void 0===v?null:v,D=e.endAdornment,b=void 0===D?null:D,f=e.customContent,x=void 0===f?null:f,y=e.userCompanyId,B=t(e,V),k=g(),E=s(),O=o(E,2),L=O[0],M=O[1];return u(c,S(S({open:!0,anchorEl:i,anchorOrigin:r,onClose:m,classes:{paper:k.paper}},B),{},{children:[C(j,{userCompanyId:y,startAdornment:P,endAdornment:b,customContent:x,setComment:M,onSave:function(){return h(L)},smallerView:!0,comment:L}),u(a,{container:!0,direction:"row",justify:"space-between",alignItems:"center",className:k.actions,children:[C(a,{item:!0,children:C(l,{"data-testid":"".concat("AddCommentPopover","_cancel"),variant:"caption",className:d(k.inputMain,k.cancelText,k.highlightedLabel),component:"div",gutterBottom:!0,onClick:m,children:"Cancel"})}),u(a,{item:!0,direction:"row",alignItems:"center",className:k.sendRow,children:[u(l,{variant:"caption",className:d(k.inputMain,k.inputHelper),component:"div",gutterBottom:!0,children:["Press ",C(l,{variant:"caption",color:"primary",className:d(k.inputMain,k.highlightedLabel),children:"Enter"})," to send"]}),C(I,{"data-testid":"".concat("AddCommentPopover","_send"),onClick:function(){return h(L)},className:k.sendIcon,disabled:!L||!L.body&&!L.attachment,children:C(A,{})})]})]})]}))}v.propTypes={onClose:i,onSave:i.isRequired,anchorEl:n.isRequired,anchorOrigin:r,startAdornment:n,endAdornment:n,customContent:n,userCompanyId:p.isRequired};var F={horizontal:"right",vertical:"bottom"},T=function(){};export{v as default};
1
+ import e from"@babel/runtime/helpers/defineProperty";import o from"@babel/runtime/helpers/slicedToArray";import t from"@babel/runtime/helpers/objectWithoutProperties";import{useState as s}from"react";import{func as i,node as n,shape as r,number as p}from"prop-types";import{makeStyles as m,Popover as c,Grid as a,Typography as l}from"@material-ui/core";import d from"classnames";import j from"./components/Content.js";import"../DevCenter/DevCenterAppContainer/components/IsInsideIsolatedDcAppProvider.js";import"../DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/DcFullscreenElemsCoordinatorProvider.js";import"../DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/IsInsideDcFullscreenElemProvider.js";import"lodash";import"../Modal/CorvaModal.scss.js";import"@icon-park/react/es/all";import{jsxs as u,jsx as C}from"react/jsx-runtime";import"../../icons/IconParkProvider.js";import"../../icons/customIcons/icons/AddMessage.js";import"../../icons/customIcons/icons/DragOne.js";import"../../icons/customIcons/icons/Attention.js";import"../../icons/customIcons/icons/Collapse.js";import"../../icons/customIcons/icons/Dashboard.js";import"../../icons/customIcons/icons/Expand.js";import"../../icons/customIcons/icons/FolderClosed.js";import"../../icons/customIcons/icons/FolderClosedFilled.js";import"../../icons/customIcons/icons/FolderOpened.js";import"../../icons/customIcons/icons/GreaterOrEqual.js";import"../../icons/customIcons/icons/LessOrEqual.js";import"../../icons/customIcons/icons/Search.js";import"../../icons/customIcons/icons/SearchOne.js";import"../../icons/customIcons/icons/Wellhub.js";import"../../icons/customIcons/icons/MultiRuler.js";import"../../icons/customIcons/icons/Checkbox.js";import"../../icons/customIcons/icons/CheckboxChecked.js";import"../../icons/customIcons/icons/CheckboxIndeterminate.js";import"../../icons/customIcons/icons/Radio.js";import"../../icons/customIcons/icons/RadioChecked.js";import"../../icons/customIcons/icons/SimulFrac.js";import"../../icons/customIcons/icons/ZipperFrac.js";import"../../icons/customIcons/icons/CautionFilled.js";import"../../icons/customIcons/icons/InfoRounded.js";import"../../icons/customIcons/icons/FlameFilled.js";import"../../icons/customIcons/icons/MoreApp.js";import"../../icons/customIcons/icons/Pad.js";import"../../icons/customIcons/icons/DrilloutUnit.js";import"../../icons/customIcons/icons/FracFleet.js";import"../../icons/customIcons/icons/Global.js";import"../../icons/customIcons/icons/Program.js";import"../../icons/customIcons/icons/Rig.js";import"../../icons/customIcons/icons/Well.js";import"../../icons/customIcons/icons/Gap.js";import"../../icons/customIcons/icons/Pin.js";import"../../icons/customIcons/icons/PinOne.js";import"../../icons/customIcons/icons/PinOneCrossed.js";import"../../icons/customIcons/icons/CloseOneFilled.js";import"../../icons/customIcons/icons/AttentionFilled.js";import"../../icons/customIcons/icons/CheckOneFilled.js";import"../../icons/customIcons/icons/Archive.js";import"../../icons/customIcons/icons/ArchiveCancel.js";import"../../icons/customIcons/icons/Unarchive.js";import"../../icons/customIcons/icons/Archived.js";import"../../icons/customIcons/icons/InterventionUnit.js";import"../../icons/customIcons/icons/CloudDelete.js";import"../../icons/customIcons/icons/Lasso.js";import"../../icons/customIcons/icons/Radius.js";import"../../icons/customIcons/icons/ErrorOps.js";import"../../icons/customIcons/icons/DataTypeOps.js";import"../../icons/customIcons/icons/FalsePositiveOps.js";import"../../icons/customIcons/icons/CalibrationOps.js";import"../../icons/customIcons/icons/CriticalOps.js";import"../../icons/customIcons/icons/Company.js";import"../../icons/customIcons/icons/ArchiveOne.js";import"../../icons/customIcons/icons/ParseBotFusion.js";import"../../icons/customIcons/icons/Connect.js";import"../../icons/customIcons/icons/PuzzleOne.js";import"../../icons/customIcons/icons/Feed.js";import"../../icons/customIcons/icons/Prompt.js";import"../../icons/customIcons/icons/Companies.js";import"../../icons/customIcons/icons/ClipboardAi.js";import"../../icons/customIcons/icons/Key.js";import"../../icons/customIcons/icons/AtSignCrossed.js";import"../../icons/customIcons/icons/MappingManual.js";import"../../icons/customIcons/icons/Mapping.js";import"../../icons/customIcons/icons/Metrics.js";import"../../icons/customIcons/icons/Drops.js";import"../../icons/customIcons/icons/ClipboardSearch.js";import"../../icons/customIcons/icons/Template.js";import"../../icons/customIcons/icons/ClipboardMetrics.js";import"../../icons/customIcons/icons/ClipboardBuilder.js";import"../../icons/customIcons/icons/UnitConversion.js";import"../../icons/customIcons/icons/NPT.js";import"../../icons/customIcons/icons/GuidedFrac.js";import"../../utils/mobileDetect.js";import I from"../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"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"../DevCenter/AppContext.js";import"../DevCenter/DevCenterRouterContext/DevCenterRouterContext.js";import"../DevCenter/DevCenterRouterContext/UniversalLink/UniversalLink.js";import"react-router-dom";import"query-string";import"@babel/runtime/helpers/asyncToGenerator";import"@babel/runtime/regenerator";import"../UserMention/utils/index.js";import"../../utils/convert.js";import"moment";import"../../utils/casing/validation.js";import"lodash/mean";import"../../constants/streamSourceType.js";import"lodash/get";import"file-saver";import"../../utils/drillstring/conversion.js";import"lodash/set";import"lodash/cloneDeep";import"@babel/runtime/helpers/toConsumableArray";import"lodash/isNumber";import"lodash/has";import"../../utils/ga.js";import"../../utils/goalsConfig/goalsConfig.js";import"../../utils/lasParser.js";import"../../utils/main.js";import"../../utils/metrics/metricsConfig.js";import"../../utils/feed.js";import"../../utils/reports.js";import"moment-timezone";import"@babel/runtime/helpers/typeof";import"../../utils/dashboardReports.js";import"../../utils/env.js";import"file-extension";import"image-extensions";import"video-extensions";import"../../utils/jsonaDataFormatter.js";import"../../utils/bha.js";import"jsona";import"../../clients/jsonApi/index.js";import"../../utils/charts/Styles.scss.js";import"../../utils/getSingleAsset.js";import"@material-ui/icons";import"../EmptyState/EmptyState.js";import"../DevCenter/DevCenterAppContainer/components/AppSettingsDialog/components/RemoveAppButton.js";import"../DevCenter/DevCenterAppContainer/components/AppSettingsDialog/components/SettingsAccordion.js";import"../DevCenter/DevCenterAppContainer/components/AppSettingsDialog/styles.js";import"@material-ui/pickers";import"@date-io/moment";import"../../config/theme/index.js";import"../../hocs/withAssetEditorLockHOC.js";import"../ErrorBoundary/ErrorBoundary.js";import"../ErrorBoundary/DevCenterAppErrorView/DevCenterAppErrorView.js";import"../Button/components/Button/index.js";import"../Button/components/LiveButton/components/LiveButtonStateIndicator/index.js";import"../Button/components/LiveButton/styles.js";import"../AssetEditorV2/index.js";import"../AppVersionsSelect/AppVersionsSelect.js";import"../DisabledSettingsMessage/DisabledSettingsMessage.js";import"../ConfirmationDialog.js";import"../../permissions/PermissionsContext.js";import"../../permissions/constants/index.js";import"../../permissions/withPermissionsHOC.js";import"../../permissions/ProvidePermissions.js";import"../../componentsV2/AppHeader/V3/VersionSelect/VersionSelect.constants.js";import"../Annotations/components/AnnotationsList/index.js";import"../Annotations/components/LastAnnotation/index.js";import"../Annotations/AnnotationsContext.js";import"../../componentsV2/AppContainer/AppContainer.js";import"../../componentsV2/AppContainer/AppContainer.constants.js";import"../../componentsV2/Text/Text.js";import"../../componentsV2/Header/Header.scss.js";import"../../componentsV2/Tooltip/Tooltip.scss.js";import"../../componentsV2/TextEndTruncated/TextEndTruncated.scss.js";import"../../componentsV2/AppCommonsProvider/AppCommonsContext.js";import"../../componentsV2/AppHeader/AppHeader.constants.js";import"../../componentsV2/AppHeader/AppBadge/AppBadge.scss.js";import"../../componentsV2/Chip/Chip.js";import"../../componentsV2/TextMiddleTruncated/TextMiddleTruncated.constants.js";import"../../componentsV2/TextMiddleTruncated/TextMiddleTruncated.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"../../componentsV2/PadModeSelect/PadModeSelect.js";import"../../componentsV2/PadModeSelect/PadModeSelect.constants.js";import"../../componentsV2/AppCommonsProvider/AppCommonsProvider.js";import"../../componentsV2/utils.js";import"../../componentsV2/AppHeader/V3/VersionSelect/VersionSelect.js";import"../../componentsV2/UniversalLink/UniversalLink.scss.js";import"../../componentsV2/AppHeader/V3/AssetChips/AssetChips.scss.js";import"../../componentsV2/Button/Button.js";import"../../componentsV2/AppHeader/V3/DqStatusIcon/DqStatusIcon.js";import"../../componentsV2/AppHeader/V3/DqStatusIcon/DqStatusIcon.constants.js";import"../../componentsV2/Popover/Popover.js";import"../../componentsV2/Accordion/Accordion.scss.js";import"../../componentsV2/ButtonIcon/ButtonIcon.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"../../componentsV2/Menu/Menu.js";import"../../componentsV2/ModalWindow/ModalWindow.js";import"../../componentsV2/Modal/Modal.scss.js";import"../../componentsV2/LoaderLogo/LoaderLogo.constants.js";import"../../componentsV2/LoaderLogo/LoaderLogo.scss.js";import"../../componentsV2/AppHeader/V3/AssetSelector/AssetSelectorChip/AssetSelectorChip.js";import"../../componentsV2/TextInput/TextInput.js";import"../../componentsV2/AppHeader/V3/AssetSelector/constants.js";import"../../componentsV2/AppHeader/V3/AssetSelector/AssetSelectorSelect/AssetSelectorSelect.scss.js";import"../../componentsV2/ChipIndicator/ChipIndicator.js";import"../../componentsV2/AppHeader/V3/AssetSelector/AssetSelectorSelect/loadAssets.js";import"../../componentsV2/AppHeader/V3/AssetSelector/AssetSelector.scss.js";import"querystring";import"../../clients/subscriptions/subscriptions-client.factory.js";import"../StatusBadge/constants.js";import"lodash/unset";import"../../clients/api/apiCore.js";import"../../clients/constants.js";import"../../clients/sso/auth0.js";import"../../clients/sso/oauth2.js";import"../../clients/api/rateLimiter.js";import"lodash/isEmpty";import"lodash/sortBy";import"../DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchContext.js";import"../../componentsV2/AppPanel/AppPanelsContext.js";import"../../componentsV2/AppHeader/V3/AppTitle/AppTitle.constants.js";import"../../componentsV2/AppHeader/V3/AppTitle/AppTitle.scss.js";import"../../componentsV2/AppHeader/V3/constants.scss.js";import"../../componentsV2/AppHeader/V3/SettingsButton/SettingsButton.constants.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/EmptyState/EmptyState.scss.js";import"../DevCenter/DevCenterAppContainer/components/DevCenterAppView/components/ChooseAssetButton.js";import"../DevCenter/DevCenterAppContainer/components/DevCenterAppView/DevCenterAppView.scss.js";import"../DevCenter/DevCenterAppContainer/components/AppActions/AppActions.css.js";import"../DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchButton.scss.js";import"../../componentsV2/Grid/Grid.js";import"../../componentsV2/Grid/Cell.js";import"../../componentsV2/PopoverPanel/PopoverPanel.js";import"../../componentsV2/Radio/Radio.js";import"../../componentsV2/RadioAndCheckboxGroup/RadioAndCheckboxGroup.scss.js";import"../../componentsV2/Checkbox/Checkbox.js";import"../../componentsV2/TextInputNext/TextInputNext.js";import"../../componentsV2/TextArea/TextArea.js";import"../../componentsV2/Label/Label.js";import"../../componentsV2/TextLink/TextLink.js";import"../../componentsV2/ChipAlert/ChipAlert.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/Hint/Hint.scss.js";import"../../componentsV2/Counter/Counter.js";import"../../componentsV2/BadgeBase/BadgeBase.scss.js";import"../../componentsV2/TemplatesControl/TemplatesControl.js";import"zustand";import"../../componentsV2/TemplatesControl/utils.js";import"../../componentsV2/TemplatesControl/icons/folder/index.js";import"../../componentsV2/TemplatesControl/Store/utils.js";import"../../componentsV2/TemplatesControl/types.js";import"../../componentsV2/BadgeDot/BadgeDot.scss.js";import"../../componentsV2/LoaderLinear/LoaderLinear.scss.js";import"../../componentsV2/Switch/Switch.js";import"../../componentsV2/Tabs/Tabs.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"../../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/Breadcrumbs/Breadcrumbs.scss.js";import"../../componentsV2/BadgeComment/BadgeComment.js";import"../../componentsV2/AppFooter/AppFooter.js";import"../../componentsV2/OffsetWellsButton/OffsetWellsButton.js";import"../../componentsV2/ChartAxisExtreme/ChartAxisExtreme.scss.js";import"highcharts";import"../../componentsV2/ChartAxisExtreme/ChartAxisExtremeDragTracker.js";import"../../componentsV2/Autocomplete/Autocomplete.js";import"../../componentsV2/Select/Select.js";import"../../componentsV2/AppPanel/AppPanel.js";import"../../componentsV2/AppSettingsDivider/AppSettingsDivider.scss.js";import"../../componentsV2/WellArchivedMessage/WellArchivedMessage.js";import"../../componentsV2/DatePicker/DatePicker.js";import"../../componentsV2/DragHandle/DragHandle.js";import"../../componentsV2/CompletionsOffsetWellPicker/CompletionsOffsetWellPicker.js";import"../../componentsV2/Slider/constants.js";import"../../componentsV2/Slider/components/SliderThumb.js";import"../../componentsV2/Slider/Slider.scss.js";import"../../componentsV2/SliderAdvanced/SliderAdvanced.js";import"react-color";import"../../componentsV2/ColorPicker/Swatches/Swatches.scss.js";import"../../componentsV2/ColorPicker/OpacityDragtracker/OpacityDragTracker.scss.js";import"../../componentsV2/ColorPicker/ColorPicker.scss.js";import"../../componentsV2/ChartHelper/ChartHelper.scss.js";import"../../componentsV2/Hotkey/Hotkey.js";import"@tanstack/react-query";import"../../componentsV2/InterventionEventSelector/useInterventionUnitEvents.js";import"../../componentsV2/InterventionEventSelector/InterventionEventSelector.scss.js";import"../DevCenter/DevCenterAppContainer/components/FullscreenButton/FullscreenButton.css.js";import"../Icons/AnnotationIcon.js";import"../HelpCenter/HelpCenterIcon.js";import"../DevCenter/DevCenterAppContainer/components/RestoreAppSizeButton/RestoreAppSizeButton.css.js";import"../DevCenter/DevCenterAppContainer/DevCenterAppContainer.scss.js";import"../Toaster/Toaster.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"../LoadingIndicator/LoadingIndicator.js";import"../Typography.js";import"../RealTimeValuesSidebar/RealTimeSidebar.js";import"../CollapsableSidebar.js";import"../DateTimePicker/index.js";import"../DatePicker/index.js";import"../SlateFormattedText/SlateFormattedText.js";import"../SlateFormattedText/RenderElements.js";import"slate";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"../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/ChartWrapperContext.js";import"../Chart/effects/useChartModifier.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"../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"@babel/runtime/helpers/classCallCheck";import"@babel/runtime/helpers/createClass";import"../GradientManager/GradientPreview/GradientPreview.js";import"../GradientManager/GradientSelect.scss.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"../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"../OffsetWellPickerV5/components/OffsetWellPickerV5WithStore/OffsetWellPickerV5WithStore.js";import"mapbox-gl/dist/mapbox-gl.css";import"@material-ui/icons/Info";import"@material-ui/icons/Block";import"../OffsetWellMap/WellTooltip.module.css.js";import"../OffsetWellMap/OffsetWellMap.module.css.js";import"../../config/mapboxGl/index.js";import"../../config/mapbox/index.js";import"react-dom";import"@material-ui/core/Snackbar";import"../Notifications/Toast.js";import"../Notifications/Notifications.scss.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"./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"../DocumentViewer/DocumentViewer.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"@material-ui/icons/Close";import"@material-ui/icons/GetApp";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";import"../CommentCard/CommentCard.js";import"@material-ui/icons/AlternateEmail";import"../AttachFileButton/AttachFileButton.scss.js";import"../CommentInputNext/CommentInputNext.js";import"../WellhubFilePicker/components/WellhubFileCard/WellhubFileCard.scss.js";import"../WellhubFilePicker/components/WellhubFilePickerView/WellhubFilePickerView.scss.js";import"react-s3-uploader/s3upload";import"../CommentComposer/CommentMetaLine.scss.js";import"../CommentComposer/ChatChannelSelector.scss.js";import"../CommentComposer/ShareToChatRow.scss.js";import"../CommentComposer/CommentComposer.scss.js";import"../AttachmentPreview/AttachmentPreview.js";import"../AttachmentPreview/AttachmentImage.js";import"../AttachmentPreview/AttachmentPreview.scss.js";import"../CommentPin/CommentPin.js";import"../FeedCard/FeedCard.js";import"../FeedItemCard/FeedItemCard.js";import"../NewCommentCursor/NewCommentCursor.js";import"../LinkedText/LinkedText.js";import"../FeedItem/feedItemTypes/AlertFeedItem.js";import"../FeedItem/feedItemTypes/PostFeedItem.js";import"../FeedItem/feedItemTypes/GeosteeringFeedItem.js";import"../FeedItem/feedItemTypes/DrillingOperationalNoteFeedItem.js";import"../FeedItem/feedItemTypes/DrillingOperationSummaryFeedItem.js";import"../FeedItem/feedItemTypes/DrillingDailyCostFeedItem.js";import"../FeedItem/feedItemTypes/DocumentFeedItem.js";import"../FeedItem/feedItemTypes/DrillerMemoFeedItem.js";import"../FeedItem/feedItemTypes/NptFeedItem.js";import"../FeedItem/feedItemTypes/SurveyStationFeedItem/index.js";import"../FeedItem/feedItemTypes/LessonsLearnedFeedItem/index.js";import"../FeedItem/feedItemTypes/TracesMemoFeedItem.js";import"../FeedItem/feedItemTypes/DepthCommentFeedItem.js";import"../FeedItem/feedItemTypes/CompletionOperationalNoteFeedItem.js";import"../FeedItem/feedItemTypes/CompletionOperationSummaryFeedItem.js";import"../FeedItem/feedItemTypes/CompletionDailyCostFeedItem.js";import"../FeedItem/feedItemTypes/CompletionDocumentFeedItem.js";import"../FeedItem/feedItemTypes/CompletionNptFeedItem.js";import"../FeedItem/feedItemTypes/StageOverviewFeedItem/index.js";import"../FeedItem/feedItemTypes/AppAnnotationFeedItem/index.js";import"../FeedItem/feedItemTypes/WellPlanFeedItem/index.js";import"../FeedItem/feedItemTypes/FluidReportFeedItem.js";import"../FeedItem/feedItemTypes/BhaFeedItem/BhaFeedItem.js";import"../FeedItem/feedItemTypes/DvDCommentFeedItem.js";import"../FeedItem/feedItemTypes/PCCommentFeedItem.js";import"../FeedItem/feedItemTypes/HookloadCommentFeedItem.js";import"../FeedItem/feedItemTypes/NptLessonsCommentFeedItem.js";import"../FeedItem/feedItemTypes/GenericDataCommentFeedItem.js";import A from"../Icons/SendIcon.js";var V=["anchorEl","anchorOrigin","onClose","onSave","startAdornment","endAdornment","customContent","userCompanyId"];function h(e,o){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);o&&(s=s.filter((function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable}))),t.push.apply(t,s)}return t}function S(o){for(var t=1;t<arguments.length;t++){var s=null!=arguments[t]?arguments[t]:{};t%2?h(Object(s),!0).forEach((function(t){e(o,t,s[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(o,Object.getOwnPropertyDescriptors(s)):h(Object(s)).forEach((function(e){Object.defineProperty(o,e,Object.getOwnPropertyDescriptor(s,e))}))}return o}var g=m((function(e){return{paper:{width:368,padding:16},inputMain:{marginBottom:0,fontSize:"11px",color:e.palette.primary.text8},inputHelper:{display:"flex",paddingRight:5},cancelText:{cursor:"pointer"},highlightedLabel:{color:e.palette.primary.main},actions:{height:36},sendRow:{display:"flex"},sendIcon:{"&.Mui-disabled":{cursor:"not-allowed!important"}}}}));function v(e){var i=e.anchorEl,n=e.anchorOrigin,r=void 0===n?F:n,p=e.onClose,m=void 0===p?T:p,h=e.onSave,v=e.startAdornment,P=void 0===v?null:v,D=e.endAdornment,b=void 0===D?null:D,f=e.customContent,x=void 0===f?null:f,y=e.userCompanyId,B=t(e,V),k=g(),E=s(),O=o(E,2),L=O[0],M=O[1];return u(c,S(S({open:!0,anchorEl:i,anchorOrigin:r,onClose:m,classes:{paper:k.paper}},B),{},{children:[C(j,{userCompanyId:y,startAdornment:P,endAdornment:b,customContent:x,setComment:M,onSave:function(){return h(L)},smallerView:!0,comment:L}),u(a,{container:!0,direction:"row",justify:"space-between",alignItems:"center",className:k.actions,children:[C(a,{item:!0,children:C(l,{"data-testid":"".concat("AddCommentPopover","_cancel"),variant:"caption",className:d(k.inputMain,k.cancelText,k.highlightedLabel),component:"div",gutterBottom:!0,onClick:m,children:"Cancel"})}),u(a,{item:!0,direction:"row",alignItems:"center",className:k.sendRow,children:[u(l,{variant:"caption",className:d(k.inputMain,k.inputHelper),component:"div",gutterBottom:!0,children:["Press ",C(l,{variant:"caption",color:"primary",className:d(k.inputMain,k.highlightedLabel),children:"Enter"})," to send"]}),C(I,{"data-testid":"".concat("AddCommentPopover","_send"),onClick:function(){return h(L)},className:k.sendIcon,disabled:!L||!L.body&&!L.attachment,children:C(A,{})})]})]})]}))}v.propTypes={onClose:i,onSave:i.isRequired,anchorEl:n.isRequired,anchorOrigin:r,startAdornment:n,endAdornment:n,customContent:n,userCompanyId:p.isRequired};var F={horizontal:"right",vertical:"bottom"},T=function(){};export{v as default};
2
2
  //# sourceMappingURL=Popover.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Popover.js","sources":["../../../src/components/AddComment/Popover.js"],"sourcesContent":["import { useState } from 'react';\nimport { node, shape, func, number } from 'prop-types';\nimport { Popover, Grid, Typography, makeStyles } from '@material-ui/core';\nimport classNames from 'classnames';\n\nimport Content from './components/Content';\n\nimport { IconButton } from '~/components';\nimport SendIcon from '~components/Icons/SendIcon';\n\nconst PAGE_NAME = 'AddCommentPopover';\n\nconst useStyles = makeStyles(theme => ({\n paper: {\n width: 368,\n padding: 16,\n },\n inputMain: {\n marginBottom: 0,\n fontSize: '11px',\n color: theme.palette.primary.text8,\n },\n inputHelper: {\n display: 'flex',\n paddingRight: 5,\n },\n cancelText: {\n cursor: 'pointer',\n },\n highlightedLabel: {\n color: theme.palette.primary.main,\n },\n actions: { height: 36 },\n sendRow: { display: 'flex' },\n sendIcon: {\n '&.Mui-disabled': {\n cursor: 'not-allowed!important',\n },\n },\n}));\n\nfunction AddCommentPopover({\n anchorEl,\n anchorOrigin = DEFAULT_ADD_COMMENT_POPOVER_ANCHOR_ORIGIN,\n onClose = DEFAULT_ADD_COMMENT_POPOVER_ON_CLOSE,\n onSave,\n startAdornment = null, // Render node on the top of the content\n endAdornment = null, // Render node on the bottom of the content\n customContent = null, // Render custom content instead of Post Input\n userCompanyId,\n ...otherProps\n}) {\n const classes = useStyles();\n const [comment, setComment] = useState();\n\n return (\n <Popover\n open\n anchorEl={anchorEl}\n anchorOrigin={anchorOrigin}\n onClose={onClose}\n classes={{ paper: classes.paper }}\n {...otherProps}\n >\n <Content\n userCompanyId={userCompanyId}\n startAdornment={startAdornment}\n endAdornment={endAdornment}\n customContent={customContent}\n setComment={setComment}\n onSave={() => onSave(comment)}\n smallerView\n comment={comment}\n />\n\n <Grid\n container\n direction=\"row\"\n justify=\"space-between\"\n alignItems=\"center\"\n className={classes.actions}\n >\n <Grid item>\n <Typography\n data-testid={`${PAGE_NAME}_cancel`}\n variant=\"caption\"\n className={classNames(classes.inputMain, classes.cancelText, classes.highlightedLabel)}\n component=\"div\"\n gutterBottom\n onClick={onClose}\n >\n Cancel\n </Typography>\n </Grid>\n <Grid item direction=\"row\" alignItems=\"center\" className={classes.sendRow}>\n <Typography\n variant=\"caption\"\n className={classNames(classes.inputMain, classes.inputHelper)}\n component=\"div\"\n gutterBottom\n >\n Press&nbsp;\n <Typography\n variant=\"caption\"\n color=\"primary\"\n className={classNames(classes.inputMain, classes.highlightedLabel)}\n >\n Enter\n </Typography>\n &nbsp;to send\n </Typography>\n <IconButton\n data-testid={`${PAGE_NAME}_send`}\n onClick={() => onSave(comment)}\n className={classes.sendIcon}\n disabled={!comment || (!comment.body && !comment.attachment)}\n >\n <SendIcon />\n </IconButton>\n </Grid>\n </Grid>\n </Popover>\n );\n}\n\nAddCommentPopover.propTypes = {\n onClose: func,\n onSave: func.isRequired,\n anchorEl: node.isRequired,\n anchorOrigin: shape,\n startAdornment: node,\n endAdornment: node,\n customContent: node,\n userCompanyId: number.isRequired,\n};\n\nconst DEFAULT_ADD_COMMENT_POPOVER_ANCHOR_ORIGIN = { horizontal: 'right', vertical: 'bottom' };\nconst DEFAULT_ADD_COMMENT_POPOVER_ON_CLOSE = () => undefined;\n\nexport default AddCommentPopover;\n"],"names":["useStyles","makeStyles","theme","paper","width","padding","inputMain","marginBottom","fontSize","color","palette","primary","text8","inputHelper","display","paddingRight","cancelText","cursor","highlightedLabel","main","actions","height","sendRow","sendIcon","AddCommentPopover","_ref","anchorEl","_ref$anchorOrigin","anchorOrigin","DEFAULT_ADD_COMMENT_POPOVER_ANCHOR_ORIGIN","_ref$onClose","onClose","DEFAULT_ADD_COMMENT_POPOVER_ON_CLOSE","onSave","_ref$startAdornment","startAdornment","_ref$endAdornment","endAdornment","_ref$customContent","customContent","userCompanyId","otherProps","_objectWithoutProperties","_excluded","classes","_useState","useState","_useState2","_slicedToArray","comment","setComment","_jsxs","Popover","_objectSpread","open","children","_jsx","Content","smallerView","Grid","container","direction","justify","alignItems","className","item","Typography","concat","variant","classNames","component","gutterBottom","onClick","IconButton","disabled","body","attachment","SendIcon","propTypes","func","isRequired","node","shape","number","horizontal","vertical"],"mappings":"034BAUA,IAEMA,EAAYC,GAAW,SAAAC,GAAK,MAAK,CACrCC,MAAO,CACLC,MAAO,IACPC,QAAS,IAEXC,UAAW,CACTC,aAAc,EACdC,SAAU,OACVC,MAAOP,EAAMQ,QAAQC,QAAQC,OAE/BC,YAAa,CACXC,QAAS,OACTC,aAAc,GAEhB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C,EAAQwB,SAAA,aAKrBJ,EAACQ,EAAI,CAACM,MAAI,EAACJ,UAAU,MAAME,WAAW,SAASC,UAAWpB,EAAQtB,QAAQiC,SAAA,CACxEJ,EAACe,EAAU,CACTE,QAAQ,UACRJ,UAAWK,EAAWzB,EAAQtC,UAAWsC,EAAQ/B,aACjDyD,UAAU,MACVC,cAAY,EAAAhB,SAAA,CAAA,SAGZC,EAACU,EAAU,CACTE,QAAQ,UACR3D,MAAM,UACNuD,UAAWK,EAAWzB,EAAQtC,UAAWsC,EAAQ1B,kBAAkBqC,SAAA,UAGxD,cAGfC,EAACiB,EAAU,CACT,cAAA,GAAAN,OAtGM,oBAsG2B,SACjCK,QAAS,WAAA,OAAMvC,EAAOgB,EAAS,EAC/Be,UAAWpB,EAAQrB,SACnBmD,UAAWzB,IAAaA,EAAQ0B,OAAS1B,EAAQ2B,WAAYrB,SAE7DC,EAACqB,EAAQ,eAMrB,CAEArD,EAAkBsD,UAAY,CAC5B/C,QAASgD,EACT9C,OAAQ8C,EAAKC,WACbtD,SAAUuD,EAAKD,WACfpD,aAAcsD,EACd/C,eAAgB8C,EAChB5C,aAAc4C,EACd1C,cAAe0C,EACfzC,cAAe2C,EAAOH,YAGxB,IAAMnD,EAA4C,CAAEuD,WAAY,QAASC,SAAU,UAC7ErD,EAAuC,WAAe"}
1
+ {"version":3,"file":"Popover.js","sources":["../../../src/components/AddComment/Popover.js"],"sourcesContent":["import { useState } from 'react';\nimport { node, shape, func, number } from 'prop-types';\nimport { Popover, Grid, Typography, makeStyles } from '@material-ui/core';\nimport classNames from 'classnames';\n\nimport Content from './components/Content';\n\nimport { IconButton } from '~/components';\nimport SendIcon from '~components/Icons/SendIcon';\n\nconst PAGE_NAME = 'AddCommentPopover';\n\nconst useStyles = makeStyles(theme => ({\n paper: {\n width: 368,\n padding: 16,\n },\n inputMain: {\n marginBottom: 0,\n fontSize: '11px',\n color: theme.palette.primary.text8,\n },\n inputHelper: {\n display: 'flex',\n paddingRight: 5,\n },\n cancelText: {\n cursor: 'pointer',\n },\n highlightedLabel: {\n color: theme.palette.primary.main,\n },\n actions: { height: 36 },\n sendRow: { display: 'flex' },\n sendIcon: {\n '&.Mui-disabled': {\n cursor: 'not-allowed!important',\n },\n },\n}));\n\nfunction AddCommentPopover({\n anchorEl,\n anchorOrigin = DEFAULT_ADD_COMMENT_POPOVER_ANCHOR_ORIGIN,\n onClose = DEFAULT_ADD_COMMENT_POPOVER_ON_CLOSE,\n onSave,\n startAdornment = null, // Render node on the top of the content\n endAdornment = null, // Render node on the bottom of the content\n customContent = null, // Render custom content instead of Post Input\n userCompanyId,\n ...otherProps\n}) {\n const classes = useStyles();\n const [comment, setComment] = useState();\n\n return (\n <Popover\n open\n anchorEl={anchorEl}\n anchorOrigin={anchorOrigin}\n onClose={onClose}\n classes={{ paper: classes.paper }}\n {...otherProps}\n >\n <Content\n userCompanyId={userCompanyId}\n startAdornment={startAdornment}\n endAdornment={endAdornment}\n customContent={customContent}\n setComment={setComment}\n onSave={() => onSave(comment)}\n smallerView\n comment={comment}\n />\n\n <Grid\n container\n direction=\"row\"\n justify=\"space-between\"\n alignItems=\"center\"\n className={classes.actions}\n >\n <Grid item>\n <Typography\n data-testid={`${PAGE_NAME}_cancel`}\n variant=\"caption\"\n className={classNames(classes.inputMain, classes.cancelText, classes.highlightedLabel)}\n component=\"div\"\n gutterBottom\n onClick={onClose}\n >\n Cancel\n </Typography>\n </Grid>\n <Grid item direction=\"row\" alignItems=\"center\" className={classes.sendRow}>\n <Typography\n variant=\"caption\"\n className={classNames(classes.inputMain, classes.inputHelper)}\n component=\"div\"\n gutterBottom\n >\n Press&nbsp;\n <Typography\n variant=\"caption\"\n color=\"primary\"\n className={classNames(classes.inputMain, classes.highlightedLabel)}\n >\n Enter\n </Typography>\n &nbsp;to send\n </Typography>\n <IconButton\n data-testid={`${PAGE_NAME}_send`}\n onClick={() => onSave(comment)}\n className={classes.sendIcon}\n disabled={!comment || (!comment.body && !comment.attachment)}\n >\n <SendIcon />\n </IconButton>\n </Grid>\n </Grid>\n </Popover>\n );\n}\n\nAddCommentPopover.propTypes = {\n onClose: func,\n onSave: func.isRequired,\n anchorEl: node.isRequired,\n anchorOrigin: shape,\n startAdornment: node,\n endAdornment: node,\n customContent: node,\n userCompanyId: number.isRequired,\n};\n\nconst DEFAULT_ADD_COMMENT_POPOVER_ANCHOR_ORIGIN = { horizontal: 'right', vertical: 'bottom' };\nconst DEFAULT_ADD_COMMENT_POPOVER_ON_CLOSE = () => undefined;\n\nexport default AddCommentPopover;\n"],"names":["useStyles","makeStyles","theme","paper","width","padding","inputMain","marginBottom","fontSize","color","palette","primary","text8","inputHelper","display","paddingRight","cancelText","cursor","highlightedLabel","main","actions","height","sendRow","sendIcon","AddCommentPopover","_ref","anchorEl","_ref$anchorOrigin","anchorOrigin","DEFAULT_ADD_COMMENT_POPOVER_ANCHOR_ORIGIN","_ref$onClose","onClose","DEFAULT_ADD_COMMENT_POPOVER_ON_CLOSE","onSave","_ref$startAdornment","startAdornment","_ref$endAdornment","endAdornment","_ref$customContent","customContent","userCompanyId","otherProps","_objectWithoutProperties","_excluded","classes","_useState","useState","_useState2","_slicedToArray","comment","setComment","_jsxs","Popover","_objectSpread","open","children","_jsx","Content","smallerView","Grid","container","direction","justify","alignItems","className","item","Typography","concat","variant","classNames","component","gutterBottom","onClick","IconButton","disabled","body","attachment","SendIcon","propTypes","func","isRequired","node","shape","number","horizontal","vertical"],"mappings":"+w4BAUA,IAEMA,EAAYC,GAAW,SAAAC,GAAK,MAAK,CACrCC,MAAO,CACLC,MAAO,IACPC,QAAS,IAEXC,UAAW,CACTC,aAAc,EACdC,SAAU,OACVC,MAAOP,EAAMQ,QAAQC,QAAQC,OAE/BC,YAAa,CACXC,QAAS,OACTC,aAAc,GAEhBC,WAAY,CACVC,OAAQ,WAEVC,iBAAkB,CAChBT,MAAOP,EAAMQ,QAAQC,QAAQQ,MAE/BC,QAAS,CAAEC,OAAQ,IACnBC,QAAS,CAAER,QA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