@corva/ui 3.53.0-1 → 3.53.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 (701) hide show
  1. package/assets/24e85195c257f1a487266abb9fc7a2bf.png +0 -0
  2. package/assets/573240ce4ae3f03b1dcda59a6122d385.png +0 -0
  3. package/assets/611a0b004a47e773eef650c39e484dde.png +0 -0
  4. package/assets/637021239e939e67a50264c22fdad2cf.png +0 -0
  5. package/assets/9fd5109325b72bf1dea0d2984b0478b8.png +0 -0
  6. package/assets/c901dbd37bce6a412f2c0f0ceecfea1d.png +0 -0
  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/AppIcon/assets/CompletionAppIcon.js +1 -1
  12. package/cjs-bundle/components/AppIcon/assets/CompletionAppIconBe.js +1 -1
  13. package/cjs-bundle/components/AppIcon/assets/DrillingAppIcon.js +1 -1
  14. package/cjs-bundle/components/AppIcon/assets/DrillingAppIconBe.js +1 -1
  15. package/cjs-bundle/components/AppIcon/assets/InterventionAppIcon.js +2 -0
  16. package/cjs-bundle/components/AppIcon/assets/InterventionAppIcon.js.map +1 -0
  17. package/cjs-bundle/components/AppIcon/assets/NoSegmentAppIcon.js +1 -1
  18. package/cjs-bundle/components/AppIcon/assets/NoSegmentAppIconBeIdle.js +1 -1
  19. package/cjs-bundle/components/AppIcon/utils.js +1 -1
  20. package/cjs-bundle/components/AppIcon/utils.js.map +1 -1
  21. package/cjs-bundle/components/AssetNameLabel/AssetNameLabel.js +1 -1
  22. package/cjs-bundle/components/Attachment/index.js +1 -1
  23. package/cjs-bundle/components/Attachment/index.js.map +1 -1
  24. package/cjs-bundle/components/BICOffsetPickerDialog/components/WellSection/AutoCompleteAssetSearch/AutoCompleteAssetSearch.js +1 -1
  25. package/cjs-bundle/components/BICOffsetPickerDialog/components/WellSection/AutoCompleteAssetSearch/AutoCompleteAssetSearch.js.map +1 -1
  26. package/cjs-bundle/components/BICOffsetPickerDialog/index.js +1 -1
  27. package/cjs-bundle/components/BICOffsetPickerDialog/index.js.map +1 -1
  28. package/cjs-bundle/components/Breadcrumbs/index.js +1 -1
  29. package/cjs-bundle/components/Casing/CasingTableV2/components/CasingJoints/Editor.js +1 -1
  30. package/cjs-bundle/components/Casing/CasingTableV2/components/CasingJoints/Editor.js.map +1 -1
  31. package/cjs-bundle/components/Casing/CasingTableV2/components/Component.js +1 -1
  32. package/cjs-bundle/components/Casing/CasingTableV2/components/Component.js.map +1 -1
  33. package/cjs-bundle/components/Casing/CasingTableV2/components/DrillPipe/Editor.js +1 -1
  34. package/cjs-bundle/components/Casing/CasingTableV2/components/DrillPipe/Editor.js.map +1 -1
  35. package/cjs-bundle/components/CollapsableSidebar.js +1 -1
  36. package/cjs-bundle/components/CollapsableSidebar.js.map +1 -1
  37. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/DevCenterAppContainer.js +1 -1
  38. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/DevCenterAppContainer.js.map +1 -1
  39. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchButton.js +1 -1
  40. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/NonPriorityMenus/NonPriorityMenus.js +1 -1
  41. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/PriorityMenus/PriorityMenus.js +1 -1
  42. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/PriorityMenus/PriorityMenus.js.map +1 -1
  43. package/cjs-bundle/components/DevCenter/DevCenterRouterContext/UniversalLink/UniversalLink.js +1 -1
  44. package/cjs-bundle/components/DevCenter/DevCenterRouterContext/UniversalLink/UniversalLink.js.map +1 -1
  45. package/cjs-bundle/components/DevCenter/DevCenterRouterContext/hocs/withUniversalLocationHOC.js +1 -1
  46. package/cjs-bundle/components/DevCenter/DevCenterRouterContext/hocs/withUniversalLocationHOC.js.map +1 -1
  47. package/cjs-bundle/components/DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedApp.js +1 -1
  48. package/cjs-bundle/components/DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedApp.js.map +1 -1
  49. package/cjs-bundle/components/DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedAppPage.js +1 -1
  50. package/cjs-bundle/components/DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedAppPage.js.map +1 -1
  51. package/cjs-bundle/components/DocumentViewer/DocumentViewer.js +1 -1
  52. package/cjs-bundle/components/DocumentViewer/DocumentViewer.js.map +1 -1
  53. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Agitator/Editor.js +1 -1
  54. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Agitator/Editor.js.map +1 -1
  55. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Bit/Editor.js +1 -1
  56. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Bit/Editor.js.map +1 -1
  57. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Component.js +1 -1
  58. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Component.js.map +1 -1
  59. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/DrillCollar/Editor.js +1 -1
  60. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/DrillCollar/Editor.js.map +1 -1
  61. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/DrillPipe/Editor.js +1 -1
  62. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/DrillPipe/Editor.js.map +1 -1
  63. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Jar/Editor.js +1 -1
  64. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Jar/Editor.js.map +1 -1
  65. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Lwd/Editor.js +1 -1
  66. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Lwd/Editor.js.map +1 -1
  67. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Mwd/Editor.js +1 -1
  68. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Mwd/Editor.js.map +1 -1
  69. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Pdm/Editor.js +1 -1
  70. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Pdm/Editor.js.map +1 -1
  71. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Rss/Editor.js +1 -1
  72. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Rss/Editor.js.map +1 -1
  73. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Stabilizer/Editor.js +1 -1
  74. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Stabilizer/Editor.js.map +1 -1
  75. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Sub/Editor.js +1 -1
  76. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Sub/Editor.js.map +1 -1
  77. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Ur/Editor.js +1 -1
  78. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Ur/Editor.js.map +1 -1
  79. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/shared/ConfirmationPopup.js +1 -1
  80. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/shared/ConfirmationPopup.js.map +1 -1
  81. package/cjs-bundle/components/Drillstring/DrillstringDetail/DrillstringDetail.js +1 -1
  82. package/cjs-bundle/components/Drillstring/DrillstringDetail/DrillstringDetail.js.map +1 -1
  83. package/cjs-bundle/components/FeedItem/FeedItem.js +1 -1
  84. package/cjs-bundle/components/FeedItem/FeedItem.js.map +1 -1
  85. package/cjs-bundle/components/FeedItem/components/FeedComments.js +1 -1
  86. package/cjs-bundle/components/FeedItem/components/FeedComments.js.map +1 -1
  87. package/cjs-bundle/components/FeedItem/feedItemTypes/AlertFeedItem.js +1 -1
  88. package/cjs-bundle/components/FeedItem/feedItemTypes/AlertFeedItem.js.map +1 -1
  89. package/cjs-bundle/components/FeedItem/feedItemTypes/BhaFeedItem/components/BhaSchematic.js +1 -1
  90. package/cjs-bundle/components/FeedItem/feedItemTypes/BhaFeedItem/components/BhaSchematic.js.map +1 -1
  91. package/cjs-bundle/components/FeedItem/feedItemTypes/BhaFeedItem/components/Info.js +1 -1
  92. package/cjs-bundle/components/FeedItem/feedItemTypes/BhaFeedItem/components/Info.js.map +1 -1
  93. package/cjs-bundle/components/FeedItem/feedItemTypes/FluidReportFeedItem.js +1 -1
  94. package/cjs-bundle/components/FeedItem/feedItemTypes/FluidReportFeedItem.js.map +1 -1
  95. package/cjs-bundle/components/FileUploadIconButton.js +1 -1
  96. package/cjs-bundle/components/FileUploadIconButton.js.map +1 -1
  97. package/cjs-bundle/components/ImageViewer/index.js +1 -1
  98. package/cjs-bundle/components/ImageViewer/index.js.map +1 -1
  99. package/cjs-bundle/components/OffsetWellPickerV2/OffsetWellPickerDialog.js +1 -1
  100. package/cjs-bundle/components/OffsetWellPickerV2/OffsetWellPickerDialog.js.map +1 -1
  101. package/cjs-bundle/components/OffsetWellPickerV2/components/Filter/ToggleMapButton.js +1 -1
  102. package/cjs-bundle/components/OffsetWellPickerV2/components/Filter/ToggleMapButton.js.map +1 -1
  103. package/cjs-bundle/components/OffsetWellPickerV2/components/Table/MetricsAddMenu.js +1 -1
  104. package/cjs-bundle/components/OffsetWellPickerV2/components/Table/MetricsAddMenu.js.map +1 -1
  105. package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/AutoCompleteAssetSearch/AutoCompleteAssetSearch.js +1 -1
  106. package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/AutoCompleteAssetSearch/AutoCompleteAssetSearch.js.map +1 -1
  107. package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/MetricsAddMenu.js +1 -1
  108. package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/MetricsAddMenu.js.map +1 -1
  109. package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/index.js +1 -1
  110. package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/index.js.map +1 -1
  111. package/cjs-bundle/components/OffsetWellPickerV3/components/OffsetWellSelectionView/index.js +1 -1
  112. package/cjs-bundle/components/OffsetWellPickerV3/components/OffsetWellSelectionView/index.js.map +1 -1
  113. package/cjs-bundle/components/OffsetWellPickerV3/components/TabSelection/ToggleMapButton.js +1 -1
  114. package/cjs-bundle/components/OffsetWellPickerV3/components/TabSelection/ToggleMapButton.js.map +1 -1
  115. package/cjs-bundle/components/OffsetWellPickerV3/components/TabSelection/index.js +1 -1
  116. package/cjs-bundle/components/OffsetWellPickerV3/components/TabSelection/index.js.map +1 -1
  117. package/cjs-bundle/components/OffsetWellPickerV3/components/WellHubView/index.js +1 -1
  118. package/cjs-bundle/components/OffsetWellPickerV3/components/WellHubView/index.js.map +1 -1
  119. package/cjs-bundle/components/OffsetWellPickerV3/components/shared/OffsetWellTableHead.js +1 -1
  120. package/cjs-bundle/components/OffsetWellPickerV3/components/shared/OffsetWellTableHead.js.map +1 -1
  121. package/cjs-bundle/components/OffsetWellPickerV5/api/shared/constants.js +1 -1
  122. package/cjs-bundle/components/OffsetWellPickerV5/api/shared/transformers/transformAssetToOffsetWell.js +1 -1
  123. package/cjs-bundle/components/OffsetWellPickerV5/components/AppHeader/components/HeaderActions/HeaderActions.js +1 -1
  124. package/cjs-bundle/components/OffsetWellPickerV5/components/AppHeader/components/LoadAllWellsToggle/LoadAllWellsToggle.js +1 -1
  125. package/cjs-bundle/components/OffsetWellPickerV5/components/Filter/Filter.js +1 -1
  126. package/cjs-bundle/components/OffsetWellPickerV5/components/Filter/components/CustomDateFields/CustomDateFields.js +1 -1
  127. package/cjs-bundle/components/OffsetWellPickerV5/components/Filter/components/MultiFilterSelect/MultiFilterSelect.js +1 -1
  128. package/cjs-bundle/components/OffsetWellPickerV5/components/Filter/components/PeriodFilterSelect/PeriodFilterSelect.js +1 -1
  129. package/cjs-bundle/components/OffsetWellPickerV5/components/Filter/components/SingleFilterSelect/SingleFilterSelect.js +1 -1
  130. package/cjs-bundle/components/OffsetWellPickerV5/components/Filter/components/StatusFilterSelect/StatusFilterSelect.js +1 -1
  131. package/cjs-bundle/components/OffsetWellPickerV5/components/Filter/hooks/useMultiSelectDraftValue.js +2 -0
  132. package/cjs-bundle/components/OffsetWellPickerV5/components/Filter/hooks/useMultiSelectDraftValue.js.map +1 -0
  133. package/cjs-bundle/components/OffsetWellPickerV5/components/Filter/useFilterHandlers.js +1 -1
  134. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/ClusterTooltip/ClusterTooltip.js +1 -1
  135. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/LayerSwitcher/LayerSwitcher.js +1 -1
  136. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapControls/MapControls.js +1 -1
  137. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellPickerContent/OffsetWellPickerContent.js +1 -1
  138. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellPickerV5WithStore/components/CompanySafeguardWrapper/CompanySafeguardWrapper.js +1 -1
  139. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/components/AssetResultSection/AssetResultSection.js +1 -1
  140. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/hooks/useAssetsData.utils.js +1 -1
  141. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/MetricsSettingMenu/MetricsSettingMenu.js +1 -1
  142. package/cjs-bundle/components/OffsetWellPickerV5/components/PickerModalActions/PickerModalActions.js +1 -1
  143. package/cjs-bundle/components/OffsetWellPickerV5/constants.js +1 -1
  144. package/cjs-bundle/components/OffsetWellPickerV5/hooks/use-well-data-pipeline/useWellDataPipeline.js +1 -1
  145. package/cjs-bundle/components/OffsetWellPickerV5/stores/filter-store/FilterStoreProvider.js +1 -1
  146. package/cjs-bundle/components/OffsetWellPickerV5/stores/filter-store/utils/computeCascadedOptions.js +1 -1
  147. package/cjs-bundle/components/OffsetWellPickerV5/stores/filter-store/utils/createFilterCrudActions.js +1 -1
  148. package/cjs-bundle/components/OffsetWellPickerV5/utils/doesWellPassFilters.js +1 -1
  149. package/cjs-bundle/components/PadOffsetsPicker/StagesSelector.js +1 -1
  150. package/cjs-bundle/components/PadOffsetsPicker/StagesSelector.js.map +1 -1
  151. package/cjs-bundle/components/PadOffsetsPickerV2/PadOffsetsPickerV2.js +1 -1
  152. package/cjs-bundle/components/Popover/Popover.js +1 -1
  153. package/cjs-bundle/components/Popper/Popper.js +1 -1
  154. package/cjs-bundle/components/RealTimeValuesSidebar/SidebarFooter.js +1 -1
  155. package/cjs-bundle/components/UserCard/index.js +1 -1
  156. package/cjs-bundle/components/UserCard/index.js.map +1 -1
  157. package/cjs-bundle/components/UserMention/index.js +1 -1
  158. package/cjs-bundle/components/UserMention/index.js.map +1 -1
  159. package/cjs-bundle/components/UserMention/utils/index.js +1 -1
  160. package/cjs-bundle/components/UserMention/utils/index.js.map +1 -1
  161. package/cjs-bundle/componentsV2/Accordion/Accordion.scss.js +1 -1
  162. package/cjs-bundle/componentsV2/AppFooter/DqPopover/DqPopover.js +1 -1
  163. package/cjs-bundle/componentsV2/AppHeader/AppAssets/AppAssets.js +1 -1
  164. package/cjs-bundle/componentsV2/AppHeader/V3/Actions/Actions.js +1 -1
  165. package/cjs-bundle/componentsV2/AppHeader/V3/VersionSelect/VersionSelect.js +1 -1
  166. package/cjs-bundle/componentsV2/Autocomplete/Autocomplete.js +1 -1
  167. package/cjs-bundle/componentsV2/Autocomplete/Autocomplete.scss.js +1 -1
  168. package/cjs-bundle/componentsV2/Autocomplete/AutocompleteInput/AutocompleteInput.js +2 -0
  169. package/cjs-bundle/componentsV2/Autocomplete/utils.js +1 -1
  170. package/cjs-bundle/componentsV2/ColorPicker/ColorPicker.js +2 -0
  171. package/cjs-bundle/componentsV2/ColorPicker/ColorPicker.js.map +1 -0
  172. package/cjs-bundle/componentsV2/ColorPicker/ColorPicker.scss.js +2 -0
  173. package/cjs-bundle/componentsV2/ColorPicker/ColorPicker.scss.js.map +1 -0
  174. package/cjs-bundle/componentsV2/ColorPicker/OpacityDragtracker/OpacityDragTracker.scss.js +2 -0
  175. package/cjs-bundle/componentsV2/ColorPicker/OpacityDragtracker/OpacityDragTracker.scss.js.map +1 -0
  176. package/cjs-bundle/componentsV2/ColorPicker/OpacityDragtracker/OpacityDragtracker.js +2 -0
  177. package/cjs-bundle/componentsV2/ColorPicker/OpacityDragtracker/OpacityDragtracker.js.map +1 -0
  178. package/cjs-bundle/componentsV2/ColorPicker/Swatches/Swatches.js +2 -0
  179. package/cjs-bundle/componentsV2/ColorPicker/Swatches/Swatches.js.map +1 -0
  180. package/cjs-bundle/componentsV2/ColorPicker/Swatches/Swatches.scss.js +2 -0
  181. package/cjs-bundle/componentsV2/ColorPicker/Swatches/Swatches.scss.js.map +1 -0
  182. package/cjs-bundle/componentsV2/ColorPicker/Swatches/constants.js +2 -0
  183. package/cjs-bundle/componentsV2/ColorPicker/Swatches/constants.js.map +1 -0
  184. package/cjs-bundle/componentsV2/ColorPicker/utils.js +2 -0
  185. package/cjs-bundle/componentsV2/ColorPicker/utils.js.map +1 -0
  186. package/cjs-bundle/componentsV2/CompletionsOffsetWellPicker/Map/Map.js +1 -1
  187. package/cjs-bundle/componentsV2/DatePicker/CalendarControls/CalendarControls.js +1 -1
  188. package/cjs-bundle/componentsV2/DatePicker/CalendarControls/CalendarControls.scss.js +1 -1
  189. package/cjs-bundle/componentsV2/DatePicker/DatePicker.js +1 -1
  190. package/cjs-bundle/componentsV2/DatePicker/Input/Input.js +1 -1
  191. package/cjs-bundle/componentsV2/OffsetWellsButton/OffsetWellsButton.js +1 -1
  192. package/cjs-bundle/componentsV2/PadModeSelect/PadModeSelect.js +1 -1
  193. package/cjs-bundle/componentsV2/TemplatesControl/PublishModal/PublishModal.js +1 -1
  194. package/cjs-bundle/componentsV2/TemplatesControl/ShareModal/ShareModal.js +1 -1
  195. package/cjs-bundle/componentsV2/TemplatesControl/Toggle/Toggle.js +1 -1
  196. package/cjs-bundle/componentsV2/TextInputNext/TextInputNext.constants.js +2 -0
  197. package/cjs-bundle/componentsV2/TextInputNext/TextInputNext.constants.js.map +1 -0
  198. package/cjs-bundle/componentsV2/TextInputNext/TextInputNext.js +2 -0
  199. package/cjs-bundle/componentsV2/TextInputNext/TextInputNext.js.map +1 -0
  200. package/cjs-bundle/componentsV2/TextInputNext/TextInputNext.scss.js +2 -0
  201. package/cjs-bundle/componentsV2/TextInputNext/TextInputNext.scss.js.map +1 -0
  202. package/cjs-bundle/componentsV2/TextInputNext/components/InfoIcon.js +2 -0
  203. package/cjs-bundle/componentsV2/TextInputNext/components/InfoIcon.js.map +1 -0
  204. package/cjs-bundle/componentsV2/TextInputNext/components/Label.js +2 -0
  205. package/cjs-bundle/componentsV2/TextInputNext/components/Label.js.map +1 -0
  206. package/cjs-bundle/componentsV2/TextInputNext/components/MessageWithIcon.js +2 -0
  207. package/cjs-bundle/componentsV2/TextInputNext/components/MessageWithIcon.js.map +1 -0
  208. package/cjs-bundle/componentsV2/TextInputNext/components/RequiredIndicator.js +2 -0
  209. package/cjs-bundle/componentsV2/TextInputNext/components/RequiredIndicator.js.map +1 -0
  210. package/cjs-bundle/componentsV2/TextInputNext/components/Styles.scss.js +2 -0
  211. package/cjs-bundle/componentsV2/TextInputNext/components/Styles.scss.js.map +1 -0
  212. package/cjs-bundle/componentsV2/TextInputNext/components/Unit.js +2 -0
  213. package/cjs-bundle/componentsV2/TextInputNext/components/Unit.js.map +1 -0
  214. package/cjs-bundle/componentsV2/UniversalLink/UniversalLink.js +1 -1
  215. package/cjs-bundle/componentsV2/WellArchivedMessage/WellArchivedMessage.js +1 -1
  216. package/cjs-bundle/componentsV2/index.js +1 -1
  217. package/cjs-bundle/effects/useGlobalOffsetWellsSync.js +1 -1
  218. package/cjs-bundle/effects/useGlobalOffsetWellsSync.js.map +1 -1
  219. package/cjs-bundle/testing/AppTestWrapper/AppTestWrapper.js +1 -1
  220. package/cjs-bundle/utils/devcenter.js +1 -1
  221. package/cjs-bundle/utils/devcenter.js.map +1 -1
  222. package/components/AddComment/Popover.js +1 -1
  223. package/components/AddComment/Popover.js.map +1 -1
  224. package/components/AddComment/components/Content.js +1 -1
  225. package/components/AddComment/components/Content.js.map +1 -1
  226. package/components/AppIcon/assets/CompletionAppIcon.d.ts.map +1 -1
  227. package/components/AppIcon/assets/CompletionAppIcon.js +1 -1
  228. package/components/AppIcon/assets/CompletionAppIconBe.d.ts.map +1 -1
  229. package/components/AppIcon/assets/CompletionAppIconBe.js +1 -1
  230. package/components/AppIcon/assets/DrillingAppIcon.d.ts.map +1 -1
  231. package/components/AppIcon/assets/DrillingAppIcon.js +1 -1
  232. package/components/AppIcon/assets/DrillingAppIconBe.d.ts.map +1 -1
  233. package/components/AppIcon/assets/DrillingAppIconBe.js +1 -1
  234. package/components/AppIcon/assets/InterventionAppIcon.d.ts +4 -0
  235. package/components/AppIcon/assets/InterventionAppIcon.d.ts.map +1 -0
  236. package/components/AppIcon/assets/InterventionAppIcon.js +2 -0
  237. package/components/AppIcon/assets/InterventionAppIcon.js.map +1 -0
  238. package/components/AppIcon/assets/NoSegmentAppIcon.d.ts.map +1 -1
  239. package/components/AppIcon/assets/NoSegmentAppIcon.js +1 -1
  240. package/components/AppIcon/assets/NoSegmentAppIconBeIdle.d.ts.map +1 -1
  241. package/components/AppIcon/assets/NoSegmentAppIconBeIdle.js +1 -1
  242. package/components/AppIcon/utils.d.ts.map +1 -1
  243. package/components/AppIcon/utils.js +1 -1
  244. package/components/AppIcon/utils.js.map +1 -1
  245. package/components/AssetNameLabel/AssetNameLabel.js +1 -1
  246. package/components/Attachment/index.js +1 -1
  247. package/components/Attachment/index.js.map +1 -1
  248. package/components/BICOffsetPickerDialog/components/WellSection/AutoCompleteAssetSearch/AutoCompleteAssetSearch.d.ts +12 -2
  249. package/components/BICOffsetPickerDialog/components/WellSection/AutoCompleteAssetSearch/AutoCompleteAssetSearch.d.ts.map +1 -1
  250. package/components/BICOffsetPickerDialog/components/WellSection/AutoCompleteAssetSearch/AutoCompleteAssetSearch.js +1 -1
  251. package/components/BICOffsetPickerDialog/components/WellSection/AutoCompleteAssetSearch/AutoCompleteAssetSearch.js.map +1 -1
  252. package/components/BICOffsetPickerDialog/index.js +1 -1
  253. package/components/BICOffsetPickerDialog/index.js.map +1 -1
  254. package/components/Breadcrumbs/index.js +1 -1
  255. package/components/Casing/CasingTableV2/components/CasingJoints/Editor.js +1 -1
  256. package/components/Casing/CasingTableV2/components/CasingJoints/Editor.js.map +1 -1
  257. package/components/Casing/CasingTableV2/components/Component.js +1 -1
  258. package/components/Casing/CasingTableV2/components/Component.js.map +1 -1
  259. package/components/Casing/CasingTableV2/components/DrillPipe/Editor.js +1 -1
  260. package/components/Casing/CasingTableV2/components/DrillPipe/Editor.js.map +1 -1
  261. package/components/CollapsableSidebar.js +1 -1
  262. package/components/CollapsableSidebar.js.map +1 -1
  263. package/components/DevCenter/DevCenterAppContainer/DevCenterAppContainer.js +1 -1
  264. package/components/DevCenter/DevCenterAppContainer/DevCenterAppContainer.js.map +1 -1
  265. package/components/DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchButton.js +1 -1
  266. package/components/DevCenter/DevCenterAppContainer/components/NonPriorityMenus/NonPriorityMenus.js +1 -1
  267. package/components/DevCenter/DevCenterAppContainer/components/PriorityMenus/PriorityMenus.js +1 -1
  268. package/components/DevCenter/DevCenterAppContainer/components/PriorityMenus/PriorityMenus.js.map +1 -1
  269. package/components/DevCenter/DevCenterRouterContext/UniversalLink/UniversalLink.js +1 -1
  270. package/components/DevCenter/DevCenterRouterContext/UniversalLink/UniversalLink.js.map +1 -1
  271. package/components/DevCenter/DevCenterRouterContext/hocs/__tests__/withUniversalLocationHOC.test.d.ts +2 -0
  272. package/components/DevCenter/DevCenterRouterContext/hocs/__tests__/withUniversalLocationHOC.test.d.ts.map +1 -0
  273. package/components/DevCenter/DevCenterRouterContext/hocs/withUniversalLocationHOC.d.ts.map +1 -1
  274. package/components/DevCenter/DevCenterRouterContext/hocs/withUniversalLocationHOC.js +1 -1
  275. package/components/DevCenter/DevCenterRouterContext/hocs/withUniversalLocationHOC.js.map +1 -1
  276. package/components/DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedApp.d.ts.map +1 -1
  277. package/components/DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedApp.js +1 -1
  278. package/components/DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedApp.js.map +1 -1
  279. package/components/DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedAppPage.d.ts.map +1 -1
  280. package/components/DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedAppPage.js +1 -1
  281. package/components/DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedAppPage.js.map +1 -1
  282. package/components/DocumentViewer/DocumentViewer.js +1 -1
  283. package/components/DocumentViewer/DocumentViewer.js.map +1 -1
  284. package/components/Drillstring/BHAComponentsTable/components/Agitator/Editor.js +1 -1
  285. package/components/Drillstring/BHAComponentsTable/components/Agitator/Editor.js.map +1 -1
  286. package/components/Drillstring/BHAComponentsTable/components/Bit/Editor.js +1 -1
  287. package/components/Drillstring/BHAComponentsTable/components/Bit/Editor.js.map +1 -1
  288. package/components/Drillstring/BHAComponentsTable/components/Component.js +1 -1
  289. package/components/Drillstring/BHAComponentsTable/components/Component.js.map +1 -1
  290. package/components/Drillstring/BHAComponentsTable/components/DrillCollar/Editor.js +1 -1
  291. package/components/Drillstring/BHAComponentsTable/components/DrillCollar/Editor.js.map +1 -1
  292. package/components/Drillstring/BHAComponentsTable/components/DrillPipe/Editor.js +1 -1
  293. package/components/Drillstring/BHAComponentsTable/components/DrillPipe/Editor.js.map +1 -1
  294. package/components/Drillstring/BHAComponentsTable/components/Jar/Editor.js +1 -1
  295. package/components/Drillstring/BHAComponentsTable/components/Jar/Editor.js.map +1 -1
  296. package/components/Drillstring/BHAComponentsTable/components/Lwd/Editor.js +1 -1
  297. package/components/Drillstring/BHAComponentsTable/components/Lwd/Editor.js.map +1 -1
  298. package/components/Drillstring/BHAComponentsTable/components/Mwd/Editor.js +1 -1
  299. package/components/Drillstring/BHAComponentsTable/components/Mwd/Editor.js.map +1 -1
  300. package/components/Drillstring/BHAComponentsTable/components/Pdm/Editor.js +1 -1
  301. package/components/Drillstring/BHAComponentsTable/components/Pdm/Editor.js.map +1 -1
  302. package/components/Drillstring/BHAComponentsTable/components/Rss/Editor.js +1 -1
  303. package/components/Drillstring/BHAComponentsTable/components/Rss/Editor.js.map +1 -1
  304. package/components/Drillstring/BHAComponentsTable/components/Stabilizer/Editor.js +1 -1
  305. package/components/Drillstring/BHAComponentsTable/components/Stabilizer/Editor.js.map +1 -1
  306. package/components/Drillstring/BHAComponentsTable/components/Sub/Editor.js +1 -1
  307. package/components/Drillstring/BHAComponentsTable/components/Sub/Editor.js.map +1 -1
  308. package/components/Drillstring/BHAComponentsTable/components/Ur/Editor.js +1 -1
  309. package/components/Drillstring/BHAComponentsTable/components/Ur/Editor.js.map +1 -1
  310. package/components/Drillstring/BHAComponentsTable/components/shared/ConfirmationPopup.js +1 -1
  311. package/components/Drillstring/BHAComponentsTable/components/shared/ConfirmationPopup.js.map +1 -1
  312. package/components/Drillstring/DrillstringDetail/DrillstringDetail.d.ts +8 -4
  313. package/components/Drillstring/DrillstringDetail/DrillstringDetail.d.ts.map +1 -1
  314. package/components/Drillstring/DrillstringDetail/DrillstringDetail.js +1 -1
  315. package/components/Drillstring/DrillstringDetail/DrillstringDetail.js.map +1 -1
  316. package/components/FeedItem/FeedItem.js +1 -1
  317. package/components/FeedItem/FeedItem.js.map +1 -1
  318. package/components/FeedItem/components/FeedComments.js +1 -1
  319. package/components/FeedItem/components/FeedComments.js.map +1 -1
  320. package/components/FeedItem/feedItemTypes/AlertFeedItem.js +1 -1
  321. package/components/FeedItem/feedItemTypes/AlertFeedItem.js.map +1 -1
  322. package/components/FeedItem/feedItemTypes/BhaFeedItem/components/BhaSchematic.d.ts +1 -1
  323. package/components/FeedItem/feedItemTypes/BhaFeedItem/components/BhaSchematic.js +1 -1
  324. package/components/FeedItem/feedItemTypes/BhaFeedItem/components/BhaSchematic.js.map +1 -1
  325. package/components/FeedItem/feedItemTypes/BhaFeedItem/components/Info.js +1 -1
  326. package/components/FeedItem/feedItemTypes/BhaFeedItem/components/Info.js.map +1 -1
  327. package/components/FeedItem/feedItemTypes/FluidReportFeedItem.js +1 -1
  328. package/components/FeedItem/feedItemTypes/FluidReportFeedItem.js.map +1 -1
  329. package/components/FileUploadIconButton.d.ts +3 -1
  330. package/components/FileUploadIconButton.d.ts.map +1 -1
  331. package/components/FileUploadIconButton.js +1 -1
  332. package/components/FileUploadIconButton.js.map +1 -1
  333. package/components/ImageViewer/index.js +1 -1
  334. package/components/ImageViewer/index.js.map +1 -1
  335. package/components/OffsetWellPickerV2/OffsetWellPickerDialog.js +1 -1
  336. package/components/OffsetWellPickerV2/OffsetWellPickerDialog.js.map +1 -1
  337. package/components/OffsetWellPickerV2/components/Filter/NonEngineeredWellsSwitch.d.ts +1 -1
  338. package/components/OffsetWellPickerV2/components/Filter/ToggleMapButton.js +1 -1
  339. package/components/OffsetWellPickerV2/components/Filter/ToggleMapButton.js.map +1 -1
  340. package/components/OffsetWellPickerV2/components/Table/MetricsAddMenu.js +1 -1
  341. package/components/OffsetWellPickerV2/components/Table/MetricsAddMenu.js.map +1 -1
  342. package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/AutoCompleteAssetSearch/AutoCompleteAssetSearch.d.ts +16 -2
  343. package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/AutoCompleteAssetSearch/AutoCompleteAssetSearch.d.ts.map +1 -1
  344. package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/AutoCompleteAssetSearch/AutoCompleteAssetSearch.js +1 -1
  345. package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/AutoCompleteAssetSearch/AutoCompleteAssetSearch.js.map +1 -1
  346. package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/MetricsAddMenu.js +1 -1
  347. package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/MetricsAddMenu.js.map +1 -1
  348. package/components/OffsetWellPickerV3/components/CustomSelectionView/index.js +1 -1
  349. package/components/OffsetWellPickerV3/components/CustomSelectionView/index.js.map +1 -1
  350. package/components/OffsetWellPickerV3/components/OffsetWellSelectionView/index.js +1 -1
  351. package/components/OffsetWellPickerV3/components/OffsetWellSelectionView/index.js.map +1 -1
  352. package/components/OffsetWellPickerV3/components/TabSelection/ToggleMapButton.js +1 -1
  353. package/components/OffsetWellPickerV3/components/TabSelection/ToggleMapButton.js.map +1 -1
  354. package/components/OffsetWellPickerV3/components/TabSelection/index.js +1 -1
  355. package/components/OffsetWellPickerV3/components/TabSelection/index.js.map +1 -1
  356. package/components/OffsetWellPickerV3/components/WellHubView/index.js +1 -1
  357. package/components/OffsetWellPickerV3/components/WellHubView/index.js.map +1 -1
  358. package/components/OffsetWellPickerV3/components/shared/OffsetWellTableHead.js +1 -1
  359. package/components/OffsetWellPickerV3/components/shared/OffsetWellTableHead.js.map +1 -1
  360. package/components/OffsetWellPickerV3/utils/apiCalls.js +1 -1
  361. package/components/OffsetWellPickerV5/api/shared/constants.d.ts.map +1 -1
  362. package/components/OffsetWellPickerV5/api/shared/constants.js +1 -1
  363. package/components/OffsetWellPickerV5/api/shared/transformers/transformAssetToOffsetWell.d.ts.map +1 -1
  364. package/components/OffsetWellPickerV5/api/shared/transformers/transformAssetToOffsetWell.js +1 -1
  365. package/components/OffsetWellPickerV5/api/shared/types.d.ts +1 -0
  366. package/components/OffsetWellPickerV5/api/shared/types.d.ts.map +1 -1
  367. package/components/OffsetWellPickerV5/components/AppHeader/components/HeaderActions/HeaderActions.js +1 -1
  368. package/components/OffsetWellPickerV5/components/AppHeader/components/LoadAllWellsToggle/LoadAllWellsToggle.js +1 -1
  369. package/components/OffsetWellPickerV5/components/Filter/Filter.d.ts.map +1 -1
  370. package/components/OffsetWellPickerV5/components/Filter/Filter.js +1 -1
  371. package/components/OffsetWellPickerV5/components/Filter/components/CustomDateFields/CustomDateFields.js +1 -1
  372. package/components/OffsetWellPickerV5/components/Filter/components/MultiFilterSelect/MultiFilterSelect.d.ts.map +1 -1
  373. package/components/OffsetWellPickerV5/components/Filter/components/MultiFilterSelect/MultiFilterSelect.js +1 -1
  374. package/components/OffsetWellPickerV5/components/Filter/components/PeriodFilterSelect/PeriodFilterSelect.js +1 -1
  375. package/components/OffsetWellPickerV5/components/Filter/components/SingleFilterSelect/SingleFilterSelect.js +1 -1
  376. package/components/OffsetWellPickerV5/components/Filter/components/StatusFilterSelect/StatusFilterSelect.d.ts.map +1 -1
  377. package/components/OffsetWellPickerV5/components/Filter/components/StatusFilterSelect/StatusFilterSelect.js +1 -1
  378. package/components/OffsetWellPickerV5/components/Filter/hooks/__tests__/useMultiSelectDraftValue.test.d.ts +2 -0
  379. package/components/OffsetWellPickerV5/components/Filter/hooks/__tests__/useMultiSelectDraftValue.test.d.ts.map +1 -0
  380. package/components/OffsetWellPickerV5/components/Filter/hooks/useMultiSelectDraftValue.d.ts +20 -0
  381. package/components/OffsetWellPickerV5/components/Filter/hooks/useMultiSelectDraftValue.d.ts.map +1 -0
  382. package/components/OffsetWellPickerV5/components/Filter/hooks/useMultiSelectDraftValue.js +2 -0
  383. package/components/OffsetWellPickerV5/components/Filter/hooks/useMultiSelectDraftValue.js.map +1 -0
  384. package/components/OffsetWellPickerV5/components/Filter/useFilterHandlers.js +1 -1
  385. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/ClusterTooltip/ClusterTooltip.js +1 -1
  386. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/LayerSwitcher/LayerSwitcher.js +1 -1
  387. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapControls/MapControls.js +1 -1
  388. package/components/OffsetWellPickerV5/components/OffsetWellPickerContent/OffsetWellPickerContent.js +1 -1
  389. package/components/OffsetWellPickerV5/components/OffsetWellPickerV5WithStore/components/CompanySafeguardWrapper/CompanySafeguardWrapper.js +1 -1
  390. package/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/components/AssetResultSection/AssetResultSection.js +1 -1
  391. package/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/hooks/useAssetsData.utils.d.ts.map +1 -1
  392. package/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/hooks/useAssetsData.utils.js +1 -1
  393. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/MetricsSettingMenu/MetricsSettingMenu.js +1 -1
  394. package/components/OffsetWellPickerV5/components/PickerModalActions/PickerModalActions.js +1 -1
  395. package/components/OffsetWellPickerV5/constants.d.ts +1 -0
  396. package/components/OffsetWellPickerV5/constants.d.ts.map +1 -1
  397. package/components/OffsetWellPickerV5/constants.js +1 -1
  398. package/components/OffsetWellPickerV5/hooks/use-well-data-pipeline/useWellDataPipeline.js +1 -1
  399. package/components/OffsetWellPickerV5/stores/filter-store/FilterStoreProvider.d.ts.map +1 -1
  400. package/components/OffsetWellPickerV5/stores/filter-store/FilterStoreProvider.js +1 -1
  401. package/components/OffsetWellPickerV5/stores/filter-store/types.d.ts +1 -0
  402. package/components/OffsetWellPickerV5/stores/filter-store/types.d.ts.map +1 -1
  403. package/components/OffsetWellPickerV5/stores/filter-store/utils/computeCascadedOptions.d.ts.map +1 -1
  404. package/components/OffsetWellPickerV5/stores/filter-store/utils/computeCascadedOptions.js +1 -1
  405. package/components/OffsetWellPickerV5/stores/filter-store/utils/createFilterCrudActions.d.ts.map +1 -1
  406. package/components/OffsetWellPickerV5/stores/filter-store/utils/createFilterCrudActions.js +1 -1
  407. package/components/OffsetWellPickerV5/utils/doesWellPassFilters.d.ts +2 -0
  408. package/components/OffsetWellPickerV5/utils/doesWellPassFilters.d.ts.map +1 -1
  409. package/components/OffsetWellPickerV5/utils/doesWellPassFilters.js +1 -1
  410. package/components/PadOffsetsPicker/StagesSelector.js +1 -1
  411. package/components/PadOffsetsPicker/StagesSelector.js.map +1 -1
  412. package/components/PadOffsetsPickerV2/PadOffsetsPickerV2.js +1 -1
  413. package/components/Popover/Popover.js +1 -1
  414. package/components/Popper/Popper.js +1 -1
  415. package/components/RealTimeValuesSidebar/SidebarFooter.js +1 -1
  416. package/components/UserCard/index.js +1 -1
  417. package/components/UserCard/index.js.map +1 -1
  418. package/components/UserMention/index.js +1 -1
  419. package/components/UserMention/index.js.map +1 -1
  420. package/components/UserMention/utils/index.js +1 -1
  421. package/components/UserMention/utils/index.js.map +1 -1
  422. package/componentsV2/Accordion/Accordion.scss.js +1 -1
  423. package/componentsV2/Accordion/Accordion.stories.d.ts +15 -0
  424. package/componentsV2/Accordion/Accordion.stories.d.ts.map +1 -0
  425. package/componentsV2/AppContainer/AppContainer.stories.d.ts +10 -0
  426. package/componentsV2/AppContainer/AppContainer.stories.d.ts.map +1 -0
  427. package/componentsV2/AppFooter/AppFooter.stories.d.ts +11 -0
  428. package/componentsV2/AppFooter/AppFooter.stories.d.ts.map +1 -0
  429. package/componentsV2/AppFooter/DqPopover/DqPopover.js +1 -1
  430. package/componentsV2/AppHeader/AppAssets/AppAssets.js +1 -1
  431. package/componentsV2/AppHeader/AppHeader.stories.d.ts +16 -0
  432. package/componentsV2/AppHeader/AppHeader.stories.d.ts.map +1 -0
  433. package/componentsV2/AppHeader/V3/Actions/Actions.js +1 -1
  434. package/componentsV2/AppHeader/V3/AppHeaderV3.stories.d.ts +22 -0
  435. package/componentsV2/AppHeader/V3/AppHeaderV3.stories.d.ts.map +1 -0
  436. package/componentsV2/AppHeader/V3/VersionSelect/VersionSelect.js +1 -1
  437. package/componentsV2/AppSettingsDivider/AppSettingsDivider.stories.d.ts +8 -0
  438. package/componentsV2/AppSettingsDivider/AppSettingsDivider.stories.d.ts.map +1 -0
  439. package/componentsV2/Autocomplete/Autocomplete.d.ts +41 -7
  440. package/componentsV2/Autocomplete/Autocomplete.d.ts.map +1 -1
  441. package/componentsV2/Autocomplete/Autocomplete.js +1 -1
  442. package/componentsV2/Autocomplete/Autocomplete.scss.js +1 -1
  443. package/componentsV2/Autocomplete/Autocomplete.stories.d.ts +29 -0
  444. package/componentsV2/Autocomplete/Autocomplete.stories.d.ts.map +1 -0
  445. package/componentsV2/Autocomplete/AutocompleteInput/AutocompleteInput.d.ts +10 -0
  446. package/componentsV2/Autocomplete/AutocompleteInput/AutocompleteInput.d.ts.map +1 -0
  447. package/componentsV2/Autocomplete/AutocompleteInput/AutocompleteInput.js +2 -0
  448. package/componentsV2/Autocomplete/AutocompleteInput/index.d.ts +2 -0
  449. package/componentsV2/Autocomplete/AutocompleteInput/index.d.ts.map +1 -0
  450. package/componentsV2/Autocomplete/AutocompleteNext.stories.d.ts +29 -0
  451. package/componentsV2/Autocomplete/AutocompleteNext.stories.d.ts.map +1 -0
  452. package/componentsV2/Autocomplete/utils.d.ts +5 -2
  453. package/componentsV2/Autocomplete/utils.d.ts.map +1 -1
  454. package/componentsV2/Autocomplete/utils.js +1 -1
  455. package/componentsV2/Avatar/Avatar.stories.d.ts +11 -0
  456. package/componentsV2/Avatar/Avatar.stories.d.ts.map +1 -0
  457. package/componentsV2/AvatarGroup/AvatarGroup.stories.d.ts +10 -0
  458. package/componentsV2/AvatarGroup/AvatarGroup.stories.d.ts.map +1 -0
  459. package/componentsV2/BadgeComment/BadgeComment.stories.d.ts +8 -0
  460. package/componentsV2/BadgeComment/BadgeComment.stories.d.ts.map +1 -0
  461. package/componentsV2/BadgeCounter/BadgeCounter.stories.d.ts +10 -0
  462. package/componentsV2/BadgeCounter/BadgeCounter.stories.d.ts.map +1 -0
  463. package/componentsV2/BadgeDot/BadgeDot.stories.d.ts +10 -0
  464. package/componentsV2/BadgeDot/BadgeDot.stories.d.ts.map +1 -0
  465. package/componentsV2/Breadcrumbs/Breadcrumbs.stories.d.ts +8 -0
  466. package/componentsV2/Breadcrumbs/Breadcrumbs.stories.d.ts.map +1 -0
  467. package/componentsV2/Button/Button.stories.d.ts +13 -0
  468. package/componentsV2/Button/Button.stories.d.ts.map +1 -0
  469. package/componentsV2/ButtonIcon/ButtonIcon.stories.d.ts +10 -0
  470. package/componentsV2/ButtonIcon/ButtonIcon.stories.d.ts.map +1 -0
  471. package/componentsV2/ButtonLive/ButtonLive.stories.d.ts +11 -0
  472. package/componentsV2/ButtonLive/ButtonLive.stories.d.ts.map +1 -0
  473. package/componentsV2/ButtonText/ButtonText.stories.d.ts +11 -0
  474. package/componentsV2/ButtonText/ButtonText.stories.d.ts.map +1 -0
  475. package/componentsV2/Checkbox/Checkbox.stories.d.ts +12 -0
  476. package/componentsV2/Checkbox/Checkbox.stories.d.ts.map +1 -0
  477. package/componentsV2/CheckboxGroup/CheckboxGroup.stories.d.ts +12 -0
  478. package/componentsV2/CheckboxGroup/CheckboxGroup.stories.d.ts.map +1 -0
  479. package/componentsV2/Chip/Chip.stories.d.ts +16 -0
  480. package/componentsV2/Chip/Chip.stories.d.ts.map +1 -0
  481. package/componentsV2/ChipAlert/ChipAlert.stories.d.ts +10 -0
  482. package/componentsV2/ChipAlert/ChipAlert.stories.d.ts.map +1 -0
  483. package/componentsV2/ChipIndicator/ChipIndicator.stories.d.ts +11 -0
  484. package/componentsV2/ChipIndicator/ChipIndicator.stories.d.ts.map +1 -0
  485. package/componentsV2/ColorPicker/ColorPicker.d.ts +29 -0
  486. package/componentsV2/ColorPicker/ColorPicker.d.ts.map +1 -0
  487. package/componentsV2/ColorPicker/ColorPicker.js +2 -0
  488. package/componentsV2/ColorPicker/ColorPicker.js.map +1 -0
  489. package/componentsV2/ColorPicker/ColorPicker.scss.js +2 -0
  490. package/componentsV2/ColorPicker/ColorPicker.scss.js.map +1 -0
  491. package/componentsV2/ColorPicker/ColorPicker.stories.d.ts +13 -0
  492. package/componentsV2/ColorPicker/ColorPicker.stories.d.ts.map +1 -0
  493. package/componentsV2/ColorPicker/OpacityDragtracker/OpacityDragTracker.scss.js +2 -0
  494. package/componentsV2/ColorPicker/OpacityDragtracker/OpacityDragTracker.scss.js.map +1 -0
  495. package/componentsV2/ColorPicker/OpacityDragtracker/OpacityDragtracker.d.ts +6 -0
  496. package/componentsV2/ColorPicker/OpacityDragtracker/OpacityDragtracker.d.ts.map +1 -0
  497. package/componentsV2/ColorPicker/OpacityDragtracker/OpacityDragtracker.js +2 -0
  498. package/componentsV2/ColorPicker/OpacityDragtracker/OpacityDragtracker.js.map +1 -0
  499. package/componentsV2/ColorPicker/OpacityDragtracker/index.d.ts +2 -0
  500. package/componentsV2/ColorPicker/OpacityDragtracker/index.d.ts.map +1 -0
  501. package/componentsV2/ColorPicker/Swatches/Swatches.d.ts +11 -0
  502. package/componentsV2/ColorPicker/Swatches/Swatches.d.ts.map +1 -0
  503. package/componentsV2/ColorPicker/Swatches/Swatches.js +2 -0
  504. package/componentsV2/ColorPicker/Swatches/Swatches.js.map +1 -0
  505. package/componentsV2/ColorPicker/Swatches/Swatches.scss.js +2 -0
  506. package/componentsV2/ColorPicker/Swatches/Swatches.scss.js.map +1 -0
  507. package/componentsV2/ColorPicker/Swatches/constants.d.ts +2 -0
  508. package/componentsV2/ColorPicker/Swatches/constants.d.ts.map +1 -0
  509. package/componentsV2/ColorPicker/Swatches/constants.js +2 -0
  510. package/componentsV2/ColorPicker/Swatches/constants.js.map +1 -0
  511. package/componentsV2/ColorPicker/Swatches/index.d.ts +2 -0
  512. package/componentsV2/ColorPicker/Swatches/index.d.ts.map +1 -0
  513. package/componentsV2/ColorPicker/index.d.ts +2 -0
  514. package/componentsV2/ColorPicker/index.d.ts.map +1 -0
  515. package/componentsV2/ColorPicker/utils.d.ts +20 -0
  516. package/componentsV2/ColorPicker/utils.d.ts.map +1 -0
  517. package/componentsV2/ColorPicker/utils.js +2 -0
  518. package/componentsV2/ColorPicker/utils.js.map +1 -0
  519. package/componentsV2/CompletionsOffsetWellPicker/CompletionsOffsetWellPicker.stories.d.ts +10 -0
  520. package/componentsV2/CompletionsOffsetWellPicker/CompletionsOffsetWellPicker.stories.d.ts.map +1 -0
  521. package/componentsV2/CompletionsOffsetWellPicker/Map/Map.js +1 -1
  522. package/componentsV2/CopyToClipboard/CopyToClipboard.stories.d.ts +10 -0
  523. package/componentsV2/CopyToClipboard/CopyToClipboard.stories.d.ts.map +1 -0
  524. package/componentsV2/Counter/Counter.stories.d.ts +13 -0
  525. package/componentsV2/Counter/Counter.stories.d.ts.map +1 -0
  526. package/componentsV2/DatePicker/CalendarControls/CalendarControls.d.ts.map +1 -1
  527. package/componentsV2/DatePicker/CalendarControls/CalendarControls.js +1 -1
  528. package/componentsV2/DatePicker/CalendarControls/CalendarControls.scss.js +1 -1
  529. package/componentsV2/DatePicker/DatePicker.d.ts +18 -2
  530. package/componentsV2/DatePicker/DatePicker.d.ts.map +1 -1
  531. package/componentsV2/DatePicker/DatePicker.js +1 -1
  532. package/componentsV2/DatePicker/DatePicker.stories.d.ts +15 -0
  533. package/componentsV2/DatePicker/DatePicker.stories.d.ts.map +1 -0
  534. package/componentsV2/DatePicker/DatePickerNext.stories.d.ts +17 -0
  535. package/componentsV2/DatePicker/DatePickerNext.stories.d.ts.map +1 -0
  536. package/componentsV2/DatePicker/Input/Input.d.ts +7 -2
  537. package/componentsV2/DatePicker/Input/Input.d.ts.map +1 -1
  538. package/componentsV2/DatePicker/Input/Input.js +1 -1
  539. package/componentsV2/DragHandle/DragHandle.stories.d.ts +9 -0
  540. package/componentsV2/DragHandle/DragHandle.stories.d.ts.map +1 -0
  541. package/componentsV2/EmptyState/EmptyState.stories.d.ts +10 -0
  542. package/componentsV2/EmptyState/EmptyState.stories.d.ts.map +1 -0
  543. package/componentsV2/FileIcon/FileIcon.stories.d.ts +9 -0
  544. package/componentsV2/FileIcon/FileIcon.stories.d.ts.map +1 -0
  545. package/componentsV2/FilesDropzone/FilesDropzone.stories.d.ts +8 -0
  546. package/componentsV2/FilesDropzone/FilesDropzone.stories.d.ts.map +1 -0
  547. package/componentsV2/FilesLoader/FilesLoader.stories.d.ts +12 -0
  548. package/componentsV2/FilesLoader/FilesLoader.stories.d.ts.map +1 -0
  549. package/componentsV2/FilesProcessor/FilesProcessor.stories.d.ts +10 -0
  550. package/componentsV2/FilesProcessor/FilesProcessor.stories.d.ts.map +1 -0
  551. package/componentsV2/Grid/Grid.stories.d.ts +13 -0
  552. package/componentsV2/Grid/Grid.stories.d.ts.map +1 -0
  553. package/componentsV2/Header/Header.stories.d.ts +8 -0
  554. package/componentsV2/Header/Header.stories.d.ts.map +1 -0
  555. package/componentsV2/Hint/Hint.stories.d.ts +11 -0
  556. package/componentsV2/Hint/Hint.stories.d.ts.map +1 -0
  557. package/componentsV2/IndicatorLive/IndicatorLive.stories.d.ts +12 -0
  558. package/componentsV2/IndicatorLive/IndicatorLive.stories.d.ts.map +1 -0
  559. package/componentsV2/Label/Label.stories.d.ts +14 -0
  560. package/componentsV2/Label/Label.stories.d.ts.map +1 -0
  561. package/componentsV2/LoaderCircular/LoaderCircular.stories.d.ts +10 -0
  562. package/componentsV2/LoaderCircular/LoaderCircular.stories.d.ts.map +1 -0
  563. package/componentsV2/LoaderLinear/LoaderLinear.stories.d.ts +11 -0
  564. package/componentsV2/LoaderLinear/LoaderLinear.stories.d.ts.map +1 -0
  565. package/componentsV2/LoaderLogo/LoaderLogo.stories.d.ts +9 -0
  566. package/componentsV2/LoaderLogo/LoaderLogo.stories.d.ts.map +1 -0
  567. package/componentsV2/Menu/Menu.stories.d.ts +18 -0
  568. package/componentsV2/Menu/Menu.stories.d.ts.map +1 -0
  569. package/componentsV2/Modal/Modal.stories.d.ts +14 -0
  570. package/componentsV2/Modal/Modal.stories.d.ts.map +1 -0
  571. package/componentsV2/ModalWindow/ModalWindow.stories.d.ts +8 -0
  572. package/componentsV2/ModalWindow/ModalWindow.stories.d.ts.map +1 -0
  573. package/componentsV2/OffsetWellsButton/OffsetWellsButton.d.ts +2 -2
  574. package/componentsV2/OffsetWellsButton/OffsetWellsButton.d.ts.map +1 -1
  575. package/componentsV2/OffsetWellsButton/OffsetWellsButton.js +1 -1
  576. package/componentsV2/OffsetWellsButton/OffsetWellsButton.stories.d.ts +14 -0
  577. package/componentsV2/OffsetWellsButton/OffsetWellsButton.stories.d.ts.map +1 -0
  578. package/componentsV2/PadModeSelect/PadModeSelect.js +1 -1
  579. package/componentsV2/PadModeSelect/PadModeSelect.stories.d.ts +8 -0
  580. package/componentsV2/PadModeSelect/PadModeSelect.stories.d.ts.map +1 -0
  581. package/componentsV2/Paper/Paper.stories.d.ts +9 -0
  582. package/componentsV2/Paper/Paper.stories.d.ts.map +1 -0
  583. package/componentsV2/Popover/Popover.stories.d.ts +12 -0
  584. package/componentsV2/Popover/Popover.stories.d.ts.map +1 -0
  585. package/componentsV2/Popper/Popper.stories.d.ts +8 -0
  586. package/componentsV2/Popper/Popper.stories.d.ts.map +1 -0
  587. package/componentsV2/Radio/Radio.stories.d.ts +11 -0
  588. package/componentsV2/Radio/Radio.stories.d.ts.map +1 -0
  589. package/componentsV2/RadioGroup/RadioGroup.stories.d.ts +12 -0
  590. package/componentsV2/RadioGroup/RadioGroup.stories.d.ts.map +1 -0
  591. package/componentsV2/Skeleton/Skeleton.stories.d.ts +11 -0
  592. package/componentsV2/Skeleton/Skeleton.stories.d.ts.map +1 -0
  593. package/componentsV2/Slider/Slider.stories.d.ts +15 -0
  594. package/componentsV2/Slider/Slider.stories.d.ts.map +1 -0
  595. package/componentsV2/Stepper/Stepper.stories.d.ts +14 -0
  596. package/componentsV2/Stepper/Stepper.stories.d.ts.map +1 -0
  597. package/componentsV2/Switch/Switch.stories.d.ts +12 -0
  598. package/componentsV2/Switch/Switch.stories.d.ts.map +1 -0
  599. package/componentsV2/Tabs/Tabs.stories.d.ts +14 -0
  600. package/componentsV2/Tabs/Tabs.stories.d.ts.map +1 -0
  601. package/componentsV2/Tag/Tag.stories.d.ts +12 -0
  602. package/componentsV2/Tag/Tag.stories.d.ts.map +1 -0
  603. package/componentsV2/TemplatesControl/PublishModal/PublishModal.js +1 -1
  604. package/componentsV2/TemplatesControl/ShareModal/ShareModal.js +1 -1
  605. package/componentsV2/TemplatesControl/TemplatesControl.stories.d.ts +19 -0
  606. package/componentsV2/TemplatesControl/TemplatesControl.stories.d.ts.map +1 -0
  607. package/componentsV2/TemplatesControl/Toggle/Toggle.js +1 -1
  608. package/componentsV2/Text/Text.stories.d.ts +11 -0
  609. package/componentsV2/Text/Text.stories.d.ts.map +1 -0
  610. package/componentsV2/TextEndTruncated/TextEndTruncated.stories.d.ts +11 -0
  611. package/componentsV2/TextEndTruncated/TextEndTruncated.stories.d.ts.map +1 -0
  612. package/componentsV2/TextInput/TextInput.d.ts +3 -0
  613. package/componentsV2/TextInput/TextInput.d.ts.map +1 -1
  614. package/componentsV2/TextInput/TextInput.stories.d.ts +16 -0
  615. package/componentsV2/TextInput/TextInput.stories.d.ts.map +1 -0
  616. package/componentsV2/TextInputNext/TextInputNext.constants.d.ts +11 -0
  617. package/componentsV2/TextInputNext/TextInputNext.constants.d.ts.map +1 -0
  618. package/componentsV2/TextInputNext/TextInputNext.constants.js +2 -0
  619. package/componentsV2/TextInputNext/TextInputNext.constants.js.map +1 -0
  620. package/componentsV2/TextInputNext/TextInputNext.d.ts +82 -0
  621. package/componentsV2/TextInputNext/TextInputNext.d.ts.map +1 -0
  622. package/componentsV2/TextInputNext/TextInputNext.js +2 -0
  623. package/componentsV2/TextInputNext/TextInputNext.js.map +1 -0
  624. package/componentsV2/TextInputNext/TextInputNext.scss.js +2 -0
  625. package/componentsV2/TextInputNext/TextInputNext.scss.js.map +1 -0
  626. package/componentsV2/TextInputNext/TextInputNext.stories.d.ts +20 -0
  627. package/componentsV2/TextInputNext/TextInputNext.stories.d.ts.map +1 -0
  628. package/componentsV2/TextInputNext/components/InfoIcon.d.ts +7 -0
  629. package/componentsV2/TextInputNext/components/InfoIcon.d.ts.map +1 -0
  630. package/componentsV2/TextInputNext/components/InfoIcon.js +2 -0
  631. package/componentsV2/TextInputNext/components/InfoIcon.js.map +1 -0
  632. package/componentsV2/TextInputNext/components/Label.d.ts +9 -0
  633. package/componentsV2/TextInputNext/components/Label.d.ts.map +1 -0
  634. package/componentsV2/TextInputNext/components/Label.js +2 -0
  635. package/componentsV2/TextInputNext/components/Label.js.map +1 -0
  636. package/componentsV2/TextInputNext/components/MessageWithIcon.d.ts +5 -0
  637. package/componentsV2/TextInputNext/components/MessageWithIcon.d.ts.map +1 -0
  638. package/componentsV2/TextInputNext/components/MessageWithIcon.js +2 -0
  639. package/componentsV2/TextInputNext/components/MessageWithIcon.js.map +1 -0
  640. package/componentsV2/TextInputNext/components/RequiredIndicator.d.ts +2 -0
  641. package/componentsV2/TextInputNext/components/RequiredIndicator.d.ts.map +1 -0
  642. package/componentsV2/TextInputNext/components/RequiredIndicator.js +2 -0
  643. package/componentsV2/TextInputNext/components/RequiredIndicator.js.map +1 -0
  644. package/componentsV2/TextInputNext/components/Styles.scss.js +2 -0
  645. package/componentsV2/TextInputNext/components/Styles.scss.js.map +1 -0
  646. package/componentsV2/TextInputNext/components/Unit.d.ts +6 -0
  647. package/componentsV2/TextInputNext/components/Unit.d.ts.map +1 -0
  648. package/componentsV2/TextInputNext/components/Unit.js +2 -0
  649. package/componentsV2/TextInputNext/components/Unit.js.map +1 -0
  650. package/componentsV2/TextInputNext/components/index.d.ts +6 -0
  651. package/componentsV2/TextInputNext/components/index.d.ts.map +1 -0
  652. package/componentsV2/TextInputNext/index.d.ts +2 -0
  653. package/componentsV2/TextInputNext/index.d.ts.map +1 -0
  654. package/componentsV2/TextLink/TextLink.stories.d.ts +11 -0
  655. package/componentsV2/TextLink/TextLink.stories.d.ts.map +1 -0
  656. package/componentsV2/TextMiddleTruncated/TextMiddleTruncated.stories.d.ts +10 -0
  657. package/componentsV2/TextMiddleTruncated/TextMiddleTruncated.stories.d.ts.map +1 -0
  658. package/componentsV2/ToggleButtons/ToggleButtons.stories.d.ts +13 -0
  659. package/componentsV2/ToggleButtons/ToggleButtons.stories.d.ts.map +1 -0
  660. package/componentsV2/Tooltip/Tooltip.stories.d.ts +12 -0
  661. package/componentsV2/Tooltip/Tooltip.stories.d.ts.map +1 -0
  662. package/componentsV2/UniversalLink/UniversalLink.js +1 -1
  663. package/componentsV2/UniversalLink/UniversalLink.stories.d.ts +8 -0
  664. package/componentsV2/UniversalLink/UniversalLink.stories.d.ts.map +1 -0
  665. package/componentsV2/WellArchivedMessage/WellArchivedMessage.js +1 -1
  666. package/componentsV2/WellArchivedMessage/WellArchivedMessage.stories.d.ts +10 -0
  667. package/componentsV2/WellArchivedMessage/WellArchivedMessage.stories.d.ts.map +1 -0
  668. package/componentsV2/index.d.ts +2 -0
  669. package/componentsV2/index.d.ts.map +1 -1
  670. package/componentsV2/index.js +1 -1
  671. package/effects/useCombineRefs.d.ts +3 -3
  672. package/effects/useCombineRefs.d.ts.map +1 -1
  673. package/effects/useGlobalOffsetWellsSync.js +1 -1
  674. package/effects/useGlobalOffsetWellsSync.js.map +1 -1
  675. package/icons/IconPark.stories.d.ts +6 -0
  676. package/icons/IconPark.stories.d.ts.map +1 -0
  677. package/mcp-server/server.mjs +784 -388
  678. package/mcp-server/server.mjs.map +1 -1
  679. package/package.json +2 -2
  680. package/storyBookHelpers/template/Template.stories.d.ts +8 -0
  681. package/storyBookHelpers/template/Template.stories.d.ts.map +1 -0
  682. package/storyBookHelpers/utils.d.ts +1 -1
  683. package/storyBookHelpers/utils.d.ts.map +1 -1
  684. package/styles/common.scss +21 -0
  685. package/styles/mixins.scss +21 -0
  686. package/testing/AppTestWrapper/AppTestWrapper.js +1 -1
  687. package/tsconfig.tsbuildinfo +1 -1
  688. package/utils/devcenter.d.ts.map +1 -1
  689. package/utils/devcenter.js +1 -1
  690. package/utils/devcenter.js.map +1 -1
  691. package/assets/3f1e09e6e814329ccfc22c5f2fb49320.png +0 -0
  692. package/assets/747c045c9381addbc4c6aecd531ccbff.png +0 -0
  693. package/assets/9f235cc0306a992ec6aecee01ad6956b.png +0 -0
  694. package/assets/cc3725c7d2b2258f38e3e25e49ce0a53.png +0 -0
  695. package/assets/dad8511026615181e47069625c14a00d.png +0 -0
  696. package/cjs-bundle/componentsV2/Autocomplete/AutocompleteInput.js +0 -2
  697. package/componentsV2/Autocomplete/AutocompleteInput.d.ts +0 -8
  698. package/componentsV2/Autocomplete/AutocompleteInput.d.ts.map +0 -1
  699. package/componentsV2/Autocomplete/AutocompleteInput.js +0 -2
  700. /package/cjs-bundle/componentsV2/Autocomplete/{AutocompleteInput.js.map → AutocompleteInput/AutocompleteInput.js.map} +0 -0
  701. /package/componentsV2/Autocomplete/{AutocompleteInput.js.map → AutocompleteInput/AutocompleteInput.js.map} +0 -0
@@ -0,0 +1,2 @@
1
+ import{jsxs as t,jsx as e}from"react/jsx-runtime";function C(C){var o=C.width,r=void 0===o?36:o,i=C.height,l=void 0===i?36:i,a=C.className,s=C["data-testid"];return t("svg",{"data-testid":"".concat(void 0===s?"InterventionAppIcon":s,"_intervention"),width:r,height:l,className:a,viewBox:"0 0 280 280",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[e("path",{d:"M210 0H70C31.3401 0 0 31.3401 0 70V210C0 248.66 31.3401 280 70 280H210C248.66 280 280 248.66 280 210V70C280 31.3401 248.66 0 210 0Z",fill:"url(#paint0_linear_4658_27134)"}),e("path",{opacity:"0.3",d:"M210 0H70C31.3401 0 0 31.3401 0 70V210C0 248.66 31.3401 280 70 280H210C248.66 280 280 248.66 280 210V70C280 31.3401 248.66 0 210 0Z",fill:"url(#paint1_linear_4658_27134)",style:{mixBlendMode:"multiply"}}),e("path",{d:"M140 259C205.722 259 259 205.722 259 140C259 74.2781 205.722 21 140 21C74.2781 21 21 74.2781 21 140C21 205.722 74.2781 259 140 259Z",fill:"url(#paint2_radial_4658_27134)"}),e("path",{d:"M258.976 140.429C258.979 140.284 259 140.145 259 140C259 139.905 258.986 139.813 258.986 139.718H254.386V111.923H255.527C255.473 111.685 255.404 111.45 255.346 111.212H254.386V107.478C254.126 106.565 253.955 105.617 253.675 104.713V111.212H225.88V83.4172H244.703C244.573 83.1754 244.422 82.9473 244.289 82.7063H225.88V57.7632C225.637 57.509 225.415 57.2335 225.169 56.981V82.7063H197.374V54.9114H223.108C222.855 54.6649 222.578 54.4444 222.325 54.2004H197.374V35.7592C197.131 35.6259 196.906 35.4666 196.663 35.3345V54.2004H168.868V26.4055H175.537C174.655 26.1291 173.729 25.9505 172.836 25.6946H168.868V24.6743C168.629 24.6149 168.396 24.5496 168.157 24.4915V25.6946H140.362V21.0184C140.239 21.0179 140.123 21 140 21C139.88 21 139.768 21.0171 139.651 21.0175V25.6946H111.856V24.4872C111.617 24.5449 111.385 24.6111 111.146 24.67V25.6946H107.16C106.268 25.9505 105.345 26.1291 104.46 26.4055H111.146V54.2004H83.3506V35.3273C83.1079 35.4593 82.8823 35.6161 82.6396 35.7498V54.2004H57.6748C57.4185 54.4444 57.1416 54.6649 56.8921 54.9114H82.6396V82.7063H54.8447V56.9643C54.5986 57.2164 54.3765 57.4919 54.1338 57.7466V82.7063H35.7075C35.5742 82.9473 35.4238 83.1754 35.2939 83.4172H54.1338V111.212H26.3389V104.653C26.0586 105.557 25.8877 106.505 25.6279 107.418V111.212H24.6538C24.5923 111.45 24.5273 111.685 24.4692 111.923H25.6279V139.718H21.0137C21.0137 139.813 21 139.905 21 140C21 140.145 21.0205 140.284 21.0205 140.429H25.6279V168.224H24.5068C24.5649 168.462 24.6299 168.697 24.6914 168.935H25.6279V172.582C25.8877 173.495 26.0586 174.444 26.3389 175.347V168.935H54.1338V196.73H35.3657C35.499 196.974 35.6631 197.197 35.7998 197.441H54.1338V222.254C54.3765 222.508 54.5986 222.784 54.8447 223.036V197.441H82.6396V225.236H57.0527C57.3057 225.481 57.5791 225.703 57.8354 225.947H82.6396V244.25C82.8823 244.384 83.1079 244.541 83.3506 244.673V225.947H111.146V253.741H104.966C105.872 254.02 106.818 254.196 107.734 254.452H111.146V255.33C111.385 255.389 111.617 255.455 111.856 255.513V254.452H139.651V258.982C139.768 258.983 139.88 259 140 259C140.123 259 140.239 258.982 140.362 258.982V254.452H168.157V255.509C168.396 255.45 168.629 255.385 168.868 255.326V254.452H172.266C173.178 254.196 174.125 254.02 175.031 253.741H168.868V225.947H196.663V244.665C196.906 244.533 197.131 244.375 197.374 244.241V225.947H222.165C222.417 225.703 222.694 225.481 222.947 225.236H197.374V197.441H225.169V223.019C225.415 222.767 225.637 222.491 225.88 222.237V197.441H244.2C244.333 197.197 244.501 196.974 244.631 196.73H225.88V168.935H253.675V175.288C253.955 174.384 254.126 173.435 254.386 172.522V168.935H255.309C255.367 168.697 255.432 168.462 255.49 168.224H254.386V140.429H258.976ZM54.1338 168.224H26.3389V140.429H54.1338V168.224ZM54.1338 139.718H26.3389V111.923H54.1338V139.718ZM82.6396 196.73H54.8447V168.935H82.6396V196.73ZM82.6396 168.224H54.8447V140.429H82.6396V168.224ZM82.6396 139.718H54.8447V111.923H82.6396V139.718ZM82.6396 111.212H54.8447V83.4172H82.6396V111.212ZM111.146 225.236H83.3506V197.441H111.146V225.236ZM111.146 196.73H83.3506V168.935H111.146V196.73ZM111.146 168.224H83.3506V140.429H111.146V168.224ZM111.146 139.718H83.3506V111.923H111.146V139.718ZM111.146 111.212H83.3506V83.4172H111.146V111.212ZM111.146 82.7063H83.3506V54.9114H111.146V82.7063ZM139.651 253.741H111.856V225.947H139.651V253.741ZM139.651 225.236H111.856V197.441H139.651V225.236ZM139.651 196.73H111.856V168.935H139.651V196.73ZM139.651 168.224H111.856V140.429H139.651V168.224ZM139.651 139.718H111.856V111.923H139.651V139.718ZM139.651 111.212H111.856V83.4172H139.651V111.212ZM139.651 82.7063H111.856V54.9114H139.651V82.7063ZM139.651 54.2004H111.856V26.4055H139.651V54.2004ZM168.157 253.741H140.362V225.947H168.157V253.741ZM168.157 225.236H140.362V197.441H168.157V225.236ZM168.157 196.73H140.362V168.935H168.157V196.73ZM168.157 168.224H140.362V140.429H168.157V168.224ZM168.157 139.718H140.362V111.923H168.157V139.718ZM168.157 111.212H140.362V83.4172H168.157V111.212ZM168.157 82.7063H140.362V54.9114H168.157V82.7063ZM168.157 54.2004H140.362V26.4055H168.157V54.2004ZM196.663 225.236H168.868V197.441H196.663V225.236ZM196.663 196.73H168.868V168.935H196.663V196.73ZM196.663 168.224H168.868V140.429H196.663V168.224ZM196.663 139.718H168.868V111.923H196.663V139.718ZM196.663 111.212H168.868V83.4172H196.663V111.212ZM196.663 82.7063H168.868V54.9114H196.663V82.7063ZM225.169 196.73H197.374V168.935H225.169V196.73ZM225.169 168.224H197.374V140.429H225.169V168.224ZM225.169 139.718H197.374V111.923H225.169V139.718ZM225.169 111.212H197.374V83.4172H225.169V111.212ZM253.675 168.224H225.88V140.429H253.675V168.224ZM253.675 139.718H225.88V111.923H253.675V139.718Z",fill:"url(#paint3_radial_4658_27134)"}),e("mask",{id:"mask0_4658_27134",style:{maskType:"luminance"},maskUnits:"userSpaceOnUse",x:"18",y:"18",width:"244",height:"244",children:e("path",{d:"M261.449 140C261.449 207.06 207.059 261.45 139.998 261.45C72.8691 261.45 18.5508 207.06 18.5508 140C18.5508 72.8704 72.8691 18.5503 139.998 18.5503C207.059 18.5503 261.449 72.8704 261.449 140Z",fill:"white"})}),e("g",{mask:"url(#mask0_4658_27134)",children:e("g",{filter:"url(#filter0_d_4658_27134)",children:e("path",{d:"M140 18.5503C72.8689 18.5503 18.5488 72.8704 18.5488 140C18.5488 207.06 72.8689 261.45 140 261.45C207.06 261.45 261.45 207.06 261.45 140C261.45 72.8704 207.06 18.5503 140 18.5503ZM140 259C74.2686 259 20.9995 205.66 20.9995 140C20.9995 74.2704 74.2686 21.0005 140 21.0005C205.729 21.0005 258.999 74.2704 258.999 140C258.999 205.66 205.729 259 140 259Z",fill:"#A9B7C6"})})}),e("g",{filter:"url(#filter1_d_4658_27134)",children:e("path",{d:"M193.441 128.786H188.879C188.003 128.786 187.234 128.199 187.009 127.351C185.887 123.107 184.203 119.091 182.045 115.385C181.605 114.631 181.74 113.673 182.358 113.056L185.587 109.826C187.102 108.311 187.102 105.855 185.587 104.341L175.475 94.2284C173.96 92.7136 171.505 92.7134 169.99 94.2281L166.76 97.4579C166.142 98.0753 165.185 98.2103 164.431 97.7709C160.725 95.6124 156.709 93.9289 152.465 92.8059C151.617 92.582 151.03 91.8125 151.03 90.9363V86.375C151.03 84.2327 149.293 82.4961 147.151 82.4961H132.85C130.708 82.4961 128.971 84.2327 128.971 86.375V90.9363C128.971 91.8125 128.384 92.582 127.537 92.8059C123.292 93.9289 119.276 95.6124 115.571 97.7711C114.816 98.2105 113.859 98.0756 113.241 97.4581L110.012 94.2284C108.497 92.7136 106.041 92.7136 104.526 94.2284L94.4139 104.341C92.8992 105.856 92.8992 108.311 94.4139 109.826L97.6437 113.056C98.2611 113.673 98.3961 114.631 97.9567 115.385C95.7984 119.091 94.1146 123.107 92.992 127.351C92.7678 128.199 91.9986 128.786 91.1221 128.786H86.5606C84.4182 128.786 82.6816 130.522 82.6816 132.665V146.965C82.6816 149.108 84.4182 150.844 86.5606 150.844H91.1221C91.9983 150.844 92.7675 151.432 92.9917 152.279C94.1144 156.523 95.7982 160.539 97.9564 164.245C98.3958 164.999 98.2609 165.957 97.6434 166.574L94.4139 169.803C92.8992 171.318 92.8992 173.774 94.4139 175.29L104.526 185.402C106.041 186.917 108.497 186.917 110.012 185.402L113.241 182.172C113.859 181.555 114.816 181.42 115.571 181.859C119.276 184.018 123.292 185.701 127.537 186.824C128.384 187.048 128.971 187.818 128.971 188.693V193.255C128.971 195.397 130.708 197.134 132.85 197.134H147.151C149.293 197.134 151.03 195.397 151.03 193.255V188.693C151.03 187.818 151.618 187.048 152.465 186.824C156.709 185.701 160.725 184.018 164.431 181.859C165.185 181.42 166.143 181.555 166.76 182.172L169.99 185.402C171.504 186.916 173.96 186.916 175.475 185.402L185.587 175.29C187.102 173.774 187.102 171.319 185.587 169.803L182.358 166.574C181.74 165.957 181.605 164.999 182.045 164.245C184.203 160.539 185.887 156.523 187.009 152.279C187.234 151.432 188.003 150.844 188.879 150.844H193.441C195.583 150.844 197.32 149.108 197.32 146.965V132.665C197.32 130.522 195.583 128.786 193.441 128.786ZM138.791 176.993C119.432 176.375 103.665 160.608 103.047 141.249C102.365 119.873 119.834 102.403 141.21 103.085C160.568 103.702 176.335 119.469 176.954 138.827C177.638 160.204 160.168 177.675 138.791 176.993Z",fill:"white"})}),e("path",{d:"M176.966 138.603C177.65 159.987 160.174 177.464 138.789 176.781C119.424 176.163 103.651 160.391 103.033 141.026C102.35 119.642 119.826 102.166 141.209 102.848C160.574 103.466 176.347 119.237 176.966 138.603Z",fill:"url(#paint4_linear_4658_27134)"}),e("path",{d:"M140 161.84C143.184 161.84 145.767 159.258 145.767 156.072C145.767 152.887 143.184 150.305 140 150.305C136.814 150.305 134.232 152.887 134.232 156.072C134.232 159.258 136.814 161.84 140 161.84Z",fill:"white"}),e("path",{d:"M139.999 145.824C137.877 145.824 136.154 144.103 136.154 141.979V121.634C136.154 119.51 137.877 117.789 139.999 117.789C142.123 117.789 143.844 119.51 143.844 121.634V141.979C143.844 144.103 142.123 145.824 139.999 145.824Z",fill:"white"}),t("g",{filter:"url(#filter2_d_4658_27134)",children:[e("path",{d:"M235.074 139.175H229.107C229.037 129.168 227.334 119.544 224.255 110.551L224.319 110.545C218.561 93.8001 208.008 79.2411 194.321 68.5194C194.254 68.4668 194.187 68.4145 194.12 68.3622C193.636 67.986 193.15 67.6145 192.659 67.2479C192.582 67.1901 192.505 67.1318 192.427 67.0743C191.311 66.2463 190.177 65.4427 189.023 64.6654C188.956 64.6205 188.889 64.5769 188.823 64.5323C188.328 64.2007 187.829 63.8741 187.327 63.5518C187.203 63.4724 187.079 63.3936 186.955 63.315C186.475 63.01 185.991 62.7096 185.505 62.4136C185.407 62.3542 185.31 62.2937 185.212 62.2343C184.017 61.5134 182.805 60.819 181.575 60.1523C181.523 60.1236 181.469 60.0957 181.417 60.0672C180.855 59.7641 180.289 59.467 179.72 59.1754C179.639 59.1335 179.556 59.0916 179.475 59.0497C178.869 58.742 178.26 58.4397 177.648 58.1451C177.643 58.1426 177.638 58.1405 177.633 58.138C166.47 52.774 154.055 49.6346 140.969 49.3033C140.871 49.3006 140.772 49.2997 140.674 49.2976C140.276 49.2888 139.879 49.2784 139.48 49.2748C139.359 49.2737 139.24 49.2787 139.119 49.2778C138.936 49.2767 138.754 49.271 138.571 49.271C137.799 49.271 137.029 49.283 136.26 49.3025C136.249 49.3028 136.237 49.3033 136.226 49.3036C135.163 49.3307 134.105 49.3789 133.052 49.4424C133.05 49.4427 133.049 49.4427 133.047 49.4427C113.032 50.654 94.7522 58.3951 80.3134 70.5606L80.364 70.5945C71.8028 77.8162 64.5901 86.5888 59.1747 96.4817C58.9699 96.8552 59.2447 97.3146 59.6708 97.3146H64.4995C64.8951 97.3146 65.2588 97.1043 65.46 96.7637C80.053 72.0481 106.803 55.328 137.423 54.891C137.585 54.8888 137.746 54.8869 137.907 54.8858C138.662 54.8792 139.421 54.8853 140.18 54.8987C186.061 55.7562 223.158 93.172 223.5 139.175H216.541C215.005 139.175 214.006 140.791 214.693 142.165L223.959 160.699C224.721 162.222 226.894 162.222 227.655 160.699L236.922 142.165C237.609 140.791 236.61 139.175 235.074 139.175Z",fill:"url(#paint5_linear_4658_27134)"}),e("path",{d:"M220.468 182.315H215.639C215.244 182.315 214.88 182.525 214.679 182.866C200.086 207.581 173.335 224.301 142.716 224.738C142.554 224.741 142.393 224.743 142.231 224.744C141.476 224.75 140.718 224.744 139.959 224.731C94.0778 223.873 56.981 186.457 56.6393 140.454H63.5982C65.1342 140.454 66.133 138.838 65.4463 137.464L56.1796 118.931C55.4181 117.408 53.245 117.408 52.4835 118.931L43.2168 137.464C42.5301 138.838 43.5289 140.454 45.0649 140.454H51.0319C51.1017 150.461 52.8047 160.086 55.8839 169.078L55.8195 169.084C61.5778 185.829 72.1306 200.388 85.8175 211.11C85.8846 211.162 85.9523 211.215 86.0193 211.267C86.5026 211.643 86.9891 212.015 87.4801 212.381C87.5573 212.439 87.6342 212.497 87.7117 212.555C88.8274 213.383 89.9621 214.187 91.1158 214.964C91.1824 215.009 91.2495 215.052 91.316 215.097C91.8113 215.429 92.3102 215.756 92.812 216.078C92.9358 216.157 93.0598 216.236 93.1841 216.314C93.6641 216.62 94.1474 216.92 94.6336 217.215C94.7316 217.275 94.8288 217.336 94.9271 217.395C96.1217 218.116 97.3341 218.81 98.5635 219.477C98.6163 219.506 98.6694 219.534 98.7223 219.562C99.2841 219.865 99.8498 220.163 100.418 220.454C100.5 220.496 100.582 220.538 100.664 220.58C101.27 220.888 101.878 221.19 102.491 221.485C102.496 221.487 102.501 221.489 102.506 221.491C113.669 226.855 126.084 229.995 139.17 230.326C139.268 230.329 139.366 230.329 139.465 230.332C139.863 230.34 140.26 230.351 140.659 230.355C140.78 230.356 140.899 230.351 141.02 230.351C141.203 230.352 141.384 230.358 141.568 230.358C142.34 230.358 143.11 230.346 143.878 230.327C143.89 230.327 143.902 230.326 143.913 230.326C144.976 230.299 146.033 230.25 147.087 230.187H147.091C167.106 228.976 185.387 221.234 199.825 209.069L199.775 209.035C208.336 201.813 215.549 193.041 220.964 183.148C221.169 182.774 220.894 182.315 220.468 182.315Z",fill:"url(#paint6_linear_4658_27134)"})]}),t("defs",{children:[t("filter",{id:"filter0_d_4658_27134",x:"-1.42474",y:"-1.42327",width:"282.848",height:"282.847",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[e("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),e("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),e("feOffset",{}),e("feGaussianBlur",{stdDeviation:"9.98678"}),e("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.6 0"}),e("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_4658_27134"}),e("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_4658_27134",result:"shape"})]}),t("filter",{id:"filter1_d_4658_27134",x:"79.6816",y:"82.4961",width:"120.639",height:"120.638",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[e("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),e("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),e("feOffset",{dy:"3"}),e("feGaussianBlur",{stdDeviation:"1.5"}),e("feComposite",{in2:"hardAlpha",operator:"out"}),e("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"}),e("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_4658_27134"}),e("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_4658_27134",result:"shape"})]}),t("filter",{id:"filter2_d_4658_27134",x:"39.9961",y:"49.271",width:"200.146",height:"187.087",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[e("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),e("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),e("feOffset",{dy:"3"}),e("feGaussianBlur",{stdDeviation:"1.5"}),e("feComposite",{in2:"hardAlpha",operator:"out"}),e("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"}),e("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_4658_27134"}),e("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_4658_27134",result:"shape"})]}),t("linearGradient",{id:"paint0_linear_4658_27134",x1:"140",y1:"0",x2:"140",y2:"280",gradientUnits:"userSpaceOnUse",children:[e("stop",{offset:"0.001783",stopColor:"#F6F5F7"}),e("stop",{offset:"0.200806",stopColor:"#F0F0F3"}),e("stop",{offset:"0.464018",stopColor:"#DFE2E8"}),e("stop",{offset:"0.761783",stopColor:"#C4CCD7"}),e("stop",{offset:"1",stopColor:"#A9B7C6"})]}),t("linearGradient",{id:"paint1_linear_4658_27134",x1:"30.625",y1:"11.5857",x2:"249.375",y2:"268.414",gradientUnits:"userSpaceOnUse",children:[e("stop",{offset:"0.375044",stopColor:"white"}),e("stop",{offset:"0.424073",stopColor:"#CCCCCC"}),e("stop",{offset:"0.477204",stopColor:"#9C9C9C"}),e("stop",{offset:"0.533592",stopColor:"#727272"}),e("stop",{offset:"0.59224",stopColor:"#4F4F4F"}),e("stop",{offset:"0.653792",stopColor:"#323232"}),e("stop",{offset:"0.719175",stopColor:"#1C1C1C"}),e("stop",{offset:"0.790213",stopColor:"#0C0C0C"}),e("stop",{offset:"0.871058",stopColor:"#020202"}),e("stop",{offset:"0.983222"})]}),t("radialGradient",{id:"paint2_radial_4658_27134",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(140 139.997) rotate(-90) scale(144.027)",children:[e("stop",{offset:"0.2",stopColor:"#C49D30"}),e("stop",{offset:"0.999544",stopColor:"#60602C"})]}),t("radialGradient",{id:"paint3_radial_4658_27134",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(140 140) scale(119)",children:[e("stop",{stopColor:"#EEBF3A"}),e("stop",{offset:"0.241124",stopColor:"#EEBF3A",stopOpacity:"0.741549"}),e("stop",{offset:"0.795986",stopColor:"#EEBF3A",stopOpacity:"0.099097"}),e("stop",{offset:"0.879533",stopColor:"#EEBF3A",stopOpacity:"0"})]}),t("linearGradient",{id:"paint4_linear_4658_27134",x1:"109.28",y1:"120.171",x2:"172.772",y2:"160.771",gradientUnits:"userSpaceOnUse",children:[e("stop",{offset:"0.000456",stopColor:"#EEBF3A"}),e("stop",{offset:"0.8",stopColor:"#C49D30"})]}),t("linearGradient",{id:"paint5_linear_4658_27134",x1:"85.7023",y1:"55.0866",x2:"251.312",y2:"166.342",gradientUnits:"userSpaceOnUse",children:[e("stop",{offset:"0.000456",stopColor:"#EEBF3A"}),e("stop",{offset:"0.8",stopColor:"#C49D30"})]}),t("linearGradient",{id:"paint6_linear_4658_27134",x1:"47.1503",y1:"125.597",x2:"212.76",y2:"236.852",gradientUnits:"userSpaceOnUse",children:[e("stop",{offset:"0.000456",stopColor:"#EEBF3A"}),e("stop",{offset:"0.8",stopColor:"#C49D30"})]})]})]})}export{C as default};
2
+ //# sourceMappingURL=InterventionAppIcon.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"InterventionAppIcon.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"file":"NoSegmentAppIcon.d.ts","sourceRoot":"","sources":["../../../../src/components/AppIcon/assets/NoSegmentAppIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAErC,iBAAS,gBAAgB,CAAC,EACxB,KAAU,EACV,MAAW,EACX,SAAS,EACT,aAAa,EAAE,SAA8B,GAC9C,EAAE,SAAS,eAeX;AAED,eAAe,gBAAgB,CAAC"}
1
+ {"version":3,"file":"NoSegmentAppIcon.d.ts","sourceRoot":"","sources":["../../../../src/components/AppIcon/assets/NoSegmentAppIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAGrC,iBAAS,gBAAgB,CAAC,EACxB,KAAU,EACV,MAAW,EACX,SAAS,EACT,aAAa,EAAE,SAA8B,GAC9C,EAAE,SAAS,eAySX;AAED,eAAe,gBAAgB,CAAC"}
@@ -1,2 +1,2 @@
1
- import{jsx as t}from"react/jsx-runtime";function c(c){var e=c.width,i=void 0===e?36:e,a=c.height,o=void 0===a?36:a,d=c.className,h=c["data-testid"];return t("svg",{"data-testid":"".concat(void 0===h?"NoSegmentAppIcon":h,"_NoIcon"),width:i,height:o,className:d,style:{opacity:.5},fill:"#03BCD4",viewBox:"110 110 800 800",xmlns:"http://www.w3.org/2000/svg",children:t("path",{d:"M810.666667 128H213.333333c-47.146667 0-85.333333 38.186667-85.333333 85.333333v597.333334c0 47.146667 38.186667 85.333333 85.333333 85.333333h597.333334c47.146667 0 85.333333-38.186667 85.333333-85.333333V213.333333c0-47.146667-38.186667-85.333333-85.333333-85.333333zM213.333333 212.906667h128c0 70.613333-57.386667 128.426667-128 128.426666V212.906667zM213.333333 512v-85.333333c117.76 0 213.333333-96 213.333334-213.76h85.333333C512 377.813333 378.24 512 213.333333 512z m0 256l149.333334-192 106.666666 128.213333L618.666667 512l192 256H213.333333z"})})}export{c as default};
1
+ import{jsxs as t,jsx as o}from"react/jsx-runtime";function e(e){var r=e.width,s=void 0===r?36:r,i=e.height,l=void 0===i?36:i,a=e.className,p=e["data-testid"];return t("svg",{"data-testid":"".concat(void 0===p?"NoSegmentAppIcon":p,"_NoIcon"),width:s,height:l,className:a,viewBox:"0 0 280 280",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[o("path",{d:"M209.995 0H69.9984C31.3393 0 0 31.3393 0 69.9984V209.995C0 248.654 31.3393 279.993 69.9984 279.993H209.995C248.654 279.993 279.993 248.654 279.993 209.995V69.9984C279.993 31.3393 248.654 0 209.995 0Z",fill:"url(#paint0_linear_4521_70524)"}),o("path",{opacity:"0.3",d:"M209.995 0H69.9984C31.3393 0 0 31.3393 0 69.9984V209.995C0 248.654 31.3393 279.993 69.9984 279.993H209.995C248.654 279.993 279.993 248.654 279.993 209.995V69.9984C279.993 31.3393 248.654 0 209.995 0Z",fill:"url(#paint1_linear_4521_70524)",style:{mixBlendMode:"multiply"}}),o("path",{d:"M139.997 258.994C205.718 258.994 258.994 205.717 258.994 139.997C258.994 74.2765 205.718 20.9996 139.997 20.9996C74.2769 20.9996 21 74.2765 21 139.997C21 205.717 74.2769 258.994 139.997 258.994Z",fill:"url(#paint2_radial_4521_70524)"}),o("path",{d:"M258.97 140.426C258.974 140.281 258.994 140.142 258.994 139.997C258.994 139.901 258.981 139.81 258.981 139.715H254.38V111.921H255.522C255.467 111.682 255.399 111.447 255.341 111.21H254.38V107.476C254.12 106.563 253.95 105.614 253.669 104.711V111.21H225.875V83.4154H244.697C244.568 83.1736 244.417 82.9454 244.284 82.7045H225.875V57.762C225.632 57.5078 225.41 57.2323 225.164 56.9797V82.7045H197.37V54.9102H223.103C222.85 54.6637 222.573 54.4432 222.32 54.1993H197.37V35.7585C197.127 35.6252 196.902 35.4658 196.659 35.3338V54.1993H168.865V26.405H175.533C174.651 26.1286 173.725 25.95 172.833 25.6941H168.865V24.6738C168.625 24.6145 168.393 24.5491 168.154 24.491V25.6941H140.36V21.018C140.236 21.0176 140.12 20.9996 139.997 20.9996C139.878 20.9996 139.765 21.0167 139.649 21.0172V25.6941H111.854V24.4868C111.615 24.5444 111.383 24.6106 111.143 24.6696V25.6941H107.158C106.266 25.95 105.343 26.1286 104.458 26.405H111.143V54.1993H83.3492V35.3266C83.1065 35.4586 82.8809 35.6154 82.6382 35.7491V54.1993H57.674C57.4176 54.4432 57.1408 54.6637 56.8913 54.9102H82.6382V82.7045H54.844V56.9631C54.5979 57.2151 54.3757 57.4907 54.1331 57.7453V82.7045H35.7072C35.5739 82.9454 35.4235 83.1736 35.2937 83.4154H54.1331V111.21H26.3388V104.651C26.0585 105.554 25.8877 106.503 25.6279 107.416V111.21H24.6538C24.5922 111.447 24.5273 111.682 24.4692 111.921H25.6278V139.715H21.0137C21.0137 139.81 21 139.901 21 139.997C21 140.142 21.0205 140.281 21.0205 140.426H25.6278V168.22H24.5067C24.5648 168.458 24.6298 168.693 24.6913 168.931H25.6278V172.578C25.8876 173.491 26.0584 174.44 26.3387 175.343V168.931H54.133V196.725H35.3653C35.4986 196.969 35.6627 197.192 35.7994 197.436H54.133V222.249C54.3756 222.503 54.5978 222.778 54.8439 223.03V197.436H82.6381V225.23H57.0518C57.3047 225.476 57.5781 225.698 57.8345 225.941H82.6381V244.244C82.8808 244.378 83.1064 244.535 83.3491 244.667V225.941H111.143V253.735H104.964C105.87 254.014 106.816 254.19 107.732 254.446H111.143V255.324C111.383 255.383 111.615 255.449 111.854 255.507V254.446H139.648V258.976C139.765 258.977 139.877 258.994 139.997 258.994C140.12 258.994 140.236 258.976 140.359 258.975V254.446H168.154V255.502C168.393 255.444 168.625 255.379 168.865 255.32V254.446H172.262C173.175 254.19 174.121 254.014 175.027 253.735H168.865V225.941H196.659V244.66C196.901 244.528 197.127 244.369 197.37 244.235V225.941H222.16C222.413 225.698 222.689 225.476 222.942 225.23H197.37V197.436H225.164V223.014C225.41 222.761 225.632 222.486 225.875 222.231V197.436H244.195C244.328 197.192 244.496 196.969 244.626 196.725H225.875V168.931H253.669V175.283C253.95 174.38 254.12 173.431 254.38 172.518V168.931H255.303C255.361 168.693 255.426 168.458 255.484 168.22H254.38V140.426L258.97 140.426ZM54.1329 168.22H26.3386V140.426H54.1329V168.22ZM54.1329 139.715H26.3386V111.921H54.1329V139.715ZM82.6381 196.725H54.8439V168.931H82.6381V196.725ZM82.6381 168.22H54.8439V140.426H82.6381V168.22ZM82.6381 139.715H54.8439V111.921H82.6381V139.715ZM82.6381 111.21H54.8439V83.4153H82.6381V111.21ZM111.143 225.23H83.3491V197.436H111.143V225.23ZM111.143 196.725H83.3491V168.931H111.143V196.725ZM111.143 168.22H83.3491V140.426H111.143V168.22ZM111.143 139.715H83.3491V111.921H111.143V139.715ZM111.143 111.21H83.3491V83.4153H111.143V111.21ZM111.143 82.7044H83.3491V54.9101H111.143V82.7044ZM139.648 253.736H111.854V225.941H139.648V253.736ZM139.648 225.23H111.854V197.436H139.648V225.23ZM139.648 196.725H111.854V168.931H139.648V196.725ZM139.648 168.22H111.854V140.426H139.648V168.22ZM139.648 139.715H111.854V111.921H139.648V139.715ZM139.648 111.21H111.854V83.4153H139.648V111.21ZM139.648 82.7044H111.854V54.9101H139.648V82.7044ZM139.648 54.1992H111.854V26.4049H139.648V54.1992ZM168.154 253.736H140.359V225.941H168.154V253.736ZM168.154 225.23H140.359V197.436H168.154V225.23ZM168.154 196.725H140.359V168.931H168.154V196.725ZM168.154 168.22H140.359V140.426H168.154V168.22ZM168.154 139.715H140.359V111.921H168.154V139.715ZM168.154 111.21H140.359V83.4153H168.154V111.21ZM168.154 82.7044H140.359V54.9101H168.154V82.7044ZM168.154 54.1992H140.359V26.4049H168.154V54.1992ZM196.659 225.23H168.865V197.436H196.659V225.23ZM196.659 196.725H168.865V168.931H196.659V196.725ZM196.659 168.22H168.865V140.426H196.659V168.22ZM196.659 139.715H168.865V111.921H196.659V139.715ZM196.659 111.21H168.865V83.4153H196.659V111.21ZM196.659 82.7044H168.865V54.9101H196.659V82.7044ZM225.164 196.725H197.37V168.931H225.164V196.725ZM225.164 168.22H197.37V140.426H225.164V168.22ZM225.164 139.715H197.37V111.921H225.164V139.715ZM225.164 111.21H197.37V83.4153H225.164V111.21ZM253.669 168.22H225.875V140.426H253.669V168.22ZM253.669 139.715H225.875V111.921H253.669V139.715Z",fill:"url(#paint3_radial_4521_70524)"}),o("g",{filter:"url(#filter0_d_4521_70524)",children:o("path",{d:"M187.276 68.6477H138.39C124.891 68.6477 113.947 79.5911 113.947 93.0904V141.976C113.947 155.475 124.891 166.419 138.39 166.419H187.276C200.775 166.419 211.718 155.475 211.718 141.976V93.0904C211.718 79.5911 200.775 68.6477 187.276 68.6477Z",fill:"white"})}),o("g",{filter:"url(#filter1_d_4521_70524)",children:o("path",{d:"M202.388 111.203C206.533 138.26 183.559 161.235 156.501 157.089C139.641 154.506 125.86 140.726 123.277 123.865C119.132 96.8077 142.106 73.8332 169.163 77.9783C186.024 80.5613 199.805 94.3418 202.388 111.203Z",fill:"url(#paint4_linear_4521_70524)"})}),o("g",{filter:"url(#filter2_d_4521_70524)",children:o("path",{d:"M141.6 113.574H92.7142C79.2149 113.574 68.2715 124.518 68.2715 138.017V186.903C68.2715 200.402 79.2149 211.345 92.7142 211.345H141.6C155.099 211.345 166.042 200.402 166.042 186.903V138.017C166.042 124.518 155.099 113.574 141.6 113.574Z",fill:"url(#paint5_linear_4521_70524)"})}),o("g",{opacity:"0.35",children:o("path",{d:"M141.6 115.165C154.2 115.165 164.452 125.417 164.452 138.017V186.903C164.452 199.503 154.2 209.755 141.6 209.755H92.7143C80.1135 209.755 69.862 199.503 69.862 186.903V138.017C69.862 125.417 80.1135 115.165 92.7143 115.165H141.6ZM141.6 113.574H92.7143C79.2149 113.574 68.2715 124.518 68.2715 138.017V186.903C68.2715 200.402 79.2149 211.345 92.7143 211.345H141.6C155.099 211.345 166.042 200.402 166.042 186.903V138.017C166.042 124.518 155.099 113.574 141.6 113.574Z",fill:"white"})}),o("path",{d:"M156.712 156.13C160.858 183.187 137.883 206.162 110.826 202.016C93.9648 199.433 80.1842 185.652 77.6012 168.792C73.4561 141.734 96.4307 118.76 123.488 122.905C140.349 125.488 154.129 139.269 156.712 156.13Z",fill:"url(#paint6_radial_4521_70524)"}),o("mask",{id:"mask0_4521_70524",style:{maskType:"luminance"},maskUnits:"userSpaceOnUse",x:"18",y:"18",width:"244",height:"244",children:o("path",{d:"M261.445 139.998C261.445 207.056 207.056 261.445 139.997 261.445C72.8698 261.445 18.5527 207.056 18.5527 139.998C18.5527 72.8695 72.8698 18.5507 139.997 18.5507C207.056 18.5507 261.445 72.8695 261.445 139.998Z",fill:"white"})}),o("g",{mask:"url(#mask0_4521_70524)",children:o("g",{filter:"url(#filter3_d_4521_70524)",children:o("path",{d:"M139.999 18.5507C72.8696 18.5507 18.5508 72.8695 18.5508 139.998C18.5508 207.056 72.8696 261.445 139.999 261.445C207.058 261.445 261.447 207.056 261.447 139.998C261.447 72.8695 207.058 18.5507 139.999 18.5507ZM139.999 258.995C74.2692 258.995 21.0014 205.656 21.0014 139.998C21.0014 74.2695 74.2692 21.0008 139.999 21.0008C205.728 21.0008 258.996 74.2695 258.996 139.998C258.996 205.656 205.726 258.995 139.999 258.995Z",fill:"#A9B7C6"})})}),t("defs",{children:[t("filter",{id:"filter0_d_4521_70524",x:"104.91",y:"64.129",width:"115.846",height:"115.846",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[o("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),o("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),o("feOffset",{dy:"4.51871"}),o("feGaussianBlur",{stdDeviation:"4.51871"}),o("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.3 0"}),o("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_4521_70524"}),o("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_4521_70524",result:"shape"})]}),t("filter",{id:"filter1_d_4521_70524",x:"114.082",y:"73.138",width:"97.5014",height:"97.5006",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[o("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),o("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),o("feOffset",{dy:"4.35434"}),o("feGaussianBlur",{stdDeviation:"4.35434"}),o("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.3 0"}),o("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_4521_70524"}),o("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_4521_70524",result:"shape"})]}),t("filter",{id:"filter2_d_4521_70524",x:"59.2341",y:"109.056",width:"115.846",height:"115.846",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[o("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),o("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),o("feOffset",{dy:"4.51871"}),o("feGaussianBlur",{stdDeviation:"4.51871"}),o("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.3 0"}),o("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_4521_70524"}),o("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_4521_70524",result:"shape"})]}),t("filter",{id:"filter3_d_4521_70524",x:"-2.80879",y:"-2.80892",width:"285.616",height:"285.614",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[o("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),o("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),o("feOffset",{}),o("feGaussianBlur",{stdDeviation:"10.6798"}),o("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.6 0"}),o("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_4521_70524"}),o("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_4521_70524",result:"shape"})]}),t("linearGradient",{id:"paint0_linear_4521_70524",x1:"139.997",y1:"0",x2:"139.997",y2:"279.993",gradientUnits:"userSpaceOnUse",children:[o("stop",{offset:"0.0018",stopColor:"#F6F5F7"}),o("stop",{offset:"0.2008",stopColor:"#F0F0F3"}),o("stop",{offset:"0.464",stopColor:"#DFE2E8"}),o("stop",{offset:"0.7618",stopColor:"#C4CCD7"}),o("stop",{offset:"1",stopColor:"#A9B7C6"})]}),t("linearGradient",{id:"paint1_linear_4521_70524",x1:"30.6243",y1:"11.5854",x2:"249.369",y2:"268.408",gradientUnits:"userSpaceOnUse",children:[o("stop",{offset:"0.375",stopColor:"white"}),o("stop",{offset:"0.4241",stopColor:"#CCCCCC"}),o("stop",{offset:"0.4772",stopColor:"#9C9C9C"}),o("stop",{offset:"0.5336",stopColor:"#727272"}),o("stop",{offset:"0.5922",stopColor:"#4F4F4F"}),o("stop",{offset:"0.6538",stopColor:"#323232"}),o("stop",{offset:"0.7192",stopColor:"#1C1C1C"}),o("stop",{offset:"0.7902",stopColor:"#0C0C0C"}),o("stop",{offset:"0.8711",stopColor:"#020202"}),o("stop",{offset:"0.9832"})]}),t("radialGradient",{id:"paint2_radial_4521_70524",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(140.225 139.887) rotate(-90) scale(144.018 144.018)",children:[o("stop",{stopColor:"#A9B2BC"}),o("stop",{offset:"0.1892",stopColor:"#A2ACB7"}),o("stop",{offset:"0.4441",stopColor:"#919DAA"}),o("stop",{offset:"0.7351",stopColor:"#758494"}),o("stop",{offset:"0.9991",stopColor:"#56697C"})]}),t("radialGradient",{id:"paint3_radial_4521_70524",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(139.997 139.997) scale(118.997)",children:[o("stop",{stopColor:"#A9B2BC"}),o("stop",{offset:"0.3016",stopColor:"#A9B2BC",stopOpacity:"0.453468"}),o("stop",{offset:"0.8795",stopColor:"#A9B2BC",stopOpacity:"0"})]}),t("linearGradient",{id:"paint4_linear_4521_70524",x1:"131.601",y1:"90.9638",x2:"197.811",y2:"147.292",gradientUnits:"userSpaceOnUse",children:[o("stop",{offset:"0.032",stopColor:"#97A3B3"}),o("stop",{offset:"0.2292",stopColor:"#7D8A99"}),o("stop",{offset:"0.5216",stopColor:"#5D6A7A"}),o("stop",{offset:"0.7677",stopColor:"#4A5766"}),o("stop",{offset:"0.9363",stopColor:"#435160"})]}),t("linearGradient",{id:"paint5_linear_4521_70524",x1:"74.5753",y1:"120.188",x2:"165.161",y2:"210.115",gradientUnits:"userSpaceOnUse",children:[o("stop",{offset:"0.032",stopColor:"#97A3B3"}),o("stop",{offset:"0.2292",stopColor:"#7D8A99"}),o("stop",{offset:"0.5216",stopColor:"#5D6A7A"}),o("stop",{offset:"0.7677",stopColor:"#4A5766"}),o("stop",{offset:"0.9363",stopColor:"#435160"})]}),t("radialGradient",{id:"paint6_radial_4521_70524",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(117.157 162.461) scale(40.0416 40.0416)",children:[o("stop",{offset:"0.606",stopColor:"white",stopOpacity:"0"}),o("stop",{offset:"0.6593",stopColor:"white",stopOpacity:"0.01"}),o("stop",{offset:"0.709",stopColor:"white",stopOpacity:"0.01"}),o("stop",{offset:"0.7574",stopColor:"white",stopOpacity:"0.0177156"}),o("stop",{offset:"0.805",stopColor:"white",stopOpacity:"0.0564062"}),o("stop",{offset:"0.8519",stopColor:"white",stopOpacity:"0.138533"}),o("stop",{offset:"0.8984",stopColor:"white",stopOpacity:"0.288691"}),o("stop",{offset:"0.9446",stopColor:"white",stopOpacity:"0.536996"}),o("stop",{offset:"0.9894",stopColor:"white",stopOpacity:"0.909162"}),o("stop",{offset:"0.9981",stopColor:"white"})]})]})]})}export{e as default};
2
2
  //# sourceMappingURL=NoSegmentAppIcon.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"NoSegmentAppIconBeIdle.d.ts","sourceRoot":"","sources":["../../../../src/components/AppIcon/assets/NoSegmentAppIconBeIdle.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAErC,iBAAS,sBAAsB,CAAC,EAC9B,KAAU,EACV,MAAW,EACX,SAAS,EACT,aAAa,EAAE,SAA+B,GAC/C,EAAE,SAAS,eA6FX;AAED,eAAe,sBAAsB,CAAC"}
1
+ {"version":3,"file":"NoSegmentAppIconBeIdle.d.ts","sourceRoot":"","sources":["../../../../src/components/AppIcon/assets/NoSegmentAppIconBeIdle.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAGrC,iBAAS,sBAAsB,CAAC,EAC9B,KAAU,EACV,MAAW,EACX,SAAS,EACT,aAAa,EAAE,SAAoC,GACpD,EAAE,SAAS,eAsSX;AAED,eAAe,sBAAsB,CAAC"}
@@ -1,2 +1,2 @@
1
- import{jsxs as C,jsx as i}from"react/jsx-runtime";function t(t){var l=t.width,e=void 0===l?36:l,r=t.height,a=void 0===r?36:r,n=t.className,o=t["data-testid"];return C("svg",{"data-testid":"".concat(void 0===o?"DrillingAppIconBe":o,"_drillingBeIdle"),width:e,height:a,className:n,viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[C("g",{clipPath:"url(#clip0_10378_19870)",children:[i("path",{d:"M23.9998 1.61877C11.6386 1.61877 1.61779 11.6395 1.61779 24.0008C1.61779 36.362 11.6386 46.3828 23.9998 46.3828C36.3611 46.3828 46.3818 36.362 46.3818 24.0008C46.3818 11.6395 36.3611 1.61877 23.9998 1.61877Z",fill:"url(#paint0_linear_10378_19870)"}),i("path",{d:"M33.9375 0H14.0625C6.3 0 0 6.3 0 14.0625V33.9375C0 41.7 6.3 48 14.0625 48H33.9375C41.7 48 48 41.7 48 33.9375V14.0625C48 6.3 41.7 0 33.9375 0ZM24.075 44.85C12.5625 44.85 3.225 35.5125 3.225 24C3.225 12.4875 12.5625 3.15 24.075 3.15C35.5875 3.15 44.925 12.4875 44.925 24C44.925 35.5125 35.5875 44.85 24.075 44.85Z",fill:"url(#paint1_linear_10378_19870)"}),i("path",{d:"M24.0751 2.77539C21.2251 2.77539 18.4126 3.33789 15.8251 4.46289C13.3126 5.55039 11.0251 7.05039 9.0751 9.00039C7.1251 10.9504 5.5876 13.2379 4.5376 15.7504C3.4126 18.3754 2.8501 21.1504 2.8501 24.0004C2.8501 26.8504 3.4126 29.6629 4.5001 32.2504C5.5876 34.7629 7.0876 37.0504 9.0376 39.0004C10.9876 40.9504 13.2751 42.4879 15.7876 43.5379C18.4126 44.6629 21.1876 45.2254 24.0376 45.2254C26.8876 45.2254 29.7001 44.6629 32.2876 43.5379C34.8001 42.4504 37.0876 40.9504 39.0376 39.0004C40.9876 37.0504 42.5251 34.7629 43.5751 32.2504C44.7001 29.6254 45.2626 26.8504 45.2626 24.0004C45.2626 21.1504 44.7001 18.3379 43.5751 15.7504C42.4876 13.2379 40.9876 10.9504 39.0376 9.00039C37.0876 7.05039 34.8001 5.51289 32.2876 4.46289C29.7376 3.33789 26.9251 2.77539 24.0751 2.77539ZM24.0751 3.15039C35.5876 3.15039 44.9251 12.4879 44.9251 24.0004C44.9251 35.5129 35.5876 44.8504 24.0751 44.8504C12.5626 44.8504 3.2251 35.5129 3.2251 24.0004C3.2251 12.4879 12.5626 3.15039 24.0751 3.15039Z",fill:"url(#paint2_linear_10378_19870)"}),i("g",{clipPath:"url(#clip1_10378_19870)",children:C("g",{clipPath:"url(#clip2_10378_19870)",children:[i("path",{d:"M19.5998 30.9041C19.9897 30.4693 20.7243 30.3044 21.2641 30.5293C21.8338 30.7692 22.2087 31.3539 22.1637 31.9836C22.1337 32.4484 22.4785 32.8682 22.9433 32.9132C23.2882 32.9582 23.633 32.9732 23.9779 32.9732C24.3077 32.9732 24.6376 32.9582 24.9674 32.9132C25.4322 32.8682 25.7771 32.4634 25.7621 31.9986C25.7471 31.3839 26.1069 30.8141 26.6767 30.5742C27.2164 30.3493 27.9361 30.5143 28.3259 30.9491C28.6408 31.2939 29.1656 31.3389 29.5254 31.054C30.0652 30.6342 30.5449 30.1544 30.9797 29.6147C31.2796 29.2548 31.2346 28.7151 30.8898 28.4002C30.425 27.9804 30.2751 27.3057 30.515 26.736C30.7399 26.1962 31.2946 25.8364 31.8644 25.8364H31.9543C32.4191 25.8663 32.8389 25.5215 32.8839 25.0567C32.9589 24.382 32.9589 23.6923 32.8839 23.0176C32.8239 22.5378 32.3441 22.223 31.9243 22.223C31.3096 22.223 30.7698 21.8631 30.5449 21.3084C30.305 20.7386 30.47 20.0789 30.9198 19.6591C31.2646 19.3443 31.3096 18.8195 31.0247 18.4596C30.6049 17.9199 30.1251 17.4401 29.6004 17.0203C29.2405 16.7204 28.7008 16.7654 28.3859 17.1102C27.9961 17.5451 27.2614 17.71 26.7216 17.4851C26.1519 17.2452 25.7771 16.6605 25.822 16.0307C25.852 15.5659 25.5072 15.1461 25.0424 15.1011C24.3677 15.0262 23.693 15.0262 23.0183 15.1011C22.5535 15.1461 22.2087 15.5509 22.2237 16.0157C22.2386 16.6305 21.8788 17.2152 21.3091 17.4401C20.7693 17.665 20.0496 17.5001 19.6598 17.0653C19.3449 16.7204 18.8202 16.6754 18.4453 16.9603C17.9056 17.3801 17.4258 17.8599 16.991 18.3997C16.6911 18.7595 16.7361 19.2993 17.081 19.6141C17.5457 20.0339 17.6957 20.7086 17.4558 21.2784C17.2309 21.8331 16.6461 22.178 15.9864 22.178C15.5216 22.163 15.1318 22.4928 15.0718 22.9576C14.9969 23.6323 14.9969 24.322 15.0718 24.9967C15.1318 25.4765 15.6116 25.7914 16.0614 25.7914C16.6461 25.7764 17.2009 26.1512 17.4258 26.706C17.6657 27.2757 17.5158 27.9354 17.051 28.3552C16.7061 28.6701 16.6611 29.1949 16.946 29.5547C17.3658 30.0795 17.8306 30.5592 18.3704 30.994C18.7452 31.2939 19.27 31.2639 19.5998 30.9041ZM18.8951 30.3643C18.4154 29.9745 17.9806 29.5397 17.6057 29.0599C17.5907 29.0299 17.5907 28.9999 17.6057 28.9849C18.3104 28.3252 18.5503 27.2907 18.1905 26.4061C17.8306 25.5215 16.961 24.9517 16.0464 24.9817C15.9864 24.9817 15.9115 24.9368 15.8965 24.9218C15.8365 24.307 15.8365 23.6923 15.8965 23.0926C15.8965 23.0476 15.9265 23.0326 15.9714 23.0326C16.976 23.0326 17.8606 22.4779 18.2204 21.6232C18.5953 20.7236 18.3704 19.6741 17.6357 19.0294C17.6057 19.0144 17.6057 18.9694 17.6357 18.9394C18.0255 18.4596 18.4603 18.0248 18.9551 17.635C18.9851 17.62 19.0151 17.62 19.0451 17.635C19.6748 18.3247 20.7543 18.5796 21.6239 18.2198C22.5085 17.8599 23.0783 16.9603 23.0483 16.0007C23.0483 15.9708 23.0633 15.9408 23.1083 15.9408C23.708 15.8808 24.3227 15.8808 24.9374 15.9408C24.9674 15.9408 24.9974 15.9708 24.9974 16.0007C24.9374 16.9753 25.5072 17.8899 26.4068 18.2647C27.2764 18.6246 28.3709 18.3847 29.0006 17.68C29.0156 17.65 29.0606 17.65 29.0906 17.68C29.5704 18.0548 29.9902 18.4896 30.38 18.9844C30.395 19.0144 30.395 19.0444 30.38 19.0594C29.6753 19.7041 29.4354 20.7536 29.7953 21.6382C30.1551 22.5078 30.9947 23.0626 31.9543 23.0626C31.9993 23.0626 32.0743 23.1076 32.0893 23.1226C32.1642 23.7373 32.1492 24.352 32.0893 24.9517C32.0893 24.9817 32.0593 25.0117 32.0293 25.0117C32.0143 25.0117 32.0143 25.0117 31.9993 25.0117H31.8793C30.9648 25.0117 30.0951 25.5815 29.7503 26.4211C29.3755 27.3207 29.6004 28.3702 30.335 29.0149C30.365 29.0299 30.365 29.0749 30.335 29.1049C29.9452 29.5847 29.5104 30.0195 29.0156 30.4093C28.9856 30.4243 28.9556 30.4243 28.9257 30.4093C28.2959 29.7196 27.2164 29.4647 26.3468 29.8246C25.4622 30.1844 24.8925 31.084 24.9225 32.0436C24.9225 32.0736 24.9075 32.1036 24.8625 32.1036C24.2627 32.1635 23.633 32.1635 23.0333 32.1036C23.0033 32.1036 22.9733 32.0736 22.9733 32.0436C23.0333 31.069 22.4635 30.1544 21.564 29.7796C21.2941 29.6596 20.9942 29.6147 20.7093 29.6147C20.0646 29.6147 19.4049 29.8845 18.9701 30.3643C18.9551 30.3793 18.9251 30.3793 18.8951 30.3643Z",fill:"white"}),i("path",{d:"M23.993 26.3766C25.2974 26.3766 26.3619 25.312 26.3619 24.0076C26.3619 22.7032 25.2974 21.6387 23.993 21.6387C22.6885 21.6387 21.624 22.7032 21.624 24.0076C21.624 25.312 22.6885 26.3766 23.993 26.3766ZM23.993 22.4783C24.8476 22.4783 25.5223 23.168 25.5223 24.0076C25.5223 24.8472 24.8326 25.5369 23.993 25.5369C23.1533 25.5369 22.4636 24.8472 22.4636 24.0076C22.4636 23.168 23.1383 22.4783 23.993 22.4783Z",fill:"white"}),i("path",{d:"M33.6335 14.7423C33.8134 14.4724 33.9183 14.1575 33.9183 13.8277C33.9333 12.9131 33.1987 12.1634 32.2841 12.1484C31.8343 12.1484 31.4295 12.3134 31.0996 12.6132C30.7847 12.9281 30.6048 13.3329 30.6048 13.7827C30.5898 14.6973 31.3245 15.462 32.2391 15.462H32.2541C32.509 15.462 32.7639 15.402 33.0038 15.282C35.3877 17.681 36.6921 20.8446 36.6471 24.248C36.5572 31.085 30.9797 36.5875 24.1577 36.5875C24.1127 36.5875 24.0527 36.5875 24.0078 36.5875C22.4035 36.5725 20.8442 36.2427 19.3748 35.6429C19.1649 35.553 18.925 35.6579 18.8351 35.8678C18.7451 36.0778 18.8501 36.3176 19.06 36.4076C20.6193 37.0523 22.2835 37.3972 23.9928 37.4122C24.0527 37.4122 24.0977 37.4122 24.1577 37.4122C31.4295 37.4122 37.3818 31.5498 37.4718 24.248C37.5167 20.6646 36.1523 17.2911 33.6335 14.7423ZM32.2391 14.6373C31.7893 14.6373 31.4145 14.2625 31.4145 13.7977C31.4145 13.5728 31.5044 13.3629 31.6693 13.213C31.8193 13.063 32.0292 12.9731 32.2541 12.9731C32.2541 12.9731 32.2541 12.9731 32.2691 12.9731C32.7189 12.9731 33.0937 13.3479 33.0937 13.8127C33.0937 14.0376 33.0038 14.2475 32.8388 14.3974C32.6739 14.5624 32.464 14.6373 32.2391 14.6373Z",fill:"white"}),i("path",{d:"M15.7464 32.5385H15.7314C15.4616 32.5385 15.2067 32.5984 14.9968 32.7184C12.6128 30.3195 11.3084 27.1409 11.3534 23.7524C11.4434 16.8555 17.1108 11.3229 24.0077 11.4129C25.612 11.4279 27.1713 11.7578 28.6407 12.3575C28.8506 12.4474 29.0905 12.3425 29.1804 12.1326C29.2704 11.9227 29.1654 11.6828 28.9555 11.5928C27.3812 10.9481 25.732 10.6033 24.0077 10.5733C16.661 10.4833 10.6037 16.3907 10.5138 23.7374C10.4688 27.3358 11.8332 30.7093 14.3521 33.2731C14.1721 33.528 14.0672 33.8429 14.0672 34.1877C14.0522 35.1023 14.7869 35.852 15.7015 35.867H15.7164C16.616 35.867 17.3657 35.1323 17.3807 34.2327C17.3807 33.7829 17.2158 33.3781 16.9159 33.0482C16.616 32.7184 16.1962 32.5385 15.7464 32.5385ZM15.7164 35.0274C15.2517 35.0274 14.8918 34.6375 14.8918 34.1877C14.8918 33.7379 15.2667 33.3631 15.7164 33.3631C15.7164 33.3631 15.7164 33.3631 15.7314 33.3631C15.9563 33.3631 16.1662 33.4531 16.3162 33.618C16.4661 33.7829 16.5561 33.9928 16.5561 34.2027C16.5561 34.6675 16.1812 35.0274 15.7164 35.0274Z",fill:"white"})]})})]}),C("defs",{children:[C("linearGradient",{id:"paint0_linear_10378_19870",x1:"46.3818",y1:"24.2993",x2:"1.61779",y2:"24.2993",gradientUnits:"userSpaceOnUse",children:[i("stop",{stopColor:"#898989"}),i("stop",{offset:"1",stopColor:"#404040"})]}),C("linearGradient",{id:"paint1_linear_10378_19870",x1:"24",y1:"66.3744",x2:"24",y2:"18.3744",gradientUnits:"userSpaceOnUse",children:[i("stop",{stopColor:"#D1D1D1"}),i("stop",{offset:"0.1978",stopColor:"#DBDBDC"}),i("stop",{offset:"0.6835",stopColor:"#F0F0F1"}),i("stop",{offset:"1",stopColor:"#F8F7F9"})]}),C("linearGradient",{id:"paint2_linear_10378_19870",x1:"23.642",y1:"2.76305",x2:"24.5089",y2:"45.2366",gradientUnits:"userSpaceOnUse",children:[i("stop",{stopColor:"#BFBFBF"}),i("stop",{offset:"0.9816",stopColor:"#F8F7F9"})]}),i("clipPath",{id:"clip0_10378_19870",children:i("rect",{width:"48",height:"48",fill:"white"})}),i("clipPath",{id:"clip1_10378_19870",children:i("rect",{width:"33.6",height:"33.6",fill:"white",transform:"translate(7.2002 7.19922)"})}),i("clipPath",{id:"clip2_10378_19870",children:i("rect",{width:"33.585",height:"33.585",fill:"white",transform:"translate(7.2002 7.19922)"})})]})]})}export{t as default};
1
+ import{jsxs as t,jsx as o}from"react/jsx-runtime";function e(e){var r=e.width,i=void 0===r?36:r,s=e.height,C=void 0===s?36:s,l=e.className,a=e["data-testid"];return t("svg",{"data-testid":"".concat(void 0===a?"NoSegmentAppIconBeIdle":a,"_drillingBeIdle"),width:i,height:C,className:l,viewBox:"0 0 280 280",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[o("path",{d:"M210 0H70C31.3401 0 0 31.3401 0 70V210C0 248.66 31.3401 280 70 280H210C248.66 280 280 248.66 280 210V70C280 31.3401 248.66 0 210 0Z",fill:"url(#paint0_linear_4521_70734)"}),o("path",{opacity:"0.3",d:"M210 0H70C31.3401 0 0 31.3401 0 70V210C0 248.66 31.3401 280 70 280H210C248.66 280 280 248.66 280 210V70C280 31.3401 248.66 0 210 0Z",fill:"url(#paint1_linear_4521_70734)",style:{mixBlendMode:"multiply"}}),o("path",{d:"M140 259C205.722 259 259 205.722 259 140C259 74.2781 205.722 21 140 21C74.2781 21 21 74.2781 21 140C21 205.722 74.2781 259 140 259Z",fill:"url(#paint2_radial_4521_70734)"}),o("path",{d:"M258.976 140.429C258.979 140.284 259 140.145 259 140C259 139.905 258.986 139.813 258.986 139.718H254.386V111.923H255.527C255.473 111.685 255.404 111.45 255.346 111.212H254.386V107.478C254.126 106.565 253.955 105.616 253.675 104.713V111.212H225.88V83.4172H244.703C244.573 83.1754 244.422 82.9472 244.289 82.7062H225.88V57.7632C225.637 57.509 225.415 57.2334 225.169 56.9809V82.7062H197.374V54.9114H223.108C222.855 54.6648 222.578 54.4444 222.325 54.2004H197.374V35.7592C197.131 35.6259 196.906 35.4665 196.663 35.3345V54.2004H168.868V26.4055H175.537C174.655 26.1291 173.728 25.9505 172.836 25.6946H168.868V24.6743C168.629 24.6149 168.396 24.5495 168.157 24.4915V25.6946H140.362V21.0184C140.239 21.0179 140.123 21 140 21C139.88 21 139.768 21.0171 139.651 21.0175V25.6946H111.856V24.4872C111.617 24.5449 111.385 24.6111 111.146 24.67V25.6946H107.16C106.268 25.9505 105.345 26.1291 104.46 26.4055H111.146V54.2004H83.3506V35.3273C83.108 35.4593 82.8823 35.6161 82.6397 35.7498V54.2004H57.6749C57.4185 54.4444 57.1417 54.6648 56.8921 54.9114H82.6397V82.7062H54.8448V56.9642C54.5987 57.2163 54.3765 57.4919 54.1338 57.7465V82.7062H35.7076C35.5743 82.9472 35.4239 83.1754 35.294 83.4172H54.1338V111.212H26.3389V104.653C26.0587 105.557 25.8878 106.505 25.628 107.418V111.212H24.6539C24.5923 111.45 24.5274 111.685 24.4693 111.923H25.6279V139.718H21.0137C21.0137 139.813 21 139.905 21 140C21 140.145 21.0205 140.284 21.0205 140.429H25.6279V168.224H24.5068C24.5649 168.462 24.6298 168.697 24.6914 168.935H25.6279V172.582C25.8877 173.495 26.0585 174.444 26.3388 175.347V168.935H54.1337V196.73H35.3657C35.499 196.973 35.663 197.197 35.7997 197.44H54.1337V222.254C54.3764 222.508 54.5986 222.783 54.8447 223.035V197.44H82.6396V225.235H57.0526C57.3055 225.481 57.579 225.703 57.8354 225.946H82.6396V244.25C82.8822 244.384 83.1078 244.54 83.3505 244.672V225.946H111.145V253.741H104.966C105.871 254.019 106.818 254.195 107.734 254.452H111.145V255.33C111.385 255.389 111.617 255.455 111.856 255.512V254.452H139.651V258.982C139.767 258.983 139.88 259 140 259C140.123 259 140.239 258.982 140.362 258.981V254.452H168.157V255.508C168.396 255.45 168.629 255.385 168.868 255.325V254.452H172.265C173.178 254.195 174.125 254.019 175.031 253.741H168.868V225.946H196.663V244.665C196.906 244.533 197.131 244.374 197.374 244.24V225.946H222.164C222.417 225.703 222.694 225.481 222.947 225.235H197.374V197.44H225.169V223.019C225.415 222.766 225.637 222.491 225.88 222.236V197.44H244.2C244.333 197.197 244.501 196.973 244.631 196.729H225.88V168.935H253.675V175.287C253.955 174.384 254.126 173.435 254.386 172.522V168.935H255.308C255.367 168.697 255.431 168.462 255.49 168.224H254.386V140.429L258.976 140.429ZM54.1337 168.224H26.3388V140.429H54.1337V168.224ZM54.1337 139.718H26.3388V111.923H54.1337V139.718ZM82.6396 196.73H54.8447V168.935H82.6396V196.73ZM82.6396 168.224H54.8447V140.429H82.6396V168.224ZM82.6396 139.718H54.8447V111.923H82.6396V139.718ZM82.6396 111.212H54.8447V83.4171H82.6396V111.212ZM111.145 225.235H83.3505V197.441H111.145V225.235ZM111.145 196.73H83.3505V168.935H111.145V196.73ZM111.145 168.224H83.3505V140.429H111.145V168.224ZM111.145 139.718H83.3505V111.923H111.145V139.718ZM111.145 111.212H83.3505V83.4171H111.145V111.212ZM111.145 82.7061H83.3505V54.9112H111.145V82.7061ZM139.651 253.741H111.856V225.946H139.651V253.741ZM139.651 225.235H111.856V197.441H139.651V225.235ZM139.651 196.73H111.856V168.935H139.651V196.73ZM139.651 168.224H111.856V140.429H139.651V168.224ZM139.651 139.718H111.856V111.923H139.651V139.718ZM139.651 111.212H111.856V83.4171H139.651V111.212ZM139.651 82.7061H111.856V54.9112H139.651V82.7061ZM139.651 54.2003H111.856V26.4054H139.651V54.2003ZM168.157 253.741H140.362V225.946H168.157V253.741ZM168.157 225.235H140.362V197.441H168.157V225.235ZM168.157 196.73H140.362V168.935H168.157V196.73ZM168.157 168.224H140.362V140.429H168.157V168.224ZM168.157 139.718H140.362V111.923H168.157V139.718ZM168.157 111.212H140.362V83.4171H168.157V111.212ZM168.157 82.7061H140.362V54.9112H168.157V82.7061ZM168.157 54.2003H140.362V26.4054H168.157V54.2003ZM196.663 225.235H168.868V197.441H196.663V225.235ZM196.663 196.73H168.868V168.935H196.663V196.73ZM196.663 168.224H168.868V140.429H196.663V168.224ZM196.663 139.718H168.868V111.923H196.663V139.718ZM196.663 111.212H168.868V83.4171H196.663V111.212ZM196.663 82.7061H168.868V54.9112H196.663V82.7061ZM225.169 196.73H197.374V168.935H225.169V196.73ZM225.169 168.224H197.374V140.429H225.169V168.224ZM225.169 139.718H197.374V111.923H225.169V139.718ZM225.169 111.212H197.374V83.4171H225.169V111.212ZM253.675 168.224H225.88V140.429H253.675V168.224ZM253.675 139.718H225.88V111.923H253.675V139.718Z",fill:"url(#paint3_radial_4521_70734)"}),o("mask",{id:"mask0_4521_70734",style:{maskType:"luminance"},maskUnits:"userSpaceOnUse",x:"18",y:"18",width:"244",height:"244",children:o("path",{d:"M261.451 139.999C261.451 207.059 207.061 261.449 140 261.449C72.8711 261.449 18.5527 207.059 18.5527 139.999C18.5527 72.8691 72.8711 18.5491 140 18.5491C207.061 18.5491 261.451 72.8691 261.451 139.999Z",fill:"white"})}),o("g",{mask:"url(#mask0_4521_70734)",children:o("g",{filter:"url(#filter0_d_4521_70734)",children:o("path",{d:"M140.001 18.5491C72.8709 18.5491 18.5508 72.8691 18.5508 139.999C18.5508 207.059 72.8709 261.449 140.001 261.449C207.062 261.449 261.452 207.059 261.452 139.999C261.452 72.8691 207.062 18.5491 140.001 18.5491ZM140.001 258.999C74.2705 258.999 21.0015 205.659 21.0015 139.999C21.0015 74.2692 74.2705 20.9993 140.001 20.9993C205.732 20.9993 259.001 74.2692 259.001 139.999C259.001 205.659 205.731 258.999 140.001 258.999Z",fill:"#A9B7C6"})})}),o("g",{filter:"url(#filter1_d_4521_70734)",children:o("path",{d:"M191.005 82.399L197.318 81.7255L202.991 81.1203C203.38 81.0788 203.757 81.2709 203.952 81.6102L209.032 90.4509L214.112 99.2915C214.307 99.6308 214.283 100.053 214.052 100.369L210.672 104.965L206.912 110.08C205.55 111.932 204.867 114.119 204.862 116.307C204.858 118.494 205.532 120.684 206.886 122.541L210.626 127.672L213.987 132.282C214.217 132.598 214.239 133.021 214.043 133.359L208.927 142.179L203.811 150.999C203.614 151.338 203.237 151.528 202.848 151.485L197.177 150.857L190.867 150.158C188.582 149.905 186.347 150.406 184.45 151.496C182.553 152.586 180.995 154.265 180.063 156.366L177.49 162.17L175.177 167.386C175.019 167.743 174.664 167.974 174.272 167.973L164.076 167.952L153.88 167.931C153.488 167.931 153.134 167.699 152.977 167.34L150.686 162.116L148.137 156.301C147.213 154.196 145.662 152.511 143.769 151.413C141.877 150.315 139.644 149.805 137.358 150.049L131.045 150.722L125.372 151.328C124.983 151.369 124.606 151.177 124.411 150.838L119.331 141.997L114.25 133.156C114.055 132.817 114.079 132.395 114.311 132.079L117.69 127.483L121.451 122.367C122.813 120.515 123.496 118.329 123.5 116.141C123.505 113.953 122.83 111.764 121.476 109.907L117.736 104.776L114.376 100.166C114.145 99.8496 114.123 99.4271 114.32 99.0886L119.436 90.2687L124.552 81.4487C124.748 81.1102 125.126 80.9196 125.515 80.9626L131.185 81.5909L137.496 82.2901C139.78 82.5433 142.016 82.0419 143.913 80.9518C145.809 79.8618 147.368 78.1831 148.3 76.0816L150.873 70.2776L153.185 65.0622C153.344 64.7044 153.699 64.4741 154.09 64.4749L164.287 64.4956L174.483 64.5164C174.874 64.5172 175.228 64.749 175.385 65.1074L177.676 70.3321L180.226 76.1466C181.149 78.2518 182.701 79.9369 184.593 81.0346C186.486 82.1323 188.719 82.6429 191.005 82.399Z",fill:"white"})}),o("g",{filter:"url(#filter2_d_4521_70734)",children:o("path",{d:"M189.267 112.209C191.896 129.369 177.324 143.941 160.164 141.312C149.47 139.673 140.73 130.933 139.091 120.239C136.462 103.079 151.034 88.5074 168.194 91.1363C178.888 92.7746 187.628 101.515 189.267 112.209Z",fill:"url(#paint4_linear_4521_70734)"})}),o("g",{filter:"url(#filter3_d_4521_70734)",children:o("path",{d:"M142.655 129.958L148.968 129.285L154.641 128.68C155.03 128.638 155.407 128.83 155.602 129.17L160.682 138.01L165.763 146.851C165.958 147.19 165.934 147.613 165.702 147.928L162.323 152.524L158.562 157.64C157.2 159.492 156.517 161.678 156.513 163.866C156.508 166.054 157.183 168.243 158.537 170.101L162.277 175.231L165.637 179.841C165.868 180.158 165.89 180.58 165.693 180.919L160.577 189.739L155.461 198.558C155.265 198.897 154.887 199.088 154.498 199.045L148.828 198.416L142.517 197.717C140.233 197.464 137.997 197.965 136.1 199.055C134.204 200.145 132.645 201.824 131.713 203.926L129.14 209.73L126.828 214.945C126.669 215.303 126.314 215.533 125.923 215.532L115.726 215.512L105.53 215.491C105.139 215.49 104.785 215.258 104.628 214.9L102.337 209.675L99.787 203.861C98.8639 201.755 97.3121 200.07 95.4196 198.973C93.5272 197.875 91.2941 197.364 89.0083 197.608L82.6952 198.282L77.0224 198.887C76.6332 198.928 76.2563 198.736 76.0613 198.397L70.9811 189.556L65.9008 180.716C65.7058 180.376 65.7296 179.954 65.9614 179.639L69.3407 175.042L73.1013 169.927C74.4629 168.075 75.1463 165.888 75.1508 163.701C75.1553 161.513 74.4808 159.324 73.1267 157.466L69.3869 152.335L66.0263 147.725C65.7958 147.409 65.7738 146.986 65.9701 146.648L71.0863 137.828L76.2025 129.008C76.3988 128.67 76.7765 128.479 77.1655 128.522L82.8358 129.15L89.1461 129.849C91.4309 130.103 93.666 129.601 95.5629 128.511C97.4598 127.421 99.0185 125.742 99.9502 123.641L102.523 117.837L104.836 112.622C104.994 112.264 105.349 112.033 105.741 112.034L115.937 112.055L126.133 112.076C126.525 112.077 126.879 112.308 127.036 112.667L129.327 117.891L131.876 123.706C132.8 125.811 134.351 127.496 136.244 128.594C138.136 129.692 140.369 130.202 142.655 129.958Z",fill:"url(#paint5_linear_4521_70734)"})}),o("g",{opacity:"0.35",children:o("path",{d:"M106.191 113.718L115.934 113.738L125.676 113.758L127.785 118.567L130.334 124.382C131.385 126.778 133.136 128.738 135.399 130.05C137.261 131.131 139.381 131.701 141.531 131.701C141.964 131.701 142.402 131.678 142.834 131.632L149.147 130.959L154.368 130.402L159.223 138.849L164.076 147.296L160.966 151.527L157.206 156.642C155.656 158.75 154.834 161.247 154.829 163.863C154.824 166.479 155.635 168.979 157.176 171.093L160.916 176.223L164.009 180.466L159.121 188.894L154.232 197.321L149.013 196.743L142.703 196.044C142.255 195.994 141.8 195.969 141.351 195.969C139.219 195.969 137.113 196.531 135.262 197.596C132.994 198.898 131.234 200.851 130.174 203.243L127.601 209.047L125.472 213.848L115.73 213.828L105.987 213.808L103.878 208.999L101.329 203.185C100.278 200.789 98.527 198.829 96.2645 197.516C94.4023 196.436 92.2817 195.865 90.1319 195.865C89.6991 195.865 89.2609 195.888 88.8295 195.934L82.5163 196.607L77.2948 197.165L72.4407 188.717L67.5867 180.27L70.6971 176.039L74.4578 170.924C76.0072 168.816 76.8291 166.32 76.8344 163.704C76.8397 161.087 76.0281 158.588 74.4872 156.474L70.7474 151.344L67.6541 147.1L72.5426 138.673L77.431 130.245L82.6504 130.824L88.9606 131.523C89.4082 131.572 89.863 131.598 90.312 131.598C92.4439 131.598 94.5497 131.035 96.4016 129.971C98.6694 128.668 100.429 126.715 101.489 124.323L104.062 118.519L106.191 113.718ZM105.739 112.034C105.349 112.034 104.994 112.264 104.836 112.621L102.523 117.837L99.9502 123.641C99.0184 125.742 97.4598 127.421 95.5629 128.511C93.9904 129.414 92.1853 129.914 90.3122 129.914C89.9259 129.914 89.5367 129.892 89.1461 129.849L82.8358 129.15L77.1654 128.522C77.1289 128.518 77.0925 128.516 77.0563 128.516C76.7072 128.516 76.3804 128.701 76.2024 129.008L71.0863 137.828L65.9702 146.647C65.7738 146.986 65.7958 147.409 66.0263 147.725L69.3869 152.335L73.1267 157.466C74.4808 159.323 75.1552 161.512 75.1508 163.7C75.1464 165.888 74.4629 168.074 73.1013 169.927L69.3407 175.042L65.9614 179.638C65.7296 179.953 65.7058 180.376 65.9008 180.715L70.981 189.556L76.0612 198.397C76.2385 198.706 76.5663 198.892 76.917 198.892C76.9519 198.892 76.987 198.891 77.0222 198.887L82.6951 198.281L89.0082 197.608C89.3847 197.568 89.7596 197.548 90.132 197.548C92.0202 197.548 93.8388 198.055 95.4195 198.973C97.312 200.07 98.8638 201.755 99.7869 203.861L102.337 209.675L104.628 214.9C104.785 215.258 105.139 215.49 105.53 215.491L115.726 215.511L125.923 215.532H125.924C126.315 215.532 126.669 215.302 126.828 214.945L129.14 209.729L131.713 203.925C132.645 201.824 134.204 200.145 136.1 199.055C137.673 198.152 139.478 197.652 141.351 197.652C141.737 197.652 142.127 197.674 142.517 197.717L148.828 198.416L154.498 199.044C154.535 199.048 154.571 199.05 154.607 199.05C154.956 199.05 155.283 198.865 155.461 198.558L160.577 189.738L165.693 180.919C165.89 180.58 165.868 180.157 165.637 179.841L162.276 175.231L158.537 170.101C157.183 168.243 156.508 166.054 156.513 163.866C156.517 161.678 157.2 159.492 158.562 157.64L162.323 152.524L165.702 147.928C165.934 147.613 165.958 147.19 165.763 146.851L160.682 138.01L155.602 129.169C155.425 128.861 155.097 128.674 154.746 128.674C154.711 128.674 154.676 128.675 154.641 128.679L148.968 129.285L142.655 129.958C142.279 129.998 141.904 130.018 141.531 130.018C139.643 130.018 137.825 129.511 136.244 128.593C134.351 127.496 132.8 125.811 131.877 123.706L129.327 117.891L127.036 112.666C126.879 112.308 126.525 112.076 126.133 112.075L115.937 112.054L105.741 112.034L105.739 112.034Z",fill:"white"})}),o("path",{d:"M140.919 159.767C143.548 176.928 128.977 191.499 111.816 188.87C101.122 187.232 92.382 178.492 90.7438 167.798C88.1148 150.638 102.686 136.066 119.847 138.695C130.54 140.333 139.281 149.074 140.919 159.767Z",fill:"url(#paint6_radial_4521_70734)"}),t("defs",{children:[t("filter",{id:"filter0_d_4521_70734",x:"-2.80879",y:"-2.8105",width:"285.621",height:"285.619",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[o("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),o("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),o("feOffset",{}),o("feGaussianBlur",{stdDeviation:"10.6798"}),o("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.6 0"}),o("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_4521_70734"}),o("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_4521_70734",result:"shape"})]}),t("filter",{id:"filter1_d_4521_70734",x:"107.565",y:"61.1976",width:"113.234",height:"116.607",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[o("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),o("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),o("feOffset",{dy:"3.27727"}),o("feGaussianBlur",{stdDeviation:"3.27727"}),o("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.3 0"}),o("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_4521_70734"}),o("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_4521_70734",result:"shape"})]}),t("filter",{id:"filter2_d_4521_70734",x:"133.26",y:"88.0665",width:"61.8376",height:"61.8383",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[o("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),o("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),o("feOffset",{dy:"2.76163"}),o("feGaussianBlur",{stdDeviation:"2.76163"}),o("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.3 0"}),o("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_4521_70734"}),o("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_4521_70734",result:"shape"})]}),t("filter",{id:"filter3_d_4521_70734",x:"59.215",y:"108.757",width:"113.234",height:"116.607",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[o("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),o("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),o("feOffset",{dy:"3.27727"}),o("feGaussianBlur",{stdDeviation:"3.27727"}),o("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.3 0"}),o("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_4521_70734"}),o("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_4521_70734",result:"shape"})]}),t("linearGradient",{id:"paint0_linear_4521_70734",x1:"140",y1:"0",x2:"140",y2:"280",gradientUnits:"userSpaceOnUse",children:[o("stop",{offset:"0.0018",stopColor:"#F6F5F7"}),o("stop",{offset:"0.2008",stopColor:"#F0F0F3"}),o("stop",{offset:"0.464",stopColor:"#DFE2E8"}),o("stop",{offset:"0.7618",stopColor:"#C4CCD7"}),o("stop",{offset:"1",stopColor:"#A9B7C6"})]}),t("linearGradient",{id:"paint1_linear_4521_70734",x1:"30.625",y1:"11.5857",x2:"249.375",y2:"268.414",gradientUnits:"userSpaceOnUse",children:[o("stop",{offset:"0.375",stopColor:"white"}),o("stop",{offset:"0.4241",stopColor:"#CCCCCC"}),o("stop",{offset:"0.4772",stopColor:"#9C9C9C"}),o("stop",{offset:"0.5336",stopColor:"#727272"}),o("stop",{offset:"0.5922",stopColor:"#4F4F4F"}),o("stop",{offset:"0.6538",stopColor:"#323232"}),o("stop",{offset:"0.7192",stopColor:"#1C1C1C"}),o("stop",{offset:"0.7902",stopColor:"#0C0C0C"}),o("stop",{offset:"0.8711",stopColor:"#020202"}),o("stop",{offset:"0.9832"})]}),t("radialGradient",{id:"paint2_radial_4521_70734",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(140.129 139.808) rotate(-90) scale(144.021)",children:[o("stop",{stopColor:"#A9B2BC"}),o("stop",{offset:"0.1892",stopColor:"#A2ACB7"}),o("stop",{offset:"0.4441",stopColor:"#919DAA"}),o("stop",{offset:"0.7351",stopColor:"#758494"}),o("stop",{offset:"0.9991",stopColor:"#56697C"})]}),t("radialGradient",{id:"paint3_radial_4521_70734",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(140 140) scale(119 119)",children:[o("stop",{stopColor:"#A9B2BC"}),o("stop",{offset:"0.3016",stopColor:"#A9B2BC",stopOpacity:"0.453468"}),o("stop",{offset:"0.8795",stopColor:"#A9B2BC",stopOpacity:"0"})]}),t("linearGradient",{id:"paint4_linear_4521_70734",x1:"144.371",y1:"99.3722",x2:"186.364",y2:"135.097",gradientUnits:"userSpaceOnUse",children:[o("stop",{offset:"0.032",stopColor:"#97A3B3"}),o("stop",{offset:"0.2292",stopColor:"#7D8A99"}),o("stop",{offset:"0.5216",stopColor:"#5D6A7A"}),o("stop",{offset:"0.7677",stopColor:"#4A5766"}),o("stop",{offset:"0.9363",stopColor:"#435160"})]}),t("linearGradient",{id:"paint5_linear_4521_70734",x1:"74.3696",y1:"123.902",x2:"155.564",y2:"202.001",gradientUnits:"userSpaceOnUse",children:[o("stop",{offset:"0.032",stopColor:"#97A3B3"}),o("stop",{offset:"0.9363",stopColor:"#435160"})]}),t("radialGradient",{id:"paint6_radial_4521_70734",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(115.837 163.787) scale(25.3967 25.3967)",children:[o("stop",{offset:"0.606",stopColor:"white",stopOpacity:"0"}),o("stop",{offset:"0.6593",stopColor:"white",stopOpacity:"0.01"}),o("stop",{offset:"0.709",stopColor:"white",stopOpacity:"0.01"}),o("stop",{offset:"0.7574",stopColor:"white",stopOpacity:"0.0177156"}),o("stop",{offset:"0.805",stopColor:"white",stopOpacity:"0.0564062"}),o("stop",{offset:"0.8519",stopColor:"white",stopOpacity:"0.138533"}),o("stop",{offset:"0.8984",stopColor:"white",stopOpacity:"0.288691"}),o("stop",{offset:"0.9446",stopColor:"white",stopOpacity:"0.536996"}),o("stop",{offset:"0.9894",stopColor:"white",stopOpacity:"0.909162"}),o("stop",{offset:"0.9981",stopColor:"white"})]})]})]})}export{e as default};
2
2
  //# sourceMappingURL=NoSegmentAppIconBeIdle.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/components/AppIcon/utils.js"],"names":[],"mappings":"AAcA,uGAgBC;AAED,mEAWC;8BA3C6B,4BAA4B"}
1
+ {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/components/AppIcon/utils.js"],"names":[],"mappings":"AAiBA,uGAqBC;AAED,mEAaC;8BArD6B,4BAA4B"}
@@ -1,2 +1,2 @@
1
- import e from"./assets/CompletionAppIcon.js";import t from"./assets/CompletionAppIconBe.js";import i from"./assets/DrillingAppIcon.js";import r from"./assets/DrillingAppIconBe.js";import n from"./assets/NoSegmentAppIconBeIdle.js";import c from"./assets/NoSegmentAppIcon.js";import{SEGMENTS as s}from"../../constants/segment.js";var o="/static/media/3f1e09e6e814329ccfc22c5f2fb49320.png";function a(o){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"ui";if(!o||!o.length)return c;var p="ui"===a,f="be"===a,m=o[0];if(m===s.COMPLETION){if(p)return e;if(f)return t}if(m===s.DRILLING){if(p)return i;if(f)return r}return n}function p(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"ui";if(!e||!e.length)return o;var i="ui"===t,r=e[0];return r===s.COMPLETION?i?"/static/media/747c045c9381addbc4c6aecd531ccbff.png":"/static/media/9f235cc0306a992ec6aecee01ad6956b.png":r===s.DRILLING?i?"/static/media/dad8511026615181e47069625c14a00d.png":"/static/media/cc3725c7d2b2258f38e3e25e49ce0a53.png":o}export{p as getAppIcon,a as getIconComponentBySegment};
1
+ import e from"./assets/CompletionAppIcon.js";import t from"./assets/CompletionAppIconBe.js";import i from"./assets/DrillingAppIcon.js";import n from"./assets/DrillingAppIconBe.js";import r from"./assets/InterventionAppIcon.js";import a from"./assets/NoSegmentAppIconBeIdle.js";import s from"./assets/NoSegmentAppIcon.js";import{SEGMENTS as o}from"../../constants/segment.js";var p="/static/media/24e85195c257f1a487266abb9fc7a2bf.png";function f(p){var f=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"ui";if(!p||!p.length)return"be"===f?a:s;var c="ui"===f,m="be"===f,d=p[0];if(d===o.COMPLETION){if(c)return e;if(m)return t}if(d===o.DRILLING){if(c)return i;if(m)return n}return d===o.INTERVENTION?r:a}function c(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"ui";if(!e||!e.length)return p;var i="ui"===t,n=e[0];return n===o.COMPLETION?i?"/static/media/9fd5109325b72bf1dea0d2984b0478b8.png":"/static/media/573240ce4ae3f03b1dcda59a6122d385.png":n===o.DRILLING?i?"/static/media/611a0b004a47e773eef650c39e484dde.png":"/static/media/637021239e939e67a50264c22fdad2cf.png":n===o.INTERVENTION?"/static/media/c901dbd37bce6a412f2c0f0ceecfea1d.png":p}export{c as getAppIcon,f as getIconComponentBySegment};
2
2
  //# sourceMappingURL=utils.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"utils.js","sources":["../../../src/components/AppIcon/utils.js"],"sourcesContent":["import CompletionAppIcon from './assets/CompletionAppIcon';\nimport CompletionAppIconBe from './assets/CompletionAppIconBe';\nimport DrillingAppIcon from './assets/DrillingAppIcon';\nimport DrillingAppIconBe from './assets/DrillingAppIconBe';\nimport NoSegmentAppIconBeIdle from './assets/NoSegmentAppIconBeIdle';\nimport NoSegmentAppIcon from './assets/NoSegmentAppIcon';\nimport CompletionAppIconPng from './assets/CompletionAppIcon.png';\nimport CompletionAppIconBePng from './assets/CompletionAppIconBe.png';\nimport DrillingAppIconPng from './assets/DrillingAppIcon.png';\nimport DrillingAppIconBePng from './assets/DrillingAppIconBe.png';\nimport NoSegmentAppIconPng from './assets/NoSegmentAppIcon.png';\n\nimport { SEGMENTS } from '~/constants/segment';\n\nexport function getIconComponentBySegment(segment, appDevType = 'ui') {\n if (!segment || !segment.length) return NoSegmentAppIcon;\n const isUiApp = appDevType === 'ui';\n const isBeAppActiveStatus = appDevType === 'be';\n const currentSegment = segment[0];\n\n if (currentSegment === SEGMENTS.COMPLETION) {\n if (isUiApp) return CompletionAppIcon;\n if (isBeAppActiveStatus) return CompletionAppIconBe;\n }\n if (currentSegment === SEGMENTS.DRILLING) {\n if (isUiApp) return DrillingAppIcon;\n if (isBeAppActiveStatus) return DrillingAppIconBe;\n }\n\n return NoSegmentAppIconBeIdle;\n}\n\nexport function getAppIcon(segment, appDevType = 'ui') {\n if (!segment || !segment.length) return NoSegmentAppIconPng;\n const isUiApp = appDevType === 'ui';\n const currentSegment = segment[0];\n\n if (currentSegment === SEGMENTS.COMPLETION)\n return isUiApp ? CompletionAppIconPng : CompletionAppIconBePng;\n if (currentSegment === SEGMENTS.DRILLING)\n return isUiApp ? DrillingAppIconPng : DrillingAppIconBePng;\n\n return NoSegmentAppIconPng;\n}\n"],"names":["NoSegmentAppIconPng","getIconComponentBySegment","segment","appDevType","length","NoSegmentAppIcon","isUiApp","isBeAppActiveStatus","currentSegment","SEGMENTS","COMPLETION","CompletionAppIcon","CompletionAppIconBe","DRILLING","DrillingAppIcon","DrillingAppIconBe","NoSegmentAppIconBeIdle","getAppIcon"],"mappings":"wUAKyD,IAAAA,EAAA,qDASlD,SAASC,EAA0BC,GAA4B,IAAnBC,yDAAa,KAC9D,IAAKD,IAAYA,EAAQE,OAAQ,OAAOC,EACxC,IAAMC,EAAyB,OAAfH,EACVI,EAAqC,OAAfJ,EACtBK,EAAiBN,EAAQ,GAE/B,GAAIM,IAAmBC,EAASC,WAAY,CAC1C,GAAIJ,EAAS,OAAOK,EACpB,GAAIJ,EAAqB,OAAOK,CAClC,CACA,GAAIJ,IAAmBC,EAASI,SAAU,CACxC,GAAIP,EAAS,OAAOQ,EACpB,GAAIP,EAAqB,OAAOQ,CAClC,CAEA,OAAOC,CACT,CAEO,SAASC,EAAWf,GAA4B,IAAnBC,yDAAa,KAC/C,IAAKD,IAAYA,EAAQE,OAAQ,OAAOJ,EACxC,IAAMM,EAAyB,OAAfH,EACVK,EAAiBN,EAAQ,GAE/B,OAAIM,IAAmBC,EAASC,WACvBJ,EAjC8C,qDAAA,qDAkCnDE,IAAmBC,EAASI,SACvBP,EAnC8C,qDAAA,qDAqChDN,CACT"}
1
+ {"version":3,"file":"utils.js","sources":["../../../src/components/AppIcon/utils.js"],"sourcesContent":["import CompletionAppIcon from './assets/CompletionAppIcon';\nimport CompletionAppIconBe from './assets/CompletionAppIconBe';\nimport DrillingAppIcon from './assets/DrillingAppIcon';\nimport DrillingAppIconBe from './assets/DrillingAppIconBe';\nimport InterventionAppIcon from './assets/InterventionAppIcon';\nimport NoSegmentAppIconBeIdle from './assets/NoSegmentAppIconBeIdle';\nimport NoSegmentAppIcon from './assets/NoSegmentAppIcon';\nimport CompletionAppIconPng from './assets/CompletionAppIcon.png';\nimport CompletionAppIconBePng from './assets/CompletionAppIconBe.png';\nimport DrillingAppIconPng from './assets/DrillingAppIcon.png';\nimport DrillingAppIconBePng from './assets/DrillingAppIconBe.png';\nimport InterventionAppIconPng from './assets/InterventionAppIcon.png';\nimport InterventionAppIconBePng from './assets/InterventionAppIconBe.png';\nimport NoSegmentAppIconPng from './assets/NoSegmentAppIcon.png';\n\nimport { SEGMENTS } from '~/constants/segment';\n\nexport function getIconComponentBySegment(segment, appDevType = 'ui') {\n if (!segment || !segment.length) {\n return appDevType === 'be' ? NoSegmentAppIconBeIdle : NoSegmentAppIcon;\n }\n const isUiApp = appDevType === 'ui';\n const isBeAppActiveStatus = appDevType === 'be';\n const currentSegment = segment[0];\n\n if (currentSegment === SEGMENTS.COMPLETION) {\n if (isUiApp) return CompletionAppIcon;\n if (isBeAppActiveStatus) return CompletionAppIconBe;\n }\n if (currentSegment === SEGMENTS.DRILLING) {\n if (isUiApp) return DrillingAppIcon;\n if (isBeAppActiveStatus) return DrillingAppIconBe;\n }\n if (currentSegment === SEGMENTS.INTERVENTION) {\n return InterventionAppIcon;\n }\n\n return NoSegmentAppIconBeIdle;\n}\n\nexport function getAppIcon(segment, appDevType = 'ui') {\n if (!segment || !segment.length) return NoSegmentAppIconPng;\n const isUiApp = appDevType === 'ui';\n const currentSegment = segment[0];\n\n if (currentSegment === SEGMENTS.COMPLETION)\n return isUiApp ? CompletionAppIconPng : CompletionAppIconBePng;\n if (currentSegment === SEGMENTS.DRILLING)\n return isUiApp ? DrillingAppIconPng : DrillingAppIconBePng;\n if (currentSegment === SEGMENTS.INTERVENTION)\n return isUiApp ? InterventionAppIconPng : InterventionAppIconBePng;\n\n return NoSegmentAppIconPng;\n}\n"],"names":["NoSegmentAppIconPng","getIconComponentBySegment","segment","appDevType","length","NoSegmentAppIconBeIdle","NoSegmentAppIcon","isUiApp","isBeAppActiveStatus","currentSegment","SEGMENTS","COMPLETION","CompletionAppIcon","CompletionAppIconBe","DRILLING","DrillingAppIcon","DrillingAppIconBe","INTERVENTION","InterventionAppIcon","getAppIcon"],"mappings":"uXAMyD,IAAAA,EAAA,qDAWlD,SAASC,EAA0BC,GAA4B,IAAnBC,yDAAa,KAC9D,IAAKD,IAAYA,EAAQE,OACvB,MAAsB,OAAfD,EAAsBE,EAAyBC,EAExD,IAAMC,EAAyB,OAAfJ,EACVK,EAAqC,OAAfL,EACtBM,EAAiBP,EAAQ,GAE/B,GAAIO,IAAmBC,EAASC,WAAY,CAC1C,GAAIJ,EAAS,OAAOK,EACpB,GAAIJ,EAAqB,OAAOK,CAClC,CACA,GAAIJ,IAAmBC,EAASI,SAAU,CACxC,GAAIP,EAAS,OAAOQ,EACpB,GAAIP,EAAqB,OAAOQ,CAClC,CACA,OAAIP,IAAmBC,EAASO,aACvBC,EAGFb,CACT,CAEO,SAASc,EAAWjB,GAA4B,IAAnBC,yDAAa,KAC/C,IAAKD,IAAYA,EAAQE,OAAQ,OAAOJ,EACxC,IAAMO,EAAyB,OAAfJ,EACVM,EAAiBP,EAAQ,GAE/B,OAAIO,IAAmBC,EAASC,WACvBJ,EAxC8C,qDAAA,qDAyCnDE,IAAmBC,EAASI,SACvBP,EA1C8C,qDAAA,qDA2CnDE,IAAmBC,EAASO,aA3CuB,qDA8ChDjB,CACT"}
@@ -1,2 +1,2 @@
1
- import r from"@babel/runtime/helpers/slicedToArray";import{jsx as e,jsxs as t}from"react/jsx-runtime";import{memo as i,useState as n,useRef as o,useEffect as a}from"react";import{makeStyles as s,Tooltip as c}from"@material-ui/core";import l from"classnames";import{MIXPANEL_ACTION_TYPES as m}from"../../constants/mixpanel.js";import"../DevCenter/DevCenterRouterContext/DevCenterRouterContext.js";import{UniversalLink as u}from"../DevCenter/DevCenterRouterContext/UniversalLink/UniversalLink.js";import"@babel/runtime/helpers/defineProperty";import"@babel/runtime/helpers/objectWithoutProperties";import"react-router";import{truncateInTheMiddle as d}from"../../utils/formatting.js";import p from"./AssetNameLabel.styles.css.js";var f=s({assetName:{maxWidth:function(r){return r.chipMaxWidth}}}),h=i((function(i){var s,h=i.assetName,v=i.classes,x=i.coordinatesPixelWidth,C=i.dataTestId,b=i.href,N=i.icon,D=i.statusBadge,j=n(h),W=r(j,2),A=W[0],R=W[1],T=o(null),y=o(),S=(s=null!=x?x:0)>=1024?244:s>=768?184:s>=420?134:44,g=o(S),k=f({chipMaxWidth:S});return a((function(){R(h),y.current=void 0}),[h]),a((function(){!y.current&&T.current&&(y.current=T.current.scrollWidth)}),[y.current]),a((function(){if(T.current&&y.current){if(S>g.current)return R(h),y.current=void 0,void(g.current=S);var r=d(h,T.current.clientWidth,y.current);R(r),g.current=S}}),[h,S,T.current,y.current]),e(c,{title:h||"",children:e("div",{className:l(p.wrapper),children:t(u,{className:l(p.item,null==v?void 0:v.item),"data-testid":C,href:b,onClick:function(){var r,e;null===(r=(e=window)[Symbol.for("logToMixpanel")])||void 0===r||r.call(e,m.REDIRECT.ASSET_DASHBOARD,{referer:"Asset Chip"})},children:[N&&e("div",{className:p.startIcon,children:N}),e("span",{className:l(p.assetName,k.assetName),ref:T,children:A}),D]})})})}));export{h as AssetNameLabel};
1
+ import r from"@babel/runtime/helpers/slicedToArray";import{jsx as e,jsxs as t}from"react/jsx-runtime";import{memo as i,useState as n,useRef as o,useEffect as s}from"react";import{makeStyles as a,Tooltip as c}from"@material-ui/core";import m from"classnames";import{MIXPANEL_ACTION_TYPES as l}from"../../constants/mixpanel.js";import"../DevCenter/DevCenterRouterContext/DevCenterRouterContext.js";import{UniversalLink as u}from"../DevCenter/DevCenterRouterContext/UniversalLink/UniversalLink.js";import"@babel/runtime/helpers/defineProperty";import"@babel/runtime/helpers/objectWithoutProperties";import"react-router-dom";import"query-string";import{truncateInTheMiddle as d}from"../../utils/formatting.js";import p from"./AssetNameLabel.styles.css.js";var f=a({assetName:{maxWidth:function(r){return r.chipMaxWidth}}}),h=i((function(i){var a,h=i.assetName,v=i.classes,x=i.coordinatesPixelWidth,C=i.dataTestId,b=i.href,N=i.icon,D=i.statusBadge,j=n(h),W=r(j,2),A=W[0],R=W[1],y=o(null),T=o(),g=(a=null!=x?x:0)>=1024?244:a>=768?184:a>=420?134:44,S=o(g),k=f({chipMaxWidth:g});return s((function(){R(h),T.current=void 0}),[h]),s((function(){!T.current&&y.current&&(T.current=y.current.scrollWidth)}),[T.current]),s((function(){if(y.current&&T.current){if(g>S.current)return R(h),T.current=void 0,void(S.current=g);var r=d(h,y.current.clientWidth,T.current);R(r),S.current=g}}),[h,g,y.current,T.current]),e(c,{title:h||"",children:e("div",{className:m(p.wrapper),children:t(u,{className:m(p.item,null==v?void 0:v.item),"data-testid":C,href:b,onClick:function(){var r,e;null===(r=(e=window)[Symbol.for("logToMixpanel")])||void 0===r||r.call(e,l.REDIRECT.ASSET_DASHBOARD,{referer:"Asset Chip"})},children:[N&&e("div",{className:p.startIcon,children:N}),e("span",{className:m(p.assetName,k.assetName),ref:y,children:A}),D]})})})}));export{h as AssetNameLabel};
2
2
  //# sourceMappingURL=AssetNameLabel.js.map
@@ -1,2 +1,2 @@
1
- import o from"@babel/runtime/helpers/slicedToArray";import{useState as t,useCallback as e}from"react";import s from"prop-types";import i from"react-player";import n from"classnames";import{withStyles as a}from"@material-ui/core/styles";import{Typography as c}from"@material-ui/core";import r from"@material-ui/icons/Image";import m from"@material-ui/icons/Fullscreen";import l from"@material-ui/core/colors/grey";import p from"../NewDocumentViewer/NewDocumentViewer.js";import{UnavailableFileIcon as d}from"../NewDocumentViewer/icons/UnavailableFileIcon.js";import u from"./styles.css.js";import h from"../FileTypeIcon.js";import j from"../ImageViewer/index.js";import f from"../IconButton/index.js";import{isNativeDetected as I}from"../../utils/mobileDetect.js";import{getIsImage as g,getIsVideo as v}from"../../utils/fileExtension.js";import{getIsPreviewUnavailable as b}from"../../utils/filePreview.js";import{DownloadIcon as N}from"../../icons/iconParkIcons.js";import"../../icons/customIcons/icons/AddMessage.js";import"../../icons/customIcons/icons/Attention.js";import"../../icons/customIcons/icons/Collapse.js";import"../../icons/customIcons/icons/Dashboard.js";import"../../icons/customIcons/icons/Expand.js";import"../../icons/customIcons/icons/FolderClosed.js";import"../../icons/customIcons/icons/FolderClosedFilled.js";import"../../icons/customIcons/icons/FolderOpened.js";import"../../icons/customIcons/icons/GreaterOrEqual.js";import"../../icons/customIcons/icons/LessOrEqual.js";import"../../icons/customIcons/icons/Search.js";import"../../icons/customIcons/icons/SearchOne.js";import"../../icons/customIcons/icons/Wellhub.js";import"../../icons/customIcons/icons/MultiRuler.js";import"../../icons/customIcons/icons/Checkbox.js";import"../../icons/customIcons/icons/CheckboxChecked.js";import"../../icons/customIcons/icons/CheckboxIndeterminate.js";import"../../icons/customIcons/icons/Radio.js";import"../../icons/customIcons/icons/RadioChecked.js";import"../../icons/customIcons/icons/SimulFrac.js";import"../../icons/customIcons/icons/ZipperFrac.js";import"../../icons/customIcons/icons/CautionFilled.js";import"../../icons/customIcons/icons/MoreApp.js";import"../../icons/customIcons/icons/Pad.js";import"../../icons/customIcons/icons/DrilloutUnit.js";import"../../icons/customIcons/icons/FracFleet.js";import"../../icons/customIcons/icons/Global.js";import"../../icons/customIcons/icons/Program.js";import"../../icons/customIcons/icons/Rig.js";import"../../icons/customIcons/icons/Well.js";import"../../icons/customIcons/icons/Gap.js";import"../../icons/customIcons/icons/Pin.js";import"../../icons/customIcons/icons/CloseOneFilled.js";import"../../icons/customIcons/icons/AttentionFilled.js";import"../../icons/customIcons/icons/CheckOneFilled.js";import"../../icons/customIcons/icons/Archive.js";import"../../icons/customIcons/icons/ArchiveCancel.js";import"../../icons/customIcons/icons/Unarchive.js";import"../../icons/customIcons/icons/Archived.js";import"../../icons/customIcons/icons/InterventionUnit.js";import"../../icons/customIcons/icons/CloudDelete.js";import"../../icons/customIcons/icons/Lasso.js";import"../../icons/customIcons/icons/Radius.js";import"../../clients/subscriptions/constants.js";import"@babel/runtime/helpers/asyncToGenerator";import"@babel/runtime/helpers/defineProperty";import"@babel/runtime/regenerator";import"querystring";import"uuid/v1";import"lodash";import"../../clients/subscriptions.v1.js";import"../../clients/jsonApi/index.js";import"../../clients/subscriptions/subscriptions-client.factory.js";import"immutable";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 w from"../../effects/useSignedURL.js";import"../../utils/index.js";import"uuid";import"jsona";import"../../utils/env.js";import"../StatusBadge/constants.js";import"@babel/runtime/helpers/toConsumableArray";import"lodash/set";import"lodash/get";import"lodash/unset";import"moment";import"../../clients/api/apiCore.js";import"../../clients/constants.js";import"../../clients/sso/auth0.js";import"../../clients/sso/oauth2.js";import"lodash/isEmpty";import"lodash/sortBy";import"../../constants/streamSourceType.js";import"../DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchContext.js";import"../../componentsV2/AppCommonsProvider/AppCommonsProvider.js";import"../../componentsV2/AppCommonsProvider/AppCommonsContext.js";import C from"../../utils/main.js";import{jsx as x,jsxs as y,Fragment as A}from"react/jsx-runtime";var F=l[200],P=l[400],D={label:"small",value:135},S={label:"medium",value:300},W={fileImage:function(o,t){return{maxWidth:"100%",borderRadius:4,overflow:"hidden",maxHeight:t===D.label?D.value:S.value,display:o?"initial":"none",cursor:"pointer"}},fileDownloadWrapper:{padding:"10px 10px 10px 5px",border:"1px solid #616161",borderRadius:3,maxWidth:500,width:"75%"},imagePlaceholder:{position:"relative",backgroundColor:F,borderRadius:3,marginTop:10,height:135,width:135}},R=function(o){var t=w(o.attachmentFileName)||o.attachmentUrl;return y(A,{children:[y("div",{onClick:o.openLightbox,className:u.cAttachmentImg,children:[x("img",{"data-testid":"".concat("Attachment","_image"),src:t,style:W.fileImage(o.imageIsLoaded,o.size),alt:"Attachment",onLoad:o.setImageIsLoaded}),x("div",{"data-testid":"".concat("Attachment","_button"),className:u.cAttachmentImgPreviwBtn,children:x(m,{})})]}),!o.imageIsLoaded&&x("div",{style:W.imagePlaceholder,children:x(r,{"data-testid":"".concat("Attachment","_placeholder"),className:o.classes.imageIconRoot,htmlColor:P,fontSize:"large"})}),o.lightboxIsOpen&&x(j,{mainSrc:t,imagePadding:50,onAfterOpen:o.handleLightboxOpen,onCloseRequest:o.handleLightboxClose})]})},z=function(o){var t=C.getFileNameWithExtensionFromPath(o.displayName||o.attachmentUrl),e=w(o.attachmentFileName,"inline"),s=w(o.attachmentFileName,"attachment"),i=b(t);return y("div",{className:u.cAttachmentFileWrapper,children:[y("div",{className:n(u.cAttachmentFileDownloadWrapper,i&&o.classes.disabledPreview),style:W.fileDownloadWrapper,onClick:function(){i||o.openPreview()},children:[i?x(d,{className:o.classes.unavailableFileIcon}):x(h,{fileName:o.displayName||o.attachmentUrl,className:u.cAttachmentFileDownloadWrapperFileIcon,size:o.small?25:50}),y("div",{className:o.classes.titleContainer,children:[i&&x("div",{className:o.classes.caption,children:"Preview unavailable"}),x("div",{"data-testid":"".concat("Attachment","_name"),className:n(u.cAttachmentFileDownloadWrapperFileName,i&&o.classes.fileName),children:x(c,{variant:"subtitle2",noWrap:!0,className:o.classes.unavailableFileName,children:t})})]}),x(p,{fileUrl:e,classes:{root:o.classes.dialogRoot,paper:I?o.classes.nativeDialog:o.classes.dialog},fileName:t,fileSize:o.attachmentSize,onClose:o.closePreview,open:o.previewIsOpen})]}),x("a",{download:o.displayName,href:s,className:u.cAttachmentFileDownloadWrapperForm,children:x(f,{"data-testid":"".concat("Attachment","_downloadButton"),className:o.classes.downloadIcon,type:"submit",children:x(N,{size:24,className:o.classes.downloadIcon})})})]})};function L(s){var n=t(!1),a=o(n,2),c=a[0],r=a[1],m=t(!1),l=o(m,2),p=l[0],d=l[1],h=t(!1),j=o(h,2),f=j[0],b=j[1],N=s.displayName||s.attachmentUrl||s.fileName,C=g(N),y=v(N),A=w(!s.attachmentUrl&&s.fileName),F=s.attachmentUrl||A,P=e((function(o){return o.preventDefault()}),[]);return C?x("div",{className:u.cAttachment,children:x(R,{size:s.size,openLightbox:function(){return d(!0)},attachmentFileName:s.fileName,attachmentUrl:s.attachmentUrl,setImageIsLoaded:function(){return r(!0)},imageIsLoaded:c,lightboxIsOpen:p,handleLightboxOpen:function(){I&&document.documentElement.addEventListener("touchmove",P,{passive:!1})},handleLightboxClose:function(){I&&document.documentElement.removeEventListener("touchmove",P),d(!1)},classes:s.classes})}):y&&i.canPlay(F)?x("div",{className:u.cAttachment,children:x(i,{"data-testid":"".concat("Attachment","_player"),className:u.cAttachmentReactPlayer,url:F,config:{file:{attributes:{preload:"metadata"}}},controls:!0,height:s.size===D.label?D.value:S.value,width:null})}):x("div",{className:u.cAttachment,children:x(z,{attachmentUrl:F,attachmentFileName:s.fileName,attachmentSize:s.attachmentSize,displayName:s.displayName,openPreview:function(){return b(!0)},closePreview:function(o){o.stopPropagation(),b(!1)},previewIsOpen:f,classes:s.classes,small:s.small})})}L.propTypes={attachmentUrl:s.string.isRequired,attachmentSize:s.number,displayName:s.string,fileName:s.string,size:s.oneOf([D.label,S.label]),classes:s.shape({}).isRequired,small:s.bool},L.defaultProps={displayName:null,fileName:null,attachmentSize:void 0,size:S.label,small:!1};var U=a((function(o){return{imageIconRoot:{position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)"},dialog:{width:"95%",height:"95%",maxWidth:"100%",position:"relative"},nativeDialog:{width:"100%",height:"100%",maxWidth:"100%",maxHeight:"100%",margin:0},dialogRoot:{backgroundColor:"rgba(0, 0, 0, 0.85)"},fileName:{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",fontWeight:400},downloadIcon:{color:o.palette.primary.text3},disabledPreview:{backgroundColor:o.palette.primary.text9},unavailableFileIcon:{marginRight:12,minWidth:32},titleContainer:{display:"flex",flexDirection:"column",width:"100%"},caption:{fontSize:12,fontWeight:400,width:"fit-content"},unavailableFileName:{fontSize:12,fontWeight:400}}}))(L);export{U as default};
1
+ import o from"@babel/runtime/helpers/slicedToArray";import{useState as t,useCallback as e}from"react";import s from"prop-types";import i from"react-player";import n from"classnames";import{withStyles as a}from"@material-ui/core/styles";import{Typography as c}from"@material-ui/core";import r from"@material-ui/icons/Image";import m from"@material-ui/icons/Fullscreen";import l from"@material-ui/core/colors/grey";import p from"../NewDocumentViewer/NewDocumentViewer.js";import{UnavailableFileIcon as d}from"../NewDocumentViewer/icons/UnavailableFileIcon.js";import u from"./styles.css.js";import h from"../FileTypeIcon.js";import j from"../ImageViewer/index.js";import f from"../IconButton/index.js";import{isNativeDetected as I}from"../../utils/mobileDetect.js";import{getIsImage as g,getIsVideo as v}from"../../utils/fileExtension.js";import{getIsPreviewUnavailable as b}from"../../utils/filePreview.js";import{DownloadIcon as N}from"../../icons/iconParkIcons.js";import"../../icons/customIcons/icons/AddMessage.js";import"../../icons/customIcons/icons/Attention.js";import"../../icons/customIcons/icons/Collapse.js";import"../../icons/customIcons/icons/Dashboard.js";import"../../icons/customIcons/icons/Expand.js";import"../../icons/customIcons/icons/FolderClosed.js";import"../../icons/customIcons/icons/FolderClosedFilled.js";import"../../icons/customIcons/icons/FolderOpened.js";import"../../icons/customIcons/icons/GreaterOrEqual.js";import"../../icons/customIcons/icons/LessOrEqual.js";import"../../icons/customIcons/icons/Search.js";import"../../icons/customIcons/icons/SearchOne.js";import"../../icons/customIcons/icons/Wellhub.js";import"../../icons/customIcons/icons/MultiRuler.js";import"../../icons/customIcons/icons/Checkbox.js";import"../../icons/customIcons/icons/CheckboxChecked.js";import"../../icons/customIcons/icons/CheckboxIndeterminate.js";import"../../icons/customIcons/icons/Radio.js";import"../../icons/customIcons/icons/RadioChecked.js";import"../../icons/customIcons/icons/SimulFrac.js";import"../../icons/customIcons/icons/ZipperFrac.js";import"../../icons/customIcons/icons/CautionFilled.js";import"../../icons/customIcons/icons/MoreApp.js";import"../../icons/customIcons/icons/Pad.js";import"../../icons/customIcons/icons/DrilloutUnit.js";import"../../icons/customIcons/icons/FracFleet.js";import"../../icons/customIcons/icons/Global.js";import"../../icons/customIcons/icons/Program.js";import"../../icons/customIcons/icons/Rig.js";import"../../icons/customIcons/icons/Well.js";import"../../icons/customIcons/icons/Gap.js";import"../../icons/customIcons/icons/Pin.js";import"../../icons/customIcons/icons/CloseOneFilled.js";import"../../icons/customIcons/icons/AttentionFilled.js";import"../../icons/customIcons/icons/CheckOneFilled.js";import"../../icons/customIcons/icons/Archive.js";import"../../icons/customIcons/icons/ArchiveCancel.js";import"../../icons/customIcons/icons/Unarchive.js";import"../../icons/customIcons/icons/Archived.js";import"../../icons/customIcons/icons/InterventionUnit.js";import"../../icons/customIcons/icons/CloudDelete.js";import"../../icons/customIcons/icons/Lasso.js";import"../../icons/customIcons/icons/Radius.js";import"../../clients/subscriptions/constants.js";import"@babel/runtime/helpers/asyncToGenerator";import"@babel/runtime/helpers/defineProperty";import"@babel/runtime/regenerator";import"querystring";import"uuid/v1";import"lodash";import"../../clients/subscriptions.v1.js";import"../../clients/jsonApi/index.js";import"../../clients/subscriptions/subscriptions-client.factory.js";import"immutable";import"query-string";import"../../constants/goals.js";import"../../constants/segment.js";import"../../constants/alerts.js";import"../../constants/apps.js";import"../../constants/drillstring.js";import"../../constants/completion.js";import"../../constants/appPackages.js";import"../../constants/notifications.js";import"../../constants/feed.js";import"../../constants/bha.js";import"../../constants/corvaCompanyId.js";import"../GradientManager/configuration/constants.js";import w from"../../effects/useSignedURL.js";import"../../utils/index.js";import"uuid";import"jsona";import"../../utils/env.js";import"../StatusBadge/constants.js";import"@babel/runtime/helpers/toConsumableArray";import"lodash/set";import"lodash/get";import"lodash/unset";import"moment";import"../../clients/api/apiCore.js";import"../../clients/constants.js";import"../../clients/sso/auth0.js";import"../../clients/sso/oauth2.js";import"lodash/isEmpty";import"lodash/sortBy";import"../../constants/streamSourceType.js";import"../DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchContext.js";import"../../componentsV2/AppCommonsProvider/AppCommonsProvider.js";import"../../componentsV2/AppCommonsProvider/AppCommonsContext.js";import C from"../../utils/main.js";import{jsx as x,jsxs as y,Fragment as A}from"react/jsx-runtime";var F=l[200],P=l[400],D={label:"small",value:135},S={label:"medium",value:300},W={fileImage:function(o,t){return{maxWidth:"100%",borderRadius:4,overflow:"hidden",maxHeight:t===D.label?D.value:S.value,display:o?"initial":"none",cursor:"pointer"}},fileDownloadWrapper:{padding:"10px 10px 10px 5px",border:"1px solid #616161",borderRadius:3,maxWidth:500,width:"75%"},imagePlaceholder:{position:"relative",backgroundColor:F,borderRadius:3,marginTop:10,height:135,width:135}},R=function(o){var t=w(o.attachmentFileName)||o.attachmentUrl;return y(A,{children:[y("div",{onClick:o.openLightbox,className:u.cAttachmentImg,children:[x("img",{"data-testid":"".concat("Attachment","_image"),src:t,style:W.fileImage(o.imageIsLoaded,o.size),alt:"Attachment",onLoad:o.setImageIsLoaded}),x("div",{"data-testid":"".concat("Attachment","_button"),className:u.cAttachmentImgPreviwBtn,children:x(m,{})})]}),!o.imageIsLoaded&&x("div",{style:W.imagePlaceholder,children:x(r,{"data-testid":"".concat("Attachment","_placeholder"),className:o.classes.imageIconRoot,htmlColor:P,fontSize:"large"})}),o.lightboxIsOpen&&x(j,{mainSrc:t,imagePadding:50,onAfterOpen:o.handleLightboxOpen,onCloseRequest:o.handleLightboxClose})]})},z=function(o){var t=C.getFileNameWithExtensionFromPath(o.displayName||o.attachmentUrl),e=w(o.attachmentFileName,"inline"),s=w(o.attachmentFileName,"attachment"),i=b(t);return y("div",{className:u.cAttachmentFileWrapper,children:[y("div",{className:n(u.cAttachmentFileDownloadWrapper,i&&o.classes.disabledPreview),style:W.fileDownloadWrapper,onClick:function(){i||o.openPreview()},children:[i?x(d,{className:o.classes.unavailableFileIcon}):x(h,{fileName:o.displayName||o.attachmentUrl,className:u.cAttachmentFileDownloadWrapperFileIcon,size:o.small?25:50}),y("div",{className:o.classes.titleContainer,children:[i&&x("div",{className:o.classes.caption,children:"Preview unavailable"}),x("div",{"data-testid":"".concat("Attachment","_name"),className:n(u.cAttachmentFileDownloadWrapperFileName,i&&o.classes.fileName),children:x(c,{variant:"subtitle2",noWrap:!0,className:o.classes.unavailableFileName,children:t})})]}),x(p,{fileUrl:e,classes:{root:o.classes.dialogRoot,paper:I?o.classes.nativeDialog:o.classes.dialog},fileName:t,fileSize:o.attachmentSize,onClose:o.closePreview,open:o.previewIsOpen})]}),x("a",{download:o.displayName,href:s,className:u.cAttachmentFileDownloadWrapperForm,children:x(f,{"data-testid":"".concat("Attachment","_downloadButton"),className:o.classes.downloadIcon,type:"submit",children:x(N,{size:24,className:o.classes.downloadIcon})})})]})};function L(s){var n=t(!1),a=o(n,2),c=a[0],r=a[1],m=t(!1),l=o(m,2),p=l[0],d=l[1],h=t(!1),j=o(h,2),f=j[0],b=j[1],N=s.displayName||s.attachmentUrl||s.fileName,C=g(N),y=v(N),A=w(!s.attachmentUrl&&s.fileName),F=s.attachmentUrl||A,P=e((function(o){return o.preventDefault()}),[]);return C?x("div",{className:u.cAttachment,children:x(R,{size:s.size,openLightbox:function(){return d(!0)},attachmentFileName:s.fileName,attachmentUrl:s.attachmentUrl,setImageIsLoaded:function(){return r(!0)},imageIsLoaded:c,lightboxIsOpen:p,handleLightboxOpen:function(){I&&document.documentElement.addEventListener("touchmove",P,{passive:!1})},handleLightboxClose:function(){I&&document.documentElement.removeEventListener("touchmove",P),d(!1)},classes:s.classes})}):y&&i.canPlay(F)?x("div",{className:u.cAttachment,children:x(i,{"data-testid":"".concat("Attachment","_player"),className:u.cAttachmentReactPlayer,url:F,config:{file:{attributes:{preload:"metadata"}}},controls:!0,height:s.size===D.label?D.value:S.value,width:null})}):x("div",{className:u.cAttachment,children:x(z,{attachmentUrl:F,attachmentFileName:s.fileName,attachmentSize:s.attachmentSize,displayName:s.displayName,openPreview:function(){return b(!0)},closePreview:function(o){o.stopPropagation(),b(!1)},previewIsOpen:f,classes:s.classes,small:s.small})})}L.propTypes={attachmentUrl:s.string.isRequired,attachmentSize:s.number,displayName:s.string,fileName:s.string,size:s.oneOf([D.label,S.label]),classes:s.shape({}).isRequired,small:s.bool},L.defaultProps={displayName:null,fileName:null,attachmentSize:void 0,size:S.label,small:!1};var U=a((function(o){return{imageIconRoot:{position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)"},dialog:{width:"95%",height:"95%",maxWidth:"100%",position:"relative"},nativeDialog:{width:"100%",height:"100%",maxWidth:"100%",maxHeight:"100%",margin:0},dialogRoot:{backgroundColor:"rgba(0, 0, 0, 0.85)"},fileName:{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",fontWeight:400},downloadIcon:{color:o.palette.primary.text3},disabledPreview:{backgroundColor:o.palette.primary.text9},unavailableFileIcon:{marginRight:12,minWidth:32},titleContainer:{display:"flex",flexDirection:"column",width:"100%"},caption:{fontSize:12,fontWeight:400,width:"fit-content"},unavailableFileName:{fontSize:12,fontWeight:400}}}))(L);export{U as default};
2
2
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../../../src/components/Attachment/index.js"],"sourcesContent":["import { useState, useCallback } from 'react';\nimport PropTypes from 'prop-types';\nimport ReactPlayer from 'react-player';\nimport classNames from 'classnames';\nimport { withStyles } from '@material-ui/core/styles';\nimport { Typography } from '@material-ui/core';\nimport ImageIcon from '@material-ui/icons/Image';\nimport FullSizeIcon from '@material-ui/icons/Fullscreen';\nimport grey from '@material-ui/core/colors/grey';\n\nimport { NewDocumentViewer } from '../NewDocumentViewer';\nimport { UnavailableFileIcon } from '../NewDocumentViewer/icons/UnavailableFileIcon';\n\nimport styles from './styles.css';\n\nimport FileTypeIcon from '~components/FileTypeIcon';\nimport ImageViewer from '~components/ImageViewer';\nimport IconButton from '~components/IconButton';\nimport { isNativeDetected } from '~/utils/mobileDetect';\nimport { getIsVideo, getIsImage } from '~/utils/fileExtension';\nimport { getIsPreviewUnavailable } from '~/utils/filePreview';\nimport { DownloadIcon } from '~/icons';\nimport { useSignedURL } from '~/effects';\nimport utils from '~utils/main'; // question here\n\nconst PAGE_NAME = 'Attachment';\n\nconst grey200 = grey[200];\nconst grey400 = grey[400];\n\nconst SIZES = {\n small: { label: 'small', value: 135 },\n medium: { label: 'medium', value: 300 },\n};\n\nconst style = {\n fileImage: (imageIsLoaded, size) => ({\n maxWidth: '100%',\n borderRadius: 4,\n overflow: 'hidden',\n // NOTE: Makes one-line comment with image fits into comments container. Equals to\n // imagePlaceholder height\n maxHeight: size === SIZES.small.label ? SIZES.small.value : SIZES.medium.value,\n display: imageIsLoaded ? 'initial' : 'none',\n cursor: 'pointer',\n }),\n fileDownloadWrapper: {\n padding: '10px 10px 10px 5px',\n border: `1px solid #616161`,\n borderRadius: 3,\n maxWidth: 500, // NOTE: Corresponds to react-player max width\n width: '75%',\n },\n imagePlaceholder: {\n position: 'relative',\n backgroundColor: grey200,\n borderRadius: 3,\n marginTop: 10,\n height: 135,\n width: 135,\n },\n};\n\nconst muiStyles = theme => ({\n imageIconRoot: {\n position: 'absolute',\n top: '50%',\n left: '50%',\n transform: 'translate(-50%, -50%)',\n },\n dialog: {\n width: '95%',\n height: '95%',\n maxWidth: '100%',\n position: 'relative',\n },\n nativeDialog: {\n width: '100%',\n height: '100%',\n maxWidth: '100%',\n maxHeight: '100%',\n margin: 0,\n },\n dialogRoot: {\n // NOTE: Make background color similar to lightbox\n backgroundColor: 'rgba(0, 0, 0, 0.85)',\n },\n fileName: {\n overflow: 'hidden',\n whiteSpace: 'nowrap',\n textOverflow: 'ellipsis',\n fontWeight: 400,\n },\n downloadIcon: {\n color: theme.palette.primary.text3,\n },\n disabledPreview: {\n backgroundColor: theme.palette.primary.text9,\n },\n unavailableFileIcon: {\n marginRight: 12,\n minWidth: 32,\n },\n titleContainer: {\n display: 'flex',\n flexDirection: 'column',\n width: '100%',\n },\n caption: {\n fontSize: 12,\n fontWeight: 400,\n width: 'fit-content',\n },\n unavailableFileName: {\n fontSize: 12,\n fontWeight: 400,\n },\n});\n\n/* eslint-disable react/prop-types */\nconst ImageAttachment = props => {\n const downloadLink = useSignedURL(props.attachmentFileName) || props.attachmentUrl;\n return (\n <>\n <div onClick={props.openLightbox} className={styles.cAttachmentImg}>\n <img\n data-testid={`${PAGE_NAME}_image`}\n src={downloadLink}\n style={style.fileImage(props.imageIsLoaded, props.size)}\n alt=\"Attachment\"\n onLoad={props.setImageIsLoaded}\n />\n <div data-testid={`${PAGE_NAME}_button`} className={styles.cAttachmentImgPreviwBtn}>\n <FullSizeIcon />\n </div>\n </div>\n\n {!props.imageIsLoaded && (\n <div style={style.imagePlaceholder}>\n <ImageIcon\n data-testid={`${PAGE_NAME}_placeholder`}\n className={props.classes.imageIconRoot}\n htmlColor={grey400}\n fontSize=\"large\"\n />\n </div>\n )}\n\n {props.lightboxIsOpen && (\n <ImageViewer\n mainSrc={downloadLink}\n imagePadding={50}\n onAfterOpen={props.handleLightboxOpen}\n onCloseRequest={props.handleLightboxClose}\n />\n )}\n </>\n );\n};\n\nconst FileAttachment = props => {\n const fileName = utils.getFileNameWithExtensionFromPath(props.displayName || props.attachmentUrl);\n\n const previewUrl = useSignedURL(props.attachmentFileName, 'inline');\n const downloadUrl = useSignedURL(props.attachmentFileName, 'attachment');\n\n const isPreviewUnavailable = getIsPreviewUnavailable(fileName);\n\n const handleFilePreviewOpen = () => {\n if (isPreviewUnavailable) return;\n props.openPreview();\n };\n\n return (\n <div className={styles.cAttachmentFileWrapper}>\n <div\n className={classNames(\n styles.cAttachmentFileDownloadWrapper,\n isPreviewUnavailable && props.classes.disabledPreview\n )}\n style={style.fileDownloadWrapper}\n onClick={handleFilePreviewOpen}\n >\n {isPreviewUnavailable ? (\n <UnavailableFileIcon className={props.classes.unavailableFileIcon} />\n ) : (\n <FileTypeIcon\n fileName={props.displayName || props.attachmentUrl}\n className={styles.cAttachmentFileDownloadWrapperFileIcon}\n size={props.small ? 25 : 50}\n />\n )}\n <div className={props.classes.titleContainer}>\n {isPreviewUnavailable && <div className={props.classes.caption}>Preview unavailable</div>}\n <div\n data-testid={`${PAGE_NAME}_name`}\n className={classNames(\n styles.cAttachmentFileDownloadWrapperFileName,\n isPreviewUnavailable && props.classes.fileName\n )}\n >\n <Typography variant=\"subtitle2\" noWrap className={props.classes.unavailableFileName}>\n {fileName}\n </Typography>\n </div>\n </div>\n <NewDocumentViewer\n fileUrl={previewUrl}\n classes={{\n root: props.classes.dialogRoot,\n paper: isNativeDetected ? props.classes.nativeDialog : props.classes.dialog,\n }}\n fileName={fileName}\n fileSize={props.attachmentSize}\n onClose={props.closePreview}\n open={props.previewIsOpen}\n />\n </div>\n <a\n download={props.displayName}\n href={downloadUrl}\n className={styles.cAttachmentFileDownloadWrapperForm}\n >\n <IconButton\n data-testid={`${PAGE_NAME}_downloadButton`}\n className={props.classes.downloadIcon}\n type=\"submit\"\n >\n <DownloadIcon size={24} className={props.classes.downloadIcon} />\n </IconButton>\n </a>\n </div>\n );\n};\n\n/* eslint-enable react/prop-types */\n\nfunction Attachment(props) {\n const [isImageLoaded, setIsImageLoaded] = useState(false);\n const [isLightboxOpen, setIsLightboxOpen] = useState(false);\n const [isPreviewOpen, setIsPreviewOpen] = useState(false);\n\n const fileName = props.displayName || props.attachmentUrl || props.fileName;\n const isImage = getIsImage(fileName);\n const isVideo = getIsVideo(fileName);\n\n // Don't fetch download link if attachmentUrl is provided\n const downloadLink = useSignedURL(!props.attachmentUrl && props.fileName);\n const attachmentUrl = props.attachmentUrl || downloadLink;\n const preventIOSScroll = useCallback(e => e.preventDefault(), []);\n\n // NOTE: iOS WebView has a bug when background content of React Modal is scrollable\n // Source: https://github.com/reactjs/react-modal/issues/369\n const handleLightboxOpen = () => {\n if (isNativeDetected) {\n // document.documentElement.style.overflowY = 'hidden';\n document.documentElement.addEventListener('touchmove', preventIOSScroll, {\n passive: false,\n });\n }\n };\n\n const handleLightboxClose = () => {\n if (isNativeDetected) {\n // document.documentElement.style.overflowY = 'visible';\n document.documentElement.removeEventListener('touchmove', preventIOSScroll);\n }\n setIsLightboxOpen(false);\n };\n\n const openLightbox = () => setIsLightboxOpen(true);\n const setImageLoaded = () => setIsImageLoaded(true);\n const openPreview = () => setIsPreviewOpen(true);\n const closePreview = e => {\n e.stopPropagation();\n setIsPreviewOpen(false);\n };\n\n if (isImage)\n return (\n <div className={styles.cAttachment}>\n <ImageAttachment\n size={props.size}\n openLightbox={openLightbox}\n attachmentFileName={props.fileName}\n attachmentUrl={props.attachmentUrl}\n setImageIsLoaded={setImageLoaded}\n imageIsLoaded={isImageLoaded}\n lightboxIsOpen={isLightboxOpen}\n handleLightboxOpen={handleLightboxOpen}\n handleLightboxClose={handleLightboxClose}\n classes={props.classes}\n />\n </div>\n );\n\n if (isVideo && ReactPlayer.canPlay(attachmentUrl))\n return (\n <div className={styles.cAttachment}>\n <ReactPlayer\n data-testid={`${PAGE_NAME}_player`}\n className={styles.cAttachmentReactPlayer}\n url={attachmentUrl}\n config={{ file: { attributes: { preload: 'metadata' } } }}\n controls\n height={props.size === SIZES.small.label ? SIZES.small.value : SIZES.medium.value}\n width={null}\n />\n </div>\n );\n\n return (\n <div className={styles.cAttachment}>\n <FileAttachment\n attachmentUrl={attachmentUrl}\n attachmentFileName={props.fileName}\n attachmentSize={props.attachmentSize}\n displayName={props.displayName}\n openPreview={openPreview}\n closePreview={closePreview}\n previewIsOpen={isPreviewOpen}\n classes={props.classes}\n small={props.small}\n />\n </div>\n );\n}\n\nAttachment.propTypes = {\n attachmentUrl: PropTypes.string.isRequired,\n attachmentSize: PropTypes.number,\n displayName: PropTypes.string,\n fileName: PropTypes.string,\n size: PropTypes.oneOf([SIZES.small.label, SIZES.medium.label]),\n classes: PropTypes.shape({}).isRequired,\n small: PropTypes.bool,\n};\n\nAttachment.defaultProps = {\n displayName: null,\n fileName: null,\n attachmentSize: undefined,\n size: SIZES.medium.label,\n small: false,\n};\n\nexport default withStyles(muiStyles)(Attachment);\n"],"names":["grey200","grey","grey400","SIZES","label","value","style","fileImage","imageIsLoaded","size","maxWidth","borderRadius","overflow","maxHeight","display","cursor","fileDownloadWrapper","padding","border","width","imagePlaceholder","position","backgroundColor","marginTop","height","ImageAttachment","props","downloadLink","useSignedURL","attachmentFileName","attachmentUrl","_jsxs","_Fragment","children","onClick","openLightbox","className","styles","cAttachmentImg","_jsx","concat","src","alt","onLoad","setImageIsLoaded","cAttachmentImgPreviwBtn","FullSizeIcon","ImageIcon","classes","imageIconRoot","htmlColor","fontSize","lightboxIsOpen","ImageViewer","mainSrc","imagePadding","onAfterOpen","handleLightboxOpen","onCloseRequest","handleLightboxClose","FileAttachment","fileName","utils","getFileNameWithExtensionFromPath","displayName","previewUrl","downloadUrl","isPreviewUnavailable","getIsPreviewUnavailable","cAttachmentFileWrapper","classNames","cAttachmentFileDownloadWrapper","disabledPreview","openPreview","UnavailableFileIcon","unavailableFileIcon","FileTypeIcon","cAttachmentFileDownloadWrapperFileIcon","small","titleContainer","caption","cAttachmentFileDownloadWrapperFileName","Typography","variant","noWrap","unavailableFileName","NewDocumentViewer","fileUrl","root","dialogRoot","paper","isNativeDetected","nativeDialog","dialog","fileSize","attachmentSize","onClose","closePreview","open","previewIsOpen","download","href","cAttachmentFileDownloadWrapperForm","IconButton","downloadIcon","type","DownloadIcon","Attachment","useState","_useState2","_slicedToArray","_useState","isImageLoaded","setIsImageLoaded","_useState4","_useState3","isLightboxOpen","setIsLightboxOpen","_useState6","_useState5","isPreviewOpen","setIsPreviewOpen","isImage","getIsImage","isVideo","getIsVideo","preventIOSScroll","useCallback","e","preventDefault","cAttachment","document","documentElement","addEventListener","passive","removeEventListener","ReactPlayer","canPlay","cAttachmentReactPlayer","url","config","file","attributes","preload","controls","stopPropagation","propTypes","PropTypes","string","isRequired","number","oneOf","shape","bool","defaultProps","undefined","Attachment$1","withStyles","theme","top","left","transform","margin","whiteSpace","textOverflow","fontWeight","color","palette","primary","text3","text9","marginRight","minWidth","flexDirection"],"mappings":"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"}
1
+ {"version":3,"file":"index.js","sources":["../../../src/components/Attachment/index.js"],"sourcesContent":["import { useState, useCallback } from 'react';\nimport PropTypes from 'prop-types';\nimport ReactPlayer from 'react-player';\nimport classNames from 'classnames';\nimport { withStyles } from '@material-ui/core/styles';\nimport { Typography } from '@material-ui/core';\nimport ImageIcon from '@material-ui/icons/Image';\nimport FullSizeIcon from '@material-ui/icons/Fullscreen';\nimport grey from '@material-ui/core/colors/grey';\n\nimport { NewDocumentViewer } from '../NewDocumentViewer';\nimport { UnavailableFileIcon } from '../NewDocumentViewer/icons/UnavailableFileIcon';\n\nimport styles from './styles.css';\n\nimport FileTypeIcon from '~components/FileTypeIcon';\nimport ImageViewer from '~components/ImageViewer';\nimport IconButton from '~components/IconButton';\nimport { isNativeDetected } from '~/utils/mobileDetect';\nimport { getIsVideo, getIsImage } from '~/utils/fileExtension';\nimport { getIsPreviewUnavailable } from '~/utils/filePreview';\nimport { DownloadIcon } from '~/icons';\nimport { useSignedURL } from '~/effects';\nimport utils from '~utils/main'; // question here\n\nconst PAGE_NAME = 'Attachment';\n\nconst grey200 = grey[200];\nconst grey400 = grey[400];\n\nconst SIZES = {\n small: { label: 'small', value: 135 },\n medium: { label: 'medium', value: 300 },\n};\n\nconst style = {\n fileImage: (imageIsLoaded, size) => ({\n maxWidth: '100%',\n borderRadius: 4,\n overflow: 'hidden',\n // NOTE: Makes one-line comment with image fits into comments container. Equals to\n // imagePlaceholder height\n maxHeight: size === SIZES.small.label ? SIZES.small.value : SIZES.medium.value,\n display: imageIsLoaded ? 'initial' : 'none',\n cursor: 'pointer',\n }),\n fileDownloadWrapper: {\n padding: '10px 10px 10px 5px',\n border: `1px solid #616161`,\n borderRadius: 3,\n maxWidth: 500, // NOTE: Corresponds to react-player max width\n width: '75%',\n },\n imagePlaceholder: {\n position: 'relative',\n backgroundColor: grey200,\n borderRadius: 3,\n marginTop: 10,\n height: 135,\n width: 135,\n },\n};\n\nconst muiStyles = theme => ({\n imageIconRoot: {\n position: 'absolute',\n top: '50%',\n left: '50%',\n transform: 'translate(-50%, -50%)',\n },\n dialog: {\n width: '95%',\n height: '95%',\n maxWidth: '100%',\n position: 'relative',\n },\n nativeDialog: {\n width: '100%',\n height: '100%',\n maxWidth: '100%',\n maxHeight: '100%',\n margin: 0,\n },\n dialogRoot: {\n // NOTE: Make background color similar to lightbox\n backgroundColor: 'rgba(0, 0, 0, 0.85)',\n },\n fileName: {\n overflow: 'hidden',\n whiteSpace: 'nowrap',\n textOverflow: 'ellipsis',\n fontWeight: 400,\n },\n downloadIcon: {\n color: theme.palette.primary.text3,\n },\n disabledPreview: {\n backgroundColor: theme.palette.primary.text9,\n },\n unavailableFileIcon: {\n marginRight: 12,\n minWidth: 32,\n },\n titleContainer: {\n display: 'flex',\n flexDirection: 'column',\n width: '100%',\n },\n caption: {\n fontSize: 12,\n fontWeight: 400,\n width: 'fit-content',\n },\n unavailableFileName: {\n fontSize: 12,\n fontWeight: 400,\n },\n});\n\n/* eslint-disable react/prop-types */\nconst ImageAttachment = props => {\n const downloadLink = useSignedURL(props.attachmentFileName) || props.attachmentUrl;\n return (\n <>\n <div onClick={props.openLightbox} className={styles.cAttachmentImg}>\n <img\n data-testid={`${PAGE_NAME}_image`}\n src={downloadLink}\n style={style.fileImage(props.imageIsLoaded, props.size)}\n alt=\"Attachment\"\n onLoad={props.setImageIsLoaded}\n />\n <div data-testid={`${PAGE_NAME}_button`} className={styles.cAttachmentImgPreviwBtn}>\n <FullSizeIcon />\n </div>\n </div>\n\n {!props.imageIsLoaded && (\n <div style={style.imagePlaceholder}>\n <ImageIcon\n data-testid={`${PAGE_NAME}_placeholder`}\n className={props.classes.imageIconRoot}\n htmlColor={grey400}\n fontSize=\"large\"\n />\n </div>\n )}\n\n {props.lightboxIsOpen && (\n <ImageViewer\n mainSrc={downloadLink}\n imagePadding={50}\n onAfterOpen={props.handleLightboxOpen}\n onCloseRequest={props.handleLightboxClose}\n />\n )}\n </>\n );\n};\n\nconst FileAttachment = props => {\n const fileName = utils.getFileNameWithExtensionFromPath(props.displayName || props.attachmentUrl);\n\n const previewUrl = useSignedURL(props.attachmentFileName, 'inline');\n const downloadUrl = useSignedURL(props.attachmentFileName, 'attachment');\n\n const isPreviewUnavailable = getIsPreviewUnavailable(fileName);\n\n const handleFilePreviewOpen = () => {\n if (isPreviewUnavailable) return;\n props.openPreview();\n };\n\n return (\n <div className={styles.cAttachmentFileWrapper}>\n <div\n className={classNames(\n styles.cAttachmentFileDownloadWrapper,\n isPreviewUnavailable && props.classes.disabledPreview\n )}\n style={style.fileDownloadWrapper}\n onClick={handleFilePreviewOpen}\n >\n {isPreviewUnavailable ? (\n <UnavailableFileIcon className={props.classes.unavailableFileIcon} />\n ) : (\n <FileTypeIcon\n fileName={props.displayName || props.attachmentUrl}\n className={styles.cAttachmentFileDownloadWrapperFileIcon}\n size={props.small ? 25 : 50}\n />\n )}\n <div className={props.classes.titleContainer}>\n {isPreviewUnavailable && <div className={props.classes.caption}>Preview unavailable</div>}\n <div\n data-testid={`${PAGE_NAME}_name`}\n className={classNames(\n styles.cAttachmentFileDownloadWrapperFileName,\n isPreviewUnavailable && props.classes.fileName\n )}\n >\n <Typography variant=\"subtitle2\" noWrap className={props.classes.unavailableFileName}>\n {fileName}\n </Typography>\n </div>\n </div>\n <NewDocumentViewer\n fileUrl={previewUrl}\n classes={{\n root: props.classes.dialogRoot,\n paper: isNativeDetected ? props.classes.nativeDialog : props.classes.dialog,\n }}\n fileName={fileName}\n fileSize={props.attachmentSize}\n onClose={props.closePreview}\n open={props.previewIsOpen}\n />\n </div>\n <a\n download={props.displayName}\n href={downloadUrl}\n className={styles.cAttachmentFileDownloadWrapperForm}\n >\n <IconButton\n data-testid={`${PAGE_NAME}_downloadButton`}\n className={props.classes.downloadIcon}\n type=\"submit\"\n >\n <DownloadIcon size={24} className={props.classes.downloadIcon} />\n </IconButton>\n </a>\n </div>\n );\n};\n\n/* eslint-enable react/prop-types */\n\nfunction Attachment(props) {\n const [isImageLoaded, setIsImageLoaded] = useState(false);\n const [isLightboxOpen, setIsLightboxOpen] = useState(false);\n const [isPreviewOpen, setIsPreviewOpen] = useState(false);\n\n const fileName = props.displayName || props.attachmentUrl || props.fileName;\n const isImage = getIsImage(fileName);\n const isVideo = getIsVideo(fileName);\n\n // Don't fetch download link if attachmentUrl is provided\n const downloadLink = useSignedURL(!props.attachmentUrl && props.fileName);\n const attachmentUrl = props.attachmentUrl || downloadLink;\n const preventIOSScroll = useCallback(e => e.preventDefault(), []);\n\n // NOTE: iOS WebView has a bug when background content of React Modal is scrollable\n // Source: https://github.com/reactjs/react-modal/issues/369\n const handleLightboxOpen = () => {\n if (isNativeDetected) {\n // document.documentElement.style.overflowY = 'hidden';\n document.documentElement.addEventListener('touchmove', preventIOSScroll, {\n passive: false,\n });\n }\n };\n\n const handleLightboxClose = () => {\n if (isNativeDetected) {\n // document.documentElement.style.overflowY = 'visible';\n document.documentElement.removeEventListener('touchmove', preventIOSScroll);\n }\n setIsLightboxOpen(false);\n };\n\n const openLightbox = () => setIsLightboxOpen(true);\n const setImageLoaded = () => setIsImageLoaded(true);\n const openPreview = () => setIsPreviewOpen(true);\n const closePreview = e => {\n e.stopPropagation();\n setIsPreviewOpen(false);\n };\n\n if (isImage)\n return (\n <div className={styles.cAttachment}>\n <ImageAttachment\n size={props.size}\n openLightbox={openLightbox}\n attachmentFileName={props.fileName}\n attachmentUrl={props.attachmentUrl}\n setImageIsLoaded={setImageLoaded}\n imageIsLoaded={isImageLoaded}\n lightboxIsOpen={isLightboxOpen}\n handleLightboxOpen={handleLightboxOpen}\n handleLightboxClose={handleLightboxClose}\n classes={props.classes}\n />\n </div>\n );\n\n if (isVideo && ReactPlayer.canPlay(attachmentUrl))\n return (\n <div className={styles.cAttachment}>\n <ReactPlayer\n data-testid={`${PAGE_NAME}_player`}\n className={styles.cAttachmentReactPlayer}\n url={attachmentUrl}\n config={{ file: { attributes: { preload: 'metadata' } } }}\n controls\n height={props.size === SIZES.small.label ? SIZES.small.value : SIZES.medium.value}\n width={null}\n />\n </div>\n );\n\n return (\n <div className={styles.cAttachment}>\n <FileAttachment\n attachmentUrl={attachmentUrl}\n attachmentFileName={props.fileName}\n attachmentSize={props.attachmentSize}\n displayName={props.displayName}\n openPreview={openPreview}\n closePreview={closePreview}\n previewIsOpen={isPreviewOpen}\n classes={props.classes}\n small={props.small}\n />\n </div>\n );\n}\n\nAttachment.propTypes = {\n attachmentUrl: PropTypes.string.isRequired,\n attachmentSize: PropTypes.number,\n displayName: PropTypes.string,\n fileName: PropTypes.string,\n size: PropTypes.oneOf([SIZES.small.label, SIZES.medium.label]),\n classes: PropTypes.shape({}).isRequired,\n small: PropTypes.bool,\n};\n\nAttachment.defaultProps = {\n displayName: null,\n fileName: null,\n attachmentSize: undefined,\n size: SIZES.medium.label,\n small: false,\n};\n\nexport default withStyles(muiStyles)(Attachment);\n"],"names":["grey200","grey","grey400","SIZES","label","value","style","fileImage","imageIsLoaded","size","maxWidth","borderRadius","overflow","maxHeight","display","cursor","fileDownloadWrapper","padding","border","width","imagePlaceholder","position","backgroundColor","marginTop","height","ImageAttachment","props","downloadLink","useSignedURL","attachmentFileName","attachmentUrl","_jsxs","_Fragment","children","onClick","openLightbox","className","styles","cAttachmentImg","_jsx","concat","src","alt","onLoad","setImageIsLoaded","cAttachmentImgPreviwBtn","FullSizeIcon","ImageIcon","classes","imageIconRoot","htmlColor","fontSize","lightboxIsOpen","ImageViewer","mainSrc","imagePadding","onAfterOpen","handleLightboxOpen","onCloseRequest","handleLightboxClose","FileAttachment","fileName","utils","getFileNameWithExtensionFromPath","displayName","previewUrl","downloadUrl","isPreviewUnavailable","getIsPreviewUnavailable","cAttachmentFileWrapper","classNames","cAttachmentFileDownloadWrapper","disabledPreview","openPreview","UnavailableFileIcon","unavailableFileIcon","FileTypeIcon","cAttachmentFileDownloadWrapperFileIcon","small","titleContainer","caption","cAttachmentFileDownloadWrapperFileName","Typography","variant","noWrap","unavailableFileName","NewDocumentViewer","fileUrl","root","dialogRoot","paper","isNativeDetected","nativeDialog","dialog","fileSize","attachmentSize","onClose","closePreview","open","previewIsOpen","download","href","cAttachmentFileDownloadWrapperForm","IconButton","downloadIcon","type","DownloadIcon","Attachment","useState","_useState2","_slicedToArray","_useState","isImageLoaded","setIsImageLoaded","_useState4","_useState3","isLightboxOpen","setIsLightboxOpen","_useState6","_useState5","isPreviewOpen","setIsPreviewOpen","isImage","getIsImage","isVideo","getIsVideo","preventIOSScroll","useCallback","e","preventDefault","cAttachment","document","documentElement","addEventListener","passive","removeEventListener","ReactPlayer","canPlay","cAttachmentReactPlayer","url","config","file","attributes","preload","controls","stopPropagation","propTypes","PropTypes","string","isRequired","number","oneOf","shape","bool","defaultProps","undefined","Attachment$1","withStyles","theme","top","left","transform","margin","whiteSpace","textOverflow","fontWeight","color","palette","primary","text3","text9","marginRight","minWidth","flexDirection"],"mappings":"+xJAyBA,IAEMA,EAAUC,EAAK,KACfC,EAAUD,EAAK,KAEfE,EACG,CAAEC,MAAO,QAASC,MAAO,KAD5BF,EAEI,CAAEC,MAAO,SAAUC,MAAO,KAG9BC,EAAQ,CACZC,UAAW,SAACC,EAAeC,GAAI,MAAM,CACnCC,SAAU,OACVC,aAAc,EACdC,SAAU,SAGVC,UAAWJ,IAASN,EAAYC,MAAQD,EAAYE,MAAQF,EAAaE,MACzES,QAASN,EAAgB,UAAY,OACrCO,OAAQ,UACR,EACFC,oBAAqB,CACnBC,QAAS,qBACTC,OAA2B,oBAC3BP,aAAc,EACdD,SAAU,IACVS,MAAO,OAETC,iBAAkB,CAChBC,SAAU,WACVC,gBAAiBtB,EACjBW,aAAc,EACdY,UAAW,GACXC,OAAQ,IACRL,MAAO,MA6DLM,EAAkB,SAAAC,GACtB,IAAMC,EAAeC,EAAaF,EAAMG,qBAAuBH,EAAMI,cACrE,OACEC,EAAAC,EAAA,CAAAC,SACE,CAAAF,EAAA,MAAA,CAAKG,QAASR,EAAMS,aAAcC,UAAWC,EAAOC,eAAeL,SACjE,CAAAM,EAAA,MAAA,CACE,cAAA,GAAAC,OArGQ,aAqG0B,UAClCC,IAAKd,EACLrB,MAAOA,EAAMC,UAAUmB,EAAMlB,cAAekB,EAAMjB,MAClDiC,IAAI,aACJC,OAAQjB,EAAMkB,mBAEhBL,EAAA,MAAA,CAAK,cAAA,GAAAC,OA3GK,aA2G8B,WAACJ,UAAWC,EAAOQ,wBAAwBZ,SACjFM,EAACO,EAAY,UAIfpB,EAAMlB,eACN+B,EAAA,MAAA,CAAKjC,MAAOA,EAAMc,iBAAiBa,SACjCM,EAACQ,EAAS,CACR,cAAA,GAAAP,OAnHM,aAmHkC,gBACxCJ,UAAWV,EAAMsB,QAAQC,cACzBC,UAAWhD,EACXiD,SAAS,YAKdzB,EAAM0B,gBACLb,EAACc,EAAW,CACVC,QAAS3B,EACT4B,aAAc,GACdC,YAAa9B,EAAM+B,mBACnBC,eAAgBhC,EAAMiC,wBAKhC,EAEMC,EAAiB,SAAAlC,GACrB,IAAMmC,EAAWC,EAAMC,iCAAiCrC,EAAMsC,aAAetC,EAAMI,eAE7EmC,EAAarC,EAAaF,EAAMG,mBAAoB,UACpDqC,EAActC,EAAaF,EAAMG,mBAAoB,cAErDsC,EAAuBC,EAAwBP,GAOrD,OACE9B,EAAA,MAAA,CAAKK,UAAWC,EAAOgC,uBAAuBpC,SAC5C,CAAAF,EAAA,MAAA,CACEK,UAAWkC,EACTjC,EAAOkC,+BACPJ,GAAwBzC,EAAMsB,QAAQwB,iBAExClE,MAAOA,EAAMU,oBACbkB,QAbwB,WACxBiC,GACJzC,EAAM+C,eAW6BxC,SAE9BkC,CAAAA,EACC5B,EAACmC,EAAmB,CAACtC,UAAWV,EAAMsB,QAAQ2B,sBAE9CpC,EAACqC,EAAY,CACXf,SAAUnC,EAAMsC,aAAetC,EAAMI,cACrCM,UAAWC,EAAOwC,uCAClBpE,KAAMiB,EAAMoD,MAAQ,GAAK,KAG7B/C,EAAA,MAAA,CAAKK,UAAWV,EAAMsB,QAAQ+B,eAAe9C,SAAA,CAC1CkC,GAAwB5B,EAAA,MAAA,CAAKH,UAAWV,EAAMsB,QAAQgC,QAAQ/C,SAAA,wBAC/DM,EAAA,MAAA,CACE,cAAA,GAAAC,OA1KM,aA0K2B,SACjCJ,UAAWkC,EACTjC,EAAO4C,uCACPd,GAAwBzC,EAAMsB,QAAQa,UACtC5B,SAEFM,EAAC2C,EAAU,CAACC,QAAQ,YAAYC,QAAM,EAAChD,UAAWV,EAAMsB,QAAQqC,oBAAoBpD,SACjF4B,SAIPtB,EAAC+C,EAAiB,CAChBC,QAAStB,EACTjB,QAAS,CACPwC,KAAM9D,EAAMsB,QAAQyC,WACpBC,MAAOC,EAAmBjE,EAAMsB,QAAQ4C,aAAelE,EAAMsB,QAAQ6C,QAEvEhC,SAAUA,EACViC,SAAUpE,EAAMqE,eAChBC,QAAStE,EAAMuE,aACfC,KAAMxE,EAAMyE,mBAGhB5D,EAAA,IAAA,CACE6D,SAAU1E,EAAMsC,YAChBqC,KAAMnC,EACN9B,UAAWC,EAAOiE,mCAAmCrE,SAErDM,EAACgE,EAAU,CACT,cAAA,GAAA/D,OAvMQ,aAuMmC,mBAC3CJ,UAAWV,EAAMsB,QAAQwD,aACzBC,KAAK,SAAQxE,SAEbM,EAACmE,EAAY,CAACjG,KAAM,GAAI2B,UAAWV,EAAMsB,QAAQwD,qBAK3D,EAIA,SAASG,EAAWjF,GAClB,IAA0CkF,EAAAA,GAAS,GAAMC,EAAAC,EAAAC,EAAA,GAAlDC,EAAaH,EAAA,GAAEI,EAAgBJ,EAAA,GACMD,EAAAA,GAAS,GAAMM,EAAAJ,EAAAK,EAAA,GAApDC,EAAcF,EAAA,GAAEG,EAAiBH,EAAA,GACEN,EAAAA,GAAS,GAAMU,EAAAR,EAAAS,EAAA,GAAlDC,EAAaF,EAAA,GAAEG,EAAgBH,EAAA,GAEhCzD,EAAWnC,EAAMsC,aAAetC,EAAMI,eAAiBJ,EAAMmC,SAC7D6D,EAAUC,EAAW9D,GACrB+D,EAAUC,EAAWhE,GAGrBlC,EAAeC,GAAcF,EAAMI,eAAiBJ,EAAMmC,UAC1D/B,EAAgBJ,EAAMI,eAAiBH,EACvCmG,EAAmBC,GAAY,SAAAC,GAAC,OAAIA,EAAEC,gBAAgB,GAAE,IA6B9D,OAAIP,EAEAnF,EAAA,MAAA,CAAKH,UAAWC,EAAO6F,YAAYjG,SACjCM,EAACd,EAAe,CACdhB,KAAMiB,EAAMjB,KACZ0B,aAba,WAAH,OAASkF,GAAkB,EAAK,EAc1CxF,mBAAoBH,EAAMmC,SAC1B/B,cAAeJ,EAAMI,cACrBc,iBAfe,WAAH,OAASqE,GAAiB,EAAK,EAgB3CzG,cAAewG,EACf5D,eAAgBgE,EAChB3D,mBApCmB,WACrBkC,GAEFwC,SAASC,gBAAgBC,iBAAiB,YAAaP,EAAkB,CACvEQ,SAAS,KAiCP3E,oBA5BoB,WACtBgC,GAEFwC,SAASC,gBAAgBG,oBAAoB,YAAaT,GAE5DT,GAAkB,IAwBZrE,QAAStB,EAAMsB,YAKnB4E,GAAWY,EAAYC,QAAQ3G,GAE/BS,EAAA,MAAA,CAAKH,UAAWC,EAAO6F,YAAYjG,SACjCM,EAACiG,EAAW,CACV,cAAA,GAAAhG,OAnRQ,aAmR2B,WACnCJ,UAAWC,EAAOqG,uBAClBC,IAAK7G,EACL8G,OAAQ,CAAEC,KAAM,CAAEC,WAAY,CAAEC,QAAS,cACzCC,UAAQ,EACRxH,OAAQE,EAAMjB,OAASN,EAAYC,MAAQD,EAAYE,MAAQF,EAAaE,MAC5Ec,MAAO,SAMboB,EAAA,MAAA,CAAKH,UAAWC,EAAO6F,YAAYjG,SACjCM,EAACqB,EAAc,CACb9B,cAAeA,EACfD,mBAAoBH,EAAMmC,SAC1BkC,eAAgBrE,EAAMqE,eACtB/B,YAAatC,EAAMsC,YACnBS,YA9Cc,WAAH,OAASgD,GAAiB,EAAK,EA+C1CxB,aA9Ce,SAAA+B,GACnBA,EAAEiB,kBACFxB,GAAiB,IA6CbtB,cAAeqB,EACfxE,QAAStB,EAAMsB,QACf8B,MAAOpD,EAAMoD,SAIrB,CAEA6B,EAAWuC,UAAY,CACrBpH,cAAeqH,EAAUC,OAAOC,WAChCtD,eAAgBoD,EAAUG,OAC1BtF,YAAamF,EAAUC,OACvBvF,SAAUsF,EAAUC,OACpB3I,KAAM0I,EAAUI,MAAM,CAACpJ,EAAYC,MAAOD,EAAaC,QACvD4C,QAASmG,EAAUK,MAAM,CAAA,GAAIH,WAC7BvE,MAAOqE,EAAUM,MAGnB9C,EAAW+C,aAAe,CACxB1F,YAAa,KACbH,SAAU,KACVkC,oBAAgB4D,EAChBlJ,KAAMN,EAAaC,MACnB0E,OAAO,GAGT,IAAA8E,EAAeC,GA3RG,SAAAC,GAAK,MAAK,CAC1B7G,cAAe,CACb5B,SAAU,WACV0I,IAAK,MACLC,KAAM,MACNC,UAAW,yBAEbpE,OAAQ,CACN1E,MAAO,MACPK,OAAQ,MACRd,SAAU,OACVW,SAAU,YAEZuE,aAAc,CACZzE,MAAO,OACPK,OAAQ,OACRd,SAAU,OACVG,UAAW,OACXqJ,OAAQ,GAEVzE,WAAY,CAEVnE,gBAAiB,uBAEnBuC,SAAU,CACRjD,SAAU,SACVuJ,WAAY,SACZC,aAAc,WACdC,WAAY,KAEd7D,aAAc,CACZ8D,MAAOR,EAAMS,QAAQC,QAAQC,OAE/BjG,gBAAiB,CACflD,gBAAiBwI,EAAMS,QAAQC,QAAQE,OAEzC/F,oBAAqB,CACnBgG,YAAa,GACbC,SAAU,IAEZ7F,eAAgB,CACdjE,QAAS,OACT+J,cAAe,SACf1J,MAAO,QAET6D,QAAS,CACP7B,SAAU,GACVkH,WAAY,IACZlJ,MAAO,eAETkE,oBAAqB,CACnBlC,SAAU,GACVkH,WAAY,KAEf,GAqOcR,CAAsBlD"}
@@ -1,3 +1,13 @@
1
- declare const _default: any;
2
- export default _default;
1
+ export default AutoCompleteAssetSearch;
2
+ declare function AutoCompleteAssetSearch({ onClickAsset, company }: {
3
+ onClickAsset: any;
4
+ company: any;
5
+ }): JSX.Element;
6
+ declare namespace AutoCompleteAssetSearch {
7
+ namespace propTypes {
8
+ let company: PropTypes.Validator<number>;
9
+ let onClickAsset: PropTypes.Validator<(...args: any[]) => any>;
10
+ }
11
+ }
12
+ import PropTypes from 'prop-types';
3
13
  //# sourceMappingURL=AutoCompleteAssetSearch.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"AutoCompleteAssetSearch.d.ts","sourceRoot":"","sources":["../../../../../../src/components/BICOffsetPickerDialog/components/WellSection/AutoCompleteAssetSearch/AutoCompleteAssetSearch.js"],"names":[],"mappings":""}
1
+ {"version":3,"file":"AutoCompleteAssetSearch.d.ts","sourceRoot":"","sources":["../../../../../../src/components/BICOffsetPickerDialog/components/WellSection/AutoCompleteAssetSearch/AutoCompleteAssetSearch.js"],"names":[],"mappings":";AA8EA;;;gBAqHC;;;;;;;sBAlMqB,YAAY"}
@@ -1,2 +1,2 @@
1
- import e from"@babel/runtime/helpers/slicedToArray";import{useState as t,useRef as o}from"react";import r from"prop-types";import{withRouter as i}from"react-router";import n from"lodash/get";import{withStyles as a,Tooltip as l,makeStyles as c,Chip as p,Input as s}from"@material-ui/core";import u from"@material-ui/icons/Close";import d from"./AssetTypesSection.js";import m from"./AssetResultSection.js";import{useAssetsData as f}from"./effects/useAssetsData.js";import{SEARCH_CATEGORIES as h,CATEGORY_KEY_VALUES as x}from"./constants.js";import{jsxs as g,jsx as y}from"react/jsx-runtime";var C=a((function(){return{tooltip:{backgroundColor:"#414141",color:"#ffffff",fontSize:"11px",lineHeight:"16px",borderRadius:"4px",boxShadow:"0px 4px 4px rgba(0, 0, 0, 0.12)",padding:"4px"}}}))(l),b=c((function(e){return{wrapper:{width:"472px",display:"flex",flexDirection:"column",padding:16},inputWrapper:{display:"flex",width:"auto",margin:"0 8px 8px",alignItems:"center",flexWrap:"nowrap",justifyContent:"space-between"},selectedChip:{height:"24px",margin:"4px"},selectedChipDeleteIcon:{width:"16px",height:"16px",color:e.palette.primary.text6,"&:hover":{color:e.palette.primary.text1}},disabledIcon:{width:"16px",height:"16px",color:e.palette.primary.text6,opacity:.4},closeIconButton:{padding:0,"&:hover $closeIcon":{color:e.palette.primary.text1}},searchInput:{width:"100%",display:"flex",flexDirection:"row",justifyContent:"space-between",alignItems:"center",borderBottom:"2px solid #03BCD4"},closeIcon:{color:e.palette.primary.text6,fontSize:"18px"}}})),v=function(r){var i=r.onClickAsset,a=r.company,l=t(null),c=e(l,2),v=c[0],I=c[1],w=t(null),A=e(w,2),D=A[0],S=A[1],j=t(1),k=e(j,2),R=k[0],N=k[1],T=b(),W=o(),z=f(D,v,R,a),B=e(z,2),q=B[0],K=B[1];return g("div",{className:T.wrapper,children:[y("div",{className:T.inputWrapper,children:g("div",{className:T.searchInput,children:[v&&y(p,{"data-not-migrated-muichip":!0,classes:{root:T.selectedChip,deleteIcon:T.selectedChipDeleteIcon},label:n(h,[v,"labelPlural"],"Assets"),deleteIcon:y(u,{}),onDelete:function(){I(null),N(1)}}),y(s,{"data-testid":"".concat("AutoCompleteAssetSearch","_searchInput"),inputRef:W,autoFocus:!0,disableUnderline:!0,fullWidth:!0,value:D||"",placeholder:"Search ".concat(n(h,[v,"labelPlural"],"assets"),"..."),onChange:function(e){var t=e.target.value;S(t),N(1)},onKeyUp:function(t){var o=t.target.value,r=t.keyCode,i=x.find((function(t){var r=e(t,2);return r[0],r[1].autoCategorizedKey===o.trim().toLowerCase()}));if(i&&(13===r||32===r))return S(""),I(i[0]),void N(1);""===o&&8===r&&(I(null),N(1))}}),y(C,{title:"Clear",children:y(u,{className:v||D?T.selectedChipDeleteIcon:T.disabledIcon,onClick:function(){W.current.focus(),S(""),I(null),N(1)}})})]})}),!v&&!D&&y(d,{onClickAssetType:function(e){W.current.focus(),I(e),N(1)}}),(v||D)&&y(m,{loading:q,page:R,groupedAssets:K,onClickAsset:i,onScrollReached:function(e){"top"===e&&R>1&&N((function(e){return e-1})),"bottom"===e&&N((function(e){return e+1}))}})]})};v.propTypes={company:r.number.isRequired,onClickAsset:r.func.isRequired};var I=i(v);export{I as default};
1
+ import e from"@babel/runtime/helpers/slicedToArray";import{useState as t,useRef as o}from"react";import r from"prop-types";import i from"lodash/get";import{withStyles as n,Tooltip as l,makeStyles as a,Chip as c,Input as p}from"@material-ui/core";import s from"@material-ui/icons/Close";import u from"./AssetTypesSection.js";import d from"./AssetResultSection.js";import{useAssetsData as f}from"./effects/useAssetsData.js";import{SEARCH_CATEGORIES as m,CATEGORY_KEY_VALUES as h}from"./constants.js";import{jsxs as x,jsx as g}from"react/jsx-runtime";var y=n((function(){return{tooltip:{backgroundColor:"#414141",color:"#ffffff",fontSize:"11px",lineHeight:"16px",borderRadius:"4px",boxShadow:"0px 4px 4px rgba(0, 0, 0, 0.12)",padding:"4px"}}}))(l),C=a((function(e){return{wrapper:{width:"472px",display:"flex",flexDirection:"column",padding:16},inputWrapper:{display:"flex",width:"auto",margin:"0 8px 8px",alignItems:"center",flexWrap:"nowrap",justifyContent:"space-between"},selectedChip:{height:"24px",margin:"4px"},selectedChipDeleteIcon:{width:"16px",height:"16px",color:e.palette.primary.text6,"&:hover":{color:e.palette.primary.text1}},disabledIcon:{width:"16px",height:"16px",color:e.palette.primary.text6,opacity:.4},closeIconButton:{padding:0,"&:hover $closeIcon":{color:e.palette.primary.text1}},searchInput:{width:"100%",display:"flex",flexDirection:"row",justifyContent:"space-between",alignItems:"center",borderBottom:"2px solid #03BCD4"},closeIcon:{color:e.palette.primary.text6,fontSize:"18px"}}})),b=function(r){var n=r.onClickAsset,l=r.company,a=t(null),b=e(a,2),I=b[0],v=b[1],w=t(null),A=e(w,2),D=A[0],S=A[1],j=t(1),k=e(j,2),R=k[0],N=k[1],T=C(),W=o(),z=f(D,I,R,l),B=e(z,2),q=B[0],K=B[1];return x("div",{className:T.wrapper,children:[g("div",{className:T.inputWrapper,children:x("div",{className:T.searchInput,children:[I&&g(c,{"data-not-migrated-muichip":!0,classes:{root:T.selectedChip,deleteIcon:T.selectedChipDeleteIcon},label:i(m,[I,"labelPlural"],"Assets"),deleteIcon:g(s,{}),onDelete:function(){v(null),N(1)}}),g(p,{"data-testid":"".concat("AutoCompleteAssetSearch","_searchInput"),inputRef:W,autoFocus:!0,disableUnderline:!0,fullWidth:!0,value:D||"",placeholder:"Search ".concat(i(m,[I,"labelPlural"],"assets"),"..."),onChange:function(e){var t=e.target.value;S(t),N(1)},onKeyUp:function(t){var o=t.target.value,r=t.keyCode,i=h.find((function(t){var r=e(t,2);return r[0],r[1].autoCategorizedKey===o.trim().toLowerCase()}));if(i&&(13===r||32===r))return S(""),v(i[0]),void N(1);""===o&&8===r&&(v(null),N(1))}}),g(y,{title:"Clear",children:g(s,{className:I||D?T.selectedChipDeleteIcon:T.disabledIcon,onClick:function(){W.current.focus(),S(""),v(null),N(1)}})})]})}),!I&&!D&&g(u,{onClickAssetType:function(e){W.current.focus(),v(e),N(1)}}),(I||D)&&g(d,{loading:q,page:R,groupedAssets:K,onClickAsset:n,onScrollReached:function(e){"top"===e&&R>1&&N((function(e){return e-1})),"bottom"===e&&N((function(e){return e+1}))}})]})};b.propTypes={company:r.number.isRequired,onClickAsset:r.func.isRequired};export{b as default};
2
2
  //# sourceMappingURL=AutoCompleteAssetSearch.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"AutoCompleteAssetSearch.js","sources":["../../../../../../src/components/BICOffsetPickerDialog/components/WellSection/AutoCompleteAssetSearch/AutoCompleteAssetSearch.js"],"sourcesContent":["import { useState, useRef } from 'react';\nimport PropTypes from 'prop-types';\nimport { withRouter } from 'react-router';\nimport get from 'lodash/get';\nimport { makeStyles, Chip, Input, Tooltip, withStyles } from '@material-ui/core';\nimport CloseIcon from '@material-ui/icons/Close';\n\nimport AssetTypesSection from './AssetTypesSection';\nimport AssetResultSection from './AssetResultSection';\nimport { useAssetsData } from './effects';\nimport { SEARCH_CATEGORIES, CATEGORY_KEY_VALUES } from './constants';\n\nconst PAGE_NAME = 'AutoCompleteAssetSearch';\n\nconst StyledTooltip = withStyles(() => ({\n tooltip: {\n backgroundColor: '#414141',\n color: '#ffffff',\n fontSize: '11px',\n lineHeight: '16px',\n borderRadius: '4px',\n boxShadow: '0px 4px 4px rgba(0, 0, 0, 0.12)',\n padding: '4px',\n },\n}))(Tooltip);\n\nconst useStyles = makeStyles(theme => ({\n wrapper: {\n width: '472px',\n display: 'flex',\n flexDirection: 'column',\n padding: 16,\n },\n inputWrapper: {\n display: 'flex',\n width: 'auto',\n margin: '0 8px 8px',\n alignItems: 'center',\n flexWrap: 'nowrap',\n justifyContent: 'space-between',\n },\n selectedChip: {\n height: '24px',\n margin: '4px',\n },\n selectedChipDeleteIcon: {\n width: '16px',\n height: '16px',\n color: theme.palette.primary.text6,\n '&:hover': {\n color: theme.palette.primary.text1,\n },\n },\n disabledIcon: {\n width: '16px',\n height: '16px',\n color: theme.palette.primary.text6,\n opacity: 0.4,\n },\n closeIconButton: {\n padding: 0,\n '&:hover $closeIcon': {\n color: theme.palette.primary.text1,\n },\n },\n searchInput: {\n width: '100%',\n display: 'flex',\n flexDirection: 'row',\n justifyContent: 'space-between',\n alignItems: 'center',\n borderBottom: '2px solid #03BCD4',\n },\n closeIcon: {\n color: theme.palette.primary.text6,\n fontSize: '18px',\n },\n}));\n\nconst AutoCompleteAssetSearch = ({ onClickAsset, company }) => {\n const [assetType, setAssetType] = useState(null);\n const [searchKey, setSearchKey] = useState(null);\n const [page, setPage] = useState(1);\n const classes = useStyles();\n const searchInputRef = useRef();\n\n const [loading, groupedAssets] = useAssetsData(searchKey, assetType, page, company);\n\n const handleDeleteAssetType = () => {\n setAssetType(null);\n setPage(1);\n };\n\n const handleChangeAssetType = key => {\n searchInputRef.current.focus();\n setAssetType(key);\n setPage(1);\n };\n\n const handleChangeSearchKey = ({ target: { value } }) => {\n setSearchKey(value);\n setPage(1);\n };\n\n const handleKeyPress = e => {\n const { value } = e.target;\n const { keyCode } = e;\n\n const availableCategory = CATEGORY_KEY_VALUES.find(\n ([_, item]) => item.autoCategorizedKey === value.trim().toLowerCase()\n );\n\n // NOTE: when type one of categories defined and press enter key or space key\n // then asset type will be auto selected and clear input field\n if (availableCategory && (keyCode === 13 || keyCode === 32)) {\n setSearchKey('');\n setAssetType(availableCategory[0]);\n setPage(1);\n return;\n }\n\n // NOTE: when there is no value in input field and press back space key,\n // then clear asset type as well.\n if (value === '' && keyCode === 8) {\n setAssetType(null);\n setPage(1);\n }\n };\n\n const handleSearchClear = () => {\n searchInputRef.current.focus();\n setSearchKey('');\n setAssetType(null);\n setPage(1);\n };\n\n const handleScrollReached = position => {\n if (position === 'top' && page > 1) {\n setPage(prev => prev - 1);\n }\n if (position === 'bottom') {\n setPage(prev => prev + 1);\n }\n };\n\n return (\n <div className={classes.wrapper}>\n <div className={classes.inputWrapper}>\n <div className={classes.searchInput}>\n {assetType && (\n <Chip\n data-not-migrated-muichip\n classes={{ root: classes.selectedChip, deleteIcon: classes.selectedChipDeleteIcon }}\n label={get(SEARCH_CATEGORIES, [assetType, 'labelPlural'], 'Assets')}\n deleteIcon={<CloseIcon />}\n onDelete={handleDeleteAssetType}\n />\n )}\n <Input\n data-testid={`${PAGE_NAME}_searchInput`}\n inputRef={searchInputRef}\n autoFocus\n disableUnderline\n fullWidth\n value={searchKey || ''}\n placeholder={`Search ${get(\n SEARCH_CATEGORIES,\n [assetType, 'labelPlural'],\n 'assets'\n )}...`}\n onChange={handleChangeSearchKey}\n onKeyUp={handleKeyPress}\n />\n <StyledTooltip title=\"Clear\">\n <CloseIcon\n className={\n assetType || searchKey ? classes.selectedChipDeleteIcon : classes.disabledIcon\n }\n onClick={handleSearchClear}\n />\n </StyledTooltip>\n </div>\n </div>\n\n {!assetType && !searchKey && <AssetTypesSection onClickAssetType={handleChangeAssetType} />}\n {(assetType || searchKey) && (\n <AssetResultSection\n loading={loading}\n page={page}\n groupedAssets={groupedAssets}\n onClickAsset={onClickAsset}\n onScrollReached={handleScrollReached}\n />\n )}\n </div>\n );\n};\n\nAutoCompleteAssetSearch.propTypes = {\n company: PropTypes.number.isRequired,\n onClickAsset: PropTypes.func.isRequired,\n};\n\nexport default withRouter(AutoCompleteAssetSearch);\n"],"names":["StyledTooltip","withStyles","tooltip","backgroundColor","color","fontSize","lineHeight","borderRadius","boxShadow","padding","Tooltip","useStyles","makeStyles","theme","wrapper","width","display","flexDirection","inputWrapper","margin","alignItems","flexWrap","justifyContent","selectedChip","height","selectedChipDeleteIcon","palette","primary","text6","text1","disabledIcon","opacity","closeIconButton","searchInput","borderBottom","closeIcon","AutoCompleteAssetSearch","_ref","onClickAsset","company","useState","_useState2","_slicedToArray","_useState","assetType","setAssetType","_useState4","_useState3","searchKey","setSearchKey","_useState6","_useState5","page","setPage","classes","searchInputRef","useRef","useAssetsData","_useAssetsData2","_useAssetsData","loading","groupedAssets","_jsxs","className","children","_jsx","Chip","root","deleteIcon","label","get","SEARCH_CATEGORIES","CloseIcon","onDelete","Input","concat","inputRef","autoFocus","disableUnderline","fullWidth","value","placeholder","onChange","_ref2","target","onKeyUp","e","keyCode","availableCategory","CATEGORY_KEY_VALUES","find","_ref3","_ref4","autoCategorizedKey","trim","toLowerCase","title","onClick","current","focus","AssetTypesSection","onClickAssetType","key","AssetResultSection","onScrollReached","position","prev","propTypes","PropTypes","number","isRequired","func","withRouter"],"mappings":"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"}
1
+ {"version":3,"file":"AutoCompleteAssetSearch.js","sources":["../../../../../../src/components/BICOffsetPickerDialog/components/WellSection/AutoCompleteAssetSearch/AutoCompleteAssetSearch.js"],"sourcesContent":["import { useState, useRef } from 'react';\nimport PropTypes from 'prop-types';\nimport get from 'lodash/get';\nimport { makeStyles, Chip, Input, Tooltip, withStyles } from '@material-ui/core';\nimport CloseIcon from '@material-ui/icons/Close';\n\nimport AssetTypesSection from './AssetTypesSection';\nimport AssetResultSection from './AssetResultSection';\nimport { useAssetsData } from './effects';\nimport { SEARCH_CATEGORIES, CATEGORY_KEY_VALUES } from './constants';\n\nconst PAGE_NAME = 'AutoCompleteAssetSearch';\n\nconst StyledTooltip = withStyles(() => ({\n tooltip: {\n backgroundColor: '#414141',\n color: '#ffffff',\n fontSize: '11px',\n lineHeight: '16px',\n borderRadius: '4px',\n boxShadow: '0px 4px 4px rgba(0, 0, 0, 0.12)',\n padding: '4px',\n },\n}))(Tooltip);\n\nconst useStyles = makeStyles(theme => ({\n wrapper: {\n width: '472px',\n display: 'flex',\n flexDirection: 'column',\n padding: 16,\n },\n inputWrapper: {\n display: 'flex',\n width: 'auto',\n margin: '0 8px 8px',\n alignItems: 'center',\n flexWrap: 'nowrap',\n justifyContent: 'space-between',\n },\n selectedChip: {\n height: '24px',\n margin: '4px',\n },\n selectedChipDeleteIcon: {\n width: '16px',\n height: '16px',\n color: theme.palette.primary.text6,\n '&:hover': {\n color: theme.palette.primary.text1,\n },\n },\n disabledIcon: {\n width: '16px',\n height: '16px',\n color: theme.palette.primary.text6,\n opacity: 0.4,\n },\n closeIconButton: {\n padding: 0,\n '&:hover $closeIcon': {\n color: theme.palette.primary.text1,\n },\n },\n searchInput: {\n width: '100%',\n display: 'flex',\n flexDirection: 'row',\n justifyContent: 'space-between',\n alignItems: 'center',\n borderBottom: '2px solid #03BCD4',\n },\n closeIcon: {\n color: theme.palette.primary.text6,\n fontSize: '18px',\n },\n}));\n\nconst AutoCompleteAssetSearch = ({ onClickAsset, company }) => {\n const [assetType, setAssetType] = useState(null);\n const [searchKey, setSearchKey] = useState(null);\n const [page, setPage] = useState(1);\n const classes = useStyles();\n const searchInputRef = useRef();\n\n const [loading, groupedAssets] = useAssetsData(searchKey, assetType, page, company);\n\n const handleDeleteAssetType = () => {\n setAssetType(null);\n setPage(1);\n };\n\n const handleChangeAssetType = key => {\n searchInputRef.current.focus();\n setAssetType(key);\n setPage(1);\n };\n\n const handleChangeSearchKey = ({ target: { value } }) => {\n setSearchKey(value);\n setPage(1);\n };\n\n const handleKeyPress = e => {\n const { value } = e.target;\n const { keyCode } = e;\n\n const availableCategory = CATEGORY_KEY_VALUES.find(\n ([_, item]) => item.autoCategorizedKey === value.trim().toLowerCase()\n );\n\n // NOTE: when type one of categories defined and press enter key or space key\n // then asset type will be auto selected and clear input field\n if (availableCategory && (keyCode === 13 || keyCode === 32)) {\n setSearchKey('');\n setAssetType(availableCategory[0]);\n setPage(1);\n return;\n }\n\n // NOTE: when there is no value in input field and press back space key,\n // then clear asset type as well.\n if (value === '' && keyCode === 8) {\n setAssetType(null);\n setPage(1);\n }\n };\n\n const handleSearchClear = () => {\n searchInputRef.current.focus();\n setSearchKey('');\n setAssetType(null);\n setPage(1);\n };\n\n const handleScrollReached = position => {\n if (position === 'top' && page > 1) {\n setPage(prev => prev - 1);\n }\n if (position === 'bottom') {\n setPage(prev => prev + 1);\n }\n };\n\n return (\n <div className={classes.wrapper}>\n <div className={classes.inputWrapper}>\n <div className={classes.searchInput}>\n {assetType && (\n <Chip\n data-not-migrated-muichip\n classes={{ root: classes.selectedChip, deleteIcon: classes.selectedChipDeleteIcon }}\n label={get(SEARCH_CATEGORIES, [assetType, 'labelPlural'], 'Assets')}\n deleteIcon={<CloseIcon />}\n onDelete={handleDeleteAssetType}\n />\n )}\n <Input\n data-testid={`${PAGE_NAME}_searchInput`}\n inputRef={searchInputRef}\n autoFocus\n disableUnderline\n fullWidth\n value={searchKey || ''}\n placeholder={`Search ${get(\n SEARCH_CATEGORIES,\n [assetType, 'labelPlural'],\n 'assets'\n )}...`}\n onChange={handleChangeSearchKey}\n onKeyUp={handleKeyPress}\n />\n <StyledTooltip title=\"Clear\">\n <CloseIcon\n className={\n assetType || searchKey ? classes.selectedChipDeleteIcon : classes.disabledIcon\n }\n onClick={handleSearchClear}\n />\n </StyledTooltip>\n </div>\n </div>\n\n {!assetType && !searchKey && <AssetTypesSection onClickAssetType={handleChangeAssetType} />}\n {(assetType || searchKey) && (\n <AssetResultSection\n loading={loading}\n page={page}\n groupedAssets={groupedAssets}\n onClickAsset={onClickAsset}\n onScrollReached={handleScrollReached}\n />\n )}\n </div>\n );\n};\n\nAutoCompleteAssetSearch.propTypes = {\n company: PropTypes.number.isRequired,\n onClickAsset: PropTypes.func.isRequired,\n};\n\nexport default AutoCompleteAssetSearch;\n"],"names":["StyledTooltip","withStyles","tooltip","backgroundColor","color","fontSize","lineHeight","borderRadius","boxShadow","padding","Tooltip","useStyles","makeStyles","theme","wrapper","width","display","flexDirection","inputWrapper","margin","alignItems","flexWrap","justifyContent","selectedChip","height","selectedChipDeleteIcon","palette","primary","text6","text1","disabledIcon","opacity","closeIconButton","searchInput","borderBottom","closeIcon","AutoCompleteAssetSearch","_ref","onClickAsset","company","useState","_useState2","_slicedToArray","_useState","assetType","setAssetType","_useState4","_useState3","searchKey","setSearchKey","_useState6","_useState5","page","setPage","classes","searchInputRef","useRef","useAssetsData","_useAssetsData2","_useAssetsData","loading","groupedAssets","_jsxs","className","children","_jsx","Chip","root","deleteIcon","label","get","SEARCH_CATEGORIES","CloseIcon","onDelete","Input","concat","inputRef","autoFocus","disableUnderline","fullWidth","value","placeholder","onChange","_ref2","target","onKeyUp","e","keyCode","availableCategory","CATEGORY_KEY_VALUES","find","_ref3","_ref4","autoCategorizedKey","trim","toLowerCase","title","onClick","current","focus","AssetTypesSection","onClickAssetType","key","AssetResultSection","onScrollReached","position","prev","propTypes","PropTypes","number","isRequired","func"],"mappings":"oiBAWA,IAEMA,EAAgBC,GAAW,WAAA,MAAO,CACtCC,QAAS,CACPC,gBAAiB,UACjBC,MAAO,UACPC,SAAU,OACVC,WAAY,OACZC,aAAc,MACdC,UAAW,kCACXC,QAAS,OAEZ,GAVqBR,CAUlBS,GAEEC,EAAYC,GAAW,SAAAC,GAAK,MAAK,CACrCC,QAAS,CACPC,MAAO,QACPC,QAAS,OACTC,cAAe,SACfR,QAAS,IAEXS,aAAc,CACZF,QAAS,OACTD,MAAO,OACPI,OAAQ,YACRC,WAAY,SACZC,SAAU,SACVC,eAAgB,iBAElBC,aAAc,CACZC,OAAQ,OACRL,OAAQ,OAEVM,uBAAwB,CACtBV,MAAO,OACPS,OAAQ,OACRpB,MAAOS,EAAMa,QAAQC,QAAQC,MAC7B,UAAW,CACTxB,MAAOS,EAAMa,QAAQC,QAAQE,QAGjCC,aAAc,CACZf,MAAO,OACPS,OAAQ,OACRpB,MAAOS,EAAMa,QAAQC,QAAQC,MAC7BG,QAAS,IAEXC,gBAAiB,CACfvB,QAAS,EACT,qBAAsB,CACpBL,MAAOS,EAAMa,QAAQC,QAAQE,QAGjCI,YAAa,CACXlB,MAAO,OACPC,QAAS,OACTC,cAAe,MACfK,eAAgB,gBAChBF,WAAY,SACZc,aAAc,qBAEhBC,UAAW,CACT/B,MAAOS,EAAMa,QAAQC,QAAQC,MAC7BvB,SAAU,QAEb,IAEK+B,EAA0B,SAA+BC,GAAA,IAA5BC,IAAAA,aAAcC,IAAAA,QACbC,EAAAA,EAAS,MAAKC,EAAAC,EAAAC,EAAA,GAAzCC,EAASH,EAAA,GAAEI,EAAYJ,EAAA,GACID,EAAAA,EAAS,MAAKM,EAAAJ,EAAAK,EAAA,GAAzCC,EAASF,EAAA,GAAEG,EAAYH,EAAA,GACNN,EAAAA,EAAS,GAAEU,EAAAR,EAAAS,EAAA,GAA5BC,EAAIF,EAAA,GAAEG,EAAOH,EAAA,GACdI,EAAU3C,IACV4C,EAAiBC,IAEUC,EAAAA,EAAcT,EAAWJ,EAAWQ,EAAMb,GAAQmB,EAAAhB,EAAAiB,EAAA,GAA5EC,EAAOF,EAAA,GAAEG,EAAaH,EAAA,GA2D7B,OACEI,EAAA,MAAA,CAAKC,UAAWT,EAAQxC,QAAQkD,SAC9B,CAAAC,EAAA,MAAA,CAAKF,UAAWT,EAAQpC,aAAa8C,SACnCF,EAAA,MAAA,CAAKC,UAAWT,EAAQrB,YAAY+B,SACjCpB,CAAAA,GACCqB,EAACC,EAAI,CACH,6BAAyB,EACzBZ,QAAS,CAAEa,KAAMb,EAAQ/B,aAAc6C,WAAYd,EAAQ7B,wBAC3D4C,MAAOC,EAAIC,EAAmB,CAAC3B,EAAW,eAAgB,UAC1DwB,WAAYH,EAACO,EAAa,IAC1BC,SAnEkB,WAC5B5B,EAAa,MACbQ,EAAQ,MAoEFY,EAACS,EAAK,CACJ,cAAA,GAAAC,OAnJM,0BAmJkC,gBACxCC,SAAUrB,EACVsB,WAAS,EACTC,kBAAgB,EAChBC,WAAS,EACTC,MAAOhC,GAAa,GACpBiC,YAAuBX,UAAAA,OAAAA,EACrBC,EACA,CAAC3B,EAAW,eACZ,UACK,OACPsC,SAvEoB,SAA2BC,GAAA,IAAdH,EAAKG,EAAfC,OAAUJ,MACzC/B,EAAa+B,GACb3B,EAAQ,IAsEAgC,QAnEa,SAAAC,GACrB,IAAQN,EAAUM,EAAEF,OAAZJ,MACAO,EAAYD,EAAZC,QAEFC,EAAoBC,EAAoBC,MAC5C,SAAAC,GAAA,IAAAC,EAAAlD,EAAAiD,EAAA,GAAS,OAANC,EAAA,GAAMA,EAAA,GAAWC,qBAAuBb,EAAMc,OAAOC,iBAK1D,GAAIP,IAAkC,KAAZD,GAA8B,KAAZA,GAI1C,OAHAtC,EAAa,IACbJ,EAAa2C,EAAkB,SAC/BnC,EAAQ,GAMI,KAAV2B,GAA4B,IAAZO,IAClB1C,EAAa,MACbQ,EAAQ,OAgDJY,EAACjE,EAAa,CAACgG,MAAM,QAAOhC,SAC1BC,EAACO,EAAS,CACRT,UACEnB,GAAaI,EAAYM,EAAQ7B,uBAAyB6B,EAAQxB,aAEpEmE,QAjDc,WACxB1C,EAAe2C,QAAQC,QACvBlD,EAAa,IACbJ,EAAa,MACbQ,EAAQ,cAmDJT,IAAcI,GAAaiB,EAACmC,EAAiB,CAACC,iBA3FtB,SAAAC,GAC5B/C,EAAe2C,QAAQC,QACvBtD,EAAayD,GACbjD,EAAQ,OAyFJT,GAAaI,IACbiB,EAACsC,EAAkB,CACjB3C,QAASA,EACTR,KAAMA,EACNS,cAAeA,EACfvB,aAAcA,EACdkE,gBAvDoB,SAAAC,GACT,QAAbA,GAAsBrD,EAAO,GAC/BC,GAAQ,SAAAqD,GAAI,OAAIA,EAAO,KAER,WAAbD,GACFpD,GAAQ,SAAAqD,GAAI,OAAIA,EAAO,UAuD7B,EAEAtE,EAAwBuE,UAAY,CAClCpE,QAASqE,EAAUC,OAAOC,WAC1BxE,aAAcsE,EAAUG,KAAKD"}