@corva/ui 3.75.0-16 → 3.75.0-18

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 (1067) hide show
  1. package/cjs-bundle/components/AddComment/Popover.js +1 -1
  2. package/cjs-bundle/components/AddComment/Popover.js.map +1 -1
  3. package/cjs-bundle/components/AddComment/components/Content.js +1 -1
  4. package/cjs-bundle/components/AddComment/components/Content.js.map +1 -1
  5. package/cjs-bundle/components/AdvancedSlider/Handle.js +1 -1
  6. package/cjs-bundle/components/AdvancedSlider/Handle.js.map +1 -1
  7. package/cjs-bundle/components/AttachFileButton/AttachFileButton.js +1 -1
  8. package/cjs-bundle/components/AttachFileButton/AttachFileButton.js.map +1 -1
  9. package/cjs-bundle/components/Attachment/index.js +1 -1
  10. package/cjs-bundle/components/Attachment/index.js.map +1 -1
  11. package/cjs-bundle/components/AttachmentLightbox/AttachmentLightbox.js +1 -1
  12. package/cjs-bundle/components/AttachmentLightbox/AttachmentLightbox.js.map +1 -1
  13. package/cjs-bundle/components/AttachmentLightbox/AttachmentPreviewPane.js +1 -1
  14. package/cjs-bundle/components/AttachmentLightbox/AttachmentPreviewPane.js.map +1 -1
  15. package/cjs-bundle/components/AttachmentPreview/AttachmentActionsMenu.js +1 -1
  16. package/cjs-bundle/components/AttachmentPreview/AttachmentActionsMenu.js.map +1 -1
  17. package/cjs-bundle/components/AttachmentPreview/AttachmentDownloadLink.js +1 -1
  18. package/cjs-bundle/components/AttachmentPreview/AttachmentDownloadLink.js.map +1 -1
  19. package/cjs-bundle/components/AttachmentPreview/AttachmentTile.js +1 -1
  20. package/cjs-bundle/components/AttachmentPreview/AttachmentTile.js.map +1 -1
  21. package/cjs-bundle/components/AttachmentPreview/SortableAttachments.js +1 -1
  22. package/cjs-bundle/components/AttachmentPreview/SortableAttachments.js.map +1 -1
  23. package/cjs-bundle/components/BICOffsetPickerDialog/index.js +1 -1
  24. package/cjs-bundle/components/BICOffsetPickerDialog/index.js.map +1 -1
  25. package/cjs-bundle/components/Breadcrumbs/index.js +1 -1
  26. package/cjs-bundle/components/Breadcrumbs/index.js.map +1 -1
  27. package/cjs-bundle/components/Button/components/LiveButton/index.js +1 -1
  28. package/cjs-bundle/components/Button/components/LiveButton/index.js.map +1 -1
  29. package/cjs-bundle/components/Button/index.js +1 -1
  30. package/cjs-bundle/components/Casing/CasingTableV2/components/CasingJoints/Editor.js +1 -1
  31. package/cjs-bundle/components/Casing/CasingTableV2/components/CasingJoints/Editor.js.map +1 -1
  32. package/cjs-bundle/components/Casing/CasingTableV2/components/Component.js +1 -1
  33. package/cjs-bundle/components/Casing/CasingTableV2/components/Component.js.map +1 -1
  34. package/cjs-bundle/components/Casing/CasingTableV2/components/DrillPipe/Editor.js +1 -1
  35. package/cjs-bundle/components/Casing/CasingTableV2/components/DrillPipe/Editor.js.map +1 -1
  36. package/cjs-bundle/components/Chart/components/AxisDropdown.js +1 -1
  37. package/cjs-bundle/components/Chart/components/AxisDropdown.js.map +1 -1
  38. package/cjs-bundle/components/Chart/components/ChartSelect.js +1 -1
  39. package/cjs-bundle/components/Chart/components/ChartSelect.js.map +1 -1
  40. package/cjs-bundle/components/Chart/components/buttons/ChartTypeButton.js +1 -1
  41. package/cjs-bundle/components/Chart/components/buttons/ChartTypeButton.js.map +1 -1
  42. package/cjs-bundle/components/Chart/components/buttons/DragToZoomButton.js +1 -1
  43. package/cjs-bundle/components/Chart/components/buttons/DragToZoomButton.js.map +1 -1
  44. package/cjs-bundle/components/Chart/components/buttons/HideAxesButton.js +1 -1
  45. package/cjs-bundle/components/Chart/components/buttons/HideAxesButton.js.map +1 -1
  46. package/cjs-bundle/components/Chart/components/buttons/PanButton.js +1 -1
  47. package/cjs-bundle/components/Chart/components/buttons/PanButton.js.map +1 -1
  48. package/cjs-bundle/components/Chart/components/buttons/ResetZoomButton.js +1 -1
  49. package/cjs-bundle/components/Chart/components/buttons/ResetZoomButton.js.map +1 -1
  50. package/cjs-bundle/components/Chart/components/buttons/ZoomInButton.js +1 -1
  51. package/cjs-bundle/components/Chart/components/buttons/ZoomInButton.js.map +1 -1
  52. package/cjs-bundle/components/Chart/components/buttons/ZoomOutButton.js +1 -1
  53. package/cjs-bundle/components/Chart/components/buttons/ZoomOutButton.js.map +1 -1
  54. package/cjs-bundle/components/Chip/index.js +1 -1
  55. package/cjs-bundle/components/Chip/index.js.map +1 -1
  56. package/cjs-bundle/components/CollapsableSidebar.js +1 -1
  57. package/cjs-bundle/components/CollapsableSidebar.js.map +1 -1
  58. package/cjs-bundle/components/ColorPicker/ColorPicker.js +1 -1
  59. package/cjs-bundle/components/ColorPicker/ColorPicker.js.map +1 -1
  60. package/cjs-bundle/components/ColorPicker/PaletteChromePicker/PaletteChromePicker.js +1 -1
  61. package/cjs-bundle/components/ColorPicker/PaletteChromePicker/PaletteChromePicker.js.map +1 -1
  62. package/cjs-bundle/components/CommentCard/CommentCard.js +1 -1
  63. package/cjs-bundle/components/CommentCard/CommentCard.js.map +1 -1
  64. package/cjs-bundle/components/CommentCard/CommentCardReactions.js +1 -1
  65. package/cjs-bundle/components/CommentCard/CommentCardReactions.js.map +1 -1
  66. package/cjs-bundle/components/CommentCard/CommentCardReplies.js +1 -1
  67. package/cjs-bundle/components/CommentCard/CommentCardReplies.js.map +1 -1
  68. package/cjs-bundle/components/CommentCard/buildCommentReply.js +1 -1
  69. package/cjs-bundle/components/CommentCard/buildCommentReply.js.map +1 -1
  70. package/cjs-bundle/components/CommentComposer/ChatChannelSelector.js +1 -1
  71. package/cjs-bundle/components/CommentComposer/ChatChannelSelector.js.map +1 -1
  72. package/cjs-bundle/components/CommentComposer/CommentComposer.js +1 -1
  73. package/cjs-bundle/components/CommentComposer/CommentComposer.js.map +1 -1
  74. package/cjs-bundle/components/CommentInputNext/CommentInputNext.js +1 -1
  75. package/cjs-bundle/components/CommentInputNext/CommentInputNext.js.map +1 -1
  76. package/cjs-bundle/components/CopyToClipboard/CopyToClipboard.js +1 -1
  77. package/cjs-bundle/components/CopyToClipboard/CopyToClipboard.js.map +1 -1
  78. package/cjs-bundle/components/Counter/index.js +1 -1
  79. package/cjs-bundle/components/Counter/index.js.map +1 -1
  80. package/cjs-bundle/components/DatePicker/index.js +1 -1
  81. package/cjs-bundle/components/DatePicker/index.js.map +1 -1
  82. package/cjs-bundle/components/DateTimePicker/index.js +1 -1
  83. package/cjs-bundle/components/DateTimePicker/index.js.map +1 -1
  84. package/cjs-bundle/components/DevCenter/AppFilterPanelLayout/AppFilterPanelLayout.js +1 -1
  85. package/cjs-bundle/components/DevCenter/AppFilterPanelLayout/AppFilterPanelLayout.js.map +1 -1
  86. package/cjs-bundle/components/DevCenter/AppSettingsPopover/AppSettingsPopover.js +1 -1
  87. package/cjs-bundle/components/DevCenter/AppSettingsPopover/AppSettingsPopover.js.map +1 -1
  88. package/cjs-bundle/components/DevCenter/AppSideBar/AppSideBar.js +1 -1
  89. package/cjs-bundle/components/DevCenter/AppSideBar/AppSideBar.js.map +1 -1
  90. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/DevCenterAppContainer.js +1 -1
  91. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/DevCenterAppContainer.js.map +1 -1
  92. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/AppSettingsDialog.js +1 -1
  93. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/AppSettingsDialog.js.map +1 -1
  94. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/components/RemoveAppButton.js +1 -1
  95. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/components/RemoveAppButton.js.map +1 -1
  96. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchButton.js +1 -1
  97. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchButton.js.map +1 -1
  98. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/LegacyAppActions.js +1 -1
  99. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/LegacyAppActions.js.map +1 -1
  100. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/NonPriorityMenus.js +1 -1
  101. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/NonPriorityMenus.js.map +1 -1
  102. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/PriorityMenus.js +1 -1
  103. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/PriorityMenus.js.map +1 -1
  104. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/RestoreAppSizeButton/index.js +1 -1
  105. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/RestoreAppSizeButton/index.js.map +1 -1
  106. package/cjs-bundle/components/DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedAppPage.js +1 -1
  107. package/cjs-bundle/components/DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedAppPage.js.map +1 -1
  108. package/cjs-bundle/components/DocumentViewer/DocumentViewer.js +1 -1
  109. package/cjs-bundle/components/DocumentViewer/DocumentViewer.js.map +1 -1
  110. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Agitator/Editor.js +1 -1
  111. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Agitator/Editor.js.map +1 -1
  112. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Bit/Editor.js +1 -1
  113. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Bit/Editor.js.map +1 -1
  114. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Component.js +1 -1
  115. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Component.js.map +1 -1
  116. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/DrillCollar/Editor.js +1 -1
  117. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/DrillCollar/Editor.js.map +1 -1
  118. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/DrillPipe/Editor.js +1 -1
  119. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/DrillPipe/Editor.js.map +1 -1
  120. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Jar/Editor.js +1 -1
  121. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Jar/Editor.js.map +1 -1
  122. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Lwd/Editor.js +1 -1
  123. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Lwd/Editor.js.map +1 -1
  124. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Mwd/Editor.js +1 -1
  125. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Mwd/Editor.js.map +1 -1
  126. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Pdm/Editor.js +1 -1
  127. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Pdm/Editor.js.map +1 -1
  128. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Rss/Editor.js +1 -1
  129. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Rss/Editor.js.map +1 -1
  130. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Stabilizer/Editor.js +1 -1
  131. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Stabilizer/Editor.js.map +1 -1
  132. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Sub/Editor.js +1 -1
  133. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Sub/Editor.js.map +1 -1
  134. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Ur/Editor.js +1 -1
  135. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Ur/Editor.js.map +1 -1
  136. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/shared/ConfirmationPopup.js +1 -1
  137. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/shared/ConfirmationPopup.js.map +1 -1
  138. package/cjs-bundle/components/EChartsWrapper/components/Toolbox/Toolbox.js +1 -1
  139. package/cjs-bundle/components/EChartsWrapper/components/Toolbox/Toolbox.js.map +1 -1
  140. package/cjs-bundle/components/ErrorBoundary/DevCenterAppErrorView/DevCenterAppErrorView.js +1 -1
  141. package/cjs-bundle/components/ErrorBoundary/DevCenterAppErrorView/DevCenterAppErrorView.js.map +1 -1
  142. package/cjs-bundle/components/ErrorBoundary/ErrorBoundary.js +1 -1
  143. package/cjs-bundle/components/ErrorBoundary/ErrorBoundary.js.map +1 -1
  144. package/cjs-bundle/components/FeedCard/useFeedActivity.js +1 -1
  145. package/cjs-bundle/components/FeedCard/useFeedActivity.js.map +1 -1
  146. package/cjs-bundle/components/FeedItem/FeedItem.js +1 -1
  147. package/cjs-bundle/components/FeedItem/FeedItem.js.map +1 -1
  148. package/cjs-bundle/components/FilesDropzone/FilesDropzone.js +1 -1
  149. package/cjs-bundle/components/FilesDropzone/FilesDropzone.js.map +1 -1
  150. package/cjs-bundle/components/FilesLoader/FilesLoader.js +1 -1
  151. package/cjs-bundle/components/FilesLoader/FilesLoader.js.map +1 -1
  152. package/cjs-bundle/components/FilesLoaderV2/FilesLoaderV2.js +1 -1
  153. package/cjs-bundle/components/FilesLoaderV2/FilesLoaderV2.js.map +1 -1
  154. package/cjs-bundle/components/Formula/CloseSuggestion.js +1 -1
  155. package/cjs-bundle/components/Formula/CloseSuggestion.js.map +1 -1
  156. package/cjs-bundle/components/Formula/Formula.js +1 -1
  157. package/cjs-bundle/components/Formula/Formula.js.map +1 -1
  158. package/cjs-bundle/components/GradientManager/GradientManager.js +1 -1
  159. package/cjs-bundle/components/GradientManager/GradientManager.js.map +1 -1
  160. package/cjs-bundle/components/GradientManager/GradientSelect.js +1 -1
  161. package/cjs-bundle/components/GradientManager/GradientSelect.js.map +1 -1
  162. package/cjs-bundle/components/GradientPicker/GradientPicker.js +1 -1
  163. package/cjs-bundle/components/GradientPicker/GradientPicker.js.map +1 -1
  164. package/cjs-bundle/components/HelpCenter/HelpCenterIcon.js +1 -1
  165. package/cjs-bundle/components/HelpCenter/HelpCenterIcon.js.map +1 -1
  166. package/cjs-bundle/components/Hint/Hint.js +1 -1
  167. package/cjs-bundle/components/Hint/Hint.js.map +1 -1
  168. package/cjs-bundle/components/Modal/CorvaModal.js +1 -1
  169. package/cjs-bundle/components/Modal/CorvaModal.js.map +1 -1
  170. package/cjs-bundle/components/Notifications/Toast.js +1 -1
  171. package/cjs-bundle/components/Notifications/Toast.js.map +1 -1
  172. package/cjs-bundle/components/OffsetWellPickerV2/OffsetWellPickerDialog.js +1 -1
  173. package/cjs-bundle/components/OffsetWellPickerV2/OffsetWellPickerDialog.js.map +1 -1
  174. package/cjs-bundle/components/OffsetWellPickerV2/components/Filter/ToggleMapButton.js +1 -1
  175. package/cjs-bundle/components/OffsetWellPickerV2/components/Filter/ToggleMapButton.js.map +1 -1
  176. package/cjs-bundle/components/OffsetWellPickerV2/components/Table/MetricsAddMenu.js +1 -1
  177. package/cjs-bundle/components/OffsetWellPickerV2/components/Table/MetricsAddMenu.js.map +1 -1
  178. package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/MetricsAddMenu.js +1 -1
  179. package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/MetricsAddMenu.js.map +1 -1
  180. package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/index.js +1 -1
  181. package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/index.js.map +1 -1
  182. package/cjs-bundle/components/OffsetWellPickerV3/components/OffsetWellSelectionView/index.js +1 -1
  183. package/cjs-bundle/components/OffsetWellPickerV3/components/OffsetWellSelectionView/index.js.map +1 -1
  184. package/cjs-bundle/components/OffsetWellPickerV3/components/TabSelection/ToggleMapButton.js +1 -1
  185. package/cjs-bundle/components/OffsetWellPickerV3/components/TabSelection/ToggleMapButton.js.map +1 -1
  186. package/cjs-bundle/components/OffsetWellPickerV3/components/TabSelection/index.js +1 -1
  187. package/cjs-bundle/components/OffsetWellPickerV3/components/TabSelection/index.js.map +1 -1
  188. package/cjs-bundle/components/OffsetWellPickerV3/components/WellHubView/index.js +1 -1
  189. package/cjs-bundle/components/OffsetWellPickerV3/components/WellHubView/index.js.map +1 -1
  190. package/cjs-bundle/components/OffsetWellPickerV3/components/shared/OffsetWellTableHead.js +1 -1
  191. package/cjs-bundle/components/OffsetWellPickerV3/components/shared/OffsetWellTableHead.js.map +1 -1
  192. package/cjs-bundle/components/OffsetWellPickerV5/components/AppHeader/components/HeaderActions/HeaderActions.js +1 -1
  193. package/cjs-bundle/components/OffsetWellPickerV5/components/AppHeader/components/HeaderActions/HeaderActions.js.map +1 -1
  194. package/cjs-bundle/components/OffsetWellPickerV5/components/AppHeader/components/LoadAllWellsToggle/LoadAllWellsToggle.js +1 -1
  195. package/cjs-bundle/components/OffsetWellPickerV5/components/AppHeader/components/LoadAllWellsToggle/LoadAllWellsToggle.js.map +1 -1
  196. package/cjs-bundle/components/OffsetWellPickerV5/components/CustomInfoIcon/CustomInfoIcon.js +1 -1
  197. package/cjs-bundle/components/OffsetWellPickerV5/components/CustomInfoIcon/CustomInfoIcon.js.map +1 -1
  198. package/cjs-bundle/components/OffsetWellPickerV5/components/Filter/Filter.js +1 -1
  199. package/cjs-bundle/components/OffsetWellPickerV5/components/Filter/Filter.js.map +1 -1
  200. package/cjs-bundle/components/OffsetWellPickerV5/components/Filter/components/CustomDateFields/CustomDateFields.js +1 -1
  201. package/cjs-bundle/components/OffsetWellPickerV5/components/Filter/components/CustomDateFields/CustomDateFields.js.map +1 -1
  202. package/cjs-bundle/components/OffsetWellPickerV5/components/Filter/components/PeriodFilterSelect/PeriodFilterSelect.js +1 -1
  203. package/cjs-bundle/components/OffsetWellPickerV5/components/Filter/components/PeriodFilterSelect/PeriodFilterSelect.js.map +1 -1
  204. package/cjs-bundle/components/OffsetWellPickerV5/components/Filter/components/SingleFilterSelect/SingleFilterSelect.js +1 -1
  205. package/cjs-bundle/components/OffsetWellPickerV5/components/Filter/components/SingleFilterSelect/SingleFilterSelect.js.map +1 -1
  206. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/ClusterTooltip/ClusterTooltip.js +1 -1
  207. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/ClusterTooltip/ClusterTooltip.js.map +1 -1
  208. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/LayerSwitcher/LayerSwitcher.js +1 -1
  209. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/LayerSwitcher/LayerSwitcher.js.map +1 -1
  210. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapControls/MapControls.js +1 -1
  211. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapControls/MapControls.js.map +1 -1
  212. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapHints/MapHintsStash.js +1 -1
  213. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapHints/MapHintsStash.js.map +1 -1
  214. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/SelectionToast/SelectionToast.js +1 -1
  215. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/SelectionToast/SelectionToast.js.map +1 -1
  216. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/SubjectWellMarker/SubjectWellMarker.js +1 -1
  217. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/SubjectWellMarker/SubjectWellMarker.js.map +1 -1
  218. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/WellTooltip/WellTooltip.js +1 -1
  219. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/WellTooltip/WellTooltip.js.map +1 -1
  220. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellPickerContent/OffsetWellPickerContent.js +1 -1
  221. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellPickerContent/OffsetWellPickerContent.js.map +1 -1
  222. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellPickerV5WithStore/components/CompanySafeguardWrapper/CompanySafeguardWrapper.js +1 -1
  223. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellPickerV5WithStore/components/CompanySafeguardWrapper/CompanySafeguardWrapper.js.map +1 -1
  224. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellPickerV5WithStore/components/UserSettingsWrapper/UserSettingsWrapper.js +1 -1
  225. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellPickerV5WithStore/components/UserSettingsWrapper/UserSettingsWrapper.js.map +1 -1
  226. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/AdvancedSearch.js +1 -1
  227. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/AdvancedSearch.js.map +1 -1
  228. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/components/AssetResultSection/AssetResultSection.js +1 -1
  229. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/components/AssetResultSection/AssetResultSection.js.map +1 -1
  230. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/components/AutoCompleteAssetSearch/AutoCompleteAssetSearch.js +1 -1
  231. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/components/AutoCompleteAssetSearch/AutoCompleteAssetSearch.js.map +1 -1
  232. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/CompanyCell/CompanyCell.js +1 -1
  233. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/CompanyCell/CompanyCell.js.map +1 -1
  234. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/FormationCell/FormationCell.js +1 -1
  235. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/FormationCell/FormationCell.js.map +1 -1
  236. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/InterventionAssetCell/InterventionAssetCell.js +1 -1
  237. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/InterventionAssetCell/InterventionAssetCell.js.map +1 -1
  238. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/PadNameCell/PadNameCell.js +1 -1
  239. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/PadNameCell/PadNameCell.js.map +1 -1
  240. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/RigCell/RigCell.js +1 -1
  241. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/RigCell/RigCell.js.map +1 -1
  242. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/WellNameCell/WellNameCell.js +1 -1
  243. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/WellNameCell/WellNameCell.js.map +1 -1
  244. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/SettingsMenu.js +1 -1
  245. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/SettingsMenu.js.map +1 -1
  246. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/MetricsSettingsSection/MetricsSettingsSection.js +1 -1
  247. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/MetricsSettingsSection/MetricsSettingsSection.js.map +1 -1
  248. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/SettingsAccordion/SettingsAccordion.js +1 -1
  249. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/SettingsAccordion/SettingsAccordion.js.map +1 -1
  250. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/TableSettingsSection/TableSettingsSection.js +1 -1
  251. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/TableSettingsSection/TableSettingsSection.js.map +1 -1
  252. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/WellNameHeaderCell/WellNameHeaderCell.js +1 -1
  253. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/WellNameHeaderCell/WellNameHeaderCell.js.map +1 -1
  254. package/cjs-bundle/components/OffsetWellPickerV5/components/PickerModalActions/PickerModalActions.js +1 -1
  255. package/cjs-bundle/components/OffsetWellPickerV5/components/PickerModalActions/PickerModalActions.js.map +1 -1
  256. package/cjs-bundle/components/OffsetWellPickerV5/hooks/use-well-data-pipeline/useWellDataPipeline.js +1 -1
  257. package/cjs-bundle/components/OffsetWellPickerV5/hooks/use-well-data-pipeline/useWellDataPipeline.js.map +1 -1
  258. package/cjs-bundle/components/OffsetWellPickerV5/hooks/useIsAdmin.js +1 -1
  259. package/cjs-bundle/components/OffsetWellPickerV5/hooks/useIsAdmin.js.map +1 -1
  260. package/cjs-bundle/components/PadModeSelect/FracModeLabel.js +1 -1
  261. package/cjs-bundle/components/PadModeSelect/FracModeLabel.js.map +1 -1
  262. package/cjs-bundle/components/PadModeSelect/PadModeSelect.js +1 -1
  263. package/cjs-bundle/components/PadModeSelect/PadModeSelect.js.map +1 -1
  264. package/cjs-bundle/components/PadOffsetsPicker/StagesSelector.js +1 -1
  265. package/cjs-bundle/components/PadOffsetsPicker/StagesSelector.js.map +1 -1
  266. package/cjs-bundle/components/PadOffsetsPickerV2/PadOffsetsPickerV2.js +1 -1
  267. package/cjs-bundle/components/PadOffsetsPickerV2/PadOffsetsPickerV2.js.map +1 -1
  268. package/cjs-bundle/components/ParameterCharts/components/TraceHeader.js +1 -1
  269. package/cjs-bundle/components/ParameterCharts/components/TraceHeader.js.map +1 -1
  270. package/cjs-bundle/components/PinnableFilters/components/FiltersToggler.js +1 -1
  271. package/cjs-bundle/components/PinnableFilters/components/FiltersToggler.js.map +1 -1
  272. package/cjs-bundle/components/RealTimeValuesSidebar/RealTimeValuesBox/RealTimeBoxEditDialog.js +1 -1
  273. package/cjs-bundle/components/RealTimeValuesSidebar/RealTimeValuesBox/RealTimeBoxEditDialog.js.map +1 -1
  274. package/cjs-bundle/components/RealTimeValuesSidebar/SidebarFooter.js +1 -1
  275. package/cjs-bundle/components/RealTimeValuesSidebar/SidebarFooter.js.map +1 -1
  276. package/cjs-bundle/components/Search/Search.js +1 -1
  277. package/cjs-bundle/components/Search/Search.js.map +1 -1
  278. package/cjs-bundle/components/Select/SelectFilterBy.js +1 -1
  279. package/cjs-bundle/components/Select/SelectFilterBy.js.map +1 -1
  280. package/cjs-bundle/components/SettingEditors/ColorEditor/index.js +1 -1
  281. package/cjs-bundle/components/SettingEditors/ColorEditor/index.js.map +1 -1
  282. package/cjs-bundle/components/Stepper/Step/Step.js +1 -1
  283. package/cjs-bundle/components/Stepper/Step/Step.js.map +1 -1
  284. package/cjs-bundle/components/Table/TableCell/TableCell.js +1 -1
  285. package/cjs-bundle/components/Table/TableCell/TableCell.js.map +1 -1
  286. package/cjs-bundle/components/Table/TablePaginationActions/TablePaginationActions.js +1 -1
  287. package/cjs-bundle/components/Table/TablePaginationActions/TablePaginationActions.js.map +1 -1
  288. package/cjs-bundle/components/Table/TableSortLabel/TableSortLabel.js +1 -1
  289. package/cjs-bundle/components/Table/TableSortLabel/TableSortLabel.js.map +1 -1
  290. package/cjs-bundle/components/Toaster/Toaster.js +1 -1
  291. package/cjs-bundle/components/Toaster/Toaster.js.map +1 -1
  292. package/cjs-bundle/components/index.js +1 -1
  293. package/cjs-bundle/componentsV2/Accordion/Accordion.js +1 -1
  294. package/cjs-bundle/componentsV2/Accordion/Accordion.js.map +1 -1
  295. package/cjs-bundle/componentsV2/AppContainer/AppContainer.constants.scss.js +2 -0
  296. package/cjs-bundle/componentsV2/AppContainer/AppContainer.constants.scss.js.map +1 -0
  297. package/cjs-bundle/componentsV2/AppContainer/AppContainer.js +1 -1
  298. package/cjs-bundle/componentsV2/AppContainer/AppContainer.js.map +1 -1
  299. package/cjs-bundle/componentsV2/AppContainer/AppContainer.scss.js +1 -1
  300. package/cjs-bundle/componentsV2/AppContainer/Content.js +1 -1
  301. package/cjs-bundle/componentsV2/AppContainer/Content.js.map +1 -1
  302. package/cjs-bundle/componentsV2/AppDqPopover/DqAlertTooltip/DqAlertTooltip.js +1 -1
  303. package/cjs-bundle/componentsV2/AppDqPopover/DqAlertTooltip/DqAlertTooltip.js.map +1 -1
  304. package/cjs-bundle/componentsV2/AppDqPopover/DqAsset/DqAsset.js +1 -1
  305. package/cjs-bundle/componentsV2/AppDqPopover/DqAsset/DqAsset.js.map +1 -1
  306. package/cjs-bundle/componentsV2/AppFooter/DqPopover/DqPopover.js +1 -1
  307. package/cjs-bundle/componentsV2/AppFooter/DqPopover/DqPopover.js.map +1 -1
  308. package/cjs-bundle/componentsV2/AppFooter/DqPopover/DqStatusIcon/DqStatusIcon.js +1 -1
  309. package/cjs-bundle/componentsV2/AppFooter/DqPopover/DqStatusIcon/DqStatusIcon.js.map +1 -1
  310. package/cjs-bundle/componentsV2/AppFooter/Warning.js +1 -1
  311. package/cjs-bundle/componentsV2/AppFooter/Warning.js.map +1 -1
  312. package/cjs-bundle/componentsV2/AppHeader/AppAssets/utils.js +1 -1
  313. package/cjs-bundle/componentsV2/AppHeader/AppAssets/utils.js.map +1 -1
  314. package/cjs-bundle/componentsV2/AppHeader/V3/Actions/Actions.js +1 -1
  315. package/cjs-bundle/componentsV2/AppHeader/V3/Actions/Actions.js.map +1 -1
  316. package/cjs-bundle/componentsV2/AppHeader/V3/Actions/Actions.scss.js +1 -1
  317. package/cjs-bundle/componentsV2/AppHeader/V3/AppHeaderV3.js +1 -1
  318. package/cjs-bundle/componentsV2/AppHeader/V3/AppHeaderV3.js.map +1 -1
  319. package/cjs-bundle/componentsV2/AppHeader/V3/AppTitle/AppTitle.js +1 -1
  320. package/cjs-bundle/componentsV2/AppHeader/V3/AppTitle/AppTitle.js.map +1 -1
  321. package/cjs-bundle/componentsV2/AppHeader/V3/AssetSelector/AssetSelector.js +1 -1
  322. package/cjs-bundle/componentsV2/AppHeader/V3/AssetSelector/AssetSelector.js.map +1 -1
  323. package/cjs-bundle/componentsV2/AppHeader/V3/AssetSelector/AssetSelectorChip/AssetSelectorChip.js +1 -1
  324. package/cjs-bundle/componentsV2/AppHeader/V3/AssetSelector/AssetSelectorChip/AssetSelectorChip.js.map +1 -1
  325. package/cjs-bundle/componentsV2/AppHeader/V3/AssetSelector/AssetSelectorSelect/AssetSelectorContent.js +1 -1
  326. package/cjs-bundle/componentsV2/AppHeader/V3/AssetSelector/AssetSelectorSelect/AssetSelectorContent.js.map +1 -1
  327. package/cjs-bundle/componentsV2/AppHeader/V3/AssetSelector/constants.js +1 -1
  328. package/cjs-bundle/componentsV2/AppHeader/V3/AssetSelector/constants.js.map +1 -1
  329. package/cjs-bundle/componentsV2/AppHeader/V3/DqStatusIcon/DqStatusIcon.js +1 -1
  330. package/cjs-bundle/componentsV2/AppHeader/V3/DqStatusIcon/DqStatusIcon.js.map +1 -1
  331. package/cjs-bundle/componentsV2/AppHeader/V3/SettingsButton/SettingsButton.js +1 -1
  332. package/cjs-bundle/componentsV2/AppHeader/V3/SettingsButton/SettingsButton.js.map +1 -1
  333. package/cjs-bundle/componentsV2/AppHeader/V3/VersionSelect/VersionSelect.js +1 -1
  334. package/cjs-bundle/componentsV2/AppHeader/V3/VersionSelect/VersionSelect.js.map +1 -1
  335. package/cjs-bundle/componentsV2/AppPanel/AppPanel.js +2 -0
  336. package/cjs-bundle/componentsV2/AppPanel/AppPanel.js.map +1 -0
  337. package/cjs-bundle/componentsV2/AppPanel/AppPanelDisplay.js +2 -0
  338. package/cjs-bundle/componentsV2/AppPanel/AppPanelDisplay.js.map +1 -0
  339. package/cjs-bundle/componentsV2/AppPanel/AppPanelDisplay.scss.js +2 -0
  340. package/cjs-bundle/componentsV2/AppPanel/AppPanelDisplay.scss.js.map +1 -0
  341. package/cjs-bundle/componentsV2/AppPanel/AppPanelIdContext.js +2 -0
  342. package/cjs-bundle/componentsV2/AppPanel/AppPanelIdContext.js.map +1 -0
  343. package/cjs-bundle/componentsV2/AppPanel/AppPanelsContext.js +2 -0
  344. package/cjs-bundle/componentsV2/AppPanel/AppPanelsContext.js.map +1 -0
  345. package/cjs-bundle/componentsV2/AppPanel/Header/Header.js +2 -0
  346. package/cjs-bundle/componentsV2/AppPanel/Header/Header.js.map +1 -0
  347. package/cjs-bundle/componentsV2/AppPanel/utils.js +2 -0
  348. package/cjs-bundle/componentsV2/AppPanel/utils.js.map +1 -0
  349. package/cjs-bundle/componentsV2/AppSettings/AppSettings.js +1 -1
  350. package/cjs-bundle/componentsV2/AppSettings/AppSettings.js.map +1 -1
  351. package/cjs-bundle/componentsV2/AppSettings/AppSettings.scss.js +1 -1
  352. package/cjs-bundle/componentsV2/AppSettingsDivider/AppSettingsDivider.js +1 -1
  353. package/cjs-bundle/componentsV2/AppSettingsDivider/AppSettingsDivider.js.map +1 -1
  354. package/cjs-bundle/componentsV2/AppSettingsDivider/AppSettingsDivider.scss.js +1 -1
  355. package/cjs-bundle/componentsV2/Autocomplete/Autocomplete.js +1 -1
  356. package/cjs-bundle/componentsV2/Autocomplete/Autocomplete.js.map +1 -1
  357. package/cjs-bundle/componentsV2/Breadcrumbs/Breadcrumbs.js +1 -1
  358. package/cjs-bundle/componentsV2/Breadcrumbs/Breadcrumbs.js.map +1 -1
  359. package/cjs-bundle/componentsV2/ButtonLive/ButtonLive.js +1 -1
  360. package/cjs-bundle/componentsV2/ButtonLive/ButtonLive.js.map +1 -1
  361. package/cjs-bundle/componentsV2/ChartAxisExtreme/ChartAxisExtreme.js +1 -1
  362. package/cjs-bundle/componentsV2/ChartAxisExtreme/ChartAxisExtreme.js.map +1 -1
  363. package/cjs-bundle/componentsV2/Chip/Chip.js +1 -1
  364. package/cjs-bundle/componentsV2/Chip/Chip.js.map +1 -1
  365. package/cjs-bundle/componentsV2/ColorPicker/ColorPicker.js +1 -1
  366. package/cjs-bundle/componentsV2/ColorPicker/ColorPicker.js.map +1 -1
  367. package/cjs-bundle/componentsV2/ColorPicker/Swatches/Swatches.js +1 -1
  368. package/cjs-bundle/componentsV2/ColorPicker/Swatches/Swatches.js.map +1 -1
  369. package/cjs-bundle/componentsV2/CompletionsOffsetWellPicker/AssetSearchInput/AssetSearchInput.js +1 -1
  370. package/cjs-bundle/componentsV2/CompletionsOffsetWellPicker/AssetSearchInput/AssetSearchInput.js.map +1 -1
  371. package/cjs-bundle/componentsV2/CompletionsOffsetWellPicker/CompletionsOffsetWellPicker.js +1 -1
  372. package/cjs-bundle/componentsV2/CompletionsOffsetWellPicker/CompletionsOffsetWellPicker.js.map +1 -1
  373. package/cjs-bundle/componentsV2/CompletionsOffsetWellPicker/Map/Map.js +1 -1
  374. package/cjs-bundle/componentsV2/CompletionsOffsetWellPicker/Map/Map.js.map +1 -1
  375. package/cjs-bundle/componentsV2/CompletionsOffsetWellPicker/ModalTitle/ModalTitle.js +1 -1
  376. package/cjs-bundle/componentsV2/CompletionsOffsetWellPicker/ModalTitle/ModalTitle.js.map +1 -1
  377. package/cjs-bundle/componentsV2/CompletionsOffsetWellPicker/PadsTable/PadsTable.js +1 -1
  378. package/cjs-bundle/componentsV2/CompletionsOffsetWellPicker/PadsTable/PadsTable.js.map +1 -1
  379. package/cjs-bundle/componentsV2/CompletionsOffsetWellPicker/PadsTable/helpers/columns.js +1 -1
  380. package/cjs-bundle/componentsV2/CompletionsOffsetWellPicker/PadsTable/helpers/columns.js.map +1 -1
  381. package/cjs-bundle/componentsV2/CopyToClipboard/CopyToClipboard.js +1 -1
  382. package/cjs-bundle/componentsV2/CopyToClipboard/CopyToClipboard.js.map +1 -1
  383. package/cjs-bundle/componentsV2/Counter/Counter.js +1 -1
  384. package/cjs-bundle/componentsV2/Counter/Counter.js.map +1 -1
  385. package/cjs-bundle/componentsV2/DatePicker/CalendarControls/CalendarControls.js +1 -1
  386. package/cjs-bundle/componentsV2/DatePicker/CalendarControls/CalendarControls.js.map +1 -1
  387. package/cjs-bundle/componentsV2/DatePicker/CalendarControls/CalendarControls.scss.js +1 -1
  388. package/cjs-bundle/componentsV2/DatePicker/CalendarGrid/CalendarGrid.js +1 -1
  389. package/cjs-bundle/componentsV2/DatePicker/CalendarGrid/CalendarGrid.js.map +1 -1
  390. package/cjs-bundle/componentsV2/DatePicker/CalendarGrid/CalendarGrid.scss.js +1 -1
  391. package/cjs-bundle/componentsV2/DatePicker/DatePicker.js +1 -1
  392. package/cjs-bundle/componentsV2/DatePicker/DatePicker.js.map +1 -1
  393. package/cjs-bundle/componentsV2/DatePicker/DatePicker.scss.js +1 -1
  394. package/cjs-bundle/componentsV2/DatePicker/Input/Input.js +1 -1
  395. package/cjs-bundle/componentsV2/DatePicker/Input/Input.js.map +1 -1
  396. package/cjs-bundle/componentsV2/DatePicker/Input/Input.scss.js +2 -0
  397. package/cjs-bundle/componentsV2/DatePicker/Input/Input.scss.js.map +1 -0
  398. package/cjs-bundle/componentsV2/DatePicker/TimePicker/TimePicker.js +1 -1
  399. package/cjs-bundle/componentsV2/DatePicker/TimePicker/TimePicker.js.map +1 -1
  400. package/cjs-bundle/componentsV2/DatePicker/TimePicker/TimePicker.scss.js +1 -1
  401. package/cjs-bundle/componentsV2/DatePicker/utils.js +1 -1
  402. package/cjs-bundle/componentsV2/DatePicker/utils.js.map +1 -1
  403. package/cjs-bundle/componentsV2/DragHandle/DragHandle.js +1 -1
  404. package/cjs-bundle/componentsV2/DragHandle/DragHandle.js.map +1 -1
  405. package/cjs-bundle/componentsV2/FilesDropzone/FilesDropzone.js +1 -1
  406. package/cjs-bundle/componentsV2/FilesDropzone/FilesDropzone.js.map +1 -1
  407. package/cjs-bundle/componentsV2/FilesLoader/FilesLoader.js +1 -1
  408. package/cjs-bundle/componentsV2/FilesLoader/FilesLoader.js.map +1 -1
  409. package/cjs-bundle/componentsV2/Hint/Hint.js +1 -1
  410. package/cjs-bundle/componentsV2/Hint/Hint.js.map +1 -1
  411. package/cjs-bundle/componentsV2/ImageViewer/ImageViewer.js +1 -1
  412. package/cjs-bundle/componentsV2/ImageViewer/ImageViewer.js.map +1 -1
  413. package/cjs-bundle/componentsV2/InterventionEventSelector/InterventionEventSelector.js +1 -1
  414. package/cjs-bundle/componentsV2/InterventionEventSelector/InterventionEventSelector.js.map +1 -1
  415. package/cjs-bundle/componentsV2/ModalWindow/ModalWindow.js +1 -1
  416. package/cjs-bundle/componentsV2/ModalWindow/ModalWindow.js.map +1 -1
  417. package/cjs-bundle/componentsV2/OffsetWellsButton/OffsetWellsButton.js +1 -1
  418. package/cjs-bundle/componentsV2/OffsetWellsButton/OffsetWellsButton.js.map +1 -1
  419. package/cjs-bundle/componentsV2/OffsetWellsButton/useOffsetWellsIcon.js +1 -1
  420. package/cjs-bundle/componentsV2/OffsetWellsButton/useOffsetWellsIcon.js.map +1 -1
  421. package/cjs-bundle/componentsV2/PadModeSelect/FracModeLabel/FracModeLabel.js +1 -1
  422. package/cjs-bundle/componentsV2/PadModeSelect/FracModeLabel/FracModeLabel.js.map +1 -1
  423. package/cjs-bundle/componentsV2/PadModeSelect/PadModeSelect.js +1 -1
  424. package/cjs-bundle/componentsV2/PadModeSelect/PadModeSelect.js.map +1 -1
  425. package/cjs-bundle/componentsV2/Paper/Paper.js.map +1 -1
  426. package/cjs-bundle/componentsV2/Popover/Popover.js +1 -1
  427. package/cjs-bundle/componentsV2/Popover/Popover.js.map +1 -1
  428. package/cjs-bundle/componentsV2/PopoverPanel/PopoverPanel.scss.js +1 -1
  429. package/cjs-bundle/componentsV2/PopoverPanel/PopoverPanelHeader/PopoverPanelHeader.js +1 -1
  430. package/cjs-bundle/componentsV2/PopoverPanel/PopoverPanelHeader/PopoverPanelHeader.js.map +1 -1
  431. package/cjs-bundle/componentsV2/SliderAdvanced/Bar.js +1 -1
  432. package/cjs-bundle/componentsV2/SliderAdvanced/Bar.js.map +1 -1
  433. package/cjs-bundle/componentsV2/SliderAdvanced/HandleWrapper.js +1 -1
  434. package/cjs-bundle/componentsV2/SliderAdvanced/HandleWrapper.js.map +1 -1
  435. package/cjs-bundle/componentsV2/Stepper/Step/Step.js +1 -1
  436. package/cjs-bundle/componentsV2/Stepper/Step/Step.js.map +1 -1
  437. package/cjs-bundle/componentsV2/TemplatesControl/FolderMenu/FolderMenu.js +1 -1
  438. package/cjs-bundle/componentsV2/TemplatesControl/FolderMenu/FolderMenu.js.map +1 -1
  439. package/cjs-bundle/componentsV2/TemplatesControl/MoveToFolderMenu/MoveToFolderMenu.js +1 -1
  440. package/cjs-bundle/componentsV2/TemplatesControl/MoveToFolderMenu/MoveToFolderMenu.js.map +1 -1
  441. package/cjs-bundle/componentsV2/TemplatesControl/Popover/Popover.js +1 -1
  442. package/cjs-bundle/componentsV2/TemplatesControl/Popover/Popover.js.map +1 -1
  443. package/cjs-bundle/componentsV2/TemplatesControl/PopoverFooter/PopoverFooter.js +1 -1
  444. package/cjs-bundle/componentsV2/TemplatesControl/PopoverFooter/PopoverFooter.js.map +1 -1
  445. package/cjs-bundle/componentsV2/TemplatesControl/PopoverSearch/PopoverSearch.js +1 -1
  446. package/cjs-bundle/componentsV2/TemplatesControl/PopoverSearch/PopoverSearch.js.map +1 -1
  447. package/cjs-bundle/componentsV2/TemplatesControl/PublishModal/PublishModal.js +1 -1
  448. package/cjs-bundle/componentsV2/TemplatesControl/PublishModal/PublishModal.js.map +1 -1
  449. package/cjs-bundle/componentsV2/TemplatesControl/ShareModal/ShareModal.js +1 -1
  450. package/cjs-bundle/componentsV2/TemplatesControl/ShareModal/ShareModal.js.map +1 -1
  451. package/cjs-bundle/componentsV2/TemplatesControl/TemplateMenu/IconMenu/IconMenu.js +1 -1
  452. package/cjs-bundle/componentsV2/TemplatesControl/TemplateMenu/IconMenu/IconMenu.js.map +1 -1
  453. package/cjs-bundle/componentsV2/TemplatesControl/TemplatesTreeMenuHeader/TemplatesTreeMenuHeader.js +1 -1
  454. package/cjs-bundle/componentsV2/TemplatesControl/TemplatesTreeMenuHeader/TemplatesTreeMenuHeader.js.map +1 -1
  455. package/cjs-bundle/componentsV2/TemplatesControl/TemplatesTreeNodeItem/TemplatesTreeNodeItem.js +1 -1
  456. package/cjs-bundle/componentsV2/TemplatesControl/TemplatesTreeNodeItem/TemplatesTreeNodeItem.js.map +1 -1
  457. package/cjs-bundle/componentsV2/TemplatesControl/Toggle/Toggle.js +1 -1
  458. package/cjs-bundle/componentsV2/TemplatesControl/Toggle/Toggle.js.map +1 -1
  459. package/cjs-bundle/componentsV2/TemplatesControl/templateMenuItems/CopyTemplate.js +1 -1
  460. package/cjs-bundle/componentsV2/TemplatesControl/templateMenuItems/CopyTemplate.js.map +1 -1
  461. package/cjs-bundle/componentsV2/TemplatesControl/templateMenuItems/ExportTemplate.js +1 -1
  462. package/cjs-bundle/componentsV2/TemplatesControl/templateMenuItems/ExportTemplate.js.map +1 -1
  463. package/cjs-bundle/componentsV2/TemplatesControl/templateMenuItems/MoveTemplateOutOfFolder.js +1 -1
  464. package/cjs-bundle/componentsV2/TemplatesControl/templateMenuItems/MoveTemplateOutOfFolder.js.map +1 -1
  465. package/cjs-bundle/componentsV2/TemplatesControl/templateMenuItems/MoveTemplateToFolder.js +1 -1
  466. package/cjs-bundle/componentsV2/TemplatesControl/templateMenuItems/MoveTemplateToFolder.js.map +1 -1
  467. package/cjs-bundle/componentsV2/TemplatesControl/templateMenuItems/RemoveTemplate.js +1 -1
  468. package/cjs-bundle/componentsV2/TemplatesControl/templateMenuItems/RemoveTemplate.js.map +1 -1
  469. package/cjs-bundle/componentsV2/TemplatesControl/templateMenuItems/RevertTemplate.js +1 -1
  470. package/cjs-bundle/componentsV2/TemplatesControl/templateMenuItems/RevertTemplate.js.map +1 -1
  471. package/cjs-bundle/componentsV2/TemplatesControl/templateMenuItems/ShareTemplate.js +1 -1
  472. package/cjs-bundle/componentsV2/TemplatesControl/templateMenuItems/ShareTemplate.js.map +1 -1
  473. package/cjs-bundle/componentsV2/TemplatesControl/templateMenuItems/UnfollowTemplate.js +1 -1
  474. package/cjs-bundle/componentsV2/TemplatesControl/templateMenuItems/UnfollowTemplate.js.map +1 -1
  475. package/cjs-bundle/componentsV2/TextInput/TextInput.js +1 -1
  476. package/cjs-bundle/componentsV2/TextInput/TextInput.js.map +1 -1
  477. package/cjs-bundle/componentsV2/TextInputBase/TextInputBase.js +1 -1
  478. package/cjs-bundle/componentsV2/TextInputBase/TextInputBase.js.map +1 -1
  479. package/cjs-bundle/componentsV2/TextInputBase/components/InfoIcon.js +1 -1
  480. package/cjs-bundle/componentsV2/TextInputBase/components/InfoIcon.js.map +1 -1
  481. package/cjs-bundle/componentsV2/TextInputNext/TextInputNext.js +1 -1
  482. package/cjs-bundle/componentsV2/TextInputNext/TextInputNext.js.map +1 -1
  483. package/cjs-bundle/componentsV2/ToggleButtons/ToggleButtons.scss.js +1 -1
  484. package/cjs-bundle/componentsV2/index.js +1 -1
  485. package/cjs-bundle/config/theme/index.js +1 -1
  486. package/cjs-bundle/config/theme/index.js.map +1 -1
  487. package/cjs-bundle/effects/index.js +1 -1
  488. package/cjs-bundle/effects/useGlobalOffsetWellsSync.js +1 -1
  489. package/cjs-bundle/effects/useGlobalOffsetWellsSync.js.map +1 -1
  490. package/cjs-bundle/icons/customIcons/icons/PinOne.js +2 -0
  491. package/cjs-bundle/icons/customIcons/icons/PinOne.js.map +1 -0
  492. package/cjs-bundle/icons/customIcons/icons/PinOneCrossed.js +2 -0
  493. package/cjs-bundle/icons/customIcons/icons/PinOneCrossed.js.map +1 -0
  494. package/cjs-bundle/icons/index.js +1 -1
  495. package/cjs-bundle/testing/AppTestWrapper/AppTestWrapper.js +1 -1
  496. package/cjs-bundle/testing/AppTestWrapper/AppTestWrapper.js.map +1 -1
  497. package/cjs-bundle/utils/feed.js +1 -1
  498. package/cjs-bundle/utils/feed.js.map +1 -1
  499. package/components/AddComment/Popover.js +1 -1
  500. package/components/AddComment/Popover.js.map +1 -1
  501. package/components/AddComment/components/Content.js +1 -1
  502. package/components/AddComment/components/Content.js.map +1 -1
  503. package/components/AdvancedSlider/Handle.js +1 -1
  504. package/components/AdvancedSlider/Handle.js.map +1 -1
  505. package/components/AttachFileButton/AttachFileButton.js +1 -1
  506. package/components/AttachFileButton/AttachFileButton.js.map +1 -1
  507. package/components/Attachment/index.js +1 -1
  508. package/components/Attachment/index.js.map +1 -1
  509. package/components/AttachmentLightbox/AttachmentLightbox.js +1 -1
  510. package/components/AttachmentLightbox/AttachmentLightbox.js.map +1 -1
  511. package/components/AttachmentLightbox/AttachmentPreviewPane.js +1 -1
  512. package/components/AttachmentLightbox/AttachmentPreviewPane.js.map +1 -1
  513. package/components/AttachmentPreview/AttachmentActionsMenu.js +1 -1
  514. package/components/AttachmentPreview/AttachmentActionsMenu.js.map +1 -1
  515. package/components/AttachmentPreview/AttachmentDownloadLink.js +1 -1
  516. package/components/AttachmentPreview/AttachmentDownloadLink.js.map +1 -1
  517. package/components/AttachmentPreview/AttachmentTile.js +1 -1
  518. package/components/AttachmentPreview/AttachmentTile.js.map +1 -1
  519. package/components/AttachmentPreview/SortableAttachments.js +1 -1
  520. package/components/AttachmentPreview/SortableAttachments.js.map +1 -1
  521. package/components/BICOffsetPickerDialog/index.js +1 -1
  522. package/components/BICOffsetPickerDialog/index.js.map +1 -1
  523. package/components/Breadcrumbs/index.js +1 -1
  524. package/components/Breadcrumbs/index.js.map +1 -1
  525. package/components/Button/components/LiveButton/index.js +1 -1
  526. package/components/Button/components/LiveButton/index.js.map +1 -1
  527. package/components/Button/index.js +1 -1
  528. package/components/Casing/CasingTableV2/components/CasingJoints/Editor.js +1 -1
  529. package/components/Casing/CasingTableV2/components/CasingJoints/Editor.js.map +1 -1
  530. package/components/Casing/CasingTableV2/components/Component.js +1 -1
  531. package/components/Casing/CasingTableV2/components/Component.js.map +1 -1
  532. package/components/Casing/CasingTableV2/components/DrillPipe/Editor.js +1 -1
  533. package/components/Casing/CasingTableV2/components/DrillPipe/Editor.js.map +1 -1
  534. package/components/Chart/components/AxisDropdown.js +1 -1
  535. package/components/Chart/components/AxisDropdown.js.map +1 -1
  536. package/components/Chart/components/ChartSelect.js +1 -1
  537. package/components/Chart/components/ChartSelect.js.map +1 -1
  538. package/components/Chart/components/buttons/ChartTypeButton.js +1 -1
  539. package/components/Chart/components/buttons/ChartTypeButton.js.map +1 -1
  540. package/components/Chart/components/buttons/DragToZoomButton.js +1 -1
  541. package/components/Chart/components/buttons/DragToZoomButton.js.map +1 -1
  542. package/components/Chart/components/buttons/HideAxesButton.js +1 -1
  543. package/components/Chart/components/buttons/HideAxesButton.js.map +1 -1
  544. package/components/Chart/components/buttons/PanButton.js +1 -1
  545. package/components/Chart/components/buttons/PanButton.js.map +1 -1
  546. package/components/Chart/components/buttons/ResetZoomButton.js +1 -1
  547. package/components/Chart/components/buttons/ResetZoomButton.js.map +1 -1
  548. package/components/Chart/components/buttons/ZoomInButton.js +1 -1
  549. package/components/Chart/components/buttons/ZoomInButton.js.map +1 -1
  550. package/components/Chart/components/buttons/ZoomOutButton.js +1 -1
  551. package/components/Chart/components/buttons/ZoomOutButton.js.map +1 -1
  552. package/components/Chip/index.js +1 -1
  553. package/components/Chip/index.js.map +1 -1
  554. package/components/CollapsableSidebar.js +1 -1
  555. package/components/CollapsableSidebar.js.map +1 -1
  556. package/components/ColorPicker/ColorPicker.js +1 -1
  557. package/components/ColorPicker/ColorPicker.js.map +1 -1
  558. package/components/ColorPicker/PaletteChromePicker/PaletteChromePicker.js +1 -1
  559. package/components/ColorPicker/PaletteChromePicker/PaletteChromePicker.js.map +1 -1
  560. package/components/CommentCard/CommentCard.js +1 -1
  561. package/components/CommentCard/CommentCard.js.map +1 -1
  562. package/components/CommentCard/CommentCardReactions.js +1 -1
  563. package/components/CommentCard/CommentCardReactions.js.map +1 -1
  564. package/components/CommentCard/CommentCardReplies.js +1 -1
  565. package/components/CommentCard/CommentCardReplies.js.map +1 -1
  566. package/components/CommentCard/buildCommentReply.js +1 -1
  567. package/components/CommentCard/buildCommentReply.js.map +1 -1
  568. package/components/CommentComposer/ChatChannelSelector.js +1 -1
  569. package/components/CommentComposer/ChatChannelSelector.js.map +1 -1
  570. package/components/CommentComposer/CommentComposer.js +1 -1
  571. package/components/CommentComposer/CommentComposer.js.map +1 -1
  572. package/components/CommentInputNext/CommentInputNext.js +1 -1
  573. package/components/CommentInputNext/CommentInputNext.js.map +1 -1
  574. package/components/CopyToClipboard/CopyToClipboard.js +1 -1
  575. package/components/CopyToClipboard/CopyToClipboard.js.map +1 -1
  576. package/components/Counter/index.js +1 -1
  577. package/components/Counter/index.js.map +1 -1
  578. package/components/DatePicker/index.js +1 -1
  579. package/components/DatePicker/index.js.map +1 -1
  580. package/components/DateTimePicker/index.js +1 -1
  581. package/components/DateTimePicker/index.js.map +1 -1
  582. package/components/DevCenter/AppFilterPanelLayout/AppFilterPanelLayout.js +1 -1
  583. package/components/DevCenter/AppFilterPanelLayout/AppFilterPanelLayout.js.map +1 -1
  584. package/components/DevCenter/AppSettingsPopover/AppSettingsPopover.js +1 -1
  585. package/components/DevCenter/AppSettingsPopover/AppSettingsPopover.js.map +1 -1
  586. package/components/DevCenter/AppSideBar/AppSideBar.js +1 -1
  587. package/components/DevCenter/AppSideBar/AppSideBar.js.map +1 -1
  588. package/components/DevCenter/DevCenterAppContainer/DevCenterAppContainer.js +1 -1
  589. package/components/DevCenter/DevCenterAppContainer/DevCenterAppContainer.js.map +1 -1
  590. package/components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/AppSettingsDialog.js +1 -1
  591. package/components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/AppSettingsDialog.js.map +1 -1
  592. package/components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/components/RemoveAppButton.js +1 -1
  593. package/components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/components/RemoveAppButton.js.map +1 -1
  594. package/components/DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchButton.js +1 -1
  595. package/components/DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchButton.js.map +1 -1
  596. package/components/DevCenter/DevCenterAppContainer/components/LegacyAppActions.js +1 -1
  597. package/components/DevCenter/DevCenterAppContainer/components/LegacyAppActions.js.map +1 -1
  598. package/components/DevCenter/DevCenterAppContainer/components/NonPriorityMenus.js +1 -1
  599. package/components/DevCenter/DevCenterAppContainer/components/NonPriorityMenus.js.map +1 -1
  600. package/components/DevCenter/DevCenterAppContainer/components/PriorityMenus.js +1 -1
  601. package/components/DevCenter/DevCenterAppContainer/components/PriorityMenus.js.map +1 -1
  602. package/components/DevCenter/DevCenterAppContainer/components/RestoreAppSizeButton/index.js +1 -1
  603. package/components/DevCenter/DevCenterAppContainer/components/RestoreAppSizeButton/index.js.map +1 -1
  604. package/components/DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedAppPage.js +1 -1
  605. package/components/DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedAppPage.js.map +1 -1
  606. package/components/DocumentViewer/DocumentViewer.js +1 -1
  607. package/components/DocumentViewer/DocumentViewer.js.map +1 -1
  608. package/components/Drillstring/BHAComponentDetail/constants.d.ts +2 -2
  609. package/components/Drillstring/BHAComponentsTable/components/Agitator/Editor.js +1 -1
  610. package/components/Drillstring/BHAComponentsTable/components/Agitator/Editor.js.map +1 -1
  611. package/components/Drillstring/BHAComponentsTable/components/Bit/Editor.js +1 -1
  612. package/components/Drillstring/BHAComponentsTable/components/Bit/Editor.js.map +1 -1
  613. package/components/Drillstring/BHAComponentsTable/components/Component.js +1 -1
  614. package/components/Drillstring/BHAComponentsTable/components/Component.js.map +1 -1
  615. package/components/Drillstring/BHAComponentsTable/components/DrillCollar/Editor.js +1 -1
  616. package/components/Drillstring/BHAComponentsTable/components/DrillCollar/Editor.js.map +1 -1
  617. package/components/Drillstring/BHAComponentsTable/components/DrillPipe/Editor.js +1 -1
  618. package/components/Drillstring/BHAComponentsTable/components/DrillPipe/Editor.js.map +1 -1
  619. package/components/Drillstring/BHAComponentsTable/components/Jar/Editor.js +1 -1
  620. package/components/Drillstring/BHAComponentsTable/components/Jar/Editor.js.map +1 -1
  621. package/components/Drillstring/BHAComponentsTable/components/Lwd/Editor.js +1 -1
  622. package/components/Drillstring/BHAComponentsTable/components/Lwd/Editor.js.map +1 -1
  623. package/components/Drillstring/BHAComponentsTable/components/Mwd/Editor.js +1 -1
  624. package/components/Drillstring/BHAComponentsTable/components/Mwd/Editor.js.map +1 -1
  625. package/components/Drillstring/BHAComponentsTable/components/Pdm/Editor.js +1 -1
  626. package/components/Drillstring/BHAComponentsTable/components/Pdm/Editor.js.map +1 -1
  627. package/components/Drillstring/BHAComponentsTable/components/Rss/Editor.js +1 -1
  628. package/components/Drillstring/BHAComponentsTable/components/Rss/Editor.js.map +1 -1
  629. package/components/Drillstring/BHAComponentsTable/components/Stabilizer/Editor.js +1 -1
  630. package/components/Drillstring/BHAComponentsTable/components/Stabilizer/Editor.js.map +1 -1
  631. package/components/Drillstring/BHAComponentsTable/components/Sub/Editor.js +1 -1
  632. package/components/Drillstring/BHAComponentsTable/components/Sub/Editor.js.map +1 -1
  633. package/components/Drillstring/BHAComponentsTable/components/Ur/Editor.js +1 -1
  634. package/components/Drillstring/BHAComponentsTable/components/Ur/Editor.js.map +1 -1
  635. package/components/Drillstring/BHAComponentsTable/components/shared/ConfirmationPopup.js +1 -1
  636. package/components/Drillstring/BHAComponentsTable/components/shared/ConfirmationPopup.js.map +1 -1
  637. package/components/EChartsWrapper/components/Toolbox/Toolbox.js +1 -1
  638. package/components/EChartsWrapper/components/Toolbox/Toolbox.js.map +1 -1
  639. package/components/ErrorBoundary/DevCenterAppErrorView/DevCenterAppErrorView.js +1 -1
  640. package/components/ErrorBoundary/DevCenterAppErrorView/DevCenterAppErrorView.js.map +1 -1
  641. package/components/ErrorBoundary/ErrorBoundary.js +1 -1
  642. package/components/ErrorBoundary/ErrorBoundary.js.map +1 -1
  643. package/components/FeedCard/useFeedActivity.js +1 -1
  644. package/components/FeedCard/useFeedActivity.js.map +1 -1
  645. package/components/FeedItem/FeedItem.js +1 -1
  646. package/components/FeedItem/FeedItem.js.map +1 -1
  647. package/components/FilesDropzone/FilesDropzone.js +1 -1
  648. package/components/FilesDropzone/FilesDropzone.js.map +1 -1
  649. package/components/FilesLoader/FilesLoader.js +1 -1
  650. package/components/FilesLoader/FilesLoader.js.map +1 -1
  651. package/components/FilesLoaderV2/FilesLoaderV2.js +1 -1
  652. package/components/FilesLoaderV2/FilesLoaderV2.js.map +1 -1
  653. package/components/Formula/CloseSuggestion.js +1 -1
  654. package/components/Formula/CloseSuggestion.js.map +1 -1
  655. package/components/Formula/Formula.js +1 -1
  656. package/components/Formula/Formula.js.map +1 -1
  657. package/components/GradientManager/GradientManager.js +1 -1
  658. package/components/GradientManager/GradientManager.js.map +1 -1
  659. package/components/GradientManager/GradientSelect.js +1 -1
  660. package/components/GradientManager/GradientSelect.js.map +1 -1
  661. package/components/GradientPicker/GradientPicker.js +1 -1
  662. package/components/GradientPicker/GradientPicker.js.map +1 -1
  663. package/components/HelpCenter/HelpCenterIcon.js +1 -1
  664. package/components/HelpCenter/HelpCenterIcon.js.map +1 -1
  665. package/components/Hint/Hint.js +1 -1
  666. package/components/Hint/Hint.js.map +1 -1
  667. package/components/Modal/CorvaModal.js +1 -1
  668. package/components/Modal/CorvaModal.js.map +1 -1
  669. package/components/Notifications/Toast.js +1 -1
  670. package/components/Notifications/Toast.js.map +1 -1
  671. package/components/OffsetWellPickerV2/OffsetWellPickerDialog.js +1 -1
  672. package/components/OffsetWellPickerV2/OffsetWellPickerDialog.js.map +1 -1
  673. package/components/OffsetWellPickerV2/components/Filter/ToggleMapButton.js +1 -1
  674. package/components/OffsetWellPickerV2/components/Filter/ToggleMapButton.js.map +1 -1
  675. package/components/OffsetWellPickerV2/components/Table/MetricsAddMenu.js +1 -1
  676. package/components/OffsetWellPickerV2/components/Table/MetricsAddMenu.js.map +1 -1
  677. package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/MetricsAddMenu.js +1 -1
  678. package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/MetricsAddMenu.js.map +1 -1
  679. package/components/OffsetWellPickerV3/components/CustomSelectionView/index.js +1 -1
  680. package/components/OffsetWellPickerV3/components/CustomSelectionView/index.js.map +1 -1
  681. package/components/OffsetWellPickerV3/components/OffsetWellSelectionView/index.js +1 -1
  682. package/components/OffsetWellPickerV3/components/OffsetWellSelectionView/index.js.map +1 -1
  683. package/components/OffsetWellPickerV3/components/TabSelection/ToggleMapButton.js +1 -1
  684. package/components/OffsetWellPickerV3/components/TabSelection/ToggleMapButton.js.map +1 -1
  685. package/components/OffsetWellPickerV3/components/TabSelection/index.js +1 -1
  686. package/components/OffsetWellPickerV3/components/TabSelection/index.js.map +1 -1
  687. package/components/OffsetWellPickerV3/components/WellHubView/index.js +1 -1
  688. package/components/OffsetWellPickerV3/components/WellHubView/index.js.map +1 -1
  689. package/components/OffsetWellPickerV3/components/shared/OffsetWellTableHead.js +1 -1
  690. package/components/OffsetWellPickerV3/components/shared/OffsetWellTableHead.js.map +1 -1
  691. package/components/OffsetWellPickerV5/components/AppHeader/components/HeaderActions/HeaderActions.js +1 -1
  692. package/components/OffsetWellPickerV5/components/AppHeader/components/HeaderActions/HeaderActions.js.map +1 -1
  693. package/components/OffsetWellPickerV5/components/AppHeader/components/LoadAllWellsToggle/LoadAllWellsToggle.js +1 -1
  694. package/components/OffsetWellPickerV5/components/AppHeader/components/LoadAllWellsToggle/LoadAllWellsToggle.js.map +1 -1
  695. package/components/OffsetWellPickerV5/components/CustomInfoIcon/CustomInfoIcon.js +1 -1
  696. package/components/OffsetWellPickerV5/components/CustomInfoIcon/CustomInfoIcon.js.map +1 -1
  697. package/components/OffsetWellPickerV5/components/Filter/Filter.js +1 -1
  698. package/components/OffsetWellPickerV5/components/Filter/Filter.js.map +1 -1
  699. package/components/OffsetWellPickerV5/components/Filter/components/CustomDateFields/CustomDateFields.js +1 -1
  700. package/components/OffsetWellPickerV5/components/Filter/components/CustomDateFields/CustomDateFields.js.map +1 -1
  701. package/components/OffsetWellPickerV5/components/Filter/components/PeriodFilterSelect/PeriodFilterSelect.js +1 -1
  702. package/components/OffsetWellPickerV5/components/Filter/components/PeriodFilterSelect/PeriodFilterSelect.js.map +1 -1
  703. package/components/OffsetWellPickerV5/components/Filter/components/SingleFilterSelect/SingleFilterSelect.js +1 -1
  704. package/components/OffsetWellPickerV5/components/Filter/components/SingleFilterSelect/SingleFilterSelect.js.map +1 -1
  705. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/ClusterTooltip/ClusterTooltip.js +1 -1
  706. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/ClusterTooltip/ClusterTooltip.js.map +1 -1
  707. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/LayerSwitcher/LayerSwitcher.js +1 -1
  708. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/LayerSwitcher/LayerSwitcher.js.map +1 -1
  709. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapControls/MapControls.js +1 -1
  710. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapControls/MapControls.js.map +1 -1
  711. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapHints/MapHintsStash.js +1 -1
  712. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapHints/MapHintsStash.js.map +1 -1
  713. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/SelectionToast/SelectionToast.js +1 -1
  714. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/SelectionToast/SelectionToast.js.map +1 -1
  715. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/SubjectWellMarker/SubjectWellMarker.js +1 -1
  716. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/SubjectWellMarker/SubjectWellMarker.js.map +1 -1
  717. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/WellTooltip/WellTooltip.js +1 -1
  718. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/WellTooltip/WellTooltip.js.map +1 -1
  719. package/components/OffsetWellPickerV5/components/OffsetWellPickerContent/OffsetWellPickerContent.js +1 -1
  720. package/components/OffsetWellPickerV5/components/OffsetWellPickerContent/OffsetWellPickerContent.js.map +1 -1
  721. package/components/OffsetWellPickerV5/components/OffsetWellPickerV5WithStore/components/CompanySafeguardWrapper/CompanySafeguardWrapper.js +1 -1
  722. package/components/OffsetWellPickerV5/components/OffsetWellPickerV5WithStore/components/CompanySafeguardWrapper/CompanySafeguardWrapper.js.map +1 -1
  723. package/components/OffsetWellPickerV5/components/OffsetWellPickerV5WithStore/components/UserSettingsWrapper/UserSettingsWrapper.js +1 -1
  724. package/components/OffsetWellPickerV5/components/OffsetWellPickerV5WithStore/components/UserSettingsWrapper/UserSettingsWrapper.js.map +1 -1
  725. package/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/AdvancedSearch.js +1 -1
  726. package/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/AdvancedSearch.js.map +1 -1
  727. package/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/components/AssetResultSection/AssetResultSection.js +1 -1
  728. package/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/components/AssetResultSection/AssetResultSection.js.map +1 -1
  729. package/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/components/AutoCompleteAssetSearch/AutoCompleteAssetSearch.js +1 -1
  730. package/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/components/AutoCompleteAssetSearch/AutoCompleteAssetSearch.js.map +1 -1
  731. package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/CompanyCell/CompanyCell.js +1 -1
  732. package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/CompanyCell/CompanyCell.js.map +1 -1
  733. package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/FormationCell/FormationCell.js +1 -1
  734. package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/FormationCell/FormationCell.js.map +1 -1
  735. package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/InterventionAssetCell/InterventionAssetCell.js +1 -1
  736. package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/InterventionAssetCell/InterventionAssetCell.js.map +1 -1
  737. package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/PadNameCell/PadNameCell.js +1 -1
  738. package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/PadNameCell/PadNameCell.js.map +1 -1
  739. package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/RigCell/RigCell.js +1 -1
  740. package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/RigCell/RigCell.js.map +1 -1
  741. package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/WellNameCell/WellNameCell.js +1 -1
  742. package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/WellNameCell/WellNameCell.js.map +1 -1
  743. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/SettingsMenu.js +1 -1
  744. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/SettingsMenu.js.map +1 -1
  745. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/MetricsSettingsSection/MetricsSettingsSection.js +1 -1
  746. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/MetricsSettingsSection/MetricsSettingsSection.js.map +1 -1
  747. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/SettingsAccordion/SettingsAccordion.js +1 -1
  748. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/SettingsAccordion/SettingsAccordion.js.map +1 -1
  749. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/TableSettingsSection/TableSettingsSection.js +1 -1
  750. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/TableSettingsSection/TableSettingsSection.js.map +1 -1
  751. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/WellNameHeaderCell/WellNameHeaderCell.js +1 -1
  752. package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/WellNameHeaderCell/WellNameHeaderCell.js.map +1 -1
  753. package/components/OffsetWellPickerV5/components/PickerModalActions/PickerModalActions.js +1 -1
  754. package/components/OffsetWellPickerV5/components/PickerModalActions/PickerModalActions.js.map +1 -1
  755. package/components/OffsetWellPickerV5/hooks/use-well-data-pipeline/useWellDataPipeline.js +1 -1
  756. package/components/OffsetWellPickerV5/hooks/use-well-data-pipeline/useWellDataPipeline.js.map +1 -1
  757. package/components/OffsetWellPickerV5/hooks/useIsAdmin.js +1 -1
  758. package/components/OffsetWellPickerV5/hooks/useIsAdmin.js.map +1 -1
  759. package/components/PadModeSelect/FracModeLabel.js +1 -1
  760. package/components/PadModeSelect/FracModeLabel.js.map +1 -1
  761. package/components/PadModeSelect/PadModeSelect.js +1 -1
  762. package/components/PadModeSelect/PadModeSelect.js.map +1 -1
  763. package/components/PadOffsetsPicker/StagesSelector.js +1 -1
  764. package/components/PadOffsetsPicker/StagesSelector.js.map +1 -1
  765. package/components/PadOffsetsPickerV2/PadOffsetsPickerV2.js +1 -1
  766. package/components/PadOffsetsPickerV2/PadOffsetsPickerV2.js.map +1 -1
  767. package/components/ParameterCharts/components/TraceHeader.js +1 -1
  768. package/components/ParameterCharts/components/TraceHeader.js.map +1 -1
  769. package/components/PinnableFilters/components/FiltersToggler.js +1 -1
  770. package/components/PinnableFilters/components/FiltersToggler.js.map +1 -1
  771. package/components/RealTimeValuesSidebar/RealTimeValuesBox/RealTimeBoxEditDialog.js +1 -1
  772. package/components/RealTimeValuesSidebar/RealTimeValuesBox/RealTimeBoxEditDialog.js.map +1 -1
  773. package/components/RealTimeValuesSidebar/SidebarFooter.js +1 -1
  774. package/components/RealTimeValuesSidebar/SidebarFooter.js.map +1 -1
  775. package/components/Search/Search.js +1 -1
  776. package/components/Search/Search.js.map +1 -1
  777. package/components/Select/SelectFilterBy.js +1 -1
  778. package/components/Select/SelectFilterBy.js.map +1 -1
  779. package/components/SettingEditors/ColorEditor/index.js +1 -1
  780. package/components/SettingEditors/ColorEditor/index.js.map +1 -1
  781. package/components/Stepper/Step/Step.js +1 -1
  782. package/components/Stepper/Step/Step.js.map +1 -1
  783. package/components/Table/TableCell/TableCell.js +1 -1
  784. package/components/Table/TableCell/TableCell.js.map +1 -1
  785. package/components/Table/TablePaginationActions/TablePaginationActions.js +1 -1
  786. package/components/Table/TablePaginationActions/TablePaginationActions.js.map +1 -1
  787. package/components/Table/TableSortLabel/TableSortLabel.js +1 -1
  788. package/components/Table/TableSortLabel/TableSortLabel.js.map +1 -1
  789. package/components/Toaster/Toaster.js +1 -1
  790. package/components/Toaster/Toaster.js.map +1 -1
  791. package/components/index.js +1 -1
  792. package/componentsV2/Accordion/Accordion.js +1 -1
  793. package/componentsV2/Accordion/Accordion.js.map +1 -1
  794. package/componentsV2/AppContainer/AppContainer.constants.scss.js +2 -0
  795. package/componentsV2/AppContainer/AppContainer.constants.scss.js.map +1 -0
  796. package/componentsV2/AppContainer/AppContainer.d.ts +5 -0
  797. package/componentsV2/AppContainer/AppContainer.d.ts.map +1 -1
  798. package/componentsV2/AppContainer/AppContainer.js +1 -1
  799. package/componentsV2/AppContainer/AppContainer.js.map +1 -1
  800. package/componentsV2/AppContainer/AppContainer.scss.js +1 -1
  801. package/componentsV2/AppContainer/Content.d.ts +0 -4
  802. package/componentsV2/AppContainer/Content.d.ts.map +1 -1
  803. package/componentsV2/AppContainer/Content.js +1 -1
  804. package/componentsV2/AppContainer/Content.js.map +1 -1
  805. package/componentsV2/AppDqPopover/DqAlertTooltip/DqAlertTooltip.js +1 -1
  806. package/componentsV2/AppDqPopover/DqAlertTooltip/DqAlertTooltip.js.map +1 -1
  807. package/componentsV2/AppDqPopover/DqAsset/DqAsset.js +1 -1
  808. package/componentsV2/AppDqPopover/DqAsset/DqAsset.js.map +1 -1
  809. package/componentsV2/AppFooter/DqPopover/DqPopover.js +1 -1
  810. package/componentsV2/AppFooter/DqPopover/DqPopover.js.map +1 -1
  811. package/componentsV2/AppFooter/DqPopover/DqStatusIcon/DqStatusIcon.js +1 -1
  812. package/componentsV2/AppFooter/DqPopover/DqStatusIcon/DqStatusIcon.js.map +1 -1
  813. package/componentsV2/AppFooter/Warning.js +1 -1
  814. package/componentsV2/AppFooter/Warning.js.map +1 -1
  815. package/componentsV2/AppHeader/AppAssets/utils.js +1 -1
  816. package/componentsV2/AppHeader/AppAssets/utils.js.map +1 -1
  817. package/componentsV2/AppHeader/V3/Actions/Actions.d.ts +1 -3
  818. package/componentsV2/AppHeader/V3/Actions/Actions.d.ts.map +1 -1
  819. package/componentsV2/AppHeader/V3/Actions/Actions.js +1 -1
  820. package/componentsV2/AppHeader/V3/Actions/Actions.js.map +1 -1
  821. package/componentsV2/AppHeader/V3/Actions/Actions.scss.js +1 -1
  822. package/componentsV2/AppHeader/V3/AppHeaderV3.d.ts +1 -1
  823. package/componentsV2/AppHeader/V3/AppHeaderV3.d.ts.map +1 -1
  824. package/componentsV2/AppHeader/V3/AppHeaderV3.js +1 -1
  825. package/componentsV2/AppHeader/V3/AppHeaderV3.js.map +1 -1
  826. package/componentsV2/AppHeader/V3/AppHeaderV3.stories.d.ts.map +1 -1
  827. package/componentsV2/AppHeader/V3/AppTitle/AppTitle.js +1 -1
  828. package/componentsV2/AppHeader/V3/AppTitle/AppTitle.js.map +1 -1
  829. package/componentsV2/AppHeader/V3/AssetSelector/AssetSelector.js +1 -1
  830. package/componentsV2/AppHeader/V3/AssetSelector/AssetSelector.js.map +1 -1
  831. package/componentsV2/AppHeader/V3/AssetSelector/AssetSelectorChip/AssetSelectorChip.js +1 -1
  832. package/componentsV2/AppHeader/V3/AssetSelector/AssetSelectorChip/AssetSelectorChip.js.map +1 -1
  833. package/componentsV2/AppHeader/V3/AssetSelector/AssetSelectorSelect/AssetSelectorContent.js +1 -1
  834. package/componentsV2/AppHeader/V3/AssetSelector/AssetSelectorSelect/AssetSelectorContent.js.map +1 -1
  835. package/componentsV2/AppHeader/V3/AssetSelector/constants.js +1 -1
  836. package/componentsV2/AppHeader/V3/AssetSelector/constants.js.map +1 -1
  837. package/componentsV2/AppHeader/V3/DqStatusIcon/DqStatusIcon.js +1 -1
  838. package/componentsV2/AppHeader/V3/DqStatusIcon/DqStatusIcon.js.map +1 -1
  839. package/componentsV2/AppHeader/V3/SettingsButton/SettingsButton.d.ts +1 -2
  840. package/componentsV2/AppHeader/V3/SettingsButton/SettingsButton.d.ts.map +1 -1
  841. package/componentsV2/AppHeader/V3/SettingsButton/SettingsButton.js +1 -1
  842. package/componentsV2/AppHeader/V3/SettingsButton/SettingsButton.js.map +1 -1
  843. package/componentsV2/AppHeader/V3/VersionSelect/VersionSelect.js +1 -1
  844. package/componentsV2/AppHeader/V3/VersionSelect/VersionSelect.js.map +1 -1
  845. package/componentsV2/AppPanel/AppPanel.d.ts +16 -0
  846. package/componentsV2/AppPanel/AppPanel.d.ts.map +1 -0
  847. package/componentsV2/AppPanel/AppPanel.js +2 -0
  848. package/componentsV2/AppPanel/AppPanel.js.map +1 -0
  849. package/componentsV2/AppPanel/AppPanelDisplay.d.ts +7 -0
  850. package/componentsV2/AppPanel/AppPanelDisplay.d.ts.map +1 -0
  851. package/componentsV2/AppPanel/AppPanelDisplay.js +2 -0
  852. package/componentsV2/AppPanel/AppPanelDisplay.js.map +1 -0
  853. package/componentsV2/AppPanel/AppPanelDisplay.scss.js +2 -0
  854. package/componentsV2/AppPanel/AppPanelDisplay.scss.js.map +1 -0
  855. package/componentsV2/AppPanel/AppPanelIdContext.d.ts +7 -0
  856. package/componentsV2/AppPanel/AppPanelIdContext.d.ts.map +1 -0
  857. package/componentsV2/AppPanel/AppPanelIdContext.js +2 -0
  858. package/componentsV2/AppPanel/AppPanelIdContext.js.map +1 -0
  859. package/componentsV2/AppPanel/AppPanels.stories.d.ts +15 -0
  860. package/componentsV2/AppPanel/AppPanels.stories.d.ts.map +1 -0
  861. package/componentsV2/AppPanel/AppPanelsContext.d.ts +61 -0
  862. package/componentsV2/AppPanel/AppPanelsContext.d.ts.map +1 -0
  863. package/componentsV2/AppPanel/AppPanelsContext.js +2 -0
  864. package/componentsV2/AppPanel/AppPanelsContext.js.map +1 -0
  865. package/componentsV2/AppPanel/Header/Header.d.ts +9 -0
  866. package/componentsV2/AppPanel/Header/Header.d.ts.map +1 -0
  867. package/componentsV2/AppPanel/Header/Header.js +2 -0
  868. package/componentsV2/AppPanel/Header/Header.js.map +1 -0
  869. package/componentsV2/AppPanel/Header/index.d.ts +2 -0
  870. package/componentsV2/AppPanel/Header/index.d.ts.map +1 -0
  871. package/componentsV2/AppPanel/index.d.ts +3 -0
  872. package/componentsV2/AppPanel/index.d.ts.map +1 -0
  873. package/componentsV2/AppPanel/utils.d.ts +53 -0
  874. package/componentsV2/AppPanel/utils.d.ts.map +1 -0
  875. package/componentsV2/AppPanel/utils.js +2 -0
  876. package/componentsV2/AppPanel/utils.js.map +1 -0
  877. package/componentsV2/AppSettings/AppSettings.d.ts +1 -6
  878. package/componentsV2/AppSettings/AppSettings.d.ts.map +1 -1
  879. package/componentsV2/AppSettings/AppSettings.js +1 -1
  880. package/componentsV2/AppSettings/AppSettings.js.map +1 -1
  881. package/componentsV2/AppSettings/AppSettings.scss.js +1 -1
  882. package/componentsV2/AppSettings/index.d.ts +0 -1
  883. package/componentsV2/AppSettings/index.d.ts.map +1 -1
  884. package/componentsV2/AppSettingsDivider/AppSettingsDivider.d.ts.map +1 -1
  885. package/componentsV2/AppSettingsDivider/AppSettingsDivider.js +1 -1
  886. package/componentsV2/AppSettingsDivider/AppSettingsDivider.js.map +1 -1
  887. package/componentsV2/AppSettingsDivider/AppSettingsDivider.scss.js +1 -1
  888. package/componentsV2/Autocomplete/Autocomplete.d.ts.map +1 -1
  889. package/componentsV2/Autocomplete/Autocomplete.js +1 -1
  890. package/componentsV2/Autocomplete/Autocomplete.js.map +1 -1
  891. package/componentsV2/Breadcrumbs/Breadcrumbs.js +1 -1
  892. package/componentsV2/Breadcrumbs/Breadcrumbs.js.map +1 -1
  893. package/componentsV2/ButtonLive/ButtonLive.js +1 -1
  894. package/componentsV2/ButtonLive/ButtonLive.js.map +1 -1
  895. package/componentsV2/ChartAxisExtreme/ChartAxisExtreme.js +1 -1
  896. package/componentsV2/ChartAxisExtreme/ChartAxisExtreme.js.map +1 -1
  897. package/componentsV2/Chip/Chip.js +1 -1
  898. package/componentsV2/Chip/Chip.js.map +1 -1
  899. package/componentsV2/ColorPicker/ColorPicker.js +1 -1
  900. package/componentsV2/ColorPicker/ColorPicker.js.map +1 -1
  901. package/componentsV2/ColorPicker/Swatches/Swatches.js +1 -1
  902. package/componentsV2/ColorPicker/Swatches/Swatches.js.map +1 -1
  903. package/componentsV2/CompletionsOffsetWellPicker/AssetSearchInput/AssetSearchInput.js +1 -1
  904. package/componentsV2/CompletionsOffsetWellPicker/AssetSearchInput/AssetSearchInput.js.map +1 -1
  905. package/componentsV2/CompletionsOffsetWellPicker/CompletionsOffsetWellPicker.js +1 -1
  906. package/componentsV2/CompletionsOffsetWellPicker/CompletionsOffsetWellPicker.js.map +1 -1
  907. package/componentsV2/CompletionsOffsetWellPicker/Map/Map.js +1 -1
  908. package/componentsV2/CompletionsOffsetWellPicker/Map/Map.js.map +1 -1
  909. package/componentsV2/CompletionsOffsetWellPicker/ModalTitle/ModalTitle.js +1 -1
  910. package/componentsV2/CompletionsOffsetWellPicker/ModalTitle/ModalTitle.js.map +1 -1
  911. package/componentsV2/CompletionsOffsetWellPicker/PadsTable/PadsTable.js +1 -1
  912. package/componentsV2/CompletionsOffsetWellPicker/PadsTable/PadsTable.js.map +1 -1
  913. package/componentsV2/CompletionsOffsetWellPicker/PadsTable/helpers/columns.js +1 -1
  914. package/componentsV2/CompletionsOffsetWellPicker/PadsTable/helpers/columns.js.map +1 -1
  915. package/componentsV2/CopyToClipboard/CopyToClipboard.js +1 -1
  916. package/componentsV2/CopyToClipboard/CopyToClipboard.js.map +1 -1
  917. package/componentsV2/Counter/Counter.js +1 -1
  918. package/componentsV2/Counter/Counter.js.map +1 -1
  919. package/componentsV2/DatePicker/CalendarControls/CalendarControls.d.ts.map +1 -1
  920. package/componentsV2/DatePicker/CalendarControls/CalendarControls.js +1 -1
  921. package/componentsV2/DatePicker/CalendarControls/CalendarControls.js.map +1 -1
  922. package/componentsV2/DatePicker/CalendarControls/CalendarControls.scss.js +1 -1
  923. package/componentsV2/DatePicker/CalendarGrid/CalendarGrid.js +1 -1
  924. package/componentsV2/DatePicker/CalendarGrid/CalendarGrid.js.map +1 -1
  925. package/componentsV2/DatePicker/CalendarGrid/CalendarGrid.scss.js +1 -1
  926. package/componentsV2/DatePicker/DatePicker.d.ts +4 -1
  927. package/componentsV2/DatePicker/DatePicker.d.ts.map +1 -1
  928. package/componentsV2/DatePicker/DatePicker.js +1 -1
  929. package/componentsV2/DatePicker/DatePicker.js.map +1 -1
  930. package/componentsV2/DatePicker/DatePicker.scss.js +1 -1
  931. package/componentsV2/DatePicker/Input/Input.d.ts +4 -2
  932. package/componentsV2/DatePicker/Input/Input.d.ts.map +1 -1
  933. package/componentsV2/DatePicker/Input/Input.js +1 -1
  934. package/componentsV2/DatePicker/Input/Input.js.map +1 -1
  935. package/componentsV2/DatePicker/Input/Input.scss.js +2 -0
  936. package/componentsV2/DatePicker/Input/Input.scss.js.map +1 -0
  937. package/componentsV2/DatePicker/TimePicker/TimePicker.d.ts +7 -5
  938. package/componentsV2/DatePicker/TimePicker/TimePicker.d.ts.map +1 -1
  939. package/componentsV2/DatePicker/TimePicker/TimePicker.js +1 -1
  940. package/componentsV2/DatePicker/TimePicker/TimePicker.js.map +1 -1
  941. package/componentsV2/DatePicker/TimePicker/TimePicker.scss.js +1 -1
  942. package/componentsV2/DatePicker/utils.d.ts +2 -2
  943. package/componentsV2/DatePicker/utils.d.ts.map +1 -1
  944. package/componentsV2/DatePicker/utils.js +1 -1
  945. package/componentsV2/DatePicker/utils.js.map +1 -1
  946. package/componentsV2/DragHandle/DragHandle.js +1 -1
  947. package/componentsV2/DragHandle/DragHandle.js.map +1 -1
  948. package/componentsV2/FilesDropzone/FilesDropzone.js +1 -1
  949. package/componentsV2/FilesDropzone/FilesDropzone.js.map +1 -1
  950. package/componentsV2/FilesLoader/FilesLoader.js +1 -1
  951. package/componentsV2/FilesLoader/FilesLoader.js.map +1 -1
  952. package/componentsV2/Hint/Hint.js +1 -1
  953. package/componentsV2/Hint/Hint.js.map +1 -1
  954. package/componentsV2/ImageViewer/ImageViewer.js +1 -1
  955. package/componentsV2/ImageViewer/ImageViewer.js.map +1 -1
  956. package/componentsV2/InterventionEventSelector/InterventionEventSelector.js +1 -1
  957. package/componentsV2/InterventionEventSelector/InterventionEventSelector.js.map +1 -1
  958. package/componentsV2/ModalWindow/ModalWindow.js +1 -1
  959. package/componentsV2/ModalWindow/ModalWindow.js.map +1 -1
  960. package/componentsV2/OffsetWellsButton/OffsetWellsButton.js +1 -1
  961. package/componentsV2/OffsetWellsButton/OffsetWellsButton.js.map +1 -1
  962. package/componentsV2/OffsetWellsButton/useOffsetWellsIcon.js +1 -1
  963. package/componentsV2/OffsetWellsButton/useOffsetWellsIcon.js.map +1 -1
  964. package/componentsV2/PadModeSelect/FracModeLabel/FracModeLabel.js +1 -1
  965. package/componentsV2/PadModeSelect/FracModeLabel/FracModeLabel.js.map +1 -1
  966. package/componentsV2/PadModeSelect/PadModeSelect.js +1 -1
  967. package/componentsV2/PadModeSelect/PadModeSelect.js.map +1 -1
  968. package/componentsV2/Paper/Paper.d.ts +2 -1
  969. package/componentsV2/Paper/Paper.d.ts.map +1 -1
  970. package/componentsV2/Paper/Paper.js.map +1 -1
  971. package/componentsV2/Popover/Popover.d.ts +6 -1
  972. package/componentsV2/Popover/Popover.d.ts.map +1 -1
  973. package/componentsV2/Popover/Popover.js +1 -1
  974. package/componentsV2/Popover/Popover.js.map +1 -1
  975. package/componentsV2/PopoverPanel/PopoverPanel.scss.js +1 -1
  976. package/componentsV2/PopoverPanel/PopoverPanelHeader/PopoverPanelHeader.d.ts +2 -1
  977. package/componentsV2/PopoverPanel/PopoverPanelHeader/PopoverPanelHeader.d.ts.map +1 -1
  978. package/componentsV2/PopoverPanel/PopoverPanelHeader/PopoverPanelHeader.js +1 -1
  979. package/componentsV2/PopoverPanel/PopoverPanelHeader/PopoverPanelHeader.js.map +1 -1
  980. package/componentsV2/SliderAdvanced/Bar.js +1 -1
  981. package/componentsV2/SliderAdvanced/Bar.js.map +1 -1
  982. package/componentsV2/SliderAdvanced/HandleWrapper.js +1 -1
  983. package/componentsV2/SliderAdvanced/HandleWrapper.js.map +1 -1
  984. package/componentsV2/Stepper/Step/Step.js +1 -1
  985. package/componentsV2/Stepper/Step/Step.js.map +1 -1
  986. package/componentsV2/TemplatesControl/FolderMenu/FolderMenu.js +1 -1
  987. package/componentsV2/TemplatesControl/FolderMenu/FolderMenu.js.map +1 -1
  988. package/componentsV2/TemplatesControl/MoveToFolderMenu/MoveToFolderMenu.js +1 -1
  989. package/componentsV2/TemplatesControl/MoveToFolderMenu/MoveToFolderMenu.js.map +1 -1
  990. package/componentsV2/TemplatesControl/Popover/Popover.d.ts.map +1 -1
  991. package/componentsV2/TemplatesControl/Popover/Popover.js +1 -1
  992. package/componentsV2/TemplatesControl/Popover/Popover.js.map +1 -1
  993. package/componentsV2/TemplatesControl/PopoverFooter/PopoverFooter.js +1 -1
  994. package/componentsV2/TemplatesControl/PopoverFooter/PopoverFooter.js.map +1 -1
  995. package/componentsV2/TemplatesControl/PopoverSearch/PopoverSearch.js +1 -1
  996. package/componentsV2/TemplatesControl/PopoverSearch/PopoverSearch.js.map +1 -1
  997. package/componentsV2/TemplatesControl/PublishModal/PublishModal.js +1 -1
  998. package/componentsV2/TemplatesControl/PublishModal/PublishModal.js.map +1 -1
  999. package/componentsV2/TemplatesControl/ShareModal/ShareModal.js +1 -1
  1000. package/componentsV2/TemplatesControl/ShareModal/ShareModal.js.map +1 -1
  1001. package/componentsV2/TemplatesControl/TemplateMenu/IconMenu/IconMenu.js +1 -1
  1002. package/componentsV2/TemplatesControl/TemplateMenu/IconMenu/IconMenu.js.map +1 -1
  1003. package/componentsV2/TemplatesControl/TemplatesTreeMenuHeader/TemplatesTreeMenuHeader.js +1 -1
  1004. package/componentsV2/TemplatesControl/TemplatesTreeMenuHeader/TemplatesTreeMenuHeader.js.map +1 -1
  1005. package/componentsV2/TemplatesControl/TemplatesTreeNodeItem/TemplatesTreeNodeItem.js +1 -1
  1006. package/componentsV2/TemplatesControl/TemplatesTreeNodeItem/TemplatesTreeNodeItem.js.map +1 -1
  1007. package/componentsV2/TemplatesControl/Toggle/Toggle.js +1 -1
  1008. package/componentsV2/TemplatesControl/Toggle/Toggle.js.map +1 -1
  1009. package/componentsV2/TemplatesControl/templateMenuItems/CopyTemplate.js +1 -1
  1010. package/componentsV2/TemplatesControl/templateMenuItems/CopyTemplate.js.map +1 -1
  1011. package/componentsV2/TemplatesControl/templateMenuItems/ExportTemplate.js +1 -1
  1012. package/componentsV2/TemplatesControl/templateMenuItems/ExportTemplate.js.map +1 -1
  1013. package/componentsV2/TemplatesControl/templateMenuItems/MoveTemplateOutOfFolder.js +1 -1
  1014. package/componentsV2/TemplatesControl/templateMenuItems/MoveTemplateOutOfFolder.js.map +1 -1
  1015. package/componentsV2/TemplatesControl/templateMenuItems/MoveTemplateToFolder.js +1 -1
  1016. package/componentsV2/TemplatesControl/templateMenuItems/MoveTemplateToFolder.js.map +1 -1
  1017. package/componentsV2/TemplatesControl/templateMenuItems/RemoveTemplate.js +1 -1
  1018. package/componentsV2/TemplatesControl/templateMenuItems/RemoveTemplate.js.map +1 -1
  1019. package/componentsV2/TemplatesControl/templateMenuItems/RevertTemplate.js +1 -1
  1020. package/componentsV2/TemplatesControl/templateMenuItems/RevertTemplate.js.map +1 -1
  1021. package/componentsV2/TemplatesControl/templateMenuItems/ShareTemplate.js +1 -1
  1022. package/componentsV2/TemplatesControl/templateMenuItems/ShareTemplate.js.map +1 -1
  1023. package/componentsV2/TemplatesControl/templateMenuItems/UnfollowTemplate.js +1 -1
  1024. package/componentsV2/TemplatesControl/templateMenuItems/UnfollowTemplate.js.map +1 -1
  1025. package/componentsV2/TextInput/TextInput.js +1 -1
  1026. package/componentsV2/TextInput/TextInput.js.map +1 -1
  1027. package/componentsV2/TextInputBase/TextInputBase.js +1 -1
  1028. package/componentsV2/TextInputBase/TextInputBase.js.map +1 -1
  1029. package/componentsV2/TextInputBase/components/InfoIcon.js +1 -1
  1030. package/componentsV2/TextInputBase/components/InfoIcon.js.map +1 -1
  1031. package/componentsV2/TextInputNext/TextInputNext.js +1 -1
  1032. package/componentsV2/TextInputNext/TextInputNext.js.map +1 -1
  1033. package/componentsV2/ToggleButtons/ToggleButtons.scss.js +1 -1
  1034. package/componentsV2/index.d.ts +1 -0
  1035. package/componentsV2/index.d.ts.map +1 -1
  1036. package/componentsV2/index.js +1 -1
  1037. package/config/theme/index.js +1 -1
  1038. package/config/theme/index.js.map +1 -1
  1039. package/effects/index.d.ts +1 -1
  1040. package/effects/index.d.ts.map +1 -1
  1041. package/effects/index.js +1 -1
  1042. package/effects/useGlobalOffsetWellsSync.js +1 -1
  1043. package/effects/useGlobalOffsetWellsSync.js.map +1 -1
  1044. package/icons/customIcons/icons/PinOne.d.ts +2 -0
  1045. package/icons/customIcons/icons/PinOne.d.ts.map +1 -0
  1046. package/icons/customIcons/icons/PinOne.js +2 -0
  1047. package/icons/customIcons/icons/PinOne.js.map +1 -0
  1048. package/icons/customIcons/icons/PinOneCrossed.d.ts +2 -0
  1049. package/icons/customIcons/icons/PinOneCrossed.d.ts.map +1 -0
  1050. package/icons/customIcons/icons/PinOneCrossed.js +2 -0
  1051. package/icons/customIcons/icons/PinOneCrossed.js.map +1 -0
  1052. package/icons/customIcons/icons/index.d.ts +2 -0
  1053. package/icons/customIcons/icons/index.d.ts.map +1 -1
  1054. package/icons/index.js +1 -1
  1055. package/mcp-server/server.mjs +136 -24
  1056. package/package.json +1 -1
  1057. package/testing/AppTestWrapper/AppTestWrapper.js +1 -1
  1058. package/testing/AppTestWrapper/AppTestWrapper.js.map +1 -1
  1059. package/tsconfig.tsbuildinfo +1 -1
  1060. package/utils/feed.js +1 -1
  1061. package/utils/feed.js.map +1 -1
  1062. package/cjs-bundle/componentsV2/AppSettings/AppSettingsPinningContext.js +0 -2
  1063. package/cjs-bundle/componentsV2/AppSettings/AppSettingsPinningContext.js.map +0 -1
  1064. package/componentsV2/AppSettings/AppSettingsPinningContext.d.ts +0 -21
  1065. package/componentsV2/AppSettings/AppSettingsPinningContext.d.ts.map +0 -1
  1066. package/componentsV2/AppSettings/AppSettingsPinningContext.js +0 -2
  1067. package/componentsV2/AppSettings/AppSettingsPinningContext.js.map +0 -1
@@ -1,2 +1,2 @@
1
- import o from"@babel/runtime/helpers/toConsumableArray";import s from"@babel/runtime/helpers/slicedToArray";import c from"@babel/runtime/helpers/defineProperty";import{memo as i,useContext as n,useState as t,useEffect as r}from"react";import{uniq as e}from"lodash";import{makeStyles as m,FormControl as p,InputLabel as a,Select as u,MenuItem as l}from"@material-ui/core";import{isMobileDetected as j}from"../../../utils/mobileDetect.js";import d from"../../Modal/Modal.js";import I from"../../Button/components/Button/index.js";import"@babel/runtime/helpers/objectWithoutProperties";import"moment-timezone";import"classnames";import"../../Button/components/LiveButton/components/LiveButtonStateIndicator/index.js";import"../../Button/components/LiveButton/styles.js";import"@icon-park/react/es/all";import{jsx as h,jsxs as f,Fragment as b}from"react/jsx-runtime";import"../../../icons/IconParkProvider.js";import"../../../icons/customIcons/icons/AddMessage.js";import"../../../icons/customIcons/icons/DragOne.js";import"../../../icons/customIcons/icons/Attention.js";import"../../../icons/customIcons/icons/Collapse.js";import"../../../icons/customIcons/icons/Dashboard.js";import"../../../icons/customIcons/icons/Expand.js";import"../../../icons/customIcons/icons/FolderClosed.js";import"../../../icons/customIcons/icons/FolderClosedFilled.js";import"../../../icons/customIcons/icons/FolderOpened.js";import"../../../icons/customIcons/icons/GreaterOrEqual.js";import"../../../icons/customIcons/icons/LessOrEqual.js";import"../../../icons/customIcons/icons/Search.js";import"../../../icons/customIcons/icons/SearchOne.js";import"../../../icons/customIcons/icons/Wellhub.js";import"../../../icons/customIcons/icons/MultiRuler.js";import"../../../icons/customIcons/icons/Checkbox.js";import"../../../icons/customIcons/icons/CheckboxChecked.js";import"../../../icons/customIcons/icons/CheckboxIndeterminate.js";import"../../../icons/customIcons/icons/Radio.js";import"../../../icons/customIcons/icons/RadioChecked.js";import"../../../icons/customIcons/icons/SimulFrac.js";import"../../../icons/customIcons/icons/ZipperFrac.js";import"../../../icons/customIcons/icons/CautionFilled.js";import"../../../icons/customIcons/icons/InfoRounded.js";import"../../../icons/customIcons/icons/FlameFilled.js";import"../../../icons/customIcons/icons/MoreApp.js";import"../../../icons/customIcons/icons/Pad.js";import"../../../icons/customIcons/icons/DrilloutUnit.js";import"../../../icons/customIcons/icons/FracFleet.js";import"../../../icons/customIcons/icons/Global.js";import"../../../icons/customIcons/icons/Program.js";import"../../../icons/customIcons/icons/Rig.js";import"../../../icons/customIcons/icons/Well.js";import"../../../icons/customIcons/icons/Gap.js";import"../../../icons/customIcons/icons/Pin.js";import"../../../icons/customIcons/icons/CloseOneFilled.js";import"../../../icons/customIcons/icons/AttentionFilled.js";import"../../../icons/customIcons/icons/CheckOneFilled.js";import"../../../icons/customIcons/icons/Archive.js";import"../../../icons/customIcons/icons/ArchiveCancel.js";import"../../../icons/customIcons/icons/Unarchive.js";import"../../../icons/customIcons/icons/Archived.js";import"../../../icons/customIcons/icons/InterventionUnit.js";import"../../../icons/customIcons/icons/CloudDelete.js";import"../../../icons/customIcons/icons/Lasso.js";import"../../../icons/customIcons/icons/Radius.js";import"../../../icons/customIcons/icons/ErrorOps.js";import"../../../icons/customIcons/icons/DataTypeOps.js";import"../../../icons/customIcons/icons/FalsePositiveOps.js";import"../../../icons/customIcons/icons/CalibrationOps.js";import"../../../icons/customIcons/icons/CriticalOps.js";import"../../../icons/customIcons/icons/Company.js";import"../../../icons/customIcons/icons/ArchiveOne.js";import"../../../icons/customIcons/icons/ParseBotFusion.js";import"../../../icons/customIcons/icons/Connect.js";import"../../../icons/customIcons/icons/PuzzleOne.js";import"../../../icons/customIcons/icons/Feed.js";import"../../../icons/customIcons/icons/Prompt.js";import"../../../icons/customIcons/icons/Companies.js";import"../../../icons/customIcons/icons/ClipboardAi.js";import"../../../icons/customIcons/icons/Key.js";import"../../../icons/customIcons/icons/AtSignCrossed.js";import"../../../icons/customIcons/icons/MappingManual.js";import"../../../icons/customIcons/icons/Mapping.js";import"../../../icons/customIcons/icons/Metrics.js";import"../../../icons/customIcons/icons/Drops.js";import"../../../icons/customIcons/icons/ClipboardSearch.js";import"../../../icons/customIcons/icons/Template.js";import"../../../icons/customIcons/icons/ClipboardMetrics.js";import"../../../icons/customIcons/icons/ClipboardBuilder.js";import"../../../icons/customIcons/icons/UnitConversion.js";import"../../../icons/customIcons/icons/NPT.js";import"../../../icons/customIcons/icons/GuidedFrac.js";import C from"../RealTimeSidebarContext.js";function O(o,s){var c=Object.keys(o);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(o);s&&(i=i.filter((function(s){return Object.getOwnPropertyDescriptor(o,s).enumerable}))),c.push.apply(c,i)}return c}function g(o){for(var s=1;s<arguments.length;s++){var i=null!=arguments[s]?arguments[s]:{};s%2?O(Object(i),!0).forEach((function(s){c(o,s,i[s])})):Object.getOwnPropertyDescriptors?Object.defineProperties(o,Object.getOwnPropertyDescriptors(i)):O(Object(i)).forEach((function(s){Object.defineProperty(o,s,Object.getOwnPropertyDescriptor(i,s))}))}return o}var v=m({selectFormControl:{width:"80%",marginRight:"1rem"},cancelButton:{margin:"0 16px 0 auto"},saveButton:{marginLeft:16}}),y=i((function(i){var m=i.isDialogOpen,O=i.paramToEdit,y=i.handleCloseRealTimeDialog,P=n(C),F=P.onAppSettingChange,k=P.appSettings,D=P.assetKey,S=P.realTimeTypes,A=P.setting,B=P.handleChangeParamToEdit,T=v(),x=function(o){F("rtValuesSetting",g(g({},k.rtValuesSetting),{},c({},D,o)))},R=t(O),E=s(R,2),M=E[0],w=E[1];r((function(){w(O)}),[O]);return h(d,{open:m,onClose:y,title:"Add/Edit Real-Time Parameter",size:j?"extraLarge":"medium",actions:f(b,{children:[h(I,{color:"primary",classes:{root:T.cancelButton},onClick:y,children:"Cancel"}),O&&h(I,{color:"primary",onClick:function(){var o=A.filter((function(o){return o!==O}));x(o),B(""),y()},children:"Delete"}),h(I,{classes:{root:T.saveButton},variation:"primary",onClick:function(){var s;if(O)s=A.map((function(o){return o===O?M:o}));else{if(A.find((function(o){return o===M})))return void y();s=[M].concat(o(A))}s=e(s),x(s),B(""),y()},disabled:!M,children:"Save"})]}),children:f(p,{classes:{root:T.selectFormControl},"data-testid":"addEditRealTimeParameterDropdown",children:[h(a,{htmlFor:"parameter",children:"Parameter"}),h(u,{value:M||"",inputProps:{name:"parameter",id:"parameter"},onChange:function(o){w(String(o.target.value))},children:S.map((function(o){return h(l,{"data-testid":"".concat(o.key,"_menuItem"),value:o.key,disabled:A.includes(o.key),children:o.name},o.key)}))})]})})}));export{y as default};
1
+ import o from"@babel/runtime/helpers/toConsumableArray";import s from"@babel/runtime/helpers/slicedToArray";import c from"@babel/runtime/helpers/defineProperty";import{memo as n,useContext as i,useState as t,useEffect as r}from"react";import{uniq as e}from"lodash";import{makeStyles as m,FormControl as p,InputLabel as a,Select as u,MenuItem as l}from"@material-ui/core";import{isMobileDetected as j}from"../../../utils/mobileDetect.js";import d from"../../Modal/Modal.js";import I from"../../Button/components/Button/index.js";import"@babel/runtime/helpers/objectWithoutProperties";import"moment-timezone";import"classnames";import"../../Button/components/LiveButton/components/LiveButtonStateIndicator/index.js";import"../../Button/components/LiveButton/styles.js";import"@icon-park/react/es/all";import{jsx as h,jsxs as f,Fragment as b}from"react/jsx-runtime";import"../../../icons/IconParkProvider.js";import"../../../icons/customIcons/icons/AddMessage.js";import"../../../icons/customIcons/icons/DragOne.js";import"../../../icons/customIcons/icons/Attention.js";import"../../../icons/customIcons/icons/Collapse.js";import"../../../icons/customIcons/icons/Dashboard.js";import"../../../icons/customIcons/icons/Expand.js";import"../../../icons/customIcons/icons/FolderClosed.js";import"../../../icons/customIcons/icons/FolderClosedFilled.js";import"../../../icons/customIcons/icons/FolderOpened.js";import"../../../icons/customIcons/icons/GreaterOrEqual.js";import"../../../icons/customIcons/icons/LessOrEqual.js";import"../../../icons/customIcons/icons/Search.js";import"../../../icons/customIcons/icons/SearchOne.js";import"../../../icons/customIcons/icons/Wellhub.js";import"../../../icons/customIcons/icons/MultiRuler.js";import"../../../icons/customIcons/icons/Checkbox.js";import"../../../icons/customIcons/icons/CheckboxChecked.js";import"../../../icons/customIcons/icons/CheckboxIndeterminate.js";import"../../../icons/customIcons/icons/Radio.js";import"../../../icons/customIcons/icons/RadioChecked.js";import"../../../icons/customIcons/icons/SimulFrac.js";import"../../../icons/customIcons/icons/ZipperFrac.js";import"../../../icons/customIcons/icons/CautionFilled.js";import"../../../icons/customIcons/icons/InfoRounded.js";import"../../../icons/customIcons/icons/FlameFilled.js";import"../../../icons/customIcons/icons/MoreApp.js";import"../../../icons/customIcons/icons/Pad.js";import"../../../icons/customIcons/icons/DrilloutUnit.js";import"../../../icons/customIcons/icons/FracFleet.js";import"../../../icons/customIcons/icons/Global.js";import"../../../icons/customIcons/icons/Program.js";import"../../../icons/customIcons/icons/Rig.js";import"../../../icons/customIcons/icons/Well.js";import"../../../icons/customIcons/icons/Gap.js";import"../../../icons/customIcons/icons/Pin.js";import"../../../icons/customIcons/icons/PinOne.js";import"../../../icons/customIcons/icons/PinOneCrossed.js";import"../../../icons/customIcons/icons/CloseOneFilled.js";import"../../../icons/customIcons/icons/AttentionFilled.js";import"../../../icons/customIcons/icons/CheckOneFilled.js";import"../../../icons/customIcons/icons/Archive.js";import"../../../icons/customIcons/icons/ArchiveCancel.js";import"../../../icons/customIcons/icons/Unarchive.js";import"../../../icons/customIcons/icons/Archived.js";import"../../../icons/customIcons/icons/InterventionUnit.js";import"../../../icons/customIcons/icons/CloudDelete.js";import"../../../icons/customIcons/icons/Lasso.js";import"../../../icons/customIcons/icons/Radius.js";import"../../../icons/customIcons/icons/ErrorOps.js";import"../../../icons/customIcons/icons/DataTypeOps.js";import"../../../icons/customIcons/icons/FalsePositiveOps.js";import"../../../icons/customIcons/icons/CalibrationOps.js";import"../../../icons/customIcons/icons/CriticalOps.js";import"../../../icons/customIcons/icons/Company.js";import"../../../icons/customIcons/icons/ArchiveOne.js";import"../../../icons/customIcons/icons/ParseBotFusion.js";import"../../../icons/customIcons/icons/Connect.js";import"../../../icons/customIcons/icons/PuzzleOne.js";import"../../../icons/customIcons/icons/Feed.js";import"../../../icons/customIcons/icons/Prompt.js";import"../../../icons/customIcons/icons/Companies.js";import"../../../icons/customIcons/icons/ClipboardAi.js";import"../../../icons/customIcons/icons/Key.js";import"../../../icons/customIcons/icons/AtSignCrossed.js";import"../../../icons/customIcons/icons/MappingManual.js";import"../../../icons/customIcons/icons/Mapping.js";import"../../../icons/customIcons/icons/Metrics.js";import"../../../icons/customIcons/icons/Drops.js";import"../../../icons/customIcons/icons/ClipboardSearch.js";import"../../../icons/customIcons/icons/Template.js";import"../../../icons/customIcons/icons/ClipboardMetrics.js";import"../../../icons/customIcons/icons/ClipboardBuilder.js";import"../../../icons/customIcons/icons/UnitConversion.js";import"../../../icons/customIcons/icons/NPT.js";import"../../../icons/customIcons/icons/GuidedFrac.js";import C from"../RealTimeSidebarContext.js";function O(o,s){var c=Object.keys(o);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(o);s&&(n=n.filter((function(s){return Object.getOwnPropertyDescriptor(o,s).enumerable}))),c.push.apply(c,n)}return c}function g(o){for(var s=1;s<arguments.length;s++){var n=null!=arguments[s]?arguments[s]:{};s%2?O(Object(n),!0).forEach((function(s){c(o,s,n[s])})):Object.getOwnPropertyDescriptors?Object.defineProperties(o,Object.getOwnPropertyDescriptors(n)):O(Object(n)).forEach((function(s){Object.defineProperty(o,s,Object.getOwnPropertyDescriptor(n,s))}))}return o}var v=m({selectFormControl:{width:"80%",marginRight:"1rem"},cancelButton:{margin:"0 16px 0 auto"},saveButton:{marginLeft:16}}),y=n((function(n){var m=n.isDialogOpen,O=n.paramToEdit,y=n.handleCloseRealTimeDialog,P=i(C),F=P.onAppSettingChange,k=P.appSettings,D=P.assetKey,S=P.realTimeTypes,A=P.setting,B=P.handleChangeParamToEdit,T=v(),x=function(o){F("rtValuesSetting",g(g({},k.rtValuesSetting),{},c({},D,o)))},R=t(O),E=s(R,2),M=E[0],w=E[1];r((function(){w(O)}),[O]);return h(d,{open:m,onClose:y,title:"Add/Edit Real-Time Parameter",size:j?"extraLarge":"medium",actions:f(b,{children:[h(I,{color:"primary",classes:{root:T.cancelButton},onClick:y,children:"Cancel"}),O&&h(I,{color:"primary",onClick:function(){var o=A.filter((function(o){return o!==O}));x(o),B(""),y()},children:"Delete"}),h(I,{classes:{root:T.saveButton},variation:"primary",onClick:function(){var s;if(O)s=A.map((function(o){return o===O?M:o}));else{if(A.find((function(o){return o===M})))return void y();s=[M].concat(o(A))}s=e(s),x(s),B(""),y()},disabled:!M,children:"Save"})]}),children:f(p,{classes:{root:T.selectFormControl},"data-testid":"addEditRealTimeParameterDropdown",children:[h(a,{htmlFor:"parameter",children:"Parameter"}),h(u,{value:M||"",inputProps:{name:"parameter",id:"parameter"},onChange:function(o){w(String(o.target.value))},children:S.map((function(o){return h(l,{"data-testid":"".concat(o.key,"_menuItem"),value:o.key,disabled:A.includes(o.key),children:o.name},o.key)}))})]})})}));export{y as default};
2
2
  //# sourceMappingURL=RealTimeBoxEditDialog.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"RealTimeBoxEditDialog.js","sources":["../../../../src/components/RealTimeValuesSidebar/RealTimeValuesBox/RealTimeBoxEditDialog.tsx"],"sourcesContent":["import React, { FC, memo, useState, useEffect, useContext } from 'react';\nimport { uniq } from 'lodash';\nimport { makeStyles, InputLabel, MenuItem, FormControl, Select } from '@material-ui/core';\n\nimport { isMobileDetected } from '~/utils/mobileDetect';\nimport { RealTimeBoxEditDialogProps, RealTimeType } from '../types';\nimport Modal from '~/components/Modal/Modal';\nimport Button from '~/components/Button';\nimport RealTimeSidebarContext from '../RealTimeSidebarContext';\n\nconst useStyles = makeStyles({\n selectFormControl: { width: '80%', marginRight: '1rem' },\n cancelButton: {\n margin: '0 16px 0 auto',\n },\n saveButton: {\n marginLeft: 16,\n }\n});\n\nconst RealTimeBoxEditDialog: FC<RealTimeBoxEditDialogProps> = ({ isDialogOpen, paramToEdit, handleCloseRealTimeDialog }) => {\n const {\n onAppSettingChange,\n appSettings,\n assetKey,\n realTimeTypes,\n setting,\n handleChangeParamToEdit,\n } = useContext(RealTimeSidebarContext)!;\n\n const classes = useStyles();\n\n const onAppRtValuesSettingChange = (value: string[]) => {\n onAppSettingChange('rtValuesSetting', {\n ...appSettings.rtValuesSetting,\n [assetKey]: value,\n });\n };\n\n const [selectedParam, setSelectedParam] = useState(paramToEdit);\n\n useEffect(() => {\n setSelectedParam(paramToEdit);\n }, [paramToEdit]);\n\n const handleSave = () => {\n let newSetting;\n if (!paramToEdit) {\n if (setting.find((item: string) => item === selectedParam)) {\n handleCloseRealTimeDialog();\n return;\n }\n newSetting = [selectedParam, ...setting];\n } else {\n newSetting = setting.map((item: string) => {\n return item === paramToEdit ? selectedParam : item;\n });\n }\n\n // NOTE: remove duplicates\n newSetting = uniq(newSetting) as string[];\n\n onAppRtValuesSettingChange(newSetting);\n handleChangeParamToEdit('');\n handleCloseRealTimeDialog();\n };\n\n const handleDelete = () => {\n const newSetting = setting.filter((item: string) => item !== paramToEdit);\n onAppRtValuesSettingChange(newSetting);\n handleChangeParamToEdit('');\n handleCloseRealTimeDialog();\n };\n\n const onParamChange = (e: React.ChangeEvent<{ value: unknown }>) => {\n setSelectedParam(String(e.target.value));\n };\n\n return (\n <Modal\n open={isDialogOpen}\n onClose={handleCloseRealTimeDialog}\n title=\"Add/Edit Real-Time Parameter\"\n size={isMobileDetected ? 'extraLarge' : 'medium'}\n actions={\n <>\n <Button\n color=\"primary\"\n classes={{ root: classes.cancelButton }}\n onClick={handleCloseRealTimeDialog}\n >\n Cancel\n </Button>\n {paramToEdit && (\n <Button color=\"primary\" onClick={handleDelete}>\n Delete\n </Button>\n )}\n <Button\n classes={{ root: classes.saveButton }}\n variation=\"primary\"\n onClick={handleSave}\n disabled={!selectedParam}\n >\n Save\n </Button>\n </>\n }\n >\n <FormControl\n classes={{ root: classes.selectFormControl }}\n data-testid=\"addEditRealTimeParameterDropdown\"\n >\n <InputLabel htmlFor=\"parameter\">Parameter</InputLabel>\n <Select\n value={selectedParam || ''}\n inputProps={{ name: 'parameter', id: 'parameter' }}\n onChange={onParamChange}\n >\n {realTimeTypes.map((rtType: RealTimeType) => (\n <MenuItem\n data-testid={`${rtType.key}_menuItem`}\n value={rtType.key}\n key={rtType.key}\n disabled={setting.includes(rtType.key)}\n >\n {rtType.name}\n </MenuItem>\n ))}\n </Select>\n </FormControl>\n </Modal>\n );\n};\n\nexport default memo(RealTimeBoxEditDialog);\n"],"names":["useStyles","makeStyles","selectFormControl","width","marginRight","cancelButton","margin","saveButton","marginLeft","memo","_ref","isDialogOpen","paramToEdit","handleCloseRealTimeDialog","useContext","RealTimeSidebarContext","onAppSettingChange","appSettings","assetKey","realTimeTypes","setting","handleChangeParamToEdit","classes","onAppRtValuesSettingChange","value","_objectSpread","rtValuesSetting","useState","_useState2","_slicedToArray","_useState","selectedParam","setSelectedParam","useEffect","_jsx","Modal","open","onClose","title","size","isMobileDetected","actions","_jsxs","_Fragment","children","Button","color","root","onClick","newSetting","filter","item","variation","map","find","uniq","disabled","FormControl","InputLabel","htmlFor","Select","inputProps","name","id","onChange","e","String","target","rtType","MenuItem","key","includes"],"mappings":"24KAUA,IAAMA,EAAYC,EAAW,CAC3BC,kBAAmB,CAAEC,MAAO,MAAOC,YAAa,QAChDC,aA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AAAA,GAAkBX,OAAAA,EAAAA,GAClC,CAOA6B,EAAaM,EAAKN,GAElB1B,EAA2B0B,GAC3B5B,EAAwB,IACxBR,KAsCQ2C,UAAWzB,EAAca,SAAA,YAK9BA,SAEDF,EAACe,EAAW,CACVnC,QAAS,CAAEyB,KAAMzB,EAAQpB,mBACzB,cAAY,mCAAkC0C,SAAA,CAE9CV,EAACwB,EAAU,CAACC,QAAQ,YAAWf,SAAA,cAC/BV,EAAC0B,EAAM,CACLpC,MAAOO,GAAiB,GACxB8B,WAAY,CAAEC,KAAM,YAAaC,GAAI,aACrCC,SA3Cc,SAACC,GACrBjC,EAAiBkC,OAAOD,EAAEE,OAAO3C,SA0CHoB,SAEvBzB,EAAckC,KAAI,SAACe,GAAoB,OACtClC,EAACmC,EAAQ,CACP,cAAgBD,GAAAA,OAAAA,EAAOE,IAAe,aACtC9C,MAAO4C,EAAOE,IAEdd,SAAUpC,EAAQmD,SAASH,EAAOE,KAAK1B,SAEtCwB,EAAON,MAHHM,EAAOE,cAU1B"}
1
+ {"version":3,"file":"RealTimeBoxEditDialog.js","sources":["../../../../src/components/RealTimeValuesSidebar/RealTimeValuesBox/RealTimeBoxEditDialog.tsx"],"sourcesContent":["import React, { FC, memo, useState, useEffect, useContext } from 'react';\nimport { uniq } from 'lodash';\nimport { makeStyles, InputLabel, MenuItem, FormControl, Select } from '@material-ui/core';\n\nimport { isMobileDetected } from '~/utils/mobileDetect';\nimport { RealTimeBoxEditDialogProps, RealTimeType } from '../types';\nimport Modal from '~/components/Modal/Modal';\nimport Button from '~/components/Button';\nimport RealTimeSidebarContext from '../RealTimeSidebarContext';\n\nconst useStyles = makeStyles({\n selectFormControl: { width: '80%', marginRight: '1rem' },\n cancelButton: {\n margin: '0 16px 0 auto',\n },\n saveButton: {\n marginLeft: 16,\n }\n});\n\nconst RealTimeBoxEditDialog: FC<RealTimeBoxEditDialogProps> = ({ isDialogOpen, paramToEdit, handleCloseRealTimeDialog }) => {\n const {\n onAppSettingChange,\n appSettings,\n assetKey,\n realTimeTypes,\n setting,\n handleChangeParamToEdit,\n } = useContext(RealTimeSidebarContext)!;\n\n const classes = useStyles();\n\n const onAppRtValuesSettingChange = (value: string[]) => {\n onAppSettingChange('rtValuesSetting', {\n ...appSettings.rtValuesSetting,\n [assetKey]: value,\n });\n };\n\n const [selectedParam, setSelectedParam] = useState(paramToEdit);\n\n useEffect(() => {\n setSelectedParam(paramToEdit);\n }, [paramToEdit]);\n\n const handleSave = () => {\n let newSetting;\n if (!paramToEdit) {\n if (setting.find((item: string) => item === selectedParam)) {\n handleCloseRealTimeDialog();\n return;\n }\n newSetting = [selectedParam, ...setting];\n } else {\n newSetting = setting.map((item: string) => {\n return item === paramToEdit ? selectedParam : item;\n });\n }\n\n // NOTE: remove duplicates\n newSetting = uniq(newSetting) as string[];\n\n onAppRtValuesSettingChange(newSetting);\n handleChangeParamToEdit('');\n handleCloseRealTimeDialog();\n };\n\n const handleDelete = () => {\n const newSetting = setting.filter((item: string) => item !== paramToEdit);\n onAppRtValuesSettingChange(newSetting);\n handleChangeParamToEdit('');\n handleCloseRealTimeDialog();\n };\n\n const onParamChange = (e: React.ChangeEvent<{ value: unknown }>) => {\n setSelectedParam(String(e.target.value));\n };\n\n return (\n <Modal\n open={isDialogOpen}\n onClose={handleCloseRealTimeDialog}\n title=\"Add/Edit Real-Time Parameter\"\n size={isMobileDetected ? 'extraLarge' : 'medium'}\n actions={\n <>\n <Button\n color=\"primary\"\n classes={{ root: classes.cancelButton }}\n onClick={handleCloseRealTimeDialog}\n >\n Cancel\n </Button>\n {paramToEdit && (\n <Button color=\"primary\" onClick={handleDelete}>\n Delete\n </Button>\n )}\n <Button\n classes={{ root: classes.saveButton }}\n variation=\"primary\"\n onClick={handleSave}\n disabled={!selectedParam}\n >\n Save\n </Button>\n </>\n }\n >\n <FormControl\n classes={{ root: classes.selectFormControl }}\n data-testid=\"addEditRealTimeParameterDropdown\"\n >\n <InputLabel htmlFor=\"parameter\">Parameter</InputLabel>\n <Select\n value={selectedParam || ''}\n inputProps={{ name: 'parameter', id: 'parameter' }}\n onChange={onParamChange}\n >\n {realTimeTypes.map((rtType: RealTimeType) => (\n <MenuItem\n data-testid={`${rtType.key}_menuItem`}\n value={rtType.key}\n key={rtType.key}\n disabled={setting.includes(rtType.key)}\n >\n {rtType.name}\n </MenuItem>\n ))}\n </Select>\n </FormControl>\n </Modal>\n );\n};\n\nexport default memo(RealTimeBoxEditDialog);\n"],"names":["useStyles","makeStyles","selectFormControl","width","marginRight","cancelButton","margin","saveButton","marginLeft","memo","_ref","isDialogOpen","paramToEdit","handleCloseRealTimeDialog","useContext","RealTimeSidebarContext","onAppSettingChange","appSettings","assetKey","realTimeTypes","setting","handleChangeParamToEdit","classes","onAppRtValuesSettingChange","value","_objectSpread","rtValuesSetting","useState","_useState2","_slicedToArray","_useState","selectedParam","setSelectedParam","useEffect","_jsx","Modal","open","onClose","title","size","isMobileDetected","actions","_jsxs","_Fragment","children","Button","color","root","onClick","newSetting","filter","item","variation","map","find","uniq","disabled","FormControl","InputLabel","htmlFor","Select","inputProps","name","id","onChange","e","String","target","rtType","MenuItem","key","includes"],"mappings":"w/KAUA,IAAMA,EAAYC,EAAW,CAC3BC,kBAAmB,CAAEC,MAAO,MAAOC,YAAa,QAChDC,aAAc,CACZC,OAAQ,iBAEVC,WAAY,CACVC,WAAY,MAuHDC,EAAAA,GAnH+C,SAA8DC,GAAA,IAA3DC,IAAAA,aAAcC,IAAAA,YAAaC,IAAAA,0BAQtFC,EAAAA,EAAWC,GANbC,IAAAA,mBACAC,IAAAA,YACAC,IAAAA,SACAC,IAAAA,cACAC,IAAAA,QACAC,IAAAA,wBAGIC,EAAUtB,IAEVuB,EAA6B,SAACC,GAClCR,EAAmB,kBAAiBS,EAAAA,EAAA,CAAA,EAC/BR,EAAYS,iBACdR,CAAAA,EAAAA,EAAAA,CAAAA,EAAAA,EAAWM,MAI0BG,EAAAA,EAASf,GAAYgB,EAAAC,EAAAC,EAAA,GA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,SAEvBzB,EAAckC,KAAI,SAACe,GAAoB,OACtClC,EAACmC,EAAQ,CACP,cAAgBD,GAAAA,OAAAA,EAAOE,IAAe,aACtC9C,MAAO4C,EAAOE,IAEdd,SAAUpC,EAAQmD,SAASH,EAAOE,KAAK1B,SAEtCwB,EAAON,MAHHM,EAAOE,cAU1B"}
@@ -1,2 +1,2 @@
1
- import{memo as o,useContext as s}from"react";import t from"classnames";import{makeStyles as n,Box as e}from"@material-ui/core";import i from"../IconButton/index.js";import{RightIcon as r,UpIcon as c,PlusIcon as p,LeftIcon as m,DownIcon as a}from"../../icons/iconParkIcons.js";import"../../componentsV2/Text/Text.js";import"../../componentsV2/Grid/Grid.js";import"../../componentsV2/Grid/Cell.js";import"@babel/runtime/helpers/defineProperty";import"../../componentsV2/Header/Header.scss.js";import{jsx as l,jsxs as d}from"react/jsx-runtime";import"../../componentsV2/Button/Button.js";import"../../componentsV2/ButtonIcon/ButtonIcon.js";import{Tooltip as j}from"../../componentsV2/Tooltip/Tooltip.js";import"../../componentsV2/Popover/Popover.js";import"../../componentsV2/PopoverPanel/PopoverPanel.js";import"../../componentsV2/Radio/Radio.js";import"@babel/runtime/helpers/objectWithoutProperties";import"../../componentsV2/RadioAndCheckboxGroup/RadioAndCheckboxGroup.scss.js";import"../../componentsV2/Checkbox/Checkbox.js";import"@babel/runtime/helpers/toConsumableArray";import"../../componentsV2/TextInput/TextInput.js";import"../../componentsV2/TextInputNext/TextInputNext.js";import"../../componentsV2/TextArea/TextArea.js";import"../../componentsV2/Label/Label.js";import"@babel/runtime/helpers/slicedToArray";import"lodash";import"../../componentsV2/TextEndTruncated/TextEndTruncated.scss.js";import"../../componentsV2/TextMiddleTruncated/TextMiddleTruncated.constants.js";import"../../componentsV2/TextMiddleTruncated/TextMiddleTruncated.scss.js";import"../../componentsV2/TextLink/TextLink.js";import"../../componentsV2/Chip/Chip.js";import"../../componentsV2/ChipAlert/ChipAlert.js";import"../../componentsV2/ChipIndicator/ChipIndicator.js";import"../../componentsV2/Avatar/Avatar.js";import"../../componentsV2/AvatarGroup/AvatarGroup.js";import"@material-ui/lab";import"../../componentsV2/ToggleButtons/ToggleButtons.scss.js";import"../../componentsV2/Paper/Paper.js";import"../../componentsV2/ModalWindow/ModalWindow.js";import"uuid";import"../DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/DcFullscreenElemsCoordinatorProvider.js";import"../DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/IsInsideDcFullscreenElemProvider.js";import"../DevCenter/DevCenterAppContainer/components/IsInsideIsolatedDcAppProvider.js";import"../../componentsV2/Modal/Modal.scss.js";import"../../componentsV2/Menu/Menu.js";import"../../componentsV2/utils.js";import"../../icons/customIcons/icons/AddMessage.js";import"../../icons/customIcons/icons/DragOne.js";import"../../icons/customIcons/icons/Attention.js";import"../../icons/customIcons/icons/Collapse.js";import"../../icons/customIcons/icons/Dashboard.js";import"../../icons/customIcons/icons/Expand.js";import"../../icons/customIcons/icons/FolderClosed.js";import"../../icons/customIcons/icons/FolderClosedFilled.js";import"../../icons/customIcons/icons/FolderOpened.js";import"../../icons/customIcons/icons/GreaterOrEqual.js";import"../../icons/customIcons/icons/LessOrEqual.js";import"../../icons/customIcons/icons/Search.js";import"../../icons/customIcons/icons/SearchOne.js";import"../../icons/customIcons/icons/Wellhub.js";import"../../icons/customIcons/icons/MultiRuler.js";import"../../icons/customIcons/icons/Checkbox.js";import"../../icons/customIcons/icons/CheckboxChecked.js";import"../../icons/customIcons/icons/CheckboxIndeterminate.js";import"../../icons/customIcons/icons/Radio.js";import"../../icons/customIcons/icons/RadioChecked.js";import"../../icons/customIcons/icons/SimulFrac.js";import"../../icons/customIcons/icons/ZipperFrac.js";import"../../icons/customIcons/icons/CautionFilled.js";import"../../icons/customIcons/icons/InfoRounded.js";import"../../icons/customIcons/icons/FlameFilled.js";import"../../icons/customIcons/icons/MoreApp.js";import"../../icons/customIcons/icons/Pad.js";import"../../icons/customIcons/icons/DrilloutUnit.js";import"../../icons/customIcons/icons/FracFleet.js";import"../../icons/customIcons/icons/Global.js";import"../../icons/customIcons/icons/Program.js";import"../../icons/customIcons/icons/Rig.js";import"../../icons/customIcons/icons/Well.js";import"../../icons/customIcons/icons/Gap.js";import"../../icons/customIcons/icons/Pin.js";import"../../icons/customIcons/icons/CloseOneFilled.js";import"../../icons/customIcons/icons/AttentionFilled.js";import"../../icons/customIcons/icons/CheckOneFilled.js";import"../../icons/customIcons/icons/Archive.js";import"../../icons/customIcons/icons/ArchiveCancel.js";import"../../icons/customIcons/icons/Unarchive.js";import"../../icons/customIcons/icons/Archived.js";import"../../icons/customIcons/icons/InterventionUnit.js";import"../../icons/customIcons/icons/CloudDelete.js";import"../../icons/customIcons/icons/Lasso.js";import"../../icons/customIcons/icons/Radius.js";import"../../icons/customIcons/icons/ErrorOps.js";import"../../icons/customIcons/icons/DataTypeOps.js";import"../../icons/customIcons/icons/FalsePositiveOps.js";import"../../icons/customIcons/icons/CalibrationOps.js";import"../../icons/customIcons/icons/CriticalOps.js";import"../../icons/customIcons/icons/Company.js";import"../../icons/customIcons/icons/ArchiveOne.js";import"../../icons/customIcons/icons/ParseBotFusion.js";import"../../icons/customIcons/icons/Connect.js";import"../../icons/customIcons/icons/PuzzleOne.js";import"../../icons/customIcons/icons/Feed.js";import"../../icons/customIcons/icons/Prompt.js";import"../../icons/customIcons/icons/Companies.js";import"../../icons/customIcons/icons/ClipboardAi.js";import"../../icons/customIcons/icons/Key.js";import"../../icons/customIcons/icons/AtSignCrossed.js";import"../../icons/customIcons/icons/MappingManual.js";import"../../icons/customIcons/icons/Mapping.js";import"../../icons/customIcons/icons/Metrics.js";import"../../icons/customIcons/icons/Drops.js";import"../../icons/customIcons/icons/ClipboardSearch.js";import"../../icons/customIcons/icons/Template.js";import"../../icons/customIcons/icons/ClipboardMetrics.js";import"../../icons/customIcons/icons/ClipboardBuilder.js";import"../../icons/customIcons/icons/UnitConversion.js";import"../../icons/customIcons/icons/NPT.js";import"../../icons/customIcons/icons/GuidedFrac.js";import"../../componentsV2/Hint/Hint.scss.js";import"../../componentsV2/Counter/Counter.js";import"../../componentsV2/BadgeBase/BadgeBase.scss.js";import"../../componentsV2/TemplatesControl/TemplatesControl.js";import"zustand";import"../../componentsV2/TemplatesControl/utils.js";import"../../componentsV2/TemplatesControl/icons/folder/index.js";import"../../componentsV2/TemplatesControl/Store/utils.js";import"@babel/runtime/helpers/asyncToGenerator";import"@babel/runtime/regenerator";import"../../componentsV2/TemplatesControl/types.js";import"../../utils/index.js";import"../../clients/jsonApi/index.js";import"../../permissions/PermissionsContext.js";import"../../permissions/constants/index.js";import"../../permissions/withPermissionsHOC.js";import"../../permissions/ProvidePermissions.js";import"../../componentsV2/BadgeDot/BadgeDot.scss.js";import"../../componentsV2/LoaderLinear/LoaderLinear.scss.js";import"../../componentsV2/LoaderLogo/LoaderLogo.constants.js";import"../../componentsV2/LoaderLogo/LoaderLogo.scss.js";import"../../componentsV2/Switch/Switch.js";import"../../componentsV2/Tabs/Tabs.js";import"../../componentsV2/EmptyState/EmptyState.scss.js";import"../../componentsV2/FileIcon/FileIcon.js";import"../../componentsV2/Tag/Tag.js";import"react-dropzone";import"../../componentsV2/FilesDropzone/FilesDropzone.scss.js";import"../../componentsV2/FilesLoader/FilesLoader.scss.js";import"file-extension";import"image-extensions";import"video-extensions";import"../../componentsV2/FilesProcessor/FilesProcessor.scss.js";import"../../componentsV2/Skeleton/Skeleton.scss.js";import"../../utils/main.js";import"../../componentsV2/CopyToClipboard/CopyToClipboard.scss.js";import"../../componentsV2/Stepper/Step/Step.scss.js";import"../../componentsV2/Stepper/Stepper.scss.js";import"../../componentsV2/ButtonLive/ButtonLive.js";import"../../componentsV2/ButtonText/ButtonText.js";import"../../componentsV2/IndicatorLive/IndicatorLive.js";import"../../componentsV2/Accordion/Accordion.scss.js";import"../../componentsV2/Breadcrumbs/Breadcrumbs.scss.js";import"../../componentsV2/BadgeComment/BadgeComment.js";import"../../componentsV2/AppContainer/AppContainer.js";import"../../componentsV2/AppContainer/AppContainer.constants.js";import"../../componentsV2/AppFooter/AppFooter.js";import"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"../../componentsV2/AppCommonsProvider/AppCommonsContext.js";import"../../componentsV2/AppHeader/AppHeader.constants.js";import"../../componentsV2/AppHeader/AppBadge/AppBadge.scss.js";import"../DevCenter/DevCenterRouterContext/DevCenterRouterContext.js";import"../DevCenter/DevCenterRouterContext/UniversalLink/UniversalLink.js";import"react-router-dom";import"../../componentsV2/AppHeader/AppAssets/utils.js";import"../../componentsV2/AppHeader/AppAssets/AppAssets.scss.js";import"../PadModeSelect/PadModeSelect.js";import"../../componentsV2/AppHeader/PadMode/PadMode.scss.js";import"../../constants/streamSourceType.js";import"../../componentsV2/PadModeSelect/PadModeSelect.js";import"../../componentsV2/PadModeSelect/PadModeSelect.constants.js";import"../../componentsV2/AppCommonsProvider/AppCommonsProvider.js";import"../../utils/mobileDetect.js";import"../../componentsV2/AppHeader/V3/VersionSelect/VersionSelect.js";import"../../componentsV2/UniversalLink/UniversalLink.scss.js";import"../../componentsV2/AppHeader/V3/AssetChips/AssetChips.scss.js";import"moment";import"../../componentsV2/AppHeader/V3/DqStatusIcon/DqStatusIcon.js";import"../../componentsV2/AppHeader/V3/DqStatusIcon/DqStatusIcon.constants.js";import"../../componentsV2/AppFooter/DqPopover/DqStatusIcon/DqStatusIcon.js";import"../../componentsV2/AppDqPopover/DqAlertTooltip/DqAlertTooltip.scss.js";import"../../componentsV2/AppDqPopover/DqAlert/DqAlert.scss.js";import"../../componentsV2/AppDqPopover/DqAsset/DqAsset.scss.js";import"../../componentsV2/AppDqPopover/AppDqPopover.scss.js";import"../AppIcon/AppIcon.js";import"../../utils/getSingleAsset.js";import"../../componentsV2/AppHeader/V3/AssetSelector/AssetSelectorChip/AssetSelectorChip.js";import"../../componentsV2/AppHeader/V3/AssetSelector/constants.js";import"../../componentsV2/AppHeader/V3/AssetSelector/AssetSelectorSelect/AssetSelectorSelect.scss.js";import"../../componentsV2/AppHeader/V3/AssetSelector/AssetSelectorSelect/loadAssets.js";import"../../componentsV2/AppHeader/V3/AssetSelector/AssetSelector.scss.js";import"../../clients/subscriptions/constants.js";import"querystring";import"uuid/v1";import"../../clients/subscriptions.v1.js";import"../../clients/subscriptions/subscriptions-client.factory.js";import"jsona";import"../../utils/env.js";import"../StatusBadge/constants.js";import"lodash/set";import"lodash/get";import"lodash/unset";import"../../clients/api/apiCore.js";import"../../clients/constants.js";import"../../clients/sso/auth0.js";import"../../clients/sso/oauth2.js";import"../../clients/api/rateLimiter.js";import"lodash/isEmpty";import"lodash/sortBy";import"../DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchContext.js";import"../../componentsV2/AppSettings/AppSettingsPinningContext.js";import"../../componentsV2/AppHeader/V3/AppTitle/AppTitle.constants.js";import"../../componentsV2/AppHeader/V3/AppTitle/AppTitle.scss.js";import"../../componentsV2/AppHeader/V3/constants.scss.js";import"@babel/runtime/helpers/typeof";import"../../componentsV2/AppHeader/V3/SettingsButton/SettingsButton.js";import"../../componentsV2/AppHeader/V3/SettingsButton/SettingsButton.constants.js";import"../../componentsV2/AppSettings/AppSettings.js";import"../../componentsV2/AppSettings/AppSettings.constants.js";import"../../componentsV2/AppSizeProvider/AppSizeProvider.js";import"../../componentsV2/AppHeader/V3/Actions/Actions.constants.js";import"../../componentsV2/AppHeader/V3/Actions/Actions.scss.js";import"../../componentsV2/AppHeader/V3/AppHeaderV3.scss.js";import"../../componentsV2/AppHeader/AppHeader.scss.js";import"../../componentsV2/OffsetWellsButton/OffsetWellsButton.js";import"../../componentsV2/ChartAxisExtreme/ChartAxisExtreme.scss.js";import"highcharts";import"../../componentsV2/ChartAxisExtreme/ChartAxisExtremeDragTracker.js";import"../../componentsV2/Autocomplete/Autocomplete.js";import"../../componentsV2/Select/Select.js";import"../../componentsV2/AppSettingsDivider/AppSettingsDivider.scss.js";import"../../componentsV2/WellArchivedMessage/WellArchivedMessage.js";import"../../componentsV2/DatePicker/DatePicker.js";import"../../componentsV2/DragHandle/DragHandle.js";import"../../componentsV2/CompletionsOffsetWellPicker/CompletionsOffsetWellPicker.js";import"../../componentsV2/Slider/constants.js";import"../../componentsV2/Slider/components/SliderThumb.js";import"../../componentsV2/Slider/Slider.scss.js";import"../../componentsV2/SliderAdvanced/SliderAdvanced.js";import"react-color";import"../../componentsV2/ColorPicker/Swatches/Swatches.scss.js";import"../../componentsV2/ColorPicker/OpacityDragtracker/OpacityDragTracker.scss.js";import"../../componentsV2/ColorPicker/ColorPicker.scss.js";import"../../componentsV2/ChartHelper/ChartHelper.scss.js";import"../../componentsV2/Hotkey/Hotkey.js";import"@tanstack/react-query";import"../../componentsV2/InterventionEventSelector/useInterventionUnitEvents.js";import"../../componentsV2/InterventionEventSelector/InterventionEventSelector.scss.js";import u from"./RealTimeSidebarContext.js";import{ORIENTATIONS as V}from"./enums.js";var A=n((function(o){return{button:{fontSize:14,fontWeight:500},buttonIcon:{fontSize:24,marginRight:8},closedButton:{marginBottom:"78px",zIndex:1e3},rtSidebarFooter:{position:"absolute",right:0,"&.vertical":{left:0,bottom:0},"&.horizontal":{top:0}},rtSidebarFooterIcon:{color:o.palette.primary.text6},rtSidebarFooterActions:{display:"flex",paddingRight:"5px",alignItems:"center",height:48,width:48,padding:6,"&.horizontal":{flexDirection:"row-reverse"}},actionButton:{padding:12,height:36,width:36},openToggleContainer:{alignItems:"center",bottom:0,display:"flex",flex:"0 0",height:48,padding:6,position:"absolute",width:"100%",justifyContent:"flex-start",paddingRight:6},collapseTooltip:{marginTop:-8},expandTooltip:{marginTop:-48}}})),C=o((function(o){var n=o.onSidebarOpened,C=o.onSidebarClosed,I=o.className,h=A(),S=s(u),g=S.isSidebarOpen,v=S.orientation,b=S.handleOpenCloseDialog;return l("div",{className:t(h.rtSidebarFooter,v,I),"data-testid":"sidebar_footer",children:g?l(e,{className:h.openToggleContainer,children:l(j,{title:"Collapse",className:h.collapseTooltip,children:d("div",{className:t(h.rtSidebarFooterActions,v),children:[l(i,{"data-testid":"sidebar_close_button",onClick:C,className:h.actionButton,children:v===V.vertical?l(r,{}):l(c,{className:h.rtSidebarFooterIcon})}),v===V.horizontal&&l(i,{color:"primary",tooltipProps:{title:"Add"},onClick:function(){return b(!0)},className:h.actionButton,children:l(p,{})})]})})}):l(j,{title:"Expand",className:h.expandTooltip,children:l("div",{className:t(h.rtSidebarFooterActions,v),children:l(i,{onClick:n,"data-testid":"sidebar_open_button",className:t(h.closedButton,h.actionButton),children:v===V.vertical?l(m,{}):l(a,{})})})})})}));export{C as default};
1
+ import{memo as o,useContext as s}from"react";import t from"classnames";import{makeStyles as n,Box as e}from"@material-ui/core";import i from"../IconButton/index.js";import{RightIcon as c,UpIcon as r,PlusIcon as p,LeftIcon as m,DownIcon as a}from"../../icons/iconParkIcons.js";import"../../componentsV2/Text/Text.js";import"../../componentsV2/Grid/Grid.js";import"../../componentsV2/Grid/Cell.js";import"@babel/runtime/helpers/defineProperty";import"../../componentsV2/Header/Header.scss.js";import{jsx as l,jsxs as d}from"react/jsx-runtime";import"../../componentsV2/Button/Button.js";import"../../componentsV2/ButtonIcon/ButtonIcon.js";import{Tooltip as j}from"../../componentsV2/Tooltip/Tooltip.js";import"../../componentsV2/Popover/Popover.js";import"../../componentsV2/PopoverPanel/PopoverPanel.js";import"../../componentsV2/Radio/Radio.js";import"@babel/runtime/helpers/objectWithoutProperties";import"../../componentsV2/RadioAndCheckboxGroup/RadioAndCheckboxGroup.scss.js";import"../../componentsV2/Checkbox/Checkbox.js";import"@babel/runtime/helpers/toConsumableArray";import"../../componentsV2/TextInput/TextInput.js";import"../../componentsV2/TextInputNext/TextInputNext.js";import"../../componentsV2/TextArea/TextArea.js";import"../../componentsV2/Label/Label.js";import"@babel/runtime/helpers/slicedToArray";import"lodash";import"../../componentsV2/TextEndTruncated/TextEndTruncated.scss.js";import"../../componentsV2/TextMiddleTruncated/TextMiddleTruncated.constants.js";import"../../componentsV2/TextMiddleTruncated/TextMiddleTruncated.scss.js";import"../../componentsV2/TextLink/TextLink.js";import"../../componentsV2/Chip/Chip.js";import"../../componentsV2/ChipAlert/ChipAlert.js";import"../../componentsV2/ChipIndicator/ChipIndicator.js";import"../../componentsV2/Avatar/Avatar.js";import"../../componentsV2/AvatarGroup/AvatarGroup.js";import"@material-ui/lab";import"../../componentsV2/ToggleButtons/ToggleButtons.scss.js";import"../../componentsV2/Paper/Paper.js";import"../../componentsV2/ModalWindow/ModalWindow.js";import"uuid";import"../DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/DcFullscreenElemsCoordinatorProvider.js";import"../DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/IsInsideDcFullscreenElemProvider.js";import"../DevCenter/DevCenterAppContainer/components/IsInsideIsolatedDcAppProvider.js";import"../../componentsV2/Modal/Modal.scss.js";import"../../componentsV2/Menu/Menu.js";import"../../componentsV2/utils.js";import"../../icons/customIcons/icons/AddMessage.js";import"../../icons/customIcons/icons/DragOne.js";import"../../icons/customIcons/icons/Attention.js";import"../../icons/customIcons/icons/Collapse.js";import"../../icons/customIcons/icons/Dashboard.js";import"../../icons/customIcons/icons/Expand.js";import"../../icons/customIcons/icons/FolderClosed.js";import"../../icons/customIcons/icons/FolderClosedFilled.js";import"../../icons/customIcons/icons/FolderOpened.js";import"../../icons/customIcons/icons/GreaterOrEqual.js";import"../../icons/customIcons/icons/LessOrEqual.js";import"../../icons/customIcons/icons/Search.js";import"../../icons/customIcons/icons/SearchOne.js";import"../../icons/customIcons/icons/Wellhub.js";import"../../icons/customIcons/icons/MultiRuler.js";import"../../icons/customIcons/icons/Checkbox.js";import"../../icons/customIcons/icons/CheckboxChecked.js";import"../../icons/customIcons/icons/CheckboxIndeterminate.js";import"../../icons/customIcons/icons/Radio.js";import"../../icons/customIcons/icons/RadioChecked.js";import"../../icons/customIcons/icons/SimulFrac.js";import"../../icons/customIcons/icons/ZipperFrac.js";import"../../icons/customIcons/icons/CautionFilled.js";import"../../icons/customIcons/icons/InfoRounded.js";import"../../icons/customIcons/icons/FlameFilled.js";import"../../icons/customIcons/icons/MoreApp.js";import"../../icons/customIcons/icons/Pad.js";import"../../icons/customIcons/icons/DrilloutUnit.js";import"../../icons/customIcons/icons/FracFleet.js";import"../../icons/customIcons/icons/Global.js";import"../../icons/customIcons/icons/Program.js";import"../../icons/customIcons/icons/Rig.js";import"../../icons/customIcons/icons/Well.js";import"../../icons/customIcons/icons/Gap.js";import"../../icons/customIcons/icons/Pin.js";import"../../icons/customIcons/icons/PinOne.js";import"../../icons/customIcons/icons/PinOneCrossed.js";import"../../icons/customIcons/icons/CloseOneFilled.js";import"../../icons/customIcons/icons/AttentionFilled.js";import"../../icons/customIcons/icons/CheckOneFilled.js";import"../../icons/customIcons/icons/Archive.js";import"../../icons/customIcons/icons/ArchiveCancel.js";import"../../icons/customIcons/icons/Unarchive.js";import"../../icons/customIcons/icons/Archived.js";import"../../icons/customIcons/icons/InterventionUnit.js";import"../../icons/customIcons/icons/CloudDelete.js";import"../../icons/customIcons/icons/Lasso.js";import"../../icons/customIcons/icons/Radius.js";import"../../icons/customIcons/icons/ErrorOps.js";import"../../icons/customIcons/icons/DataTypeOps.js";import"../../icons/customIcons/icons/FalsePositiveOps.js";import"../../icons/customIcons/icons/CalibrationOps.js";import"../../icons/customIcons/icons/CriticalOps.js";import"../../icons/customIcons/icons/Company.js";import"../../icons/customIcons/icons/ArchiveOne.js";import"../../icons/customIcons/icons/ParseBotFusion.js";import"../../icons/customIcons/icons/Connect.js";import"../../icons/customIcons/icons/PuzzleOne.js";import"../../icons/customIcons/icons/Feed.js";import"../../icons/customIcons/icons/Prompt.js";import"../../icons/customIcons/icons/Companies.js";import"../../icons/customIcons/icons/ClipboardAi.js";import"../../icons/customIcons/icons/Key.js";import"../../icons/customIcons/icons/AtSignCrossed.js";import"../../icons/customIcons/icons/MappingManual.js";import"../../icons/customIcons/icons/Mapping.js";import"../../icons/customIcons/icons/Metrics.js";import"../../icons/customIcons/icons/Drops.js";import"../../icons/customIcons/icons/ClipboardSearch.js";import"../../icons/customIcons/icons/Template.js";import"../../icons/customIcons/icons/ClipboardMetrics.js";import"../../icons/customIcons/icons/ClipboardBuilder.js";import"../../icons/customIcons/icons/UnitConversion.js";import"../../icons/customIcons/icons/NPT.js";import"../../icons/customIcons/icons/GuidedFrac.js";import"../../componentsV2/Hint/Hint.scss.js";import"../../componentsV2/Counter/Counter.js";import"../../componentsV2/BadgeBase/BadgeBase.scss.js";import"../../componentsV2/TemplatesControl/TemplatesControl.js";import"zustand";import"../../componentsV2/TemplatesControl/utils.js";import"../../componentsV2/TemplatesControl/icons/folder/index.js";import"../../componentsV2/TemplatesControl/Store/utils.js";import"@babel/runtime/helpers/asyncToGenerator";import"@babel/runtime/regenerator";import"../../componentsV2/TemplatesControl/types.js";import"../../utils/index.js";import"../../clients/jsonApi/index.js";import"../../permissions/PermissionsContext.js";import"../../permissions/constants/index.js";import"../../permissions/withPermissionsHOC.js";import"../../permissions/ProvidePermissions.js";import"../../componentsV2/BadgeDot/BadgeDot.scss.js";import"../../componentsV2/LoaderLinear/LoaderLinear.scss.js";import"../../componentsV2/LoaderLogo/LoaderLogo.constants.js";import"../../componentsV2/LoaderLogo/LoaderLogo.scss.js";import"../../componentsV2/Switch/Switch.js";import"../../componentsV2/Tabs/Tabs.js";import"../../componentsV2/EmptyState/EmptyState.scss.js";import"../../componentsV2/FileIcon/FileIcon.js";import"../../componentsV2/Tag/Tag.js";import"react-dropzone";import"../../componentsV2/FilesDropzone/FilesDropzone.scss.js";import"../../componentsV2/FilesLoader/FilesLoader.scss.js";import"file-extension";import"image-extensions";import"video-extensions";import"../../componentsV2/FilesProcessor/FilesProcessor.scss.js";import"../../componentsV2/Skeleton/Skeleton.scss.js";import"../../utils/main.js";import"../../componentsV2/CopyToClipboard/CopyToClipboard.scss.js";import"../../componentsV2/Stepper/Step/Step.scss.js";import"../../componentsV2/Stepper/Stepper.scss.js";import"../../componentsV2/ButtonLive/ButtonLive.js";import"../../componentsV2/ButtonText/ButtonText.js";import"../../componentsV2/IndicatorLive/IndicatorLive.js";import"../../componentsV2/Accordion/Accordion.scss.js";import"../../componentsV2/Breadcrumbs/Breadcrumbs.scss.js";import"../../componentsV2/BadgeComment/BadgeComment.js";import"../../componentsV2/AppContainer/AppContainer.js";import"../../componentsV2/AppContainer/AppContainer.constants.js";import"../../componentsV2/AppFooter/AppFooter.js";import"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"../../componentsV2/AppCommonsProvider/AppCommonsContext.js";import"../../componentsV2/AppHeader/AppHeader.constants.js";import"../../componentsV2/AppHeader/AppBadge/AppBadge.scss.js";import"../DevCenter/DevCenterRouterContext/DevCenterRouterContext.js";import"../DevCenter/DevCenterRouterContext/UniversalLink/UniversalLink.js";import"react-router-dom";import"../../componentsV2/AppHeader/AppAssets/utils.js";import"../../componentsV2/AppHeader/AppAssets/AppAssets.scss.js";import"../PadModeSelect/PadModeSelect.js";import"../../componentsV2/AppHeader/PadMode/PadMode.scss.js";import"../../constants/streamSourceType.js";import"../../componentsV2/PadModeSelect/PadModeSelect.js";import"../../componentsV2/PadModeSelect/PadModeSelect.constants.js";import"../../componentsV2/AppCommonsProvider/AppCommonsProvider.js";import"../../utils/mobileDetect.js";import"../../componentsV2/AppHeader/V3/VersionSelect/VersionSelect.js";import"../../componentsV2/UniversalLink/UniversalLink.scss.js";import"../../componentsV2/AppHeader/V3/AssetChips/AssetChips.scss.js";import"moment";import"../../componentsV2/AppHeader/V3/DqStatusIcon/DqStatusIcon.js";import"../../componentsV2/AppHeader/V3/DqStatusIcon/DqStatusIcon.constants.js";import"../../componentsV2/AppFooter/DqPopover/DqStatusIcon/DqStatusIcon.js";import"../../componentsV2/AppDqPopover/DqAlertTooltip/DqAlertTooltip.scss.js";import"../../componentsV2/AppDqPopover/DqAlert/DqAlert.scss.js";import"../../componentsV2/AppDqPopover/DqAsset/DqAsset.scss.js";import"../../componentsV2/AppDqPopover/AppDqPopover.scss.js";import"../AppIcon/AppIcon.js";import"../../utils/getSingleAsset.js";import"../../componentsV2/AppHeader/V3/AssetSelector/AssetSelectorChip/AssetSelectorChip.js";import"../../componentsV2/AppHeader/V3/AssetSelector/constants.js";import"../../componentsV2/AppHeader/V3/AssetSelector/AssetSelectorSelect/AssetSelectorSelect.scss.js";import"../../componentsV2/AppHeader/V3/AssetSelector/AssetSelectorSelect/loadAssets.js";import"../../componentsV2/AppHeader/V3/AssetSelector/AssetSelector.scss.js";import"../../clients/subscriptions/constants.js";import"querystring";import"uuid/v1";import"../../clients/subscriptions.v1.js";import"../../clients/subscriptions/subscriptions-client.factory.js";import"jsona";import"../../utils/env.js";import"../StatusBadge/constants.js";import"lodash/set";import"lodash/get";import"lodash/unset";import"../../clients/api/apiCore.js";import"../../clients/constants.js";import"../../clients/sso/auth0.js";import"../../clients/sso/oauth2.js";import"../../clients/api/rateLimiter.js";import"lodash/isEmpty";import"lodash/sortBy";import"../DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchContext.js";import"../../componentsV2/AppPanel/AppPanelsContext.js";import"../../componentsV2/AppHeader/V3/AppTitle/AppTitle.constants.js";import"../../componentsV2/AppHeader/V3/AppTitle/AppTitle.scss.js";import"../../componentsV2/AppHeader/V3/constants.scss.js";import"@babel/runtime/helpers/typeof";import"../../componentsV2/AppHeader/V3/SettingsButton/SettingsButton.constants.js";import"../../componentsV2/AppHeader/V3/Actions/Actions.constants.js";import"../../componentsV2/AppHeader/V3/Actions/Actions.scss.js";import"../../componentsV2/AppHeader/V3/AppHeaderV3.scss.js";import"../../componentsV2/AppHeader/AppHeader.scss.js";import"../../componentsV2/OffsetWellsButton/OffsetWellsButton.js";import"../../componentsV2/ChartAxisExtreme/ChartAxisExtreme.scss.js";import"highcharts";import"../../componentsV2/ChartAxisExtreme/ChartAxisExtremeDragTracker.js";import"../../componentsV2/Autocomplete/Autocomplete.js";import"../../componentsV2/Select/Select.js";import"../../componentsV2/AppPanel/AppPanel.js";import"../../componentsV2/AppSettingsDivider/AppSettingsDivider.scss.js";import"../../componentsV2/WellArchivedMessage/WellArchivedMessage.js";import"../../componentsV2/DatePicker/DatePicker.js";import"../../componentsV2/DragHandle/DragHandle.js";import"../../componentsV2/CompletionsOffsetWellPicker/CompletionsOffsetWellPicker.js";import"../../componentsV2/Slider/constants.js";import"../../componentsV2/Slider/components/SliderThumb.js";import"../../componentsV2/Slider/Slider.scss.js";import"../../componentsV2/SliderAdvanced/SliderAdvanced.js";import"react-color";import"../../componentsV2/ColorPicker/Swatches/Swatches.scss.js";import"../../componentsV2/ColorPicker/OpacityDragtracker/OpacityDragTracker.scss.js";import"../../componentsV2/ColorPicker/ColorPicker.scss.js";import"../../componentsV2/ChartHelper/ChartHelper.scss.js";import"../../componentsV2/Hotkey/Hotkey.js";import"@tanstack/react-query";import"../../componentsV2/InterventionEventSelector/useInterventionUnitEvents.js";import"../../componentsV2/InterventionEventSelector/InterventionEventSelector.scss.js";import u from"./RealTimeSidebarContext.js";import{ORIENTATIONS as V}from"./enums.js";var A=n((function(o){return{button:{fontSize:14,fontWeight:500},buttonIcon:{fontSize:24,marginRight:8},closedButton:{marginBottom:"78px",zIndex:1e3},rtSidebarFooter:{position:"absolute",right:0,"&.vertical":{left:0,bottom:0},"&.horizontal":{top:0}},rtSidebarFooterIcon:{color:o.palette.primary.text6},rtSidebarFooterActions:{display:"flex",paddingRight:"5px",alignItems:"center",height:48,width:48,padding:6,"&.horizontal":{flexDirection:"row-reverse"}},actionButton:{padding:12,height:36,width:36},openToggleContainer:{alignItems:"center",bottom:0,display:"flex",flex:"0 0",height:48,padding:6,position:"absolute",width:"100%",justifyContent:"flex-start",paddingRight:6},collapseTooltip:{marginTop:-8},expandTooltip:{marginTop:-48}}})),C=o((function(o){var n=o.onSidebarOpened,C=o.onSidebarClosed,I=o.className,h=A(),S=s(u),v=S.isSidebarOpen,g=S.orientation,b=S.handleOpenCloseDialog;return l("div",{className:t(h.rtSidebarFooter,g,I),"data-testid":"sidebar_footer",children:v?l(e,{className:h.openToggleContainer,children:l(j,{title:"Collapse",className:h.collapseTooltip,children:d("div",{className:t(h.rtSidebarFooterActions,g),children:[l(i,{"data-testid":"sidebar_close_button",onClick:C,className:h.actionButton,children:g===V.vertical?l(c,{}):l(r,{className:h.rtSidebarFooterIcon})}),g===V.horizontal&&l(i,{color:"primary",tooltipProps:{title:"Add"},onClick:function(){return b(!0)},className:h.actionButton,children:l(p,{})})]})})}):l(j,{title:"Expand",className:h.expandTooltip,children:l("div",{className:t(h.rtSidebarFooterActions,g),children:l(i,{onClick:n,"data-testid":"sidebar_open_button",className:t(h.closedButton,h.actionButton),children:g===V.vertical?l(m,{}):l(a,{})})})})})}));export{C as default};
2
2
  //# sourceMappingURL=SidebarFooter.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"SidebarFooter.js","sources":["../../../src/components/RealTimeValuesSidebar/SidebarFooter.tsx"],"sourcesContent":["import { FC, memo, useContext } from 'react';\nimport classNames from 'classnames';\n\nimport { Box, makeStyles } from '@material-ui/core';\n\nimport IconButton from '~/components/IconButton';\nimport { PlusIcon, DownIcon, LeftIcon, RightIcon, UpIcon } from '~/icons/iconParkIcons';\nimport { Tooltip } from '~/componentsV2';\n\nimport { SidebarFooterProps } from './types';\nimport RealTimeSidebarContext from './RealTimeSidebarContext';\nimport { ORIENTATIONS } from './enums';\n\nconst useStyles = makeStyles((theme: any) => ({\n button: {\n fontSize: 14,\n fontWeight: 500,\n },\n buttonIcon: {\n fontSize: 24,\n marginRight: 8,\n },\n closedButton: {\n marginBottom: '78px',\n zIndex: 1000,\n },\n\n rtSidebarFooter: {\n position: 'absolute',\n right: 0,\n '&.vertical': {\n left: 0,\n bottom: 0,\n },\n '&.horizontal': {\n top: 0,\n },\n },\n\n rtSidebarFooterIcon: {\n color: theme.palette.primary.text6,\n },\n\n rtSidebarFooterActions: {\n display: 'flex',\n paddingRight: '5px',\n alignItems: 'center',\n height: 48,\n width: 48,\n padding: 6,\n\n '&.horizontal': {\n flexDirection: 'row-reverse',\n },\n },\n\n actionButton: {\n padding: 12,\n height: 36,\n width: 36,\n },\n\n openToggleContainer: {\n alignItems: 'center',\n bottom: 0,\n display: 'flex',\n flex: '0 0',\n height: 48,\n padding: 6,\n position: 'absolute',\n width: '100%',\n justifyContent: 'flex-start',\n paddingRight: 6,\n },\n\n collapseTooltip: {\n marginTop: -8,\n },\n\n expandTooltip: {\n marginTop: -48,\n }\n}));\n\nconst SidebarFooter: FC<SidebarFooterProps> = ({ onSidebarOpened, onSidebarClosed, className }) => {\n const classes = useStyles();\n\n const { isSidebarOpen, orientation, handleOpenCloseDialog } = useContext(RealTimeSidebarContext)!;\n\n return (\n <div\n className={classNames(classes.rtSidebarFooter, orientation, className)}\n data-testid=\"sidebar_footer\"\n >\n {isSidebarOpen ? (\n <Box className={classes.openToggleContainer}>\n <Tooltip title=\"Collapse\" className={classes.collapseTooltip}>\n <div className={classNames(classes.rtSidebarFooterActions, orientation)}>\n <IconButton\n data-testid=\"sidebar_close_button\"\n onClick={onSidebarClosed}\n className={classes.actionButton}\n >\n {orientation === ORIENTATIONS.vertical ? (\n <RightIcon />\n ) : (\n <UpIcon className={classes.rtSidebarFooterIcon} />\n )}\n </IconButton>\n {orientation === ORIENTATIONS.horizontal && (\n <IconButton\n color=\"primary\"\n tooltipProps={{ title: 'Add' }}\n onClick={() => handleOpenCloseDialog(true)}\n className={classes.actionButton}\n >\n <PlusIcon />\n </IconButton>\n )}\n </div>\n </Tooltip>\n </Box>\n ) : (\n <Tooltip title=\"Expand\" className={classes.expandTooltip}>\n <div className={classNames(classes.rtSidebarFooterActions, orientation)}>\n <IconButton\n onClick={onSidebarOpened}\n data-testid=\"sidebar_open_button\"\n className={classNames(classes.closedButton, classes.actionButton)}\n >\n {orientation === ORIENTATIONS.vertical ? <LeftIcon /> : <DownIcon />}\n </IconButton>\n </div>\n </Tooltip>\n )}\n </div>\n );\n};\n\nexport default memo(SidebarFooter);\n"],"names":["useStyles","makeStyles","theme","button","fontSize","fontWeight","buttonIcon","marginRight","closedButton","marginBottom","zIndex","rtSidebarFooter","position","right","left","bottom","top","rtSidebarFooterIcon","color","palette","primary","text6","rtSidebarFooterActions","display","paddingRight","alignItems","height","width","padding","flexDirection","actionButton","openToggleContainer","flex","justifyContent","collapseTooltip","marginTop","expandTooltip","memo","_ref","onSidebarOpened","onSidebarClosed","className","classes","useContext","RealTimeSidebarContext","isSidebarOpen","orientation","handleOpenCloseDialog","_jsx","classNames","children","Box","Tooltip","title","_jsxs","IconButton","onClick","ORIENTATIONS","vertical","RightIcon","UpIcon","horizontal","tooltipProps","PlusIcon","LeftIcon","DownIcon"],"mappings":"w1bAaA,IAAMA,EAAYC,GAAW,SAACC,GAAU,MAAM,CAC5CC,OAAQ,CACNC,SAAU,GACVC,WAAY,KAEdC,WAAY,CACVF,SAAU,GACVG,YAAa,GAEfC,aAAc,CACZC,aAAc,OACdC,OAAQ,KAGVC,gBAAiB,CACfC,SAAU,WACVC,MAAO,EACP,aAAc,CACZC,KAAM,EACNC,OAAQ,GAEV,eAAgB,CACdC,IAAK,IAITC,oBAAqB,CACnBC,MAAOhB,EAAMiB,QAAQC,QAAQC,OAG/BC,uBAAwB,CACtBC,QAAS,OACTC,aAAc,MACdC,WAAY,SACZC,OAAQ,GACRC,MAAO,GACPC,QAAS,EAET,eAAgB,CACdC,cAAe,gBAInBC,aAAc,CACZF,QAAS,GACTF,OAAQ,GACRC,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C,aAAckC,EAAQZ,cAAcoB,SAEjEJ,IAAgBW,EAAaC,SAAWV,EAACgB,EAAQ,CAAA,GAAMhB,EAACiB,EAAQ,WAO/E"}
1
+ {"version":3,"file":"SidebarFooter.js","sources":["../../../src/components/RealTimeValuesSidebar/SidebarFooter.tsx"],"sourcesContent":["import { FC, memo, useContext } from 'react';\nimport classNames from 'classnames';\n\nimport { Box, makeStyles } from '@material-ui/core';\n\nimport IconButton from '~/components/IconButton';\nimport { PlusIcon, DownIcon, LeftIcon, RightIcon, UpIcon } from '~/icons/iconParkIcons';\nimport { Tooltip } from '~/componentsV2';\n\nimport { SidebarFooterProps } from './types';\nimport RealTimeSidebarContext from './RealTimeSidebarContext';\nimport { ORIENTATIONS } from './enums';\n\nconst useStyles = makeStyles((theme: any) => ({\n button: {\n fontSize: 14,\n fontWeight: 500,\n },\n buttonIcon: {\n fontSize: 24,\n marginRight: 8,\n },\n closedButton: {\n marginBottom: '78px',\n zIndex: 1000,\n },\n\n rtSidebarFooter: {\n position: 'absolute',\n right: 0,\n '&.vertical': {\n left: 0,\n bottom: 0,\n },\n '&.horizontal': {\n top: 0,\n },\n },\n\n rtSidebarFooterIcon: {\n color: theme.palette.primary.text6,\n },\n\n rtSidebarFooterActions: {\n display: 'flex',\n paddingRight: '5px',\n alignItems: 'center',\n height: 48,\n width: 48,\n padding: 6,\n\n '&.horizontal': {\n flexDirection: 'row-reverse',\n },\n },\n\n actionButton: {\n padding: 12,\n height: 36,\n width: 36,\n },\n\n openToggleContainer: {\n alignItems: 'center',\n bottom: 0,\n display: 'flex',\n flex: '0 0',\n height: 48,\n padding: 6,\n position: 'absolute',\n width: '100%',\n justifyContent: 'flex-start',\n paddingRight: 6,\n },\n\n collapseTooltip: {\n marginTop: -8,\n },\n\n expandTooltip: {\n marginTop: -48,\n }\n}));\n\nconst SidebarFooter: FC<SidebarFooterProps> = ({ onSidebarOpened, onSidebarClosed, className }) => {\n const classes = useStyles();\n\n const { isSidebarOpen, orientation, handleOpenCloseDialog } = useContext(RealTimeSidebarContext)!;\n\n return (\n <div\n className={classNames(classes.rtSidebarFooter, orientation, className)}\n data-testid=\"sidebar_footer\"\n >\n {isSidebarOpen ? (\n <Box className={classes.openToggleContainer}>\n <Tooltip title=\"Collapse\" className={classes.collapseTooltip}>\n <div className={classNames(classes.rtSidebarFooterActions, orientation)}>\n <IconButton\n data-testid=\"sidebar_close_button\"\n onClick={onSidebarClosed}\n className={classes.actionButton}\n >\n {orientation === ORIENTATIONS.vertical ? (\n <RightIcon />\n ) : (\n <UpIcon className={classes.rtSidebarFooterIcon} />\n )}\n </IconButton>\n {orientation === ORIENTATIONS.horizontal && (\n <IconButton\n color=\"primary\"\n tooltipProps={{ title: 'Add' }}\n onClick={() => handleOpenCloseDialog(true)}\n className={classes.actionButton}\n >\n <PlusIcon />\n </IconButton>\n )}\n </div>\n </Tooltip>\n </Box>\n ) : (\n <Tooltip title=\"Expand\" className={classes.expandTooltip}>\n <div className={classNames(classes.rtSidebarFooterActions, orientation)}>\n <IconButton\n onClick={onSidebarOpened}\n data-testid=\"sidebar_open_button\"\n className={classNames(classes.closedButton, classes.actionButton)}\n >\n {orientation === ORIENTATIONS.vertical ? <LeftIcon /> : <DownIcon />}\n </IconButton>\n </div>\n </Tooltip>\n )}\n </div>\n );\n};\n\nexport default memo(SidebarFooter);\n"],"names":["useStyles","makeStyles","theme","button","fontSize","fontWeight","buttonIcon","marginRight","closedButton","marginBottom","zIndex","rtSidebarFooter","position","right","left","bottom","top","rtSidebarFooterIcon","color","palette","primary","text6","rtSidebarFooterActions","display","paddingRight","alignItems","height","width","padding","flexDirection","actionButton","openToggleContainer","flex","justifyContent","collapseTooltip","marginTop","expandTooltip","memo","_ref","onSidebarOpened","onSidebarClosed","className","classes","useContext","RealTimeSidebarContext","isSidebarOpen","orientation","handleOpenCloseDialog","_jsx","classNames","children","Box","Tooltip","title","_jsxs","IconButton","onClick","ORIENTATIONS","vertical","RightIcon","UpIcon","horizontal","tooltipProps","Pl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ACTC,UAAWC,EAAQZ,aAAaoB,SAE/BJ,IAAgBW,EAAaC,SAC5BV,EAACW,EAAS,CAAA,GAEVX,EAACY,EAAM,CAACnB,UAAWC,EAAQzB,wBAG9B6B,IAAgBW,EAAaI,YAC5Bb,EAACO,EAAU,CACTrC,MAAM,UACN4C,aAAc,CAAET,MAAO,OACvBG,QAAS,WAAA,OAAMT,GAAsB,EAAM,EAC3CN,UAAWC,EAAQZ,aAAaoB,SAEhCF,EAACe,EAAQ,aAOrBf,EAACI,EAAO,CAACC,MAAM,SAASZ,UAAWC,EAAQN,cAAcc,SACvDF,EAAA,MAAA,CAAKP,UAAWQ,EAAWP,EAAQpB,uBAAwBwB,GAAaI,SACtEF,EAACO,EAAU,CACTC,QAASjB,EACT,cAAY,sBACZE,UAAWQ,EAAWP,EAAQlC,aAAckC,EAAQZ,cAAcoB,SAEjEJ,IAAgBW,EAAaC,SAAWV,EAACgB,EAAQ,CAAA,GAAMhB,EAACiB,EAAQ,WAO/E"}
@@ -1,2 +1,2 @@
1
- import o from"@babel/runtime/helpers/defineProperty";import n from"@babel/runtime/helpers/slicedToArray";import s from"@babel/runtime/helpers/objectWithoutProperties";import{useState as e,useRef as t,useCallback as i,useEffect as c,useMemo as r,cloneElement as p}from"react";import l from"classnames";import{debounce as a,isEmpty as u,omit as m,noop as d}from"lodash";import{Autocomplete as I}from"@material-ui/lab";import{Popper as h,Tooltip as j,Fade as v,Chip as f,TextField as b,InputAdornment as g,CircularProgress as C,MenuItem as O,Checkbox as P}from"@material-ui/core";import{AccessTime as A}from"@material-ui/icons";import S from"./components/Listbox.js";import y from"./components/Paper.js";import"./components/RecentSearches.js";import{jsx as x,jsxs as F,Fragment as G}from"react/jsx-runtime";import R from"./components/Groups.js";import L from"./components/SelectAllListItem.js";import{PaperContext as N}from"./context/index.js";import{useAutocompletOptions as k}from"./effects/useAutocompleteOptions.js";import T from"./styles.js";import{CloseSmallIcon as D}from"../../icons/iconParkIcons.js";import"../../icons/customIcons/icons/AddMessage.js";import"../../icons/customIcons/icons/DragOne.js";import"../../icons/customIcons/icons/Attention.js";import"../../icons/customIcons/icons/Collapse.js";import"../../icons/customIcons/icons/Dashboard.js";import"../../icons/customIcons/icons/Expand.js";import"../../icons/customIcons/icons/FolderClosed.js";import"../../icons/customIcons/icons/FolderClosedFilled.js";import"../../icons/customIcons/icons/FolderOpened.js";import"../../icons/customIcons/icons/GreaterOrEqual.js";import"../../icons/customIcons/icons/LessOrEqual.js";import"../../icons/customIcons/icons/Search.js";import"../../icons/customIcons/icons/SearchOne.js";import"../../icons/customIcons/icons/Wellhub.js";import"../../icons/customIcons/icons/MultiRuler.js";import"../../icons/customIcons/icons/Checkbox.js";import"../../icons/customIcons/icons/CheckboxChecked.js";import"../../icons/customIcons/icons/CheckboxIndeterminate.js";import"../../icons/customIcons/icons/Radio.js";import"../../icons/customIcons/icons/RadioChecked.js";import"../../icons/customIcons/icons/SimulFrac.js";import"../../icons/customIcons/icons/ZipperFrac.js";import"../../icons/customIcons/icons/CautionFilled.js";import"../../icons/customIcons/icons/InfoRounded.js";import"../../icons/customIcons/icons/FlameFilled.js";import"../../icons/customIcons/icons/MoreApp.js";import"../../icons/customIcons/icons/Pad.js";import"../../icons/customIcons/icons/DrilloutUnit.js";import"../../icons/customIcons/icons/FracFleet.js";import"../../icons/customIcons/icons/Global.js";import"../../icons/customIcons/icons/Program.js";import"../../icons/customIcons/icons/Rig.js";import"../../icons/customIcons/icons/Well.js";import"../../icons/customIcons/icons/Gap.js";import"../../icons/customIcons/icons/Pin.js";import"../../icons/customIcons/icons/CloseOneFilled.js";import"../../icons/customIcons/icons/AttentionFilled.js";import"../../icons/customIcons/icons/CheckOneFilled.js";import"../../icons/customIcons/icons/Archive.js";import"../../icons/customIcons/icons/ArchiveCancel.js";import"../../icons/customIcons/icons/Unarchive.js";import"../../icons/customIcons/icons/Archived.js";import"../../icons/customIcons/icons/InterventionUnit.js";import"../../icons/customIcons/icons/CloudDelete.js";import"../../icons/customIcons/icons/Lasso.js";import"../../icons/customIcons/icons/Radius.js";import"../../icons/customIcons/icons/ErrorOps.js";import"../../icons/customIcons/icons/DataTypeOps.js";import"../../icons/customIcons/icons/FalsePositiveOps.js";import"../../icons/customIcons/icons/CalibrationOps.js";import"../../icons/customIcons/icons/CriticalOps.js";import"../../icons/customIcons/icons/Company.js";import"../../icons/customIcons/icons/ArchiveOne.js";import"../../icons/customIcons/icons/ParseBotFusion.js";import"../../icons/customIcons/icons/Connect.js";import"../../icons/customIcons/icons/PuzzleOne.js";import"../../icons/customIcons/icons/Feed.js";import"../../icons/customIcons/icons/Prompt.js";import"../../icons/customIcons/icons/Companies.js";import"../../icons/customIcons/icons/ClipboardAi.js";import"../../icons/customIcons/icons/Key.js";import"../../icons/customIcons/icons/AtSignCrossed.js";import"../../icons/customIcons/icons/MappingManual.js";import"../../icons/customIcons/icons/Mapping.js";import"../../icons/customIcons/icons/Metrics.js";import"../../icons/customIcons/icons/Drops.js";import"../../icons/customIcons/icons/ClipboardSearch.js";import"../../icons/customIcons/icons/Template.js";import"../../icons/customIcons/icons/ClipboardMetrics.js";import"../../icons/customIcons/icons/ClipboardBuilder.js";import"../../icons/customIcons/icons/UnitConversion.js";import"../../icons/customIcons/icons/NPT.js";import"../../icons/customIcons/icons/GuidedFrac.js";import{MiddleTruncatedText as M}from"../MiddleTruncatedText/MiddleTruncatedText.js";import z from"../IconButton/index.js";var w=["AutocompleteProps","value","disableClearable","onChange","onInputChange","loading","options","optionSize","placeholder","onGroupChange","disabled","disableResetOnGroupChange","multiple","groups","GroupsComponent","recentSearchesMaxCount","dataStorageKey","RecentSearchesComponent","dataStorage","onInputReset","getOptionLabel","TextFieldProps","ListboxProps","onInputChangeCallback","renderCustomOption","isHiddenAllOption","isHiddenAllLabel","onOpen","selectedGroup","onGroupReset","onClose","popperProps","paperFooter","noOptionsText","ListboxComponent","isPrioritizedSelectedOptions","isOpenedFromParent","onFocus","InputProps","classes","popupIcon","shouldResetInputOnAutocompleteChange"],E=["popper","listbox","popupIndicator","popupIndicatorOpen","groupChip"],B=["InputProps","inputProps"],U=["input"],H=["classes","style"],K=["children","className"],W=["style"];function _(o,n){var s=Object.keys(o);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(o);n&&(e=e.filter((function(n){return Object.getOwnPropertyDescriptor(o,n).enumerable}))),s.push.apply(s,e)}return s}function q(n){for(var s=1;s<arguments.length;s++){var e=null!=arguments[s]?arguments[s]:{};s%2?_(Object(e),!0).forEach((function(s){o(n,s,e[s])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(e)):_(Object(e)).forEach((function(o){Object.defineProperty(n,o,Object.getOwnPropertyDescriptor(e,o))}))}return n}var V={},Z=function(R){var _=R.AutocompleteProps,Z=void 0===_?{}:_,J=R.value,Q=R.disableClearable,X=void 0!==Q&&Q,Y=R.onChange,$=R.onInputChange,oo=R.loading,no=void 0!==oo&&oo,so=R.options,eo=void 0===so?[]:so,to=R.optionSize,io=R.placeholder,co=void 0===io?"Search...":io,ro=R.onGroupChange,po=void 0===ro?function(){}:ro,lo=R.disabled,ao=void 0!==lo&&lo,uo=R.disableResetOnGroupChange,mo=R.multiple,Io=void 0!==mo&&mo,ho=R.groups,jo=void 0===ho?[]:ho,vo=R.GroupsComponent,fo=R.recentSearchesMaxCount,bo=void 0===fo?3:fo,go=R.dataStorageKey,Co=void 0===go?"Search:recentSearches":go,Oo=R.RecentSearchesComponent,Po=R.dataStorage,Ao=void 0===Po?sessionStorage:Po,So=R.onInputReset,yo=R.getOptionLabel,xo=void 0===yo?function(o){return o.label||""}:yo,Fo=R.TextFieldProps,Go=void 0===Fo?{endAdornment:null}:Fo,Ro=R.ListboxProps,Lo=R.onInputChangeCallback,No=void 0===Lo?function(){}:Lo,ko=R.renderCustomOption,To=R.isHiddenAllOption,Do=void 0!==To&&To,Mo=R.isHiddenAllLabel,zo=void 0!==Mo&&Mo,wo=R.onOpen,Eo=void 0===wo?d:wo,Bo=R.selectedGroup,Uo=R.onGroupReset,Ho=void 0===Uo?function(){}:Uo,Ko=R.onClose,Wo=void 0===Ko?function(){}:Ko,_o=R.popperProps,qo=void 0===_o?V:_o,Vo=R.paperFooter,Zo=R.noOptionsText,Jo=void 0===Zo?"No Options":Zo,Qo=R.ListboxComponent,Xo=void 0===Qo?S:Qo,Yo=R.isPrioritizedSelectedOptions,$o=void 0!==Yo&&Yo,on=R.isOpenedFromParent,nn=void 0===on?void 0:on,sn=R.onFocus,en=R.InputProps,tn=R.classes,cn=void 0===tn?{}:tn;R.popupIcon;var rn=R.shouldResetInputOnAutocompleteChange,pn=s(R,w),ln=e(""),an=n(ln,2),un=an[0],mn=an[1],dn=e(""),In=n(dn,2),hn=In[0],jn=In[1],vn=e(!1),fn=n(vn,2),bn=fn[0],gn=fn[1],Cn=e(!1),On=n(Cn,2),Pn=On[0],An=On[1],Sn=t(null),yn=t(null),xn=k({options:eo,value:J,groups:jo,selectedGroup:Bo,isPrioritizedSelectedOptions:$o}),Fn=xn.autocompleteOptions,Gn=xn.isGrouped,Rn=xn.handleAutocompleOptionsUpdate,Ln=T(),Nn=cn.popper,kn=cn.listbox,Tn=cn.popupIndicator,Dn=cn.popupIndicatorOpen,Mn=cn.groupChip,zn=s(cn,E),wn=q({popper:l(Ln.popper,Nn),listbox:l(Ln.listbox,kn),popupIndicator:l(Ln.popupIndicator,Tn),popupIndicatorOpen:l(Ln.popupIndicatorOpen,Dn)},zn),En=function(){mn(""),null==So||So()},Bn=i(a((function(o){return jn(o)}),500),[]),Un=function(o){var n=jo.find((function(n){return n.id===o}));uo||En(),po(n)},Hn=function(o){un.length||Io&&"ArrowLeft"===o.code&&o.stopPropagation()};c((function(){var o,n;bn&&(null===(o=Sn.current)||void 0===o||o.focus(),null===(n=Sn.current)||void 0===n||n.setSelectionRange(un.length,un.length))}));var Kn=Io&&Array.isArray(J)?J.length:null,Wn=Io&&(null==Fn?void 0:Fn.length)===Kn,_n=Io&&!!Kn&&!Wn,qn=function(){return En(),Z.getOptionDisabled&&Wn?Y(null,[eo[eo.length-1]]):Y(null,Wn||_n?[]:Fn)};c((function(){Bn(un),$&&$(un)}),[un]);var Vn=function(o,n){var s,e=o;"blur"===n&&(!e.relatedTarget||(null===(s=yn.current)||void 0===s?void 0:s.contains(e.relatedTarget)))||(Wo(),gn(!1))},Zn=function(){(null!=nn?nn:bn)?(gn(!1),Wo()):(gn(!0),Eo())},Jn=function(o){if(Wn&&!Do&&!zo)return"All";var n=o[0].label||o[0].name||"";return 1===(null==o?void 0:o.length)?x("div",{children:x(M,{children:n})}):"".concat(null==o?void 0:o.length," Selected")},Qn=u(Fn),Xn=r((function(){return{onOutsideClick:Vn,isEmptyOptions:Qn,loading:no,AllSelectComponent:!Do&&Io&&!Qn&&x(L,{className:Ln.selectAllCheckbox,onClick:qn,someSelected:_n,allSelected:Wn}),RecentSearchesComponent:Oo&&x(Oo,{title:"Recent Searches",Icon:A,dataStorage:Ao,dataStorageKey:Co,maxCount:bo,isHidden:!u(un),onInputChange:function(o){return mn(o)},inputValue:hn}),GroupsComponent:!Bo&&Gn&&vo&&x(vo,{onGroupClick:Un,groups:jo})}}),[Bo,no,Gn,Qn,un,Do,Io,Qn,hn,Wo,Vn]),Yn=r((function(){return function(o){var n=o.children,e=o.className,t=s(o,K);return F(y,q(q({},t),{},{className:e,inputRef:Sn,ref:yn,children:[n,Vo]}))}}),[Vo]),$n=r((function(){return function(o){var n=qo.style,e=s(qo,W);return x(h,q(q({},o),{},{style:q(q({},o.style),n),placement:"bottom-start"},e))}}),[qo]);return x(N.Provider,{value:Xn,children:x(I,q(q({},m(pn,["InputProps","isNullable","isOpenedFromParent"])),{},{PopperComponent:$n,disableClearable:X,onOpen:function(o){Rn(),gn(!0),Eo(o)},onClose:Vn,open:null!=nn?nn:bn,onChange:function(o,n){Io&&!rn||mn(""),Y(o,n)},forcePopupIcon:Z.forcePopupIcon,fullWidth:!0,disabled:ao,value:J,classes:wn,renderInput:function(t){var i,c,r,a=e(!1),d=n(a,2),I=d[0],h=d[1],j=t.InputProps,v=t.inputProps,O=s(t,B),P=(null===(i=j.endAdornment)||void 0===i||null===(c=i.props)||void 0===c||null===(r=c.children)||void 0===r?void 0:r.length)>1?p(j.endAdornment,{children:j.endAdornment.props.children.slice(1),onMouseDown:function(o){return o.stopPropagation()},onMouseUp:function(o){return o.stopPropagation()}}):j.endAdornment,A=1===Kn,S=I||bn||un.length>0||!u(J)||!u(null==en?void 0:en.startAdornment),y=en||{},R=y.classes,L=(R=void 0===R?{}:R).input,N=void 0===L?"":L,k=s(R,U),T=y.style,M=s(y,H);return x(b,q(q(q({},O),m(Go,["endAdornment"])),{},{onBlur:function(){h(!1),A&&An(!0)},onFocus:function(){h(!0)},onKeyDown:Hn,inputRef:Sn,placeholder:co,classes:{root:Ln.searchInput},inputProps:q(q({style:{padding:5}},v),pn.inputProps),InputLabelProps:{shrink:S},InputProps:q(q(q({classes:q({input:l(Pn?Ln.inputShrinked:A&&Ln.inputExpanded,N)},k),style:q({paddingRight:0,paddingBottom:0},T)},j),M),{},{startAdornment:F(G,{children:[null==en?void 0:en.startAdornment,Bo&&x(f,{className:Ln.selectedGroup,"data-not-migrated-muichip":!0,variant:"outlined",label:F("div",{className:Ln.selectedGroupLabel,children:[Bo.name,x(D,{size:16,id:"removeGroupIcon",className:Ln.removeIcon,onClick:Ho})]})},Bo.id),Io&&!u(J)&&x("div",{onClick:Zn,id:"selectedOptions",className:l(Ln.selectedLabel,Pn&&Ln.selectedLabelExpanded),children:Jn(J)})]}),endAdornment:F(G,{children:[F(g,{className:l(Ln.endAdornment,o({},Ln.removeIconWithDropdown,Z.forcePopupIcon)),position:"end",children:[Go.endAdornment,no&&x(C,{color:"primary",size:20}),I&&un&&!X&&x(z,{"data-testid":"".concat("AutocompleteSearch","_clear_icon"),size:"small",className:Ln.iconButton,onClick:function(){mn(""),So&&So()},tooltipProps:{title:"Clear"},children:x(D,{size:20,className:Ln.closeIcon})})]}),Z.forcePopupIcon&&P]})})}))},loading:no,options:Fn,renderGroup:function(o){var n=o.key,s=o.group,e=o.children;return!s||!u(Bo)&&Io?e:F("div",{className:Ln.group,children:[x(j,{title:s,placement:"right",TransitionComponent:v,TransitionProps:{timeout:500},enterDelay:500,children:x(f,{"data-not-migrated-muichip":!0,className:l(Ln.groupChip,Mn),variant:"outlined",label:s})}),e]},n)},disableCloseOnSelect:Io,multiple:Io,renderOption:ko||function(o,n){var s=o.label,e=void 0===s?"":s,t=o.id;return Io?F("div",{className:l(Ln.option,to),"data-testid":"autocompleteOption_".concat(e,"MenuItem"),children:[x(P,{size:"small",disableRipple:!0,className:Ln.checkbox,checked:n.selected}),x(M,{className:Ln.optionLabelContainer,children:e})]},t):x(O,{className:Ln.menuItem,value:t,"data-testid":"autocompleteOption_".concat(e,"MenuItem"),children:x(M,{className:Ln.optionLabelContainer,children:e})},t)},groupBy:Gn?function(o){return o.group}:void 0,PaperComponent:Yn,ListboxComponent:Xo,inputValue:un,getOptionLabel:xo,getOptionDisabled:null==Z?void 0:Z.getOptionDisabled,onInputChange:function(o,n,s){mn(uo?function(o){return"reset"===s?o:n}:n),No(n,s)},loadingText:x("div",{className:Ln.label,children:"Loading ..."}),noOptionsText:x("div",{className:Ln.label,children:Jo}),ListboxProps:Ro,onFocus:function(){An(!1),null==sn||sn()}}))})};Z.Groups=R;export{Z as Search,Z as default};
1
+ import o from"@babel/runtime/helpers/defineProperty";import n from"@babel/runtime/helpers/slicedToArray";import s from"@babel/runtime/helpers/objectWithoutProperties";import{useState as e,useRef as t,useCallback as i,useEffect as c,useMemo as r,cloneElement as p}from"react";import l from"classnames";import{debounce as a,isEmpty as u,omit as m,noop as d}from"lodash";import{Autocomplete as I}from"@material-ui/lab";import{Popper as h,Tooltip as j,Fade as v,Chip as f,TextField as b,InputAdornment as g,CircularProgress as C,MenuItem as O,Checkbox as P}from"@material-ui/core";import{AccessTime as A}from"@material-ui/icons";import S from"./components/Listbox.js";import y from"./components/Paper.js";import"./components/RecentSearches.js";import{jsx as x,jsxs as F,Fragment as G}from"react/jsx-runtime";import R from"./components/Groups.js";import L from"./components/SelectAllListItem.js";import{PaperContext as N}from"./context/index.js";import{useAutocompletOptions as k}from"./effects/useAutocompleteOptions.js";import T from"./styles.js";import{CloseSmallIcon as D}from"../../icons/iconParkIcons.js";import"../../icons/customIcons/icons/AddMessage.js";import"../../icons/customIcons/icons/DragOne.js";import"../../icons/customIcons/icons/Attention.js";import"../../icons/customIcons/icons/Collapse.js";import"../../icons/customIcons/icons/Dashboard.js";import"../../icons/customIcons/icons/Expand.js";import"../../icons/customIcons/icons/FolderClosed.js";import"../../icons/customIcons/icons/FolderClosedFilled.js";import"../../icons/customIcons/icons/FolderOpened.js";import"../../icons/customIcons/icons/GreaterOrEqual.js";import"../../icons/customIcons/icons/LessOrEqual.js";import"../../icons/customIcons/icons/Search.js";import"../../icons/customIcons/icons/SearchOne.js";import"../../icons/customIcons/icons/Wellhub.js";import"../../icons/customIcons/icons/MultiRuler.js";import"../../icons/customIcons/icons/Checkbox.js";import"../../icons/customIcons/icons/CheckboxChecked.js";import"../../icons/customIcons/icons/CheckboxIndeterminate.js";import"../../icons/customIcons/icons/Radio.js";import"../../icons/customIcons/icons/RadioChecked.js";import"../../icons/customIcons/icons/SimulFrac.js";import"../../icons/customIcons/icons/ZipperFrac.js";import"../../icons/customIcons/icons/CautionFilled.js";import"../../icons/customIcons/icons/InfoRounded.js";import"../../icons/customIcons/icons/FlameFilled.js";import"../../icons/customIcons/icons/MoreApp.js";import"../../icons/customIcons/icons/Pad.js";import"../../icons/customIcons/icons/DrilloutUnit.js";import"../../icons/customIcons/icons/FracFleet.js";import"../../icons/customIcons/icons/Global.js";import"../../icons/customIcons/icons/Program.js";import"../../icons/customIcons/icons/Rig.js";import"../../icons/customIcons/icons/Well.js";import"../../icons/customIcons/icons/Gap.js";import"../../icons/customIcons/icons/Pin.js";import"../../icons/customIcons/icons/PinOne.js";import"../../icons/customIcons/icons/PinOneCrossed.js";import"../../icons/customIcons/icons/CloseOneFilled.js";import"../../icons/customIcons/icons/AttentionFilled.js";import"../../icons/customIcons/icons/CheckOneFilled.js";import"../../icons/customIcons/icons/Archive.js";import"../../icons/customIcons/icons/ArchiveCancel.js";import"../../icons/customIcons/icons/Unarchive.js";import"../../icons/customIcons/icons/Archived.js";import"../../icons/customIcons/icons/InterventionUnit.js";import"../../icons/customIcons/icons/CloudDelete.js";import"../../icons/customIcons/icons/Lasso.js";import"../../icons/customIcons/icons/Radius.js";import"../../icons/customIcons/icons/ErrorOps.js";import"../../icons/customIcons/icons/DataTypeOps.js";import"../../icons/customIcons/icons/FalsePositiveOps.js";import"../../icons/customIcons/icons/CalibrationOps.js";import"../../icons/customIcons/icons/CriticalOps.js";import"../../icons/customIcons/icons/Company.js";import"../../icons/customIcons/icons/ArchiveOne.js";import"../../icons/customIcons/icons/ParseBotFusion.js";import"../../icons/customIcons/icons/Connect.js";import"../../icons/customIcons/icons/PuzzleOne.js";import"../../icons/customIcons/icons/Feed.js";import"../../icons/customIcons/icons/Prompt.js";import"../../icons/customIcons/icons/Companies.js";import"../../icons/customIcons/icons/ClipboardAi.js";import"../../icons/customIcons/icons/Key.js";import"../../icons/customIcons/icons/AtSignCrossed.js";import"../../icons/customIcons/icons/MappingManual.js";import"../../icons/customIcons/icons/Mapping.js";import"../../icons/customIcons/icons/Metrics.js";import"../../icons/customIcons/icons/Drops.js";import"../../icons/customIcons/icons/ClipboardSearch.js";import"../../icons/customIcons/icons/Template.js";import"../../icons/customIcons/icons/ClipboardMetrics.js";import"../../icons/customIcons/icons/ClipboardBuilder.js";import"../../icons/customIcons/icons/UnitConversion.js";import"../../icons/customIcons/icons/NPT.js";import"../../icons/customIcons/icons/GuidedFrac.js";import{MiddleTruncatedText as M}from"../MiddleTruncatedText/MiddleTruncatedText.js";import z from"../IconButton/index.js";var w=["AutocompleteProps","value","disableClearable","onChange","onInputChange","loading","options","optionSize","placeholder","onGroupChange","disabled","disableResetOnGroupChange","multiple","groups","GroupsComponent","recentSearchesMaxCount","dataStorageKey","RecentSearchesComponent","dataStorage","onInputReset","getOptionLabel","TextFieldProps","ListboxProps","onInputChangeCallback","renderCustomOption","isHiddenAllOption","isHiddenAllLabel","onOpen","selectedGroup","onGroupReset","onClose","popperProps","paperFooter","noOptionsText","ListboxComponent","isPrioritizedSelectedOptions","isOpenedFromParent","onFocus","InputProps","classes","popupIcon","shouldResetInputOnAutocompleteChange"],E=["popper","listbox","popupIndicator","popupIndicatorOpen","groupChip"],B=["InputProps","inputProps"],U=["input"],H=["classes","style"],K=["children","className"],W=["style"];function _(o,n){var s=Object.keys(o);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(o);n&&(e=e.filter((function(n){return Object.getOwnPropertyDescriptor(o,n).enumerable}))),s.push.apply(s,e)}return s}function q(n){for(var s=1;s<arguments.length;s++){var e=null!=arguments[s]?arguments[s]:{};s%2?_(Object(e),!0).forEach((function(s){o(n,s,e[s])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(e)):_(Object(e)).forEach((function(o){Object.defineProperty(n,o,Object.getOwnPropertyDescriptor(e,o))}))}return n}var V={},Z=function(R){var _=R.AutocompleteProps,Z=void 0===_?{}:_,J=R.value,Q=R.disableClearable,X=void 0!==Q&&Q,Y=R.onChange,$=R.onInputChange,oo=R.loading,no=void 0!==oo&&oo,so=R.options,eo=void 0===so?[]:so,to=R.optionSize,io=R.placeholder,co=void 0===io?"Search...":io,ro=R.onGroupChange,po=void 0===ro?function(){}:ro,lo=R.disabled,ao=void 0!==lo&&lo,uo=R.disableResetOnGroupChange,mo=R.multiple,Io=void 0!==mo&&mo,ho=R.groups,jo=void 0===ho?[]:ho,vo=R.GroupsComponent,fo=R.recentSearchesMaxCount,bo=void 0===fo?3:fo,go=R.dataStorageKey,Co=void 0===go?"Search:recentSearches":go,Oo=R.RecentSearchesComponent,Po=R.dataStorage,Ao=void 0===Po?sessionStorage:Po,So=R.onInputReset,yo=R.getOptionLabel,xo=void 0===yo?function(o){return o.label||""}:yo,Fo=R.TextFieldProps,Go=void 0===Fo?{endAdornment:null}:Fo,Ro=R.ListboxProps,Lo=R.onInputChangeCallback,No=void 0===Lo?function(){}:Lo,ko=R.renderCustomOption,To=R.isHiddenAllOption,Do=void 0!==To&&To,Mo=R.isHiddenAllLabel,zo=void 0!==Mo&&Mo,wo=R.onOpen,Eo=void 0===wo?d:wo,Bo=R.selectedGroup,Uo=R.onGroupReset,Ho=void 0===Uo?function(){}:Uo,Ko=R.onClose,Wo=void 0===Ko?function(){}:Ko,_o=R.popperProps,qo=void 0===_o?V:_o,Vo=R.paperFooter,Zo=R.noOptionsText,Jo=void 0===Zo?"No Options":Zo,Qo=R.ListboxComponent,Xo=void 0===Qo?S:Qo,Yo=R.isPrioritizedSelectedOptions,$o=void 0!==Yo&&Yo,on=R.isOpenedFromParent,nn=void 0===on?void 0:on,sn=R.onFocus,en=R.InputProps,tn=R.classes,cn=void 0===tn?{}:tn;R.popupIcon;var rn=R.shouldResetInputOnAutocompleteChange,pn=s(R,w),ln=e(""),an=n(ln,2),un=an[0],mn=an[1],dn=e(""),In=n(dn,2),hn=In[0],jn=In[1],vn=e(!1),fn=n(vn,2),bn=fn[0],gn=fn[1],Cn=e(!1),On=n(Cn,2),Pn=On[0],An=On[1],Sn=t(null),yn=t(null),xn=k({options:eo,value:J,groups:jo,selectedGroup:Bo,isPrioritizedSelectedOptions:$o}),Fn=xn.autocompleteOptions,Gn=xn.isGrouped,Rn=xn.handleAutocompleOptionsUpdate,Ln=T(),Nn=cn.popper,kn=cn.listbox,Tn=cn.popupIndicator,Dn=cn.popupIndicatorOpen,Mn=cn.groupChip,zn=s(cn,E),wn=q({popper:l(Ln.popper,Nn),listbox:l(Ln.listbox,kn),popupIndicator:l(Ln.popupIndicator,Tn),popupIndicatorOpen:l(Ln.popupIndicatorOpen,Dn)},zn),En=function(){mn(""),null==So||So()},Bn=i(a((function(o){return jn(o)}),500),[]),Un=function(o){var n=jo.find((function(n){return n.id===o}));uo||En(),po(n)},Hn=function(o){un.length||Io&&"ArrowLeft"===o.code&&o.stopPropagation()};c((function(){var o,n;bn&&(null===(o=Sn.current)||void 0===o||o.focus(),null===(n=Sn.current)||void 0===n||n.setSelectionRange(un.length,un.length))}));var Kn=Io&&Array.isArray(J)?J.length:null,Wn=Io&&(null==Fn?void 0:Fn.length)===Kn,_n=Io&&!!Kn&&!Wn,qn=function(){return En(),Z.getOptionDisabled&&Wn?Y(null,[eo[eo.length-1]]):Y(null,Wn||_n?[]:Fn)};c((function(){Bn(un),$&&$(un)}),[un]);var Vn=function(o,n){var s,e=o;"blur"===n&&(!e.relatedTarget||(null===(s=yn.current)||void 0===s?void 0:s.contains(e.relatedTarget)))||(Wo(),gn(!1))},Zn=function(){(null!=nn?nn:bn)?(gn(!1),Wo()):(gn(!0),Eo())},Jn=function(o){if(Wn&&!Do&&!zo)return"All";var n=o[0].label||o[0].name||"";return 1===(null==o?void 0:o.length)?x("div",{children:x(M,{children:n})}):"".concat(null==o?void 0:o.length," Selected")},Qn=u(Fn),Xn=r((function(){return{onOutsideClick:Vn,isEmptyOptions:Qn,loading:no,AllSelectComponent:!Do&&Io&&!Qn&&x(L,{className:Ln.selectAllCheckbox,onClick:qn,someSelected:_n,allSelected:Wn}),RecentSearchesComponent:Oo&&x(Oo,{title:"Recent Searches",Icon:A,dataStorage:Ao,dataStorageKey:Co,maxCount:bo,isHidden:!u(un),onInputChange:function(o){return mn(o)},inputValue:hn}),GroupsComponent:!Bo&&Gn&&vo&&x(vo,{onGroupClick:Un,groups:jo})}}),[Bo,no,Gn,Qn,un,Do,Io,Qn,hn,Wo,Vn]),Yn=r((function(){return function(o){var n=o.children,e=o.className,t=s(o,K);return F(y,q(q({},t),{},{className:e,inputRef:Sn,ref:yn,children:[n,Vo]}))}}),[Vo]),$n=r((function(){return function(o){var n=qo.style,e=s(qo,W);return x(h,q(q({},o),{},{style:q(q({},o.style),n),placement:"bottom-start"},e))}}),[qo]);return x(N.Provider,{value:Xn,children:x(I,q(q({},m(pn,["InputProps","isNullable","isOpenedFromParent"])),{},{PopperComponent:$n,disableClearable:X,onOpen:function(o){Rn(),gn(!0),Eo(o)},onClose:Vn,open:null!=nn?nn:bn,onChange:function(o,n){Io&&!rn||mn(""),Y(o,n)},forcePopupIcon:Z.forcePopupIcon,fullWidth:!0,disabled:ao,value:J,classes:wn,renderInput:function(t){var i,c,r,a=e(!1),d=n(a,2),I=d[0],h=d[1],j=t.InputProps,v=t.inputProps,O=s(t,B),P=(null===(i=j.endAdornment)||void 0===i||null===(c=i.props)||void 0===c||null===(r=c.children)||void 0===r?void 0:r.length)>1?p(j.endAdornment,{children:j.endAdornment.props.children.slice(1),onMouseDown:function(o){return o.stopPropagation()},onMouseUp:function(o){return o.stopPropagation()}}):j.endAdornment,A=1===Kn,S=I||bn||un.length>0||!u(J)||!u(null==en?void 0:en.startAdornment),y=en||{},R=y.classes,L=(R=void 0===R?{}:R).input,N=void 0===L?"":L,k=s(R,U),T=y.style,M=s(y,H);return x(b,q(q(q({},O),m(Go,["endAdornment"])),{},{onBlur:function(){h(!1),A&&An(!0)},onFocus:function(){h(!0)},onKeyDown:Hn,inputRef:Sn,placeholder:co,classes:{root:Ln.searchInput},inputProps:q(q({style:{padding:5}},v),pn.inputProps),InputLabelProps:{shrink:S},InputProps:q(q(q({classes:q({input:l(Pn?Ln.inputShrinked:A&&Ln.inputExpanded,N)},k),style:q({paddingRight:0,paddingBottom:0},T)},j),M),{},{startAdornment:F(G,{children:[null==en?void 0:en.startAdornment,Bo&&x(f,{className:Ln.selectedGroup,"data-not-migrated-muichip":!0,variant:"outlined",label:F("div",{className:Ln.selectedGroupLabel,children:[Bo.name,x(D,{size:16,id:"removeGroupIcon",className:Ln.removeIcon,onClick:Ho})]})},Bo.id),Io&&!u(J)&&x("div",{onClick:Zn,id:"selectedOptions",className:l(Ln.selectedLabel,Pn&&Ln.selectedLabelExpanded),children:Jn(J)})]}),endAdornment:F(G,{children:[F(g,{className:l(Ln.endAdornment,o({},Ln.removeIconWithDropdown,Z.forcePopupIcon)),position:"end",children:[Go.endAdornment,no&&x(C,{color:"primary",size:20}),I&&un&&!X&&x(z,{"data-testid":"".concat("AutocompleteSearch","_clear_icon"),size:"small",className:Ln.iconButton,onClick:function(){mn(""),So&&So()},tooltipProps:{title:"Clear"},children:x(D,{size:20,className:Ln.closeIcon})})]}),Z.forcePopupIcon&&P]})})}))},loading:no,options:Fn,renderGroup:function(o){var n=o.key,s=o.group,e=o.children;return!s||!u(Bo)&&Io?e:F("div",{className:Ln.group,children:[x(j,{title:s,placement:"right",TransitionComponent:v,TransitionProps:{timeout:500},enterDelay:500,children:x(f,{"data-not-migrated-muichip":!0,className:l(Ln.groupChip,Mn),variant:"outlined",label:s})}),e]},n)},disableCloseOnSelect:Io,multiple:Io,renderOption:ko||function(o,n){var s=o.label,e=void 0===s?"":s,t=o.id;return Io?F("div",{className:l(Ln.option,to),"data-testid":"autocompleteOption_".concat(e,"MenuItem"),children:[x(P,{size:"small",disableRipple:!0,className:Ln.checkbox,checked:n.selected}),x(M,{className:Ln.optionLabelContainer,children:e})]},t):x(O,{className:Ln.menuItem,value:t,"data-testid":"autocompleteOption_".concat(e,"MenuItem"),children:x(M,{className:Ln.optionLabelContainer,children:e})},t)},groupBy:Gn?function(o){return o.group}:void 0,PaperComponent:Yn,ListboxComponent:Xo,inputValue:un,getOptionLabel:xo,getOptionDisabled:null==Z?void 0:Z.getOptionDisabled,onInputChange:function(o,n,s){mn(uo?function(o){return"reset"===s?o:n}:n),No(n,s)},loadingText:x("div",{className:Ln.label,children:"Loading ..."}),noOptionsText:x("div",{className:Ln.label,children:Jo}),ListboxProps:Ro,onFocus:function(){An(!1),null==sn||sn()}}))})};Z.Groups=R;export{Z as Search,Z as default};
2
2
  //# sourceMappingURL=Search.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Search.js","sources":["../../../src/components/Search/Search.tsx"],"sourcesContent":["import {\n ChangeEvent,\n cloneElement,\n ComponentType,\n KeyboardEvent,\n MouseEventHandler,\n ReactNode,\n useCallback,\n useEffect,\n useMemo,\n useRef,\n useState,\n} from 'react';\nimport classNames from 'classnames';\nimport { debounce, isEmpty, noop, omit } from 'lodash';\nimport { Autocomplete, AutocompleteProps, AutocompleteRenderGroupParams } from '@material-ui/lab';\nimport {\n Checkbox,\n Chip,\n CircularProgress,\n Fade,\n InputAdornment,\n MenuItem,\n Popper,\n TextField,\n InputProps as MuiInputProps,\n Tooltip,\n} from '@material-ui/core';\nimport { AccessTime as TimeIcon } from '@material-ui/icons';\n\nimport { Groups, ListboxComponent as Listbox, Paper, SelectAllListItem } from './components';\nimport { PaperContext } from './context';\nimport { useAutocompletOptions } from './effects';\nimport useStyles from './styles';\n\nimport { CloseSmallIcon, DownOneIcon } from '~/icons';\nimport { MiddleTruncatedText } from '~/components/MiddleTruncatedText';\nimport IconButton from '~/components/IconButton';\n\nconst PAGE_NAME = 'AutocompleteSearch';\n\nconst initialPopperProps = {};\n\nconst ARROW_LEFT_KEY_CODE = 'ArrowLeft';\n\ntype SearchProps = {\n onChange: (event: ChangeEvent<{}>, selected: any | any[] | null) => void;\n value?: object | object[];\n options?: { label?: string; id: string; group?: string }[];\n AutocompleteProps?: {\n getOptionDisabled?: (option: any) => boolean;\n forcePopupIcon?: boolean;\n };\n allChecked?: boolean;\n TextFieldProps?: {\n label?: string;\n endAdornment?: ReactNode;\n };\n selectedGroup?: {\n name?: string;\n id?: string;\n };\n onGroupReset?: MouseEventHandler<HTMLSpanElement>;\n onClose?: () => void;\n disableClearable?: boolean;\n\n /**\n * MUI Autocomplete triggers onInputChange when startAdornment is changed (via selectedGroup update).\n * If disableResetOnGroupChange is true, we won't store a new value in onInputChange when the 'reason' is \"reset\".\n * Additionally, handleSelectedGroupChange won't trigger handleInputReset if disableResetOnGroupChange is true.\n */\n disableResetOnGroupChange?: boolean;\n onInputChange?: (value: string) => void;\n getOptionLabel?: (option: any) => string;\n onGroupChange?: (group?: { name?: string; id?: string }) => void;\n loading?: boolean;\n disabled?: boolean;\n multiple?: boolean;\n optionSize?: 'large';\n popupIcon?: ReactNode;\n InputProps?: Partial<MuiInputProps>;\n ListboxProps?: object;\n classes?: Partial<\n {\n popper: string;\n listbox: string;\n popupIndicator: string;\n popupIndicatorOpen: string;\n groupChip: string;\n } & Record<string, string>\n >;\n onInputChangeCallback?: (newInputValue: string, reason: string) => void;\n placeholder?: string;\n RecentSearchesComponent?: ComponentType<any>;\n ListboxComponent?: any;\n recentSearchesMaxCount?: number;\n dataStorageKey?: string;\n dataStorage?: object;\n\n groups?: { id: string; name: string }[];\n GroupsComponent?: ComponentType<{\n onGroupClick: (id: string) => void;\n groups: { id: string; name: string }[];\n }>;\n onOpen?: (e?: any) => void;\n renderCustomOption?: (option: any, state: any) => ReactNode;\n onInputReset?: () => void;\n isHiddenAllOption?: boolean;\n isHiddenAllLabel?: boolean;\n paperFooter?: ReactNode;\n isOpenedFromParent?: boolean;\n popperProps?: Partial<{ style: object }>;\n onFocus?: () => void;\n inputProps?: object;\n noOptionsText?: string;\n isPrioritizedSelectedOptions?: boolean;\n /**\n * There is a check if it is multiple search then we should keep input value on autocomplete change\n * But now there is another case, when we should reset input value on autocomplete change\n * This new prop allows to have both options\n */\n shouldResetInputOnAutocompleteChange?: boolean;\n} & Omit<\n AutocompleteProps<any, false, false, false>,\n | 'value'\n | 'onChange'\n | 'options'\n | 'onClose'\n | 'disableClearable'\n | 'onInputChange'\n | 'getOptionLabel'\n | 'loading'\n | 'disabled'\n | 'multiple'\n | 'popupIcon'\n | 'ListboxProps'\n | 'classes'\n | 'placeholder'\n | 'ListboxComponent'\n | 'onOpen'\n | 'onFocus'\n | 'inp'\n | 'noOptionsText'\n | 'renderInput'\n | 'PopperComponent'\n | 'open'\n | 'forcePopupIcon'\n | 'fullWidth'\n | 'renderGroup'\n | 'disableCloseOnSelect'\n | 'renderOption'\n | 'groupBy'\n | 'PaperComponent'\n | 'inputValue'\n | 'getOptionDisabled'\n | 'loadingText'\n | 'InputProps'\n | 'isNullable'\n>;\n\nexport const Search = ({\n AutocompleteProps = {},\n value,\n disableClearable = false,\n onChange,\n onInputChange,\n loading = false,\n options = [],\n optionSize,\n placeholder = 'Search...',\n onGroupChange = () => {},\n disabled = false,\n disableResetOnGroupChange,\n multiple = false,\n groups = [],\n GroupsComponent,\n recentSearchesMaxCount = 3,\n dataStorageKey = 'Search:recentSearches',\n RecentSearchesComponent,\n dataStorage = sessionStorage,\n onInputReset,\n getOptionLabel = (option: any) => option.label || '',\n TextFieldProps = { endAdornment: null },\n ListboxProps,\n onInputChangeCallback = () => {},\n renderCustomOption,\n isHiddenAllOption = false,\n isHiddenAllLabel = false,\n onOpen = noop,\n selectedGroup,\n onGroupReset = () => {},\n onClose = () => {},\n popperProps = initialPopperProps,\n paperFooter,\n noOptionsText = 'No Options',\n ListboxComponent = Listbox,\n isPrioritizedSelectedOptions = false,\n\n isOpenedFromParent = undefined,\n onFocus,\n InputProps,\n classes = {},\n popupIcon = <DownOneIcon theme=\"filled\" fill=\"#BDBDBD\" size={16} />,\n shouldResetInputOnAutocompleteChange,\n ...props\n}: SearchProps) => {\n const [inputValue, setInputValue] = useState('');\n const [debouncedInputValue, setDebouncedInputValue] = useState('');\n const [isOpened, setIsOpened] = useState(false);\n const [isSelectedLabelExpanded, setIsSelectedLabelExpanded] = useState(false);\n const inputRef = useRef<HTMLInputElement>(null);\n const paperRef = useRef<HTMLDivElement>(null);\n\n const { autocompleteOptions, isGrouped, handleAutocompleOptionsUpdate } = useAutocompletOptions({\n options,\n value,\n groups,\n selectedGroup,\n isPrioritizedSelectedOptions,\n });\n\n const styles = useStyles();\n\n const {\n popper,\n listbox,\n popupIndicator,\n popupIndicatorOpen,\n groupChip: groupChipClassName,\n ...restClasses\n } = classes;\n const autocompleteClasses = {\n popper: classNames(styles.popper, popper),\n listbox: classNames(styles.listbox, listbox),\n popupIndicator: classNames(styles.popupIndicator, popupIndicator),\n popupIndicatorOpen: classNames(styles.popupIndicatorOpen, popupIndicatorOpen),\n ...restClasses,\n };\n\n const groupBy = ({ group }: any) => group;\n\n const handleInputChange = (_event: ChangeEvent<{}>, newInputValue: string, reason: string) => {\n if (disableResetOnGroupChange)\n setInputValue(prevValue => (reason === 'reset' ? prevValue : newInputValue));\n else setInputValue(newInputValue);\n\n onInputChangeCallback(newInputValue, reason);\n };\n\n const handleInputReset = () => {\n setInputValue('');\n onInputReset?.();\n };\n\n const handleDebouncedInputChange = (inputValue: string) => setDebouncedInputValue(inputValue);\n\n const onDebouncedInputChange = useCallback(debounce(handleDebouncedInputChange, 500), []);\n\n const handleSelectedGroupChange = (selectedGroupId: string) => {\n const selectedGroup = groups.find(({ id }) => id === selectedGroupId);\n if (!disableResetOnGroupChange) handleInputReset();\n onGroupChange(selectedGroup);\n };\n\n const handleKeyDown = (event: KeyboardEvent<HTMLInputElement>) => {\n if (inputValue.length) return;\n\n // NOTE: MUI try to focus tags for multiple Autocomplete\n // need to stop event to prevent crash, as we render custom content in TextField\n if (multiple && event.code === ARROW_LEFT_KEY_CODE) {\n event.stopPropagation();\n }\n };\n\n useEffect(() => {\n if (isOpened) {\n inputRef.current?.focus();\n inputRef.current?.setSelectionRange(inputValue.length, inputValue.length);\n }\n });\n\n const valueLength = multiple && Array.isArray(value) ? value.length : null;\n\n const allSelected = multiple && autocompleteOptions?.length === valueLength;\n const someSelected = multiple && !!valueLength && !allSelected;\n\n const onAllSelectClick = () => {\n handleInputReset();\n if (AutocompleteProps.getOptionDisabled && allSelected)\n return onChange(null as unknown as ChangeEvent<{}>, [options[options.length - 1]]);\n\n return onChange(\n null as unknown as ChangeEvent<{}>,\n allSelected || someSelected ? [] : autocompleteOptions\n );\n };\n\n useEffect(() => {\n onDebouncedInputChange(inputValue);\n\n if (!onInputChange) return;\n\n onInputChange(inputValue);\n }, [inputValue]);\n\n const handleAutocompleteChange = (event: ChangeEvent<{}>, selected: any | any[]) => {\n if (!multiple || shouldResetInputOnAutocompleteChange) {\n setInputValue('');\n }\n onChange(event, selected);\n };\n\n const handleSearchOpen = (e: ChangeEvent<{}>) => {\n handleAutocompleOptionsUpdate();\n setIsOpened(true);\n onOpen(e);\n };\n\n const handleSearchClose = (evt: ChangeEvent<{}>, reason: string) => {\n const focusEvt = evt as unknown as React.FocusEvent<HTMLElement>;\n const focusingDropdownElement =\n reason === 'blur' &&\n (!focusEvt.relatedTarget || paperRef.current?.contains(focusEvt.relatedTarget));\n\n if (!focusingDropdownElement) {\n onClose();\n setIsOpened(false);\n }\n };\n\n const handleSelectedOptionClick = () => {\n if (isOpenedFromParent ?? isOpened) {\n setIsOpened(false);\n\n onClose();\n } else {\n setIsOpened(true);\n\n onOpen();\n }\n };\n\n const renderGroup = ({ key, group, children }: AutocompleteRenderGroupParams) => {\n if (!group || (!isEmpty(selectedGroup) && multiple)) {\n return children;\n }\n\n return (\n <div className={styles.group} key={key}>\n <Tooltip\n title={group}\n placement=\"right\"\n TransitionComponent={Fade}\n TransitionProps={{ timeout: 500 }}\n enterDelay={500}\n >\n <Chip\n data-not-migrated-muichip\n className={classNames(styles.groupChip, groupChipClassName)}\n variant=\"outlined\"\n label={group}\n />\n </Tooltip>\n\n {children}\n </div>\n );\n };\n\n const getSelectedLabel = (value: any) => {\n if (allSelected && !isHiddenAllOption && !isHiddenAllLabel) return 'All';\n const label = value[0].label || value[0].name || '';\n\n return value?.length === 1 ? (\n <div>\n <MiddleTruncatedText>{label}</MiddleTruncatedText>\n </div>\n ) : (\n `${value?.length} Selected`\n );\n };\n\n const renderInput = (muiProps: any) => {\n // MUI Autocomplete invokes renderInput during its OWN render, so this state belongs to the\n // Autocomplete fiber. Hoisting it into Search re-targets the re-render and breaks the\n // ArrowUp/ArrowDown focus handoff between the input and the chips.\n // eslint-disable-next-line react-hooks/rules-of-hooks\n const [isFocused, setIsFocused] = useState(false);\n const { InputProps: mUIInputProps, inputProps: mUIinputProps, ...restMuiProps } = muiProps;\n const defaultEndAdornment =\n mUIInputProps.endAdornment?.props?.children?.length > 1\n ? cloneElement(mUIInputProps.endAdornment, {\n // remove clear button, popupIcon is left\n children: mUIInputProps.endAdornment.props.children.slice(1),\n onMouseDown: e => e.stopPropagation(),\n onMouseUp: e => e.stopPropagation(),\n })\n : mUIInputProps.endAdornment;\n\n const isNeedExpandInput = valueLength === 1;\n\n const isInputLabelShrink =\n isFocused ||\n isOpened ||\n inputValue.length > 0 ||\n !isEmpty(value) ||\n !isEmpty(InputProps?.startAdornment);\n\n const onInputBlur = () => {\n setIsFocused(false);\n if (isNeedExpandInput) {\n setIsSelectedLabelExpanded(true);\n }\n };\n\n const {\n classes: { input: inputClasses = '', ...restInputClasses } = {},\n style,\n ...restInputProps\n } = InputProps || {};\n\n return (\n <TextField\n {...restMuiProps}\n {...omit(TextFieldProps, ['endAdornment'])}\n onBlur={onInputBlur}\n onFocus={() => {\n setIsFocused(true);\n }}\n onKeyDown={handleKeyDown}\n inputRef={inputRef}\n placeholder={placeholder}\n classes={{ root: styles.searchInput }}\n inputProps={{ style: { padding: 5 }, ...mUIinputProps, ...props.inputProps }}\n InputLabelProps={{\n shrink: isInputLabelShrink,\n }}\n InputProps={{\n classes: {\n input: classNames(\n isSelectedLabelExpanded\n ? styles.inputShrinked\n : isNeedExpandInput && styles.inputExpanded,\n inputClasses\n ),\n ...restInputClasses,\n },\n style: { paddingRight: 0, paddingBottom: 0, ...style },\n ...mUIInputProps,\n ...restInputProps,\n startAdornment: (\n <>\n {InputProps?.startAdornment}\n {selectedGroup && (\n <Chip\n key={selectedGroup.id}\n className={styles.selectedGroup}\n data-not-migrated-muichip\n variant=\"outlined\"\n label={\n <div className={styles.selectedGroupLabel}>\n {selectedGroup.name}\n <CloseSmallIcon\n size={16}\n id=\"removeGroupIcon\"\n className={styles.removeIcon}\n onClick={onGroupReset}\n />\n </div>\n }\n />\n )}\n {multiple && !isEmpty(value) && (\n <div\n onClick={handleSelectedOptionClick}\n id=\"selectedOptions\"\n className={classNames(\n styles.selectedLabel,\n isSelectedLabelExpanded && styles.selectedLabelExpanded\n )}\n >\n {getSelectedLabel(value)}\n </div>\n )}\n </>\n ),\n endAdornment: (\n <>\n <InputAdornment\n className={classNames(styles.endAdornment, {\n [styles.removeIconWithDropdown]: AutocompleteProps.forcePopupIcon,\n })}\n position=\"end\"\n >\n {TextFieldProps.endAdornment}\n {loading && <CircularProgress color=\"primary\" size={20} />}\n {isFocused && inputValue && !disableClearable && (\n <IconButton\n data-testid={`${PAGE_NAME}_clear_icon`}\n size=\"small\"\n className={styles.iconButton}\n onClick={() => {\n setInputValue('');\n if (onInputReset) {\n onInputReset();\n }\n }}\n tooltipProps={{ title: 'Clear' }}\n >\n <CloseSmallIcon size={20} className={styles.closeIcon} />\n </IconButton>\n )}\n </InputAdornment>\n {AutocompleteProps.forcePopupIcon && defaultEndAdornment}\n </>\n ),\n }}\n />\n );\n };\n\n const renderOption = (option: any, state: any) => {\n const { label = '', id } = option;\n if (!multiple)\n return (\n <MenuItem\n className={styles.menuItem}\n key={id}\n value={id}\n data-testid={`autocompleteOption_${label}MenuItem`}\n >\n <MiddleTruncatedText className={styles.optionLabelContainer}>{label}</MiddleTruncatedText>\n </MenuItem>\n );\n return (\n <div\n className={classNames(styles.option, optionSize)}\n key={id}\n data-testid={`autocompleteOption_${label}MenuItem`}\n >\n <Checkbox size=\"small\" disableRipple className={styles.checkbox} checked={state.selected} />\n <MiddleTruncatedText className={styles.optionLabelContainer}>{label}</MiddleTruncatedText>\n </div>\n );\n };\n\n const isEmptyOptions = isEmpty(autocompleteOptions);\n const paperContext = useMemo(\n () => ({\n onOutsideClick: handleSearchClose,\n isEmptyOptions,\n loading,\n AllSelectComponent: !isHiddenAllOption && multiple && !isEmptyOptions && (\n <SelectAllListItem\n className={styles.selectAllCheckbox}\n onClick={onAllSelectClick}\n someSelected={someSelected}\n allSelected={allSelected}\n />\n ),\n RecentSearchesComponent: RecentSearchesComponent && (\n <RecentSearchesComponent\n title=\"Recent Searches\"\n Icon={TimeIcon}\n dataStorage={dataStorage}\n dataStorageKey={dataStorageKey}\n maxCount={recentSearchesMaxCount}\n isHidden={!isEmpty(inputValue)}\n onInputChange={(value: any) => setInputValue(value)}\n inputValue={debouncedInputValue}\n />\n ),\n GroupsComponent: !selectedGroup && isGrouped && GroupsComponent && (\n <GroupsComponent onGroupClick={handleSelectedGroupChange} groups={groups} />\n ),\n }),\n [\n selectedGroup,\n loading,\n isGrouped,\n isEmptyOptions,\n inputValue,\n isHiddenAllOption,\n multiple,\n isEmptyOptions,\n debouncedInputValue,\n onClose,\n handleSearchClose,\n ]\n );\n\n const PaperComponent = useMemo(\n () =>\n ({ children, className, ...paperProps }: any) =>\n (\n <Paper {...paperProps} className={className} inputRef={inputRef} ref={paperRef}>\n {children}\n {paperFooter}\n </Paper>\n ),\n [paperFooter]\n );\n\n const PopperComponent = useMemo(\n () => (props: any) => {\n const { style, ...restPopperProps } = popperProps;\n return (\n <Popper\n {...props}\n style={{ ...props.style, ...style }}\n placement=\"bottom-start\"\n {...restPopperProps}\n />\n );\n },\n [popperProps]\n );\n\n const handleRootFocus = () => {\n setIsSelectedLabelExpanded(false);\n onFocus?.();\n };\n\n return (\n <PaperContext.Provider value={paperContext}>\n <Autocomplete\n {...omit(props, ['InputProps', 'isNullable', 'isOpenedFromParent'])}\n PopperComponent={PopperComponent}\n disableClearable={disableClearable}\n onOpen={handleSearchOpen}\n onClose={handleSearchClose}\n open={isOpenedFromParent ?? isOpened}\n onChange={handleAutocompleteChange}\n forcePopupIcon={AutocompleteProps.forcePopupIcon}\n fullWidth\n disabled={disabled}\n value={value}\n classes={autocompleteClasses}\n renderInput={renderInput}\n loading={loading}\n options={autocompleteOptions}\n renderGroup={renderGroup}\n disableCloseOnSelect={multiple}\n multiple={multiple}\n renderOption={renderCustomOption || renderOption}\n groupBy={isGrouped ? groupBy : undefined}\n PaperComponent={PaperComponent}\n ListboxComponent={ListboxComponent}\n inputValue={inputValue}\n getOptionLabel={getOptionLabel}\n getOptionDisabled={AutocompleteProps?.getOptionDisabled}\n onInputChange={handleInputChange}\n loadingText={<div className={styles.label}>Loading ...</div>}\n noOptionsText={<div className={styles.label}>{noOptionsText}</div>}\n ListboxProps={ListboxProps}\n onFocus={handleRootFocus}\n />\n </PaperContext.Provider>\n );\n};\n\nSearch.Groups = Groups;\n\nexport default Search;\n"],"names":["initialPopperProps","Search","_ref","_ref$AutocompleteProp","AutocompleteProps","value","_ref$disableClearable","disableClearable","onChange","onInputChange","_ref$loading","loading","_ref$options","options","optionSize","_ref$placeholder","placeholder","_ref$onGroupChange","onGroupChange","_ref$disabled","disabled","disableResetOnGroupChange","_ref$multiple","multiple","_ref$groups","groups","GroupsComponent","_ref$recentSearchesMa","recentSearchesMaxCount","_ref$dataStorageKey","dataStorageKey","RecentSearchesComponent","_ref$dataStorage","dataStorage","sessionStorage","onInputReset","_ref$getOptionLabel","getOptionLabel","option","label","_ref$TextFieldProps","TextFieldProps","endAdornment","ListboxProps","_ref$onInputChangeCal","onInputChangeCallback","renderCustomOption","_ref$isHiddenAllOptio","isHiddenAllOption","_ref$isHiddenAllLabel","isHiddenAllLabel","_ref$onOpen","onOpen","noop","selectedGroup","_ref$onGroupReset","onGroupReset","_ref$onClose","onClose","_ref$popperProps","popperProps","paperFooter","_ref$noOptionsText","noOptionsText","_ref$ListboxComponent","ListboxComponent","Listbox","_ref$isPrioritizedSel","isPrioritizedSelectedOptions","_ref$isOpenedFromPare","isOpenedFromParent","undefined","onFocus","InputProps","_ref$classes","classes","popupIcon","shouldResetInputOnAutocompleteChange","props","_objectWithoutProperties","_excluded","useState","_useState2","_slicedToArray","_useState","inputValue","setInputValue","_useState4","_useState3","debouncedInputValue","setDebouncedInputValue","_useState6","_useState5","isOpened","setIsOpened","_useState8","_useState7","isSelectedLabelExpanded","setIsSelectedLabelExpanded","inputRef","useRef","paperRef","_useAutocompletOption","useAutocompletOptions","autocompleteOptions","isGrouped","handleAutocompleOptionsUpdate","styles","useStyles","popper","listbox","popupIndicator","popupIndicatorOpen","groupChipClassName","groupChip","restClasses","_excluded2","autocompleteClasses","_objectSpread","classNames","handleInputReset","onDebouncedInputChange","useCallback","debounce","handleSelectedGroupChange","selectedGroupId","find","_ref3","id","handleKeyDown","event","length","code","stopPropagation","useEffect","_inputRef$current","_inputRef$current2","current","focus","setSelectionRange","valueLength","Array","isArray","allSelected","someSelected","onAllSelectClick","getOptionDisabled","handleSearchClose","evt","reason","_paperRef$current","focusEvt","relatedTarget","contains","handleSelectedOptionClick","getSelectedLabel","name","_jsx","children","MiddleTruncatedText","concat","isEmptyOptions","isEmpty","paperContext","useMemo","onOutsideClick","AllSelectComponent","SelectAllListItem","className","selectAllCheckbox","onClick","title","Icon","TimeIcon","maxCount","isHidden","onGroupClick","PaperComponent","_ref6","paperProps","_excluded6","_jsxs","Paper","ref","PopperComponent","style","restPopperProps","_excluded7","Popper","placement","PaperContext","Provider","Autocomplete","omit","e","open","selected","forcePopupIcon","fullWidth","renderInput","muiProps","_mUIInputProps$endAdo","_mUIInputProps$endAdo2","_mUIInputProps$endAdo3","_useState10","_useState9","isFocused","setIsFocused","mUIInputProps","mUIinputProps","inputProps","restMuiProps","_excluded3","defaultEndAdornment","cloneElement","slice","onMouseDown","onMouseUp","isNeedExpandInput","isInputLabelShrink","startAdornment","_ref5$classes","_ref5","_ref5$classes$input","input","inputClasses","restInputClasses","_excluded4","restInputProps","_excluded5","TextField","onBlur","onKeyDown","root","searchInput","padding","InputLabelProps","shrink","inputShrinked","inputExpanded","paddingRight","paddingBottom","_Fragment","Chip","variant","selectedGroupLabel","CloseSmallIcon","size","removeIcon","selectedLabel","selectedLabelExpanded","InputAdornment","_defineProperty","removeIconWithDropdown","position","CircularProgress","color","IconButton","iconButton","tooltipProps","closeIcon","renderGroup","_ref4","key","group","Tooltip","TransitionComponent","Fade","TransitionProps","timeout","enterDelay","disableCloseOnSelect","renderOption","state","_option$label","Checkbox","disableRipple","checkbox","checked","optionLabelContainer","MenuItem","menuItem","groupBy","_ref2","_event","newInputValue","prevValue","loadingText","Groups"],"mappings":"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,UAuCJ,EAEAvE,EAAO+R,OAASA"}
1
+ {"version":3,"file":"Search.js","sources":["../../../src/components/Search/Search.tsx"],"sourcesContent":["import {\n ChangeEvent,\n cloneElement,\n ComponentType,\n KeyboardEvent,\n MouseEventHandler,\n ReactNode,\n useCallback,\n useEffect,\n useMemo,\n useRef,\n useState,\n} from 'react';\nimport classNames from 'classnames';\nimport { debounce, isEmpty, noop, omit } from 'lodash';\nimport { Autocomplete, AutocompleteProps, AutocompleteRenderGroupParams } from '@material-ui/lab';\nimport {\n Checkbox,\n Chip,\n CircularProgress,\n Fade,\n InputAdornment,\n MenuItem,\n Popper,\n TextField,\n InputProps as MuiInputProps,\n Tooltip,\n} from '@material-ui/core';\nimport { AccessTime as TimeIcon } from '@material-ui/icons';\n\nimport { Groups, ListboxComponent as Listbox, Paper, SelectAllListItem } from './components';\nimport { PaperContext } from './context';\nimport { useAutocompletOptions } from './effects';\nimport useStyles from './styles';\n\nimport { CloseSmallIcon, DownOneIcon } from '~/icons';\nimport { MiddleTruncatedText } from '~/components/MiddleTruncatedText';\nimport IconButton from '~/components/IconButton';\n\nconst PAGE_NAME = 'AutocompleteSearch';\n\nconst initialPopperProps = {};\n\nconst ARROW_LEFT_KEY_CODE = 'ArrowLeft';\n\ntype SearchProps = {\n onChange: (event: ChangeEvent<{}>, selected: any | any[] | null) => void;\n value?: object | object[];\n options?: { label?: string; id: string; group?: string }[];\n AutocompleteProps?: {\n getOptionDisabled?: (option: any) => boolean;\n forcePopupIcon?: boolean;\n };\n allChecked?: boolean;\n TextFieldProps?: {\n label?: string;\n endAdornment?: ReactNode;\n };\n selectedGroup?: {\n name?: string;\n id?: string;\n };\n onGroupReset?: MouseEventHandler<HTMLSpanElement>;\n onClose?: () => void;\n disableClearable?: boolean;\n\n /**\n * MUI Autocomplete triggers onInputChange when startAdornment is changed (via selectedGroup update).\n * If disableResetOnGroupChange is true, we won't store a new value in onInputChange when the 'reason' is \"reset\".\n * Additionally, handleSelectedGroupChange won't trigger handleInputReset if disableResetOnGroupChange is true.\n */\n disableResetOnGroupChange?: boolean;\n onInputChange?: (value: string) => void;\n getOptionLabel?: (option: any) => string;\n onGroupChange?: (group?: { name?: string; id?: string }) => void;\n loading?: boolean;\n disabled?: boolean;\n multiple?: boolean;\n optionSize?: 'large';\n popupIcon?: ReactNode;\n InputProps?: Partial<MuiInputProps>;\n ListboxProps?: object;\n classes?: Partial<\n {\n popper: string;\n listbox: string;\n popupIndicator: string;\n popupIndicatorOpen: string;\n groupChip: string;\n } & Record<string, string>\n >;\n onInputChangeCallback?: (newInputValue: string, reason: string) => void;\n placeholder?: string;\n RecentSearchesComponent?: ComponentType<any>;\n ListboxComponent?: any;\n recentSearchesMaxCount?: number;\n dataStorageKey?: string;\n dataStorage?: object;\n\n groups?: { id: string; name: string }[];\n GroupsComponent?: ComponentType<{\n onGroupClick: (id: string) => void;\n groups: { id: string; name: string }[];\n }>;\n onOpen?: (e?: any) => void;\n renderCustomOption?: (option: any, state: any) => ReactNode;\n onInputReset?: () => void;\n isHiddenAllOption?: boolean;\n isHiddenAllLabel?: boolean;\n paperFooter?: ReactNode;\n isOpenedFromParent?: boolean;\n popperProps?: Partial<{ style: object }>;\n onFocus?: () => void;\n inputProps?: object;\n noOptionsText?: string;\n isPrioritizedSelectedOptions?: boolean;\n /**\n * There is a check if it is multiple search then we should keep input value on autocomplete change\n * But now there is another case, when we should reset input value on autocomplete change\n * This new prop allows to have both options\n */\n shouldResetInputOnAutocompleteChange?: boolean;\n} & Omit<\n AutocompleteProps<any, false, false, false>,\n | 'value'\n | 'onChange'\n | 'options'\n | 'onClose'\n | 'disableClearable'\n | 'onInputChange'\n | 'getOptionLabel'\n | 'loading'\n | 'disabled'\n | 'multiple'\n | 'popupIcon'\n | 'ListboxProps'\n | 'classes'\n | 'placeholder'\n | 'ListboxComponent'\n | 'onOpen'\n | 'onFocus'\n | 'inp'\n | 'noOptionsText'\n | 'renderInput'\n | 'PopperComponent'\n | 'open'\n | 'forcePopupIcon'\n | 'fullWidth'\n | 'renderGroup'\n | 'disableCloseOnSelect'\n | 'renderOption'\n | 'groupBy'\n | 'PaperComponent'\n | 'inputValue'\n | 'getOptionDisabled'\n | 'loadingText'\n | 'InputProps'\n | 'isNullable'\n>;\n\nexport const Search = ({\n AutocompleteProps = {},\n value,\n disableClearable = false,\n onChange,\n onInputChange,\n loading = false,\n options = [],\n optionSize,\n placeholder = 'Search...',\n onGroupChange = () => {},\n disabled = false,\n disableResetOnGroupChange,\n multiple = false,\n groups = [],\n GroupsComponent,\n recentSearchesMaxCount = 3,\n dataStorageKey = 'Search:recentSearches',\n RecentSearchesComponent,\n dataStorage = sessionStorage,\n onInputReset,\n getOptionLabel = (option: any) => option.label || '',\n TextFieldProps = { endAdornment: null },\n ListboxProps,\n onInputChangeCallback = () => {},\n renderCustomOption,\n isHiddenAllOption = false,\n isHiddenAllLabel = false,\n onOpen = noop,\n selectedGroup,\n onGroupReset = () => {},\n onClose = () => {},\n popperProps = initialPopperProps,\n paperFooter,\n noOptionsText = 'No Options',\n ListboxComponent = Listbox,\n isPrioritizedSelectedOptions = false,\n\n isOpenedFromParent = undefined,\n onFocus,\n InputProps,\n classes = {},\n popupIcon = <DownOneIcon theme=\"filled\" fill=\"#BDBDBD\" size={16} />,\n shouldResetInputOnAutocompleteChange,\n ...props\n}: SearchProps) => {\n const [inputValue, setInputValue] = useState('');\n const [debouncedInputValue, setDebouncedInputValue] = useState('');\n const [isOpened, setIsOpened] = useState(false);\n const [isSelectedLabelExpanded, setIsSelectedLabelExpanded] = useState(false);\n const inputRef = useRef<HTMLInputElement>(null);\n const paperRef = useRef<HTMLDivElement>(null);\n\n const { autocompleteOptions, isGrouped, handleAutocompleOptionsUpdate } = useAutocompletOptions({\n options,\n value,\n groups,\n selectedGroup,\n isPrioritizedSelectedOptions,\n });\n\n const styles = useStyles();\n\n const {\n popper,\n listbox,\n popupIndicator,\n popupIndicatorOpen,\n groupChip: groupChipClassName,\n ...restClasses\n } = classes;\n const autocompleteClasses = {\n popper: classNames(styles.popper, popper),\n listbox: classNames(styles.listbox, listbox),\n popupIndicator: classNames(styles.popupIndicator, popupIndicator),\n popupIndicatorOpen: classNames(styles.popupIndicatorOpen, popupIndicatorOpen),\n ...restClasses,\n };\n\n const groupBy = ({ group }: any) => group;\n\n const handleInputChange = (_event: ChangeEvent<{}>, newInputValue: string, reason: string) => {\n if (disableResetOnGroupChange)\n setInputValue(prevValue => (reason === 'reset' ? prevValue : newInputValue));\n else setInputValue(newInputValue);\n\n onInputChangeCallback(newInputValue, reason);\n };\n\n const handleInputReset = () => {\n setInputValue('');\n onInputReset?.();\n };\n\n const handleDebouncedInputChange = (inputValue: string) => setDebouncedInputValue(inputValue);\n\n const onDebouncedInputChange = useCallback(debounce(handleDebouncedInputChange, 500), []);\n\n const handleSelectedGroupChange = (selectedGroupId: string) => {\n const selectedGroup = groups.find(({ id }) => id === selectedGroupId);\n if (!disableResetOnGroupChange) handleInputReset();\n onGroupChange(selectedGroup);\n };\n\n const handleKeyDown = (event: KeyboardEvent<HTMLInputElement>) => {\n if (inputValue.length) return;\n\n // NOTE: MUI try to focus tags for multiple Autocomplete\n // need to stop event to prevent crash, as we render custom content in TextField\n if (multiple && event.code === ARROW_LEFT_KEY_CODE) {\n event.stopPropagation();\n }\n };\n\n useEffect(() => {\n if (isOpened) {\n inputRef.current?.focus();\n inputRef.current?.setSelectionRange(inputValue.length, inputValue.length);\n }\n });\n\n const valueLength = multiple && Array.isArray(value) ? value.length : null;\n\n const allSelected = multiple && autocompleteOptions?.length === valueLength;\n const someSelected = multiple && !!valueLength && !allSelected;\n\n const onAllSelectClick = () => {\n handleInputReset();\n if (AutocompleteProps.getOptionDisabled && allSelected)\n return onChange(null as unknown as ChangeEvent<{}>, [options[options.length - 1]]);\n\n return onChange(\n null as unknown as ChangeEvent<{}>,\n allSelected || someSelected ? [] : autocompleteOptions\n );\n };\n\n useEffect(() => {\n onDebouncedInputChange(inputValue);\n\n if (!onInputChange) return;\n\n onInputChange(inputValue);\n }, [inputValue]);\n\n const handleAutocompleteChange = (event: ChangeEvent<{}>, selected: any | any[]) => {\n if (!multiple || shouldResetInputOnAutocompleteChange) {\n setInputValue('');\n }\n onChange(event, selected);\n };\n\n const handleSearchOpen = (e: ChangeEvent<{}>) => {\n handleAutocompleOptionsUpdate();\n setIsOpened(true);\n onOpen(e);\n };\n\n const handleSearchClose = (evt: ChangeEvent<{}>, reason: string) => {\n const focusEvt = evt as unknown as React.FocusEvent<HTMLElement>;\n const focusingDropdownElement =\n reason === 'blur' &&\n (!focusEvt.relatedTarget || paperRef.current?.contains(focusEvt.relatedTarget));\n\n if (!focusingDropdownElement) {\n onClose();\n setIsOpened(false);\n }\n };\n\n const handleSelectedOptionClick = () => {\n if (isOpenedFromParent ?? isOpened) {\n setIsOpened(false);\n\n onClose();\n } else {\n setIsOpened(true);\n\n onOpen();\n }\n };\n\n const renderGroup = ({ key, group, children }: AutocompleteRenderGroupParams) => {\n if (!group || (!isEmpty(selectedGroup) && multiple)) {\n return children;\n }\n\n return (\n <div className={styles.group} key={key}>\n <Tooltip\n title={group}\n placement=\"right\"\n TransitionComponent={Fade}\n TransitionProps={{ timeout: 500 }}\n enterDelay={500}\n >\n <Chip\n data-not-migrated-muichip\n className={classNames(styles.groupChip, groupChipClassName)}\n variant=\"outlined\"\n label={group}\n />\n </Tooltip>\n\n {children}\n </div>\n );\n };\n\n const getSelectedLabel = (value: any) => {\n if (allSelected && !isHiddenAllOption && !isHiddenAllLabel) return 'All';\n const label = value[0].label || value[0].name || '';\n\n return value?.length === 1 ? (\n <div>\n <MiddleTruncatedText>{label}</MiddleTruncatedText>\n </div>\n ) : (\n `${value?.length} Selected`\n );\n };\n\n const renderInput = (muiProps: any) => {\n // MUI Autocomplete invokes renderInput during its OWN render, so this state belongs to the\n // Autocomplete fiber. Hoisting it into Search re-targets the re-render and breaks the\n // ArrowUp/ArrowDown focus handoff between the input and the chips.\n // eslint-disable-next-line react-hooks/rules-of-hooks\n const [isFocused, setIsFocused] = useState(false);\n const { InputProps: mUIInputProps, inputProps: mUIinputProps, ...restMuiProps } = muiProps;\n const defaultEndAdornment =\n mUIInputProps.endAdornment?.props?.children?.length > 1\n ? cloneElement(mUIInputProps.endAdornment, {\n // remove clear button, popupIcon is left\n children: mUIInputProps.endAdornment.props.children.slice(1),\n onMouseDown: e => e.stopPropagation(),\n onMouseUp: e => e.stopPropagation(),\n })\n : mUIInputProps.endAdornment;\n\n const isNeedExpandInput = valueLength === 1;\n\n const isInputLabelShrink =\n isFocused ||\n isOpened ||\n inputValue.length > 0 ||\n !isEmpty(value) ||\n !isEmpty(InputProps?.startAdornment);\n\n const onInputBlur = () => {\n setIsFocused(false);\n if (isNeedExpandInput) {\n setIsSelectedLabelExpanded(true);\n }\n };\n\n const {\n classes: { input: inputClasses = '', ...restInputClasses } = {},\n style,\n ...restInputProps\n } = InputProps || {};\n\n return (\n <TextField\n {...restMuiProps}\n {...omit(TextFieldProps, ['endAdornment'])}\n onBlur={onInputBlur}\n onFocus={() => {\n setIsFocused(true);\n }}\n onKeyDown={handleKeyDown}\n inputRef={inputRef}\n placeholder={placeholder}\n classes={{ root: styles.searchInput }}\n inputProps={{ style: { padding: 5 }, ...mUIinputProps, ...props.inputProps }}\n InputLabelProps={{\n shrink: isInputLabelShrink,\n }}\n InputProps={{\n classes: {\n input: classNames(\n isSelectedLabelExpanded\n ? styles.inputShrinked\n : isNeedExpandInput && styles.inputExpanded,\n inputClasses\n ),\n ...restInputClasses,\n },\n style: { paddingRight: 0, paddingBottom: 0, ...style },\n ...mUIInputProps,\n ...restInputProps,\n startAdornment: (\n <>\n {InputProps?.startAdornment}\n {selectedGroup && (\n <Chip\n key={selectedGroup.id}\n className={styles.selectedGroup}\n data-not-migrated-muichip\n variant=\"outlined\"\n label={\n <div className={styles.selectedGroupLabel}>\n {selectedGroup.name}\n <CloseSmallIcon\n size={16}\n id=\"removeGroupIcon\"\n className={styles.removeIcon}\n onClick={onGroupReset}\n />\n </div>\n }\n />\n )}\n {multiple && !isEmpty(value) && (\n <div\n onClick={handleSelectedOptionClick}\n id=\"selectedOptions\"\n className={classNames(\n styles.selectedLabel,\n isSelectedLabelExpanded && styles.selectedLabelExpanded\n )}\n >\n {getSelectedLabel(value)}\n </div>\n )}\n </>\n ),\n endAdornment: (\n <>\n <InputAdornment\n className={classNames(styles.endAdornment, {\n [styles.removeIconWithDropdown]: AutocompleteProps.forcePopupIcon,\n })}\n position=\"end\"\n >\n {TextFieldProps.endAdornment}\n {loading && <CircularProgress color=\"primary\" size={20} />}\n {isFocused && inputValue && !disableClearable && (\n <IconButton\n data-testid={`${PAGE_NAME}_clear_icon`}\n size=\"small\"\n className={styles.iconButton}\n onClick={() => {\n setInputValue('');\n if (onInputReset) {\n onInputReset();\n }\n }}\n tooltipProps={{ title: 'Clear' }}\n >\n <CloseSmallIcon size={20} className={styles.closeIcon} />\n </IconButton>\n )}\n </InputAdornment>\n {AutocompleteProps.forcePopupIcon && defaultEndAdornment}\n </>\n ),\n }}\n />\n );\n };\n\n const renderOption = (option: any, state: any) => {\n const { label = '', id } = option;\n if (!multiple)\n return (\n <MenuItem\n className={styles.menuItem}\n key={id}\n value={id}\n data-testid={`autocompleteOption_${label}MenuItem`}\n >\n <MiddleTruncatedText className={styles.optionLabelContainer}>{label}</MiddleTruncatedText>\n </MenuItem>\n );\n return (\n <div\n className={classNames(styles.option, optionSize)}\n key={id}\n data-testid={`autocompleteOption_${label}MenuItem`}\n >\n <Checkbox size=\"small\" disableRipple className={styles.checkbox} checked={state.selected} />\n <MiddleTruncatedText className={styles.optionLabelContainer}>{label}</MiddleTruncatedText>\n </div>\n );\n };\n\n const isEmptyOptions = isEmpty(autocompleteOptions);\n const paperContext = useMemo(\n () => ({\n onOutsideClick: handleSearchClose,\n isEmptyOptions,\n loading,\n AllSelectComponent: !isHiddenAllOption && multiple && !isEmptyOptions && (\n <SelectAllListItem\n className={styles.selectAllCheckbox}\n onClick={onAllSelectClick}\n someSelected={someSelected}\n allSelected={allSelected}\n />\n ),\n RecentSearchesComponent: RecentSearchesComponent && (\n <RecentSearchesComponent\n title=\"Recent Searches\"\n Icon={TimeIcon}\n dataStorage={dataStorage}\n dataStorageKey={dataStorageKey}\n maxCount={recentSearchesMaxCount}\n isHidden={!isEmpty(inputValue)}\n onInputChange={(value: any) => setInputValue(value)}\n inputValue={debouncedInputValue}\n />\n ),\n GroupsComponent: !selectedGroup && isGrouped && GroupsComponent && (\n <GroupsComponent onGroupClick={handleSelectedGroupChange} groups={groups} />\n ),\n }),\n [\n selectedGroup,\n loading,\n isGrouped,\n isEmptyOptions,\n inputValue,\n isHiddenAllOption,\n multiple,\n isEmptyOptions,\n debouncedInputValue,\n onClose,\n handleSearchClose,\n ]\n );\n\n const PaperComponent = useMemo(\n () =>\n ({ children, className, ...paperProps }: any) =>\n (\n <Paper {...paperProps} className={className} inputRef={inputRef} ref={paperRef}>\n {children}\n {paperFooter}\n </Paper>\n ),\n [paperFooter]\n );\n\n const PopperComponent = useMemo(\n () => (props: any) => {\n const { style, ...restPopperProps } = popperProps;\n return (\n <Popper\n {...props}\n style={{ ...props.style, ...style }}\n placement=\"bottom-start\"\n {...restPopperProps}\n />\n );\n },\n [popperProps]\n );\n\n const handleRootFocus = () => {\n setIsSelectedLabelExpanded(false);\n onFocus?.();\n };\n\n return (\n <PaperContext.Provider value={paperContext}>\n <Autocomplete\n {...omit(props, ['InputProps', 'isNullable', 'isOpenedFromParent'])}\n PopperComponent={PopperComponent}\n disableClearable={disableClearable}\n onOpen={handleSearchOpen}\n onClose={handleSearchClose}\n open={isOpenedFromParent ?? isOpened}\n onChange={handleAutocompleteChange}\n forcePopupIcon={AutocompleteProps.forcePopupIcon}\n fullWidth\n disabled={disabled}\n value={value}\n classes={autocompleteClasses}\n renderInput={renderInput}\n loading={loading}\n options={autocompleteOptions}\n renderGroup={renderGroup}\n disableCloseOnSelect={multiple}\n multiple={multiple}\n renderOption={renderCustomOption || renderOption}\n groupBy={isGrouped ? groupBy : undefined}\n PaperComponent={PaperComponent}\n ListboxComponent={ListboxComponent}\n inputValue={inputValue}\n getOptionLabel={getOptionLabel}\n getOptionDisabled={AutocompleteProps?.getOptionDisabled}\n onInputChange={handleInputChange}\n loadingText={<div className={styles.label}>Loading ...</div>}\n noOptionsText={<div className={styles.label}>{noOptionsText}</div>}\n ListboxProps={ListboxProps}\n onFocus={handleRootFocus}\n />\n </PaperContext.Provider>\n );\n};\n\nSearch.Groups = Groups;\n\nexport default Search;\n"],"names":["initialPopperProps","Search","_ref","_ref$AutocompleteProp","AutocompleteProps","value","_ref$disableClearable","disableClearable","onChange","onInputChange","_ref$loading","loading","_ref$options","options","optionSize","_ref$placeholder","placeholder","_ref$onGroupChange","onGroupChange","_ref$disabled","disabled","disableResetOnGroupChange","_ref$multiple","multiple","_ref$groups","groups","GroupsComponent","_ref$recentSearchesMa","recentSearchesMaxCount","_ref$dataStorageKey","dataStorageKey","RecentSearchesComponent","_ref$dataStorage","dataStorage","sessionStorage","onInputReset","_ref$getOptionLabel","getOptionLabel","option","label","_ref$TextFieldProps","TextFieldProps","endAdornment","ListboxProps","_ref$onInputChangeCal","onInputChangeCallback","renderCustomOption","_ref$isHiddenAllOptio","isHiddenAllOption","_ref$isHiddenAllLabel","isHiddenAllLabel","_ref$onOpen","onOpen","noop","selectedGroup","_ref$onGroupReset","onGroupReset","_ref$onClose","onClose","_ref$popperProps","popperProps","paperFooter","_ref$noOptionsText","noOptionsText","_ref$ListboxComponent","ListboxComponent","Listbox","_ref$isPrioritizedSel","isPrioritizedSelectedOptions","_ref$isOpenedFromPare","isOpenedFromParent","undefined","onFocus","InputProps","_ref$classes","classes","popupIcon","shouldResetInputOnAutocompleteChange","props","_objectWithoutProperties","_excluded","useState","_useState2","_slicedToArray","_useState","inputValue","setInputValue","_useState4","_useState3","debouncedInputValue","setDebouncedInputValue","_useState6","_useState5","isOpened","setIsOpened","_useState8","_useState7","isSelectedLabelExpanded","setIsSelectedLabelExpanded","inputRef","useRef","paperRef","_useAutocompletOption","useAutocompletOptions","autocompleteOptions","isGrouped","handleAutocompleOptionsUpdate","styles","useStyles","popper","listbox","popupIndicator","popupIndicatorOpen","groupChipClassName","groupChip","restClasses","_excluded2","autocompleteClasses","_objectSpread","classNames","handleInputReset","onDebouncedInputChange","useCallback","debounce","handleSelectedGroupChange","selectedGroupId","find","_ref3","id","handleKeyDown","event","length","code","stopPropagation","useEffect","_inputRef$current","_inputRef$current2","current","focus","setSelectionRange","valueLength","Array","isArray","allSelected","someSelected","onAllSelectClick","getOptionDisabled","handleSearchClose","evt","reason","_paperRef$current","focusEvt","relatedTarget","contains","handleSelectedOptionClick","getSelectedLabel","name","_jsx","children","MiddleTruncatedText","concat","isEmptyOptions","isEmpty","paperContext","useMemo","onOutsideClick","AllSelectComponent","SelectAllListItem","className","selectAllCheckbox","onClick","title","Icon","TimeIcon","maxCount","isHidden","onGroupClick","PaperComponent","_ref6","paperProps","_excluded6","_jsxs","Paper","ref","PopperComponent","style","restPopperProps","_excluded7","Popper","placement","PaperContext","Provider","Autocomplete","omit","e","open","selected","forcePopupIcon","fullWidth","renderInput","muiProps","_mUIInputProps$endAdo","_mUIInputProps$endAdo2","_mUIInputProps$endAdo3","_useState10","_useState9","isFocused","setIsFocused","mUIInputProps","mUIinputProps","inputProps","restMuiProps","_excluded3","defaultEndAdornment","cloneElement","slice","onMouseDown","onMouseUp","isNeedExpandInput","isInputLabelShrink","startAdornment","_ref5$classes","_ref5","_ref5$classes$input","input","inputClasses","restInputClasses","_excluded4","restInputProps","_excluded5","TextField","onBlur","onKeyDown","root","searchInput","padding","InputLabelProps","shrink","inputShrinked","inputExpanded","paddingRight","paddingBottom","_Fragment","Chip","variant","selectedGroupLabel","CloseSmallIcon","size","removeIcon","selectedLabel","selectedLabelExpanded","InputAdornment","_defineProperty","removeIconWithDropdown","position","CircularProgress","color","IconButton","iconButton","tooltipProps","closeIcon","renderGroup","_ref4","key","group","Tooltip","TransitionComponent","Fade","TransitionProps","timeout","enterDelay","disableCloseOnSelect","renderOption","state","_option$label","Checkbox","disableRipple","checkbox","checked","optionLabelContainer","MenuItem","menuItem","groupBy","_ref2","_event","newInputValue","prevValue","loadingText","Groups"],"mappings":"05MAuCA,IAEMA,EAAqB,CAAA,EAuHdC,EAAS,SA6CHC,GAAA,IAAAC,EAAAD,EA5CjBE,kBAAAA,OAAiB,IAAAD,EAAG,CAAA,EAAEA,EACtBE,IAAAA,MAAKC,EAAAJ,EACLK,iBAAAA,cAAwBD,EACxBE,IAAAA,SACAC,IAAAA,cAAaC,GAAAR,EACbS,QAAAA,gBAAeD,GAAAE,GAAAV,EACfW,QAAAA,eAAU,GAAED,GACZE,KAAAA,WAAUC,GAAAb,EACVc,YAAAA,eAAc,YAAWD,GAAAE,GAAAf,EACzBgB,cAAAA,QAAa,IAAAD,GAAG,WAAM,EAAEA,GAAAE,GAAAjB,EACxBkB,SAAAA,gBAAgBD,GAChBE,KAAAA,0BAAyBC,GAAApB,EACzBqB,SAAAA,gBAAgBD,GAAAE,GAAAtB,EAChBuB,OAAAA,eAAS,GAAED,GACXE,KAAAA,gBAAeC,GAAAzB,EACf0B,uBAAAA,eAAyB,EAACD,GAAAE,GAAA3B,EAC1B4B,eAAAA,eAAiB,wBAAuBD,GACxCE,KAAAA,wBAAuBC,GAAA9B,EACvB+B,YAAAA,eAAcC,eAAcF,GAC5BG,KAAAA,aAAYC,GAAAlC,EACZmC,eAAAA,QAAc,IAAAD,GAAG,SAACE,GAAW,OAAKA,EAAOC,OAAS,EAAE,EAAAH,GAAAI,GAAAtC,EACpDuC,eAAAA,QAAiB,IAAAD,GAAA,CAAEE,aAAc,MAAMF,GACvCG,KAAAA,aAAYC,GAAA1C,EACZ2C,sBAAAA,QAAqB,IAAAD,GAAG,WAAM,EAAEA,GAChCE,KAAAA,mBAAkBC,GAAA7C,EAClB8C,kBAAAA,gBAAyBD,GAAAE,GAAA/C,EACzBgD,iBAAAA,gBAAwBD,GAAAE,GAAAjD,EACxBkD,OAAAA,eAAS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AAe8F,EAAA,MAAA,CAAKW,UAAW7D,GAAOpE,MAAMuH,SAAE/F,KAC9CpB,aAAcA,GACd6B,QArCkB,WACtB0B,IAA2B,GAC3B1B,UAAAA,UAuCJ,EAEAvE,EAAO+R,OAASA"}
@@ -1,2 +1,2 @@
1
- import o from"@babel/runtime/helpers/defineProperty";import{makeStyles as s,InputAdornment as c}from"@material-ui/core";import{LayersIcon as i}from"../../icons/iconParkIcons.js";import"../../icons/customIcons/icons/AddMessage.js";import"../../icons/customIcons/icons/DragOne.js";import"../../icons/customIcons/icons/Attention.js";import"../../icons/customIcons/icons/Collapse.js";import"../../icons/customIcons/icons/Dashboard.js";import"../../icons/customIcons/icons/Expand.js";import"../../icons/customIcons/icons/FolderClosed.js";import"../../icons/customIcons/icons/FolderClosedFilled.js";import"../../icons/customIcons/icons/FolderOpened.js";import"../../icons/customIcons/icons/GreaterOrEqual.js";import"../../icons/customIcons/icons/LessOrEqual.js";import"../../icons/customIcons/icons/Search.js";import"../../icons/customIcons/icons/SearchOne.js";import"../../icons/customIcons/icons/Wellhub.js";import"../../icons/customIcons/icons/MultiRuler.js";import"../../icons/customIcons/icons/Checkbox.js";import"../../icons/customIcons/icons/CheckboxChecked.js";import"../../icons/customIcons/icons/CheckboxIndeterminate.js";import"../../icons/customIcons/icons/Radio.js";import"../../icons/customIcons/icons/RadioChecked.js";import"../../icons/customIcons/icons/SimulFrac.js";import"../../icons/customIcons/icons/ZipperFrac.js";import"../../icons/customIcons/icons/CautionFilled.js";import"../../icons/customIcons/icons/InfoRounded.js";import"../../icons/customIcons/icons/FlameFilled.js";import"../../icons/customIcons/icons/MoreApp.js";import"../../icons/customIcons/icons/Pad.js";import"../../icons/customIcons/icons/DrilloutUnit.js";import"../../icons/customIcons/icons/FracFleet.js";import"../../icons/customIcons/icons/Global.js";import"../../icons/customIcons/icons/Program.js";import"../../icons/customIcons/icons/Rig.js";import"../../icons/customIcons/icons/Well.js";import"../../icons/customIcons/icons/Gap.js";import"../../icons/customIcons/icons/Pin.js";import"../../icons/customIcons/icons/CloseOneFilled.js";import"../../icons/customIcons/icons/AttentionFilled.js";import"../../icons/customIcons/icons/CheckOneFilled.js";import"../../icons/customIcons/icons/Archive.js";import"../../icons/customIcons/icons/ArchiveCancel.js";import"../../icons/customIcons/icons/Unarchive.js";import"../../icons/customIcons/icons/Archived.js";import"../../icons/customIcons/icons/InterventionUnit.js";import"../../icons/customIcons/icons/CloudDelete.js";import"../../icons/customIcons/icons/Lasso.js";import"../../icons/customIcons/icons/Radius.js";import"../../icons/customIcons/icons/ErrorOps.js";import"../../icons/customIcons/icons/DataTypeOps.js";import"../../icons/customIcons/icons/FalsePositiveOps.js";import"../../icons/customIcons/icons/CalibrationOps.js";import"../../icons/customIcons/icons/CriticalOps.js";import"../../icons/customIcons/icons/Company.js";import"../../icons/customIcons/icons/ArchiveOne.js";import"../../icons/customIcons/icons/ParseBotFusion.js";import"../../icons/customIcons/icons/Connect.js";import"../../icons/customIcons/icons/PuzzleOne.js";import"../../icons/customIcons/icons/Feed.js";import"../../icons/customIcons/icons/Prompt.js";import"../../icons/customIcons/icons/Companies.js";import"../../icons/customIcons/icons/ClipboardAi.js";import"../../icons/customIcons/icons/Key.js";import"../../icons/customIcons/icons/AtSignCrossed.js";import"../../icons/customIcons/icons/MappingManual.js";import"../../icons/customIcons/icons/Mapping.js";import"../../icons/customIcons/icons/Metrics.js";import"../../icons/customIcons/icons/Drops.js";import"../../icons/customIcons/icons/ClipboardSearch.js";import"../../icons/customIcons/icons/Template.js";import"../../icons/customIcons/icons/ClipboardMetrics.js";import"../../icons/customIcons/icons/ClipboardBuilder.js";import"../../icons/customIcons/icons/UnitConversion.js";import"../../icons/customIcons/icons/NPT.js";import"../../icons/customIcons/icons/GuidedFrac.js";import n from"./index.js";import{jsx as t}from"react/jsx-runtime";function r(o,s){var c=Object.keys(o);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(o);s&&(i=i.filter((function(s){return Object.getOwnPropertyDescriptor(o,s).enumerable}))),c.push.apply(c,i)}return c}var m=s((function(o){return{emptyItem:{color:o.palette.primary.text6},formControlRoot:{"&:hover":{"& .MuiFormLabel-root":{color:o.palette.primary.text6},"& .MuiFormLabel-root.Mui-focused":{color:o.palette.primary.main}},"& .MuiFormLabel-root":{color:o.palette.primary.text6},"& .MuiSelect-filled":{paddingLeft:0},"& .MuiSelect-select:focus":{backgroundColor:"transparent"},"& .MuiFilledInput-root":{backgroundColor:"#FFFFFF10","&:hover":{backgroundColor:"#FFFFFF20"},"&.Mui-disabled":{backgroundColor:"#FFFFFF10"}}}}})),e=function(s){var e=m();return t(n,function(s){for(var c=1;c<arguments.length;c++){var i=null!=arguments[c]?arguments[c]:{};c%2?r(Object(i),!0).forEach((function(c){o(s,c,i[c])})):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(i)):r(Object(i)).forEach((function(o){Object.defineProperty(s,o,Object.getOwnPropertyDescriptor(i,o))}))}return s}({disableUnderline:!0,displayEmpty:!0,FormControlProps:{variant:"filled",classes:{root:e.formControlRoot}},renderValue:function(o){return o||t("span",{className:e.emptyItem,children:"None"})},startAdornment:t(c,{position:"start",children:t(i,{size:16})})},s))};export{e as SelectFilterBy};
1
+ import o from"@babel/runtime/helpers/defineProperty";import{makeStyles as s,InputAdornment as c}from"@material-ui/core";import{LayersIcon as i}from"../../icons/iconParkIcons.js";import"../../icons/customIcons/icons/AddMessage.js";import"../../icons/customIcons/icons/DragOne.js";import"../../icons/customIcons/icons/Attention.js";import"../../icons/customIcons/icons/Collapse.js";import"../../icons/customIcons/icons/Dashboard.js";import"../../icons/customIcons/icons/Expand.js";import"../../icons/customIcons/icons/FolderClosed.js";import"../../icons/customIcons/icons/FolderClosedFilled.js";import"../../icons/customIcons/icons/FolderOpened.js";import"../../icons/customIcons/icons/GreaterOrEqual.js";import"../../icons/customIcons/icons/LessOrEqual.js";import"../../icons/customIcons/icons/Search.js";import"../../icons/customIcons/icons/SearchOne.js";import"../../icons/customIcons/icons/Wellhub.js";import"../../icons/customIcons/icons/MultiRuler.js";import"../../icons/customIcons/icons/Checkbox.js";import"../../icons/customIcons/icons/CheckboxChecked.js";import"../../icons/customIcons/icons/CheckboxIndeterminate.js";import"../../icons/customIcons/icons/Radio.js";import"../../icons/customIcons/icons/RadioChecked.js";import"../../icons/customIcons/icons/SimulFrac.js";import"../../icons/customIcons/icons/ZipperFrac.js";import"../../icons/customIcons/icons/CautionFilled.js";import"../../icons/customIcons/icons/InfoRounded.js";import"../../icons/customIcons/icons/FlameFilled.js";import"../../icons/customIcons/icons/MoreApp.js";import"../../icons/customIcons/icons/Pad.js";import"../../icons/customIcons/icons/DrilloutUnit.js";import"../../icons/customIcons/icons/FracFleet.js";import"../../icons/customIcons/icons/Global.js";import"../../icons/customIcons/icons/Program.js";import"../../icons/customIcons/icons/Rig.js";import"../../icons/customIcons/icons/Well.js";import"../../icons/customIcons/icons/Gap.js";import"../../icons/customIcons/icons/Pin.js";import"../../icons/customIcons/icons/PinOne.js";import"../../icons/customIcons/icons/PinOneCrossed.js";import"../../icons/customIcons/icons/CloseOneFilled.js";import"../../icons/customIcons/icons/AttentionFilled.js";import"../../icons/customIcons/icons/CheckOneFilled.js";import"../../icons/customIcons/icons/Archive.js";import"../../icons/customIcons/icons/ArchiveCancel.js";import"../../icons/customIcons/icons/Unarchive.js";import"../../icons/customIcons/icons/Archived.js";import"../../icons/customIcons/icons/InterventionUnit.js";import"../../icons/customIcons/icons/CloudDelete.js";import"../../icons/customIcons/icons/Lasso.js";import"../../icons/customIcons/icons/Radius.js";import"../../icons/customIcons/icons/ErrorOps.js";import"../../icons/customIcons/icons/DataTypeOps.js";import"../../icons/customIcons/icons/FalsePositiveOps.js";import"../../icons/customIcons/icons/CalibrationOps.js";import"../../icons/customIcons/icons/CriticalOps.js";import"../../icons/customIcons/icons/Company.js";import"../../icons/customIcons/icons/ArchiveOne.js";import"../../icons/customIcons/icons/ParseBotFusion.js";import"../../icons/customIcons/icons/Connect.js";import"../../icons/customIcons/icons/PuzzleOne.js";import"../../icons/customIcons/icons/Feed.js";import"../../icons/customIcons/icons/Prompt.js";import"../../icons/customIcons/icons/Companies.js";import"../../icons/customIcons/icons/ClipboardAi.js";import"../../icons/customIcons/icons/Key.js";import"../../icons/customIcons/icons/AtSignCrossed.js";import"../../icons/customIcons/icons/MappingManual.js";import"../../icons/customIcons/icons/Mapping.js";import"../../icons/customIcons/icons/Metrics.js";import"../../icons/customIcons/icons/Drops.js";import"../../icons/customIcons/icons/ClipboardSearch.js";import"../../icons/customIcons/icons/Template.js";import"../../icons/customIcons/icons/ClipboardMetrics.js";import"../../icons/customIcons/icons/ClipboardBuilder.js";import"../../icons/customIcons/icons/UnitConversion.js";import"../../icons/customIcons/icons/NPT.js";import"../../icons/customIcons/icons/GuidedFrac.js";import n from"./index.js";import{jsx as t}from"react/jsx-runtime";function r(o,s){var c=Object.keys(o);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(o);s&&(i=i.filter((function(s){return Object.getOwnPropertyDescriptor(o,s).enumerable}))),c.push.apply(c,i)}return c}var m=s((function(o){return{emptyItem:{color:o.palette.primary.text6},formControlRoot:{"&:hover":{"& .MuiFormLabel-root":{color:o.palette.primary.text6},"& .MuiFormLabel-root.Mui-focused":{color:o.palette.primary.main}},"& .MuiFormLabel-root":{color:o.palette.primary.text6},"& .MuiSelect-filled":{paddingLeft:0},"& .MuiSelect-select:focus":{backgroundColor:"transparent"},"& .MuiFilledInput-root":{backgroundColor:"#FFFFFF10","&:hover":{backgroundColor:"#FFFFFF20"},"&.Mui-disabled":{backgroundColor:"#FFFFFF10"}}}}})),e=function(s){var e=m();return t(n,function(s){for(var c=1;c<arguments.length;c++){var i=null!=arguments[c]?arguments[c]:{};c%2?r(Object(i),!0).forEach((function(c){o(s,c,i[c])})):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(i)):r(Object(i)).forEach((function(o){Object.defineProperty(s,o,Object.getOwnPropertyDescriptor(i,o))}))}return s}({disableUnderline:!0,displayEmpty:!0,FormControlProps:{variant:"filled",classes:{root:e.formControlRoot}},renderValue:function(o){return o||t("span",{className:e.emptyItem,children:"None"})},startAdornment:t(c,{position:"start",children:t(i,{size:16})})},s))};export{e as SelectFilterBy};
2
2
  //# sourceMappingURL=SelectFilterBy.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"SelectFilterBy.js","sources":["../../../src/components/Select/SelectFilterBy.tsx"],"sourcesContent":["import { InputAdornment, makeStyles } from '@material-ui/core';\nimport { LayersIcon } from '~/icons';\nimport Select from './index';\nimport { SelectProps } from './types';\n\nconst useStyles = makeStyles(theme => ({\n emptyItem: { color: theme.palette.primary.text6 },\n formControlRoot: {\n '&:hover': {\n '& .MuiFormLabel-root': { color: theme.palette.primary.text6 },\n '& .MuiFormLabel-root.Mui-focused': { color: theme.palette.primary.main },\n },\n '& .MuiFormLabel-root': { color: theme.palette.primary.text6 },\n '& .MuiSelect-filled': { paddingLeft: 0 },\n '& .MuiSelect-select:focus': { backgroundColor: 'transparent' },\n '& .MuiFilledInput-root': {\n backgroundColor: '#FFFFFF10',\n '&:hover': { backgroundColor: '#FFFFFF20' },\n '&.Mui-disabled': { backgroundColor: '#FFFFFF10' },\n },\n },\n}));\n\nexport const SelectFilterBy = <T extends unknown>(props: SelectProps<T>): JSX.Element => {\n const classes = useStyles();\n\n return (\n <Select\n disableUnderline\n displayEmpty\n FormControlProps={{\n variant: 'filled',\n classes: { root: classes.formControlRoot },\n }}\n renderValue={(value: any) =>\n value ? value : <span className={classes.emptyItem}>None</span>\n }\n startAdornment={\n <InputAdornment position=\"start\">\n <LayersIcon size={16} />\n </InputAdornment>\n }\n {...props}\n />\n );\n};\n"],"names":["useStyles","makeStyles","theme","emptyItem","color","palette","primary","text6","formControlRoot","main","paddingLeft","backgroundColor","SelectFilterBy","props","classes","_jsx","Select","_objectSpread","disableUnderline","displayEmpty","FormControlProps","variant","root","renderValue","value","className","children","startAdornment","InputAdornment","position","LayersIcon","size"],"mappings":"6oIAKA,IAAMA,EAAYC,GAAW,SAAAC,GAAK,MAAK,CACrCC,UAAW,CAAEC,MAAOF,EAAMG,QAAQC,QAAQC,OAC1CC,gBAAiB,CACf,UAAW,CACT,uBAAwB,CAAEJ,MAAOF,EAAMG,QAAQC,QAAQC,OACvD,mCAAoC,CAAEH,MAAOF,EAAMG,QAAQC,QAAQG,OAErE,uBAAwB,CAAEL,MAAOF,EAAMG,QAAQC,QAAQC,OACvD,sBAAuB,CAAEG,YAAa,GACtC,4BAA6B,CAAEC,gBAAiB,eAChD,yBAA0B,CACxBA,gBAAiB,YACjB,UAAW,CAAEA,gBAAiB,aAC9B,iBAAkB,CAAEA,gBAAiB,eAG1C,IAEYC,EAAiB,SAAoBC,GAChD,IAAMC,EAAUd,IAEhB,OACEe,EAACC,iWAAMC,CAAA,CACLC,kBAAgB,EAChBC,cAAY,EACZC,iBAAkB,CAChBC,QAAS,SACTP,QAAS,CAAEQ,KAAMR,EAAQN,kBAE3Be,YAAa,SAACC,GAAU,OACtBA,GAAgBT,EAAA,OAAA,CAAMU,UAAWX,EAAQX,UAAUuB,SAAA,QACpD,EACDC,eACEZ,EAACa,EAAc,CAACC,SAAS,QAAOH,SAC9BX,EAACe,EAAU,CAACC,KAAM,QAGlBlB,GAGV"}
1
+ {"version":3,"file":"SelectFilterBy.js","sources":["../../../src/components/Select/SelectFilterBy.tsx"],"sourcesContent":["import { InputAdornment, makeStyles } from '@material-ui/core';\nimport { LayersIcon } from '~/icons';\nimport Select from './index';\nimport { SelectProps } from './types';\n\nconst useStyles = makeStyles(theme => ({\n emptyItem: { color: theme.palette.primary.text6 },\n formControlRoot: {\n '&:hover': {\n '& .MuiFormLabel-root': { color: theme.palette.primary.text6 },\n '& .MuiFormLabel-root.Mui-focused': { color: theme.palette.primary.main },\n },\n '& .MuiFormLabel-root': { color: theme.palette.primary.text6 },\n '& .MuiSelect-filled': { paddingLeft: 0 },\n '& .MuiSelect-select:focus': { backgroundColor: 'transparent' },\n '& .MuiFilledInput-root': {\n backgroundColor: '#FFFFFF10',\n '&:hover': { backgroundColor: '#FFFFFF20' },\n '&.Mui-disabled': { backgroundColor: '#FFFFFF10' },\n },\n },\n}));\n\nexport const SelectFilterBy = <T extends unknown>(props: SelectProps<T>): JSX.Element => {\n const classes = useStyles();\n\n return (\n <Select\n disableUnderline\n displayEmpty\n FormControlProps={{\n variant: 'filled',\n classes: { root: classes.formControlRoot },\n }}\n renderValue={(value: any) =>\n value ? value : <span className={classes.emptyItem}>None</span>\n }\n startAdornment={\n <InputAdornment position=\"start\">\n <LayersIcon size={16} />\n </InputAdornment>\n }\n {...props}\n />\n );\n};\n"],"names":["useStyles","makeStyles","theme","emptyItem","color","palette","primary","text6","formControlRoot","main","paddingLeft","backgroundColor","SelectFilterBy","props","classes","_jsx","Select","_objectSpread","disableUnderline","displayEmpty","FormControlProps","variant","root","renderValue","value","className","children","startAdornment","InputAdornment","position","LayersIcon","size"],"mappings":"ovIAKA,IAAMA,EAAYC,GAAW,SAAAC,GAAK,MAAK,CACrCC,UAAW,CAAEC,MAAOF,EAAMG,QAAQC,QAAQC,OAC1CC,gBAAiB,CACf,UAAW,CACT,uBAAwB,CAAEJ,MAAOF,EAAMG,QAAQC,QAAQC,OACvD,mCAAoC,CAAEH,MAAOF,EAAMG,QAAQC,QAAQG,OAErE,uBAAwB,CAAEL,MAAOF,EAAMG,QAAQC,QAAQC,OACvD,sBAAuB,CAAEG,YAAa,GACtC,4BAA6B,CAAEC,gBAAiB,eAChD,yBAA0B,CACxBA,gBAAiB,YACjB,UAAW,CAAEA,gBAAiB,aAC9B,iBAAkB,CAAEA,gBAAiB,eAG1C,IAEYC,EAAiB,SAAoBC,GAChD,IAAMC,EAAUd,IAEhB,OACEe,EAACC,iWAAMC,CAAA,CACLC,kBAAgB,EAChBC,cAAY,EACZC,iBAAkB,CAChBC,QAAS,SACTP,QAAS,CAAEQ,KAAMR,EAAQN,kBAE3Be,YAAa,SAACC,GAAU,OACtBA,GAAgBT,EAAA,OAAA,CAAMU,UAAWX,EAAQX,UAAUuB,SAAA,QACpD,EACDC,eACEZ,EAACa,EAAc,CAACC,SAAS,QAAOH,SAC9BX,EAACe,EAAU,CAACC,KAAM,QAGlBlB,GAGV"}