@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
@@ -0,0 +1 @@
1
+ {"version":3,"file":"utils.js","sources":["../../../src/componentsV2/AppPanel/utils.ts"],"sourcesContent":["import {\n ComponentType,\n Dispatch,\n ReactNode,\n SetStateAction,\n useEffect,\n useMemo,\n useRef,\n useState,\n} from 'react';\nimport { isEqual } from 'lodash';\n\nimport { useAppCommonsInternal } from '../AppCommonsProvider';\nimport { AppSettings } from '../../types';\n\nimport { useAppPanelInternal } from './AppPanelsContext';\n\nexport const SettingsIdSymbol = Symbol('appSettingsPanel');\n\nexport const defaultWidth = 334;\nexport const settingsWidth = 296;\n\nexport const SettingsPinnedConfigKey = 'CorvaUI.internal.SettingsPinned' as const;\nexport const PanelsConfigKey = 'CorvaUI.internal.PanelsConfig' as const;\n\ntype SettingsConfig = Partial<{\n isPinned: boolean;\n}>;\n\n// Boolean for backwards compatibility with old Settings\ntype RawSettingsConfig = boolean | SettingsConfig;\n\ntype RelevantAppSettings = {\n [SettingsPinnedConfigKey]?: RawSettingsConfig;\n [PanelsConfigKey]?: Record<string, SettingsConfig>;\n};\n\nexport type PanelConfig = {\n component: ComponentType;\n width?: number;\n isPinnable?: boolean;\n isInitiallyPinned?: boolean;\n isExpandable?: boolean;\n placement?: 'start' | 'end';\n};\n\nexport type AppPanelConfigInternal = Record<\n string | symbol,\n PanelConfig & { additionalControls?: ReactNode }\n>;\n\nexport type AppPanelConfig = Record<string, PanelConfig>;\n\nexport type InternalPanelConfig = Omit<PanelConfig, 'width' | 'placement'> & {\n id: string | symbol;\n\n width: number;\n isOpen: boolean;\n isAnimated: boolean;\n // HTML Element that triggered popover open. Needed to properly close on click outside\n opener?: HTMLElement;\n\n isExpanded: boolean;\n isPinned: boolean;\n additionalControls?: ReactNode;\n\n placement: Required<PanelConfig>['placement'];\n};\n\nexport type State = Record<string | symbol, InternalPanelConfig>;\n\nconst getSavedState = ({ isPinned }: InternalPanelConfig): Required<SettingsConfig> => ({\n isPinned,\n});\n\nconst normalizeSettingsConfig = (config?: RawSettingsConfig): SettingsConfig =>\n typeof config === 'boolean' ? { isPinned: config } : { ...config };\n\nconst getConfigFromSettings = (id: string | symbol, settings: RelevantAppSettings) => {\n if (id === SettingsIdSymbol) {\n return normalizeSettingsConfig(settings[SettingsPinnedConfigKey]);\n }\n\n if (typeof id === 'string' && settings[PanelsConfigKey] && id in settings[PanelsConfigKey]) {\n return settings[PanelsConfigKey][id];\n }\n\n return normalizeSettingsConfig(undefined);\n};\n\nexport const useSaveStateToSettings = (state: State) => {\n const { onSettingsChange } = useAppCommonsInternal();\n\n const prevSettingsConfigRef = useRef<RelevantAppSettings>();\n\n const newState = useMemo(\n () =>\n Reflect.ownKeys(state).reduce<RelevantAppSettings>(\n (acc, key) =>\n typeof key === 'string'\n ? {\n ...acc,\n [PanelsConfigKey]: {\n ...acc[PanelsConfigKey],\n [key]: getSavedState(state[key]),\n },\n }\n : { ...acc, [SettingsPinnedConfigKey]: getSavedState(state[key]) },\n {}\n ),\n [state]\n );\n\n useEffect(() => {\n // Skip first run, save only when state actually changes\n if (prevSettingsConfigRef.current) {\n const isDifferent = !isEqual(newState, prevSettingsConfigRef.current);\n\n if (isDifferent) {\n onSettingsChange(newState);\n }\n }\n\n prevSettingsConfigRef.current = newState;\n }, [onSettingsChange, newState]);\n};\n\nconst convertToInternalConfig = (\n id: string | symbol,\n panel: PanelConfig,\n appSettings?: AppSettings,\n isInsideNewMobileApp?: boolean\n): InternalPanelConfig => {\n const { isInitiallyPinned } = panel;\n\n const { isPinned: settingsPinned } = getConfigFromSettings(id, appSettings || {});\n\n const initiallyPinnedState = isInitiallyPinned && settingsPinned === undefined;\n const settingsIsPinned = initiallyPinnedState || !!settingsPinned;\n const isPinned = settingsIsPinned && !!panel.component && !isInsideNewMobileApp;\n\n const widthWithDefault = panel.width || defaultWidth;\n\n return {\n ...panel,\n placement: panel.placement || 'end',\n id,\n isPinned,\n isOpen: false,\n isAnimated: false,\n width: id === SettingsIdSymbol ? settingsWidth : widthWithDefault,\n isExpanded: false,\n };\n};\n\nconst useUpdateState = (\n panels: AppPanelConfigInternal,\n setState: Dispatch<SetStateAction<State>>,\n appSettings?: AppSettings,\n isInsideNewMobileApp?: boolean\n) => {\n const prevPanelsRef = useRef(panels);\n\n useEffect(() => {\n if (panels !== prevPanelsRef.current && !isEqual(panels, prevPanelsRef.current)) {\n setState(prevState => {\n const entries = Reflect.ownKeys(panels).map(id => {\n const newConfig = convertToInternalConfig(\n id,\n panels[id],\n appSettings,\n isInsideNewMobileApp\n );\n const { isPinnable } = newConfig;\n const oldConfig = prevState[id] || newConfig;\n\n const newStateConfig: InternalPanelConfig = {\n ...oldConfig,\n ...panels[id],\n isPinned: isPinnable ? oldConfig.isPinned : false,\n };\n\n return [id, newStateConfig];\n });\n\n return Object.fromEntries(entries);\n });\n }\n\n prevPanelsRef.current = panels;\n }, [appSettings, isInsideNewMobileApp, panels, setState]);\n};\n\nexport const useInternalState = (panels: AppPanelConfigInternal) => {\n const { appSettings, isInsideNewMobileApp } = useAppCommonsInternal();\n\n const [internalState, setInternalState] = useState<State>(() =>\n Object.fromEntries(\n Reflect.ownKeys(panels).map(id => {\n return [id, convertToInternalConfig(id, panels[id], appSettings, isInsideNewMobileApp)];\n })\n )\n );\n\n useSaveStateToSettings(internalState);\n useUpdateState(panels, setInternalState, appSettings, isInsideNewMobileApp);\n\n return { internalState, setInternalState };\n};\n\nexport const getPublicState = ({\n isExpanded,\n isExpandable,\n onExpandClick,\n onPinClick,\n isPinned,\n isInitiallyPinned,\n width,\n isOpen,\n open,\n close,\n toggle,\n isToggleActive,\n isPinnable,\n additionalControls,\n}: ReturnType<typeof useAppPanelInternal>) => ({\n isExpanded,\n isExpandable,\n onExpandClick,\n onPinClick,\n isPinned,\n isInitiallyPinned,\n width,\n isOpen,\n open,\n close,\n toggle,\n isToggleActive,\n isPinnable,\n additionalControls,\n});\n"],"names":["SettingsIdSymbol","Symbol","defaultWidth","settingsWidth","SettingsPinnedConfigKey","PanelsConfigKey","getSavedState","_ref","isPinned","normalizeSettingsConfig","config","_objectSpread","useSaveStateToSettings","state","onSettingsChange","useAppCommonsInternal","prevSettingsConfigRef","useRef","newState","useMemo","Reflect","ownKeys","reduce","acc","key","_defineProperty","useEffect","current","isEqual","convertToInternalConfig","id","panel","appSettings","isInsideNewMobileApp","isInitiallyPinned","getConfigFromSettings","settings","undefined","settingsPinned","component","widthWithDefault","width","placement","isOpen","isAnimated","isExpanded","useInternalState","panels","_useAppCommonsInterna2","_useState","useState","Object","fromEntries","map","_useState2","_slicedToArray","internalState","setInternalState","setState","prevPanelsRef","prevState","entries","newConfig","isPinnable","oldConfig","useUpdateState","getPublicState","_ref2","isExpandable","onExpandClick","onPinClick","open","close","toggle","isToggleActive","additionalControls"],"mappings":"65BAiBaA,EAAmBC,OAAO,oBAE1BC,EAAe,IACfC,EAAgB,IAEhBC,EAA0B,kCAC1BC,EAAkB,gCAgDzBC,EAAgB,SAAHC,GAAc,MAAuD,CACtFC,WADuBA,SAExB,EAEKC,EAA0B,SAACC,GAA0B,MACvC,kBAAXA,EAAuB,CAAEF,SAAUE,GAAQC,EAAA,GAAQD,EAAQ,EAcvDE,EAAyB,SAACC,GACrC,IAAQC,EAAqBC,IAArBD,iBA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,KAAI,SAAAvB,GAC1B,MAAO,CAACA,EAAID,EAAwBC,EAAIiB,EAAOjB,GAAKE,EAAaC,GAClE,QAEJqB,EAAAC,EAAAN,EAAA,GANMO,EAAaF,EAAA,GAAEG,EAAgBH,EAAA,GAWtC,OAHA1C,EAAuB4C,GAjDF,SACrBT,EACAW,EACA1B,EACAC,GAEA,IAAM0B,EAAgB1C,EAAO8B,GAE7BrB,GAAU,WACJqB,IAAWY,EAAchC,SAAYC,EAAQmB,EAAQY,EAAchC,UACrE+B,GAAS,SAAAE,GACP,IAAMC,EAAUzC,QAAQC,QAAQ0B,GAAQM,KAAI,SAAAvB,GAC1C,IAAMgC,EAAYjC,EAChBC,EACAiB,EAAOjB,GACPE,EACAC,GAEM8B,EAAeD,EAAfC,WACFC,EAAYJ,EAAU9B,IAAOgC,EAQnC,MAAO,CAAChC,EALHkC,EAAAA,EAAAA,EAAAA,CAAAA,EAAAA,GACAjB,EAAOjB,IAAG,CAAA,EAAA,CACbtB,WAAUuD,GAAaC,EAAUxD,WAIrC,IAEA,OAAO2C,OAAOC,YAAYS,EAC5B,IAGFF,EAAchC,QAAUoB,CACzB,GAAE,CAACf,EAAaC,EAAsBc,EAAQW,GACjD,CAcEO,CAAelB,EAAQU,EAAkBzB,EAAaC,GAE/C,CAAEuB,cAAAA,EAAeC,iBAAAA,EAC1B,EAEaS,EAAiB,SAAHC,GAcP,MAC2B,CAC7CtB,aAfAA,WAgBAuB,eAfAA,aAgBAC,gBAfAA,cAgBAC,aAfAA,WAgBA9D,WAfAA,SAgBA0B,oBAfAA,kBAgBAO,QAfAA,MAgBAE,SAfAA,OAgBA4B,OAfAA,KAgBAC,QAfAA,MAgBAC,SAfAA,OAgBAC,iBAfAA,eAgBAX,aAfAA,WAgBAY,qBAfAA,mBAgBD"}
@@ -1,7 +1,2 @@
1
- import { CSSProperties } from 'react';
2
- export type AppSettingsProps = {
3
- onClose?: () => void;
4
- rootStyles?: CSSProperties;
5
- };
6
- export declare const AppSettings: import("react").ForwardRefExoticComponent<AppSettingsProps & import("react").RefAttributes<HTMLDivElement>>;
1
+ export declare const AppSettings: () => import("react/jsx-runtime").JSX.Element | null;
7
2
  //# sourceMappingURL=AppSettings.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"AppSettings.d.ts","sourceRoot":"","sources":["../../../src/componentsV2/AppSettings/AppSettings.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAA2C,MAAM,OAAO,CAAC;AAiB/E,MAAM,MAAM,gBAAgB,GAAG;IAC7B,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,UAAU,CAAC,EAAE,aAAa,CAAC;CAC5B,CAAC;AAEF,eAAO,MAAM,WAAW,6GAyGvB,CAAC"}
1
+ {"version":3,"file":"AppSettings.d.ts","sourceRoot":"","sources":["../../../src/componentsV2/AppSettings/AppSettings.tsx"],"names":[],"mappings":"AAaA,eAAO,MAAM,WAAW,sDAkFvB,CAAC"}
@@ -1,2 +1,2 @@
1
- import o from"@babel/runtime/helpers/slicedToArray";import{forwardRef as s,useState as n,useRef as c,useEffect as i}from"react";import{debounce as t}from"lodash";import r from"classnames";import{Text as m}from"../Text/Text.js";import{Tooltip as e}from"../Tooltip/Tooltip.js";import{ButtonIcon as p}from"../ButtonIcon/ButtonIcon.js";import u from"../../components/ErrorBoundary/ErrorBoundary.js";import l from"../../components/ErrorBoundary/DevCenterAppErrorView/DevCenterAppErrorView.js";import{useAppCommonsInternal as a}from"../AppCommonsProvider/AppCommonsContext.js";import{useAppSettingPinning as I}from"./AppSettingsPinningContext.js";import j from"./AppSettings.scss.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{Pin as C}from"../../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{AppSettingsTestIds as h}from"./AppSettings.constants.js";import{jsxs as g,jsx as v}from"react/jsx-runtime";var f=s((function(s,f){var A=s.rootStyles,F=s.onClose,S=a(),P=S.appSettings,b=S.currentUser,O=S.onSettingChange,B=S.onSettingsChange,E=S.layoutEnvironment,y=S.app,T=S.appData,k=S.appSettingsComponent,x=n(!1),D=o(x,2),M=D[0],U=D[1],N=c(null),R=I(),w=R.isPinned,z=R.onPinClick,G=R.showPinButton,q=R.additionalControls;return i((function(){if(N.current){var o=t((function(){requestAnimationFrame((function(){var o=N.current||{},s=o.clientHeight,n=void 0===s?0:s,c=o.scrollHeight;U(n<(void 0===c?0:c))}))}),200,{leading:!0}),s=new ResizeObserver(o);return N.current&&s.observe(N.current),function(){s.disconnect(),o.cancel()}}}),[]),k?g("div",{className:j.root,style:A,ref:f,children:[g("div",{className:j.header,children:[v(m,{size:16,weight:"medium",className:j.title,children:"Settings"}),q,G&&v(e,{title:w?"Unpin":"Pin",children:v(p,{size:"small",className:w?j.pinnedPinButton:void 0,onClick:z,testId:w?h.UnpinButtonTestId:h.PinButtonTestId,children:v(C,{})})}),v(e,{title:"Close Settings",children:v(p,{testId:h.CloseSettingsButtonTestId,size:"small",onClick:F,children:v(d,{})})})]}),v("div",{className:r(j.content,M&&j.scrollable),children:v("div",{className:j.contentInner,ref:N,children:v(u,{ErrorView:l,children:v(k,{app:y,appData:T,settings:P,onSettingChange:O,onSettingsChange:B,layoutEnvironment:E,currentUser:b})})})})]}):null}));export{f as AppSettings};
1
+ import n from"@babel/runtime/helpers/slicedToArray";import{useState as r,useRef as t,useMemo as e,useEffect as o}from"react";import{debounce as i}from"lodash";import s from"classnames";import p from"../../components/ErrorBoundary/ErrorBoundary.js";import a from"../../components/ErrorBoundary/DevCenterAppErrorView/DevCenterAppErrorView.js";import"../AppCommonsProvider/AppCommonsProvider.js";import{useAppCommonsInternal as m}from"../AppCommonsProvider/AppCommonsContext.js";import{useAppSettingsPanel as c}from"../AppPanel/AppPanelsContext.js";import{AppPanel as l}from"../AppPanel/AppPanel.js";import{AppSettingsTestIds as u}from"./AppSettings.constants.js";import d from"./AppSettings.scss.js";import{jsxs as f,jsx as g}from"react/jsx-runtime";var v=function(){var v=m(),C=v.appSettings,A=v.currentUser,h=v.onSettingChange,S=v.onSettingsChange,j=v.layoutEnvironment,P=v.app,B=v.appData,E=v.appSettingsComponent,y=r(!1),b=n(y,2),I=b[0],T=b[1],w=t(null),x=c(),D=x.additionalControls,H=x.isPinned,N=e((function(){return{pinButton:H?u.UnpinButtonTestId:u.PinButtonTestId,closeButton:u.CloseSettingsButtonTestId}}),[H]);return o((function(){if(w.current){var n=i((function(){requestAnimationFrame((function(){var n=w.current||{},r=n.clientHeight,t=void 0===r?0:r,e=n.scrollHeight;T(t<(void 0===e?0:e))}))}),200,{leading:!0}),r=new ResizeObserver(n);return w.current&&r.observe(w.current),function(){r.disconnect(),n.cancel()}}}),[]),E?f("div",{className:d.root,children:[g(l.Header,{actions:D,elementsTestIds:N,children:"Settings"}),g("div",{className:s(d.content,I&&d.scrollable),children:g("div",{className:d.contentInner,ref:w,children:g(p,{ErrorView:a,children:g(E,{app:P,appData:B,settings:C,onSettingChange:h,onSettingsChange:S,layoutEnvironment:j,currentUser:A})})})})]}):null};export{v as AppSettings};
2
2
  //# sourceMappingURL=AppSettings.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"AppSettings.js","sources":["../../../src/componentsV2/AppSettings/AppSettings.tsx"],"sourcesContent":["import { CSSProperties, forwardRef, useEffect, useRef, useState } from 'react';\nimport { debounce } from 'lodash';\nimport classNames from 'classnames';\n\nimport { Text } from '../Text';\nimport { Tooltip } from '../Tooltip';\nimport { ButtonIcon } from '../ButtonIcon';\nimport ErrorBoundary, { DevCenterAppErrorView } from '../../components/ErrorBoundary';\nimport { useAppCommonsInternal } from '../AppCommonsProvider/AppCommonsContext';\n\nimport { useAppSettingPinning } from './AppSettingsPinningContext';\n\nimport styles from './AppSettings.scss';\n\nimport { CloseSmallIcon, Pin } from '~/icons';\nimport { AppSettingsTestIds } from '~/componentsV2/AppSettings/AppSettings.constants';\n\nexport type AppSettingsProps = {\n onClose?: () => void;\n rootStyles?: CSSProperties;\n};\n\nexport const AppSettings = forwardRef<HTMLDivElement, AppSettingsProps>(\n ({ rootStyles, onClose }, ref) => {\n const {\n appSettings,\n currentUser,\n onSettingChange,\n onSettingsChange,\n layoutEnvironment,\n app,\n appData,\n appSettingsComponent: AppSettingsComponent,\n } = useAppCommonsInternal();\n const [isScrollable, setIsScrollable] = useState(false);\n\n const containerRef = useRef<HTMLDivElement>(null);\n\n const { isPinned, onPinClick, showPinButton, additionalControls } = useAppSettingPinning();\n\n useEffect(() => {\n if (containerRef.current) {\n const onDimensionChange = debounce(\n () => {\n requestAnimationFrame(() => {\n const { clientHeight = 0, scrollHeight = 0 } = containerRef.current || {};\n setIsScrollable(clientHeight < scrollHeight);\n });\n },\n 200,\n { leading: true }\n );\n\n const resizeObserver = new ResizeObserver(onDimensionChange);\n\n if (containerRef.current) {\n resizeObserver.observe(containerRef.current);\n }\n\n return () => {\n resizeObserver.disconnect();\n onDimensionChange.cancel();\n };\n }\n\n return undefined;\n }, []);\n\n if (!AppSettingsComponent) {\n return null;\n }\n\n return (\n <div className={styles.root} style={rootStyles} ref={ref}>\n <div className={styles.header}>\n <Text size={16} weight=\"medium\" className={styles.title}>\n Settings\n </Text>\n\n {additionalControls}\n\n {showPinButton && (\n <Tooltip title={isPinned ? 'Unpin' : 'Pin'}>\n <ButtonIcon\n size=\"small\"\n className={isPinned ? styles.pinnedPinButton : undefined}\n onClick={onPinClick}\n testId={\n isPinned\n ? AppSettingsTestIds.UnpinButtonTestId\n : AppSettingsTestIds.PinButtonTestId\n }\n >\n <Pin />\n </ButtonIcon>\n </Tooltip>\n )}\n\n <Tooltip title=\"Close Settings\">\n <ButtonIcon\n testId={AppSettingsTestIds.CloseSettingsButtonTestId}\n size=\"small\"\n onClick={onClose}\n >\n <CloseSmallIcon />\n </ButtonIcon>\n </Tooltip>\n </div>\n\n <div className={classNames(styles.content, isScrollable && styles.scrollable)}>\n <div className={styles.contentInner} ref={containerRef}>\n <ErrorBoundary ErrorView={DevCenterAppErrorView}>\n <AppSettingsComponent\n app={app}\n appData={appData}\n settings={appSettings}\n onSettingChange={onSettingChange}\n onSettingsChange={onSettingsChange}\n layoutEnvironment={layoutEnvironment}\n currentUser={currentUser}\n />\n </ErrorBoundary>\n </div>\n </div>\n </div>\n );\n }\n);\n"],"names":["AppSettings","forwardRef","_ref","ref","rootStyles","onClose","_useAppCommonsInterna","useAppCommonsInternal","appSettings","currentUser","onSettingChange","onSettingsChange","layoutEnvironment","app","appData","AppSettingsComponent","appSettingsComponent","useState","_useState2","_slicedToArray","_useState","isScrollable","setIsScrollable","containerRef","useRef","_useAppSettingPinning","useAppSettingPinning","isPinned","onPinClick","showPinButton","additionalControls","useEffect","current","onDimensionChange","debounce","requestAnimationFrame","_ref2","_ref2$clientHeight","clientHeight","_ref2$scrollHeight","scrollHeight","leading","resizeObserver","ResizeObserver","observe","disconnect","cancel","_jsxs","className","styles","root","style","children","header","_jsx","Text","size","weight","title","Tooltip","ButtonIcon","pinnedPinButton","undefined","onClick","testId","AppSettingsTestIds","UnpinButtonTestId","PinButtonTestId","Pin","CloseSettingsButtonTestId","CloseSmallIcon","classNames","content","scrollable","contentInner","ErrorBoundary","ErrorView","DevCenterAppErrorView","settings"],"mappings":"miJAsBaA,EAAcC,GACzB,SAAAC,EAA0BC,GAAQ,IAA/BC,IAAAA,WAAYC,IAAAA,QACbC,EASIC,IARFC,IAAAA,YACAC,IAAAA,YACAC,IAAAA,gBACAC,IAAAA,iBACAC,IAAAA,kBACAC,IAAAA,IACAC,IAAAA,QACsBC,IAAtBC,qBAEsCC,EAAAA,GAAS,GAAMC,EAAAC,EAAAC,EAAA,GAAhDC,EAAYH,EAAA,GAAEI,EAAeJ,EAAA,GAE9BK,EAAeC,EAAuB,MAE5CC,EAAoEC,IAA5DC,IAAAA,SAAUC,IAAAA,WAAYC,IAAAA,cAAeC,IAAAA,mBA8B7C,OA5BAC,GAAU,WACR,GAAIR,EAAaS,QAAS,CACxB,IAAMC,EAAoBC,GACxB,WACEC,uBAAsB,WACpB,IAAAC,EAA+Cb,EAAaS,SAAW,CAAE,EAAAK,EAAAD,EAAjEE,aAAAA,aAAe,EAACD,EAAAE,EAAAH,EAAEI,aAC1BlB,EAAgBgB,cADyB,EAACC,GAE5C,GACD,GACD,IACA,CAAEE,SAAS,IAGPC,EAAiB,IAAIC,eAAeV,GAM1C,OAJIV,EAAaS,SACfU,EAAeE,QAAQrB,EAAaS,SAG/B,WACLU,EAAeG,aACfZ,EAAkBa,SAEtB,CAGD,GAAE,IAEE/B,EAKHgC,EAAA,MAAA,CAAKC,UAAWC,EAAOC,KAAMC,MAAO/C,EAAYD,IAAKA,EAAIiD,SACvD,CAAAL,EAAA,MAAA,CAAKC,UAAWC,EAAOI,OAAOD,SAAA,CAC5BE,EAACC,EAAI,CAACC,KAAM,GAAIC,OAAO,SAAST,UAAWC,EAAOS,MAAMN,SAAA,aAIvDtB,EAEAD,GACCyB,EAACK,EAAO,CAACD,MAAO/B,EAAW,QAAU,MAAMyB,SACzCE,EAACM,EAAU,CACTJ,KAAK,QACLR,UAAWrB,EAAWsB,EAAOY,qBAAkBC,EAC/CC,QAASnC,EACToC,OACErC,EACIsC,EAAmBC,kBACnBD,EAAmBE,gBACxBf,SAEDE,EAACc,EAAG,QAKVd,EAACK,EAAO,CAACD,MAAM,iBAAgBN,SAC7BE,EAACM,EAAU,CACTI,OAAQC,EAAmBI,0BAC3Bb,KAAK,QACLO,QAAS1D,EAAQ+C,SAEjBE,EAACgB,EAAc,WAKrBhB,EAAA,MAAA,CAAKN,UAAWuB,EAAWtB,EAAOuB,QAASnD,GAAgB4B,EAAOwB,YAAYrB,SAC5EE,EAAA,MAAA,CAAKN,UAAWC,EAAOyB,aAAcvE,IAAKoB,EAAa6B,SACrDE,EAACqB,EAAa,CAACC,UAAWC,EAAsBzB,SAC9CE,EAACvC,EAAoB,CACnBF,IAAKA,EACLC,QAASA,EACTgE,SAAUtE,EACVE,gBAAiBA,EACjBC,iBAAkBA,EAClBC,kBAAmBA,EACnBH,YAAaA,aAlDhB,IAyDX"}
1
+ {"version":3,"file":"AppSettings.js","sources":["../../../src/componentsV2/AppSettings/AppSettings.tsx"],"sourcesContent":["import { useEffect, useMemo, useRef, useState } from 'react';\nimport { debounce } from 'lodash';\nimport classNames from 'classnames';\n\nimport ErrorBoundary, { DevCenterAppErrorView } from '../../components/ErrorBoundary';\nimport { useAppCommonsInternal } from '../AppCommonsProvider';\nimport { useAppSettingsPanel } from '../AppPanel/AppPanelsContext';\nimport { AppPanel } from '../AppPanel';\n\nimport { AppSettingsTestIds } from './AppSettings.constants';\n\nimport styles from './AppSettings.scss';\n\nexport const AppSettings = () => {\n const {\n appSettings,\n currentUser,\n onSettingChange,\n onSettingsChange,\n layoutEnvironment,\n app,\n appData,\n appSettingsComponent: AppSettingsComponent,\n } = useAppCommonsInternal();\n const [isScrollable, setIsScrollable] = useState(false);\n\n const containerRef = useRef<HTMLDivElement>(null);\n\n const { additionalControls, isPinned } = useAppSettingsPanel();\n\n const testIds = useMemo(\n () => ({\n pinButton: isPinned\n ? AppSettingsTestIds.UnpinButtonTestId\n : AppSettingsTestIds.PinButtonTestId,\n closeButton: AppSettingsTestIds.CloseSettingsButtonTestId,\n }),\n [isPinned]\n );\n\n useEffect(() => {\n if (containerRef.current) {\n const onDimensionChange = debounce(\n () => {\n requestAnimationFrame(() => {\n const { clientHeight = 0, scrollHeight = 0 } = containerRef.current || {};\n setIsScrollable(clientHeight < scrollHeight);\n });\n },\n 200,\n { leading: true }\n );\n\n const resizeObserver = new ResizeObserver(onDimensionChange);\n\n if (containerRef.current) {\n resizeObserver.observe(containerRef.current);\n }\n\n return () => {\n resizeObserver.disconnect();\n onDimensionChange.cancel();\n };\n }\n\n return undefined;\n }, []);\n\n if (!AppSettingsComponent) {\n return null;\n }\n\n return (\n <div className={styles.root}>\n <AppPanel.Header actions={additionalControls} elementsTestIds={testIds}>\n Settings\n </AppPanel.Header>\n\n <div className={classNames(styles.content, isScrollable && styles.scrollable)}>\n <div className={styles.contentInner} ref={containerRef}>\n <ErrorBoundary ErrorView={DevCenterAppErrorView}>\n <AppSettingsComponent\n app={app}\n appData={appData}\n settings={appSettings}\n onSettingChange={onSettingChange}\n onSettingsChange={onSettingsChange}\n layoutEnvironment={layoutEnvironment}\n currentUser={currentUser}\n />\n </ErrorBoundary>\n </div>\n </div>\n </div>\n );\n};\n"],"names":["AppSettings","_useAppCommonsInterna","useAppCommonsInternal","appSettings","currentUser","onSettingChange","onSettingsChange","layoutEnvironment","app","appData","AppSettingsComponent","appSettingsComponent","useState","_useState2","_slicedToArray","_useState","isScrollable","setIsScrollable","containerRef","useRef","_useAppSettingsPanel","useAppSettingsPanel","additionalControls","isPinned","testIds","useMemo","pinButton","AppSettingsTestIds","UnpinButtonTestId","PinButtonTestId","closeButton","CloseSettingsButtonTestId","useEffect","current","onDimensionChange","debounce","requestAnimationFrame","_ref","_ref$clientHeight","clientHeight","_ref$scrollHeight","scrollHeight","leading","resizeObserver","ResizeObserver","observe","disconnect","cancel","_jsxs","className","styles","root","children","_jsx","AppPanel","Header","actions","elementsTestIds","classNames","content","scrollable","contentInner","ref","ErrorBoundary","ErrorView","DevCenterAppErrorView","settings"],"mappings":"4uBAaaA,IAAAA,EAAc,WACzB,IAAAC,EASIC,IARFC,IAAAA,YACAC,IAAAA,YACAC,IAAAA,gBACAC,IAAAA,iBACAC,IAAAA,kBACAC,IAAAA,IACAC,IAAAA,QACsBC,IAAtBC,qBAEsCC,EAAAA,GAAS,GAAMC,EAAAC,EAAAC,EAAA,GAAhDC,EAAYH,EAAA,GAAEI,EAAeJ,EAAA,GAE9BK,EAAeC,EAAuB,MAE5CC,EAAyCC,IAAjCC,IAAAA,mBAAoBC,IAAAA,SAEtBC,EAAUC,GACd,WAAA,MAAO,CACLC,UAAWH,EACPI,EAAmBC,kBACnBD,EAAmBE,gBACvBC,YAAaH,EAAmBI,0BACjC,GACD,CAACR,IA+BH,OA5BAS,GAAU,WACR,GAAId,EAAae,QAAS,CACxB,IAAMC,EAAoBC,GACxB,WACEC,uBAAsB,WACpB,IAAAC,EAA+CnB,EAAae,SAAW,CAAE,EAAAK,EAAAD,EAAjEE,aAAAA,aAAe,EAACD,EAAAE,EAAAH,EAAEI,aAC1BxB,EAAgBsB,cADyB,EAACC,GAE5C,GACD,GACD,IACA,CAAEE,SAAS,IAGPC,EAAiB,IAAIC,eAAeV,GAM1C,OAJIhB,EAAae,SACfU,EAAeE,QAAQ3B,EAAae,SAG/B,WACLU,EAAeG,aACfZ,EAAkBa,SAEtB,CAGD,GAAE,IAEErC,EAKHsC,EAAA,MAAA,CAAKC,UAAWC,EAAOC,KAAKC,SAC1B,CAAAC,EAACC,EAASC,OAAM,CAACC,QAASlC,EAAoBmC,gBAAiBjC,EAAQ4B,SAAA,aAIvEC,EAAA,MAAA,CAAKJ,UAAWS,EAAWR,EAAOS,QAAS3C,GAAgBkC,EAAOU,YAAYR,SAC5EC,EAAA,MAAA,CAAKJ,UAAWC,EAAOW,aAAcC,IAAK5C,EAAakC,SACrDC,EAACU,EAAa,CAACC,UAAWC,EAAsBb,SAC9CC,EAAC3C,EAAoB,CACnBF,IAAKA,EACLC,QAASA,EACTyD,SAAU/D,EACVE,gBAAiBA,EACjBC,iBAAkBA,EAClBC,kBAAmBA,EACnBH,YAAaA,aAnBhB,IA0BX"}
@@ -1,2 +1,2 @@
1
- import t from'./../../ext-esm/style-inject/dist/style-inject.es.js';var e={spacing:"8",root:"AppSettings_root__qDp-p",pinnedPinButton:"AppSettings_pinnedPinButton__hsGmE",header:"AppSettings_header__Dd4JA",title:"AppSettings_title__qIMiP",content:"AppSettings_content__BJqk5",scrollable:"AppSettings_scrollable__0TBNI",contentInner:"AppSettings_contentInner__W7UOM"};t('.AppSettings_root__qDp-p{display:flex;flex-flow:column nowrap}.AppSettings_root__qDp-p:hover .AppSettings_pinnedPinButton__hsGmE{opacity:1}.AppSettings_header__Dd4JA{align-items:center;display:flex;flex-flow:row nowrap;gap:8px;padding:8px 16px}.AppSettings_title__qIMiP{margin-right:auto}.AppSettings_content__BJqk5{border-top:2px solid var(--palette-background-b-4);display:flex;flex-flow:column;overflow:hidden;position:relative}.AppSettings_scrollable__0TBNI{position:relative}.AppSettings_scrollable__0TBNI:before{background:linear-gradient(180deg,rgb(from var(--corvaui-background) r g b/1) 0,rgb(from var(--corvaui-background) r g b/0) 100%);content:"";height:16px;inset:0 10px auto 0;position:absolute;z-index:1}.AppSettings_scrollable__0TBNI:after{background:linear-gradient(0deg,rgb(from var(--corvaui-background) r g b/1) 0,rgb(from var(--corvaui-background) r g b/0) 100%);content:"";height:16px;inset:auto 10px 0 0;position:absolute;z-index:1}.AppSettings_contentInner__W7UOM{height:100%;overflow:auto;padding:0 16px}.AppSettings_pinnedPinButton__hsGmE{opacity:0;transition:opacity .15s cubic-bezier(.4,0,.2,1)}');export{e as default};
1
+ import t from'./../../ext-esm/style-inject/dist/style-inject.es.js';var e={spacing:"8",root:"AppSettings_root__qDp-p",content:"AppSettings_content__BJqk5",scrollable:"AppSettings_scrollable__0TBNI",contentInner:"AppSettings_contentInner__W7UOM"};t('.AppSettings_root__qDp-p{display:contents}.AppSettings_content__BJqk5{display:flex;flex:1 1;flex-flow:column;overflow:hidden;position:relative}.AppSettings_scrollable__0TBNI{position:relative}.AppSettings_scrollable__0TBNI:before{background:linear-gradient(180deg,rgb(from var(--corvaui-background) r g b/1) 0,rgb(from var(--corvaui-background) r g b/0) 100%);content:"";height:16px;inset:0 10px auto 0;position:absolute;z-index:1}.AppSettings_scrollable__0TBNI:after{background:linear-gradient(0deg,rgb(from var(--corvaui-background) r g b/1) 0,rgb(from var(--corvaui-background) r g b/0) 100%);content:"";height:16px;inset:auto 10px 0 0;position:absolute;z-index:1}.AppSettings_contentInner__W7UOM{height:100%;overflow:auto;padding:0 16px}');export{e as default};
2
2
  //# sourceMappingURL=AppSettings.scss.js.map
@@ -1,3 +1,2 @@
1
1
  export * from './AppSettings';
2
- export { AppSettingsTestIds } from './AppSettings.constants';
3
2
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/componentsV2/AppSettings/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/componentsV2/AppSettings/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"AppSettingsDivider.d.ts","sourceRoot":"","sources":["../../../src/componentsV2/AppSettingsDivider/AppSettingsDivider.tsx"],"names":[],"mappings":"AAIA,MAAM,MAAM,uBAAuB,GAAG;IACpC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,eAAO,MAAM,kBAAkB,0BAA2B,uBAAuB,4CAEhF,CAAC"}
1
+ {"version":3,"file":"AppSettingsDivider.d.ts","sourceRoot":"","sources":["../../../src/componentsV2/AppSettingsDivider/AppSettingsDivider.tsx"],"names":[],"mappings":"AAMA,MAAM,MAAM,uBAAuB,GAAG;IACpC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,eAAO,MAAM,kBAAkB,0BAA2B,uBAAuB,4CAEhF,CAAC"}
@@ -1,2 +1,2 @@
1
- import t from"classnames";import r from"./AppSettingsDivider.scss.js";import{jsx as s}from"react/jsx-runtime";var a=function(a){var e=a.testId,i=a.className;return s("div",{className:t(r.root,i),"data-testid":e})};export{a as AppSettingsDivider};
1
+ import r from"classnames";import{AppPanel as s}from"../AppPanel/AppPanel.js";import t from"./AppSettingsDivider.scss.js";import{jsx as e}from"react/jsx-runtime";var m=function(m){var o=m.testId,a=m.className;return e(s.Divider,{className:r(t.root,a),testId:o})};export{m as AppSettingsDivider};
2
2
  //# sourceMappingURL=AppSettingsDivider.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"AppSettingsDivider.js","sources":["../../../src/componentsV2/AppSettingsDivider/AppSettingsDivider.tsx"],"sourcesContent":["import classNames from 'classnames';\n\nimport styles from './AppSettingsDivider.scss';\n\nexport type AppSettingsDividerProps = {\n className?: string;\n testId?: string;\n};\n\nexport const AppSettingsDivider = ({ testId, className }: AppSettingsDividerProps) => (\n <div className={classNames(styles.root, className)} data-testid={testId} />\n);\n"],"names":["AppSettingsDivider","_ref","testId","className","_jsx","classNames","styles","root"],"mappings":"8GASaA,IAAAA,EAAqB,SAAHC,GAAA,IAAMC,IAAAA,OAAQC,IAAAA,UAAS,OACpDC,EAAA,MAAA,CAAKD,UAAWE,EAAWC,EAAOC,KAAMJ,GAAY,cAAaD,GAAU"}
1
+ {"version":3,"file":"AppSettingsDivider.js","sources":["../../../src/componentsV2/AppSettingsDivider/AppSettingsDivider.tsx"],"sourcesContent":["import classNames from 'classnames';\n\nimport { AppPanel } from '../AppPanel';\n\nimport styles from './AppSettingsDivider.scss';\n\nexport type AppSettingsDividerProps = {\n className?: string;\n testId?: string;\n};\n\nexport const AppSettingsDivider = ({ testId, className }: AppSettingsDividerProps) => (\n <AppPanel.Divider className={classNames(styles.root, className)} testId={testId} />\n);\n"],"names":["AppSettingsDivider","_ref","testId","className","_jsx","AppPanel","Divider","classNames","styles","root"],"mappings":"iKAWaA,IAAAA,EAAqB,SAAHC,GAAA,IAAMC,IAAAA,OAAQC,IAAAA,UAAS,OACpDC,EAACC,EAASC,QAAO,CAACH,UAAWI,EAAWC,EAAOC,KAAMN,GAAYD,OAAQA,GAAU"}
@@ -1,2 +1,2 @@
1
- import t from'./../../ext-esm/style-inject/dist/style-inject.es.js';var r={spacing:"8",root:"AppSettingsDivider_root__CFSKr"};t(".AppSettingsDivider_root__CFSKr{border-top:2px solid var(--palette-background-b-4);margin-left:-16px;margin-right:-16px}");export{r as default};
1
+ import t from'./../../ext-esm/style-inject/dist/style-inject.es.js';var e={spacing:"8",root:"AppSettingsDivider_root__CFSKr"};t(".AppSettingsDivider_root__CFSKr{margin-left:-16px;margin-right:-16px}");export{e as default};
2
2
  //# sourceMappingURL=AppSettingsDivider.scss.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Autocomplete.d.ts","sourceRoot":"","sources":["../../../src/componentsV2/Autocomplete/Autocomplete.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEL,wBAAwB,IAAI,2BAA2B,EAEvD,6BAA6B,EAG9B,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EACL,WAAW,EACX,aAAa,EACb,cAAc,EACd,iBAAiB,EACjB,SAAS,EAIV,MAAM,OAAO,CAAC;AAGf,OAAO,EAAU,WAAW,EAAE,MAAM,WAAW,CAAC;AAChD,OAAO,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AC,CAAC,EAAE,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,GAAG,QAAQ,CAAC,CAAC;yCAG1E,CAAC,SAAS,kBAAkB,EAC5B,QAAQ,SAAS,OAAO,GAAG,SAAS,GAAG,KAAK,EAE5C,KAAK,EAAE,qBAAqB,CAAC,CAAC,EAAE,QAAQ,CAAC;;;;;sBA1bV,iBAAiB;;0BACrB,OAAO;;cAC7B,SAAS"}
@@ -1,2 +1,2 @@
1
- import o from"@babel/runtime/helpers/defineProperty";import s from"@babel/runtime/helpers/toConsumableArray";import n from"@babel/runtime/helpers/typeof";import i from"@babel/runtime/helpers/slicedToArray";import{createFilterOptions as t,Autocomplete as c}from"@material-ui/lab";import{useState as e,useMemo as r,useCallback as m}from"react";import l from"classnames";import{Popper as p}from"../Popper/Popper.js";import{DownIcon as u,CloseSmallIcon as a}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{AutocompleteInput as d}from"./AutocompleteInput/AutocompleteInput.js";import{AutocompletePaper as j}from"./AutocompletePaper.js";import{renderSelectedValue as f,renderSelectedValueChips as I,isRealOption as b,CreateOptionMark as O,AllOptionMark as h,renderOptionDefault as g}from"./utils.js";import{AutocompleteMenuItem as v}from"./AutocompleteMenuItem.js";import{AutocompleteListBox as C}from"./AutocompleteListBox.js";import y from"./Autocomplete.scss.js";import{Menu as A}from"../Menu/Menu.js";import{jsx as P,jsxs as x}from"react/jsx-runtime";function F(o,s){var n=Object.keys(o);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(o);s&&(i=i.filter((function(s){return Object.getOwnPropertyDescriptor(o,s).enumerable}))),n.push.apply(n,i)}return n}function D(s){for(var n=1;n<arguments.length;n++){var i=null!=arguments[n]?arguments[n]:{};n%2?F(Object(i),!0).forEach((function(n){o(s,n,i[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(i)):F(Object(i)).forEach((function(o){Object.defineProperty(s,o,Object.getOwnPropertyDescriptor(i,o))}))}return s}var w=function(I){var F=I.label,w=I.options,M=void 0===w?[]:w,N=I.value,S=I.onChange,z=I.multiple,T=I.renderOption,k=void 0===T?g:T,B=I.optionSize,R=void 0===B?"medium":B,E=I.showPopupIcon,G=void 0===E||E,L=I.clearable,V=void 0===L||L,U=I.loading,q=I.noOptionsMessage,W=I.filterOptions,K=I.prefix,Z=I.disabled,H=I.getOptionDisabled,J=I.renderSelected,Q=void 0===J?f:J,X=I.onInputChange,Y=I.className,$=I.testId,_=I.status,oo=I.message,so=I.useAllOption,no=void 0!==so&&so,io=I.useOnlyOptionButton,to=void 0!==io&&io,co=I.groupBy,eo=I.renderGroup,ro=I.disableFiltering,mo=I.onCreate,lo=I.dropdownClassName,po=I.popperProps,uo=I.placeholder,ao=I.focusOnClear,jo=void 0===ao||ao,fo=I.listboxComponent,Io=I.size,bo=void 0===Io?"small":Io,Oo=I.labelPlacement,ho=void 0===Oo?"top":Oo,go=I.elementsClassNames,vo=I.htmlAttributes,Co=I.type,yo=I.spacing,Ao=I.isNext,Po=e(""),xo=i(Po,2),Fo=xo[0],Do=xo[1],wo=r((function(){if(void 0===N||N instanceof Array&&0===N.length)return z?[]:null;var o=N instanceof Array?N:[N];if(z){var i=o.filter((function(o){return"object"!==n(o)})),t=o.filter((function(o){return"object"===n(o)})).map((function(o){return{id:o.id,title:o.title}})),c=M.filter((function(o){return i.includes(o.id)}));return[].concat(s(c),s(t))}return"object"===n(o[0])?o[0]:M.find((function(s){return o[0]===s.id}))||null}),[z,N,M]),Mo=wo instanceof Array&&wo.length>0,No=wo instanceof Array&&wo.length===M.length,So=U?"Loading ...":"No options",zo=!V||!wo||wo instanceof Array&&!(null!=wo&&wo.length),To=m((function(o){return P(d,D(D({},o),{},{label:F,loading:U,prefix:K,status:_,message:oo,readOnly:ro,placeholder:uo,size:bo,labelPlacement:ho,elementsClassNames:go,htmlAttributes:vo,type:Co,spacing:yo,isNext:Ao}))}),[F,U,K,_,oo,ro,uo,bo,ho,go,vo,Co,yo,Ao]),ko=m((function(o,s,n){if("clear"!==n||jo||(o.stopPropagation(),o.preventDefault()),mo&&s){var i=(s instanceof Array?s:[s]).find((function(o){return!b(o)&&!!o[O]}));if(i)return void mo(i.newOptionTitle||"")}if(z&&s instanceof Array&&s.some((function(o){return!b(o)&&!!o[h]})))return void(wo instanceof Array&&wo.length<M.length?null==S||S(M.filter(b),n,o):null==S||S([],n,o));null==S||S(s||void 0,n,o)}),[jo,mo,z,S,wo,M]),Bo=m((function(o,s){return null==S?void 0:S([o],"select-only-option",s)}),[S]),Ro=m((function(o,s){var n=s.selected;return b(o)?P(v,{size:R,selected:n,prefix:o.prefix,multiple:z,useOnlyButton:to,option:o,onSelectOnly:Bo,children:k(o)}):o[h]?x("div",{className:y.allOptionContainer,children:[P(v,{size:R,selected:Mo,indeterminate:Mo&&!No,multiple:!0,children:o.title}),P(A.Divider,{className:y.allOptionDivider})]}):P(v,{size:R,selected:Mo,children:o.title})}),[R,z,to,Bo,k,Mo,No]),Eo=m((function(n,i){var c,e=W?W(n,i.inputValue):t()(n,i),r=no&&z&&e.length&&n.length>1?[o({title:"All"},h,!0)].concat(s(e)):e;return mo&&""!==i.inputValue.trim()?[].concat(s(r),[(c={title:'Add "'.concat(i.inputValue,'"')},o(c,O,!0),o(c,"newOptionTitle",i.inputValue),c)]):r}),[W,mo,no,z]),Go=m((function(o){return b(o)&&!(null==H||!H(o))}),[H]),Lo=m((function(o){return o.title}),[]),Vo=m((function(o,s){var n=o.filter(b).map((function(o,n){return{option:o,onDelete:s({index:n}).onDelete}}));return Q(n,{useAllOption:no,allOptions:M})}),[Q,no,M]),Uo=m((function(o,s,n){o&&"blur"===o.type?Do(""):"reset"!==n&&Do(s),"reset"!==n&&(null==X||X(s,o))}),[X]),qo=r((function(){if(co)return function(o){return b(o)?co(o):""}}),[co]),Wo=r((function(){return{paper:lo}}),[lo]),Ko=m((function(o,s){return!(!b(o)||!b(s))&&o.id===s.id}),[]),Zo=c,Ho=m((function(o){return P(p,D(D({},o),po))}),[po]);return P("div",{className:l(y.root,G&&y.withArrow,!zo&&y.withClear,Y),"data-testid":$,children:P(Zo,{value:wo,options:M,getOptionLabel:Lo,renderInput:To,PopperComponent:Ho,PaperComponent:j,multiple:z,disableCloseOnSelect:z,blurOnSelect:!z,onChange:ko,renderOption:Ro,popupIcon:P(u,{size:16}),forcePopupIcon:!!G,closeIcon:P(a,{size:16}),disableClearable:zo,clearText:"",noOptionsText:q||So,filterOptions:Eo,disabled:Z,getOptionDisabled:Go,renderTags:Vo,inputValue:z?Fo:void 0,onInputChange:Uo,groupBy:qo,renderGroup:eo,clearOnBlur:!0,selectOnFocus:!ro,classes:Wo,getOptionSelected:Ko,ListboxComponent:null!=fo?fo:C})})},M=function(o){return w(D(D({},o),{},{isNext:!1}))},N=function(o){return w(D(D({},o),{},{isNext:!0}))};N.selectedValueRenderers={default:f,chipsMultiline:I};export{M as Autocomplete,N as AutocompleteNext};
1
+ import o from"@babel/runtime/helpers/defineProperty";import s from"@babel/runtime/helpers/toConsumableArray";import n from"@babel/runtime/helpers/typeof";import i from"@babel/runtime/helpers/slicedToArray";import{createFilterOptions as t,Autocomplete as c}from"@material-ui/lab";import{useState as e,useMemo as r,useCallback as m}from"react";import l from"classnames";import{Popper as p}from"../Popper/Popper.js";import{DownIcon as u,CloseSmallIcon as a}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{AutocompleteInput as d}from"./AutocompleteInput/AutocompleteInput.js";import{AutocompletePaper as j}from"./AutocompletePaper.js";import{renderSelectedValue as I,renderSelectedValueChips as f,isRealOption as O,CreateOptionMark as b,AllOptionMark as h,renderOptionDefault as v}from"./utils.js";import{AutocompleteMenuItem as g}from"./AutocompleteMenuItem.js";import{AutocompleteListBox as C}from"./AutocompleteListBox.js";import y from"./Autocomplete.scss.js";import{Menu as A}from"../Menu/Menu.js";import{jsx as P,jsxs as x}from"react/jsx-runtime";function F(o,s){var n=Object.keys(o);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(o);s&&(i=i.filter((function(s){return Object.getOwnPropertyDescriptor(o,s).enumerable}))),n.push.apply(n,i)}return n}function D(s){for(var n=1;n<arguments.length;n++){var i=null!=arguments[n]?arguments[n]:{};n%2?F(Object(i),!0).forEach((function(n){o(s,n,i[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(i)):F(Object(i)).forEach((function(o){Object.defineProperty(s,o,Object.getOwnPropertyDescriptor(i,o))}))}return s}var N=function(f){var F=f.label,N=f.options,w=void 0===N?[]:N,M=f.value,S=f.onChange,z=f.multiple,T=f.renderOption,k=void 0===T?v:T,B=f.optionSize,R=void 0===B?"medium":B,E=f.showPopupIcon,G=void 0===E||E,L=f.clearable,V=void 0===L||L,U=f.loading,q=f.noOptionsMessage,W=f.filterOptions,K=f.prefix,Z=f.disabled,H=f.getOptionDisabled,J=f.renderSelected,Q=void 0===J?I:J,X=f.onInputChange,Y=f.className,$=f.testId,_=f.status,oo=f.message,so=f.useAllOption,no=void 0!==so&&so,io=f.useOnlyOptionButton,to=void 0!==io&&io,co=f.groupBy,eo=f.renderGroup,ro=f.disableFiltering,mo=f.onCreate,lo=f.dropdownClassName,po=f.popperProps,uo=f.placeholder,ao=f.focusOnClear,jo=void 0===ao||ao,Io=f.listboxComponent,fo=f.size,Oo=void 0===fo?"small":fo,bo=f.labelPlacement,ho=void 0===bo?"top":bo,vo=f.elementsClassNames,go=f.htmlAttributes,Co=f.type,yo=f.spacing,Ao=f.isNext,Po=e(""),xo=i(Po,2),Fo=xo[0],Do=xo[1],No=r((function(){if(void 0===M||M instanceof Array&&0===M.length)return z?[]:null;var o=M instanceof Array?M:[M];if(z){var i=o.filter((function(o){return"object"!==n(o)})),t=o.filter((function(o){return"object"===n(o)})).map((function(o){return{id:o.id,title:o.title}})),c=w.filter((function(o){return i.includes(o.id)}));return[].concat(s(c),s(t))}return"object"===n(o[0])?o[0]:w.find((function(s){return o[0]===s.id}))||null}),[z,M,w]),wo=No instanceof Array&&No.length>0,Mo=No instanceof Array&&No.length===w.length,So=U?"Loading ...":"No options",zo=!V||!No||No instanceof Array&&!(null!=No&&No.length),To=m((function(o){return P(d,D(D({},o),{},{label:F,loading:U,prefix:K,status:_,message:oo,readOnly:ro,placeholder:uo,size:Oo,labelPlacement:ho,elementsClassNames:vo,htmlAttributes:go,type:Co,spacing:yo,isNext:Ao}))}),[F,U,K,_,oo,ro,uo,Oo,ho,vo,go,Co,yo,Ao]),ko=m((function(o,s,n){if("clear"!==n||jo||(o.stopPropagation(),o.preventDefault()),mo&&s){var i=(s instanceof Array?s:[s]).find((function(o){return!O(o)&&!!o[b]}));if(i)return void mo(i.newOptionTitle||"")}if(z&&s instanceof Array&&s.some((function(o){return!O(o)&&!!o[h]})))return void(No instanceof Array&&No.length<w.length?null==S||S(w.filter(O),n,o):null==S||S([],n,o));null==S||S(s||void 0,n,o)}),[jo,mo,z,S,No,w]),Bo=m((function(o,s){return null==S?void 0:S([o],"select-only-option",s)}),[S]),Ro=m((function(o,s){var n=s.selected;return O(o)?P(g,{size:R,selected:n,prefix:o.prefix,multiple:z,useOnlyButton:to,option:o,onSelectOnly:Bo,children:k(o)}):o[h]?x("div",{className:y.allOptionContainer,children:[P(g,{size:R,selected:wo,indeterminate:wo&&!Mo,multiple:!0,children:o.title}),P(A.Divider,{className:y.allOptionDivider})]}):P(g,{size:R,selected:wo,children:o.title})}),[R,z,to,Bo,k,wo,Mo]),Eo=m((function(n,i){var c,e=W?W(n,i.inputValue):t()(n,i),r=no&&z&&e.length&&n.length>1?[o({title:"All"},h,!0)].concat(s(e)):e;return mo&&""!==i.inputValue.trim()?[].concat(s(r),[(c={title:'Add "'.concat(i.inputValue,'"')},o(c,b,!0),o(c,"newOptionTitle",i.inputValue),c)]):r}),[W,mo,no,z]),Go=m((function(o){return O(o)&&!(null==H||!H(o))}),[H]),Lo=m((function(o){return o.title}),[]),Vo=m((function(o,s){var n=o.filter(O).map((function(o,n){return{option:o,onDelete:s({index:n}).onDelete}}));return Q(n,{useAllOption:no,allOptions:w})}),[Q,no,w]),Uo=m((function(o,s,n){o&&"blur"===o.type?Do(""):"reset"!==n&&Do(s),"reset"!==n&&(null==X||X(s,o))}),[X]),qo=r((function(){if(co)return function(o){return O(o)?co(o):""}}),[co]),Wo=r((function(){return{paper:lo}}),[lo]),Ko=m((function(o,s){return!(!O(o)||!O(s))&&o.id===s.id}),[]),Zo=c,Ho=m((function(o){return P(p,D(D(D({},o),po),{},{className:l(null==o?void 0:o.className,null==po?void 0:po.className)}))}),[po]);return P("div",{className:l(y.root,G&&y.withArrow,!zo&&y.withClear,Y),"data-testid":$,children:P(Zo,{value:No,options:w,getOptionLabel:Lo,renderInput:To,PopperComponent:Ho,PaperComponent:j,multiple:z,disableCloseOnSelect:z,blurOnSelect:!z,onChange:ko,renderOption:Ro,popupIcon:P(u,{size:16}),forcePopupIcon:!!G,closeIcon:P(a,{size:16}),disableClearable:zo,clearText:"",noOptionsText:q||So,filterOptions:Eo,disabled:Z,getOptionDisabled:Go,renderTags:Vo,inputValue:z?Fo:void 0,onInputChange:Uo,groupBy:qo,renderGroup:eo,clearOnBlur:!0,selectOnFocus:!ro,classes:Wo,getOptionSelected:Ko,ListboxComponent:null!=Io?Io:C})})},w=function(o){return N(D(D({},o),{},{isNext:!1}))},M=function(o){return N(D(D({},o),{},{isNext:!0}))};M.selectedValueRenderers={default:I,chipsMultiline:f};export{w as Autocomplete,M as AutocompleteNext};
2
2
  //# sourceMappingURL=Autocomplete.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Autocomplete.js","sources":["../../../src/componentsV2/Autocomplete/Autocomplete.tsx"],"sourcesContent":["import {\n Autocomplete as MuiAutocomplete,\n AutocompleteChangeReason as MuiAutocompleteChangeReason,\n AutocompleteProps as MuiAutocompleteBaseProps,\n AutocompleteRenderGroupParams,\n AutocompleteRenderInputParams,\n createFilterOptions,\n} from '@material-ui/lab';\nimport {\n ChangeEvent,\n ComponentType,\n HTMLAttributes,\n MouseEventHandler,\n ReactNode,\n useCallback,\n useMemo,\n useState,\n} from 'react';\nimport classNames from 'classnames';\n\nimport { Popper, PopperProps } from '../Popper';\nimport { MenuItemProps } from '../Menu/MenuItem';\nimport { CloseSmallIcon, DownIcon } from '../../icons';\nimport { TextInputNextProps } from '../TextInputNext';\nimport { TextInputProps } from '../TextInput';\n\nimport { AutocompleteInput } from './AutocompleteInput';\nimport { AutocompletePaper } from './AutocompletePaper';\nimport {\n AllOptionMark,\n AutocompleteOption,\n CreateOptionMark,\n InternalOption,\n isRealOption,\n OwnAddedOption,\n renderOptionDefault,\n renderSelectedValue,\n renderSelectedValueChips,\n} from './utils';\nimport { AutocompleteMenuItem } from './AutocompleteMenuItem';\nimport { AutocompleteListBox } from './AutocompleteListBox';\n\nimport styles from './Autocomplete.scss';\nimport { Menu } from '../Menu';\n\ntype MuiAutocompleteProps<T extends AutocompleteOption> = Required<\n MuiAutocompleteBaseProps<InternalOption<T>, boolean, false, false>\n>;\n\ntype ChangeReason =\n | MuiAutocompleteChangeReason\n | 'select-option-all'\n | 'remove-option-all'\n | 'select-only-option';\ntype AutocompletePopperProps = Omit<PopperProps, 'open' | 'anchorEl' | 'children'>;\n\ntype AutocompleteBaseProps<\n T extends AutocompleteOption = AutocompleteOption,\n Multiple extends boolean | undefined = false\n> = {\n /**\n * Options to allow selection from. Has to be assignable to `{ id: string | number; title: string; prefix?: ReactNode; }[]`\n */\n options?: T[];\n /**\n * Selected value. If `multiple` is `false | undefined`, and the value is an array, only the first element will be used\n *\n * There's a [bug in TS](https://github.com/microsoft/TypeScript/issues/47599) which causes `onChange` prop\n * to have incorrect typing if we mix T and T['id'] in `value`. Therefore, we can't use the \"correct\" typing\n * ```\n * value?: T['id'] | T | (T['id'] | T)[];\n * ```\n *\n * You may need to provide additional typings\n */\n value?: string | number | T | (string | number | T)[];\n /**\n * If `true`, the component will support multiple selection\n */\n multiple?: Multiple;\n /**\n * Selection change handler\n * Receives an array of options if `multiple` is `true`, a single selected option or `undefined` otherwise\n */\n onChange?: (\n value: Multiple extends undefined | false ? T | undefined : T[],\n reason: ChangeReason,\n event?: ChangeEvent<unknown>\n ) => void;\n label?: ReactNode;\n placeholder?: string;\n /**\n * Controls the size of the options rendered\n */\n optionSize?: MenuItemProps['size'];\n disabled?: boolean;\n /**\n * If exists - allows user to create own options. Called when 'Add \"whatever\"' option is selected\n */\n onCreate?: (title: string) => void;\n\n prefix?: ReactNode;\n loading?: boolean;\n showPopupIcon?: boolean;\n /**\n * Controls the \"Clear\" button that's shown to the right if there is a value\n */\n clearable?: boolean;\n /**\n * Controls if the field should keep/gain focus after \"Clear\" button is clicked\n */\n focusOnClear?: boolean;\n /**\n * Triggered when user types something\n */\n onInputChange?: (value: string, event: ChangeEvent<HTMLInputElement>) => void;\n status?: TextInputNextProps['status'];\n message?: TextInputNextProps['message'];\n size?: TextInputNextProps['size'];\n labelPlacement?: TextInputNextProps['labelPlacement'];\n /**\n * Makes internal text field readonly, effectively turning component into a simple `<select/>`\n */\n disableFiltering?: boolean;\n\n renderOption?: (item: T) => ReactNode;\n /**\n * Message to show when there are no options\n */\n noOptionsMessage?: ReactNode;\n spacing?: TextInputProps['spacing'];\n /**\n * Function that filters options based on input value\n */\n filterOptions?: (options: T[], inputValue: string) => T[];\n /**\n * Function that determines if an option is disabled. Used to override the default\n * @param option\n */\n getOptionDisabled?: (option: T) => boolean;\n /**\n * If `multiple === true` shows an \"All\" option that selects/deselects all options\n */\n useAllOption?: boolean;\n /**\n * If `multiple === true` shows a \"Select Only\" button on option that selects only the corresponding option\n */\n useOnlyOptionButton?: boolean;\n\n /**\n * Used to render selected values when `multiple === true`\n */\n renderSelected?: (\n data: { option: T; onDelete: MouseEventHandler }[],\n options: { useAllOption: boolean; allOptions: T[] }\n ) => ReactNode;\n\n /**\n * Defines option grouping\n */\n groupBy?: (option: T) => string;\n /**\n * Group render override\n */\n renderGroup?: (props: AutocompleteRenderGroupParams) => ReactNode;\n\n /**\n * A classname that will be applied to dropdown (`<Paper/>` component)\n */\n dropdownClassName?: string;\n /**\n * Escape hatch to customize dropdown popper behavior.\n * `open`, `anchorEl`, and `children` are controlled internally.\n */\n popperProps?: Partial<AutocompletePopperProps>;\n\n type?: 'default' | 'search';\n\n className?: string;\n testId?: string;\n\n /**\n * Escape hatch to fine-tune the styling of underlying elements\n */\n elementsClassNames?: TextInputNextProps['elementsClassNames'];\n\n /** HTML attributes forwarded to the underlying input. */\n htmlAttributes?: TextInputNextProps['htmlAttributes'];\n\n /**\n * Custom listbox component for rendering options (e.g., virtualized list)\n */\n listboxComponent?: ComponentType<HTMLAttributes<HTMLElement>>;\n\n // TODO Remove when making next a new baseline\n isNext?: boolean;\n};\n\nexport type AutocompleteChangeHandler<\n Option extends AutocompleteOption = AutocompleteOption,\n Multiple extends boolean | undefined = false\n> = Required<AutocompleteBaseProps<Option, Multiple>>['onChange'];\n\nconst AutocompleteBase = <\n T extends AutocompleteOption,\n Multiple extends boolean | undefined = false\n>({\n label,\n options = [],\n value,\n onChange,\n multiple,\n renderOption = renderOptionDefault,\n optionSize = 'medium',\n showPopupIcon = true,\n clearable = true,\n loading,\n noOptionsMessage,\n filterOptions,\n prefix,\n disabled,\n getOptionDisabled,\n renderSelected = renderSelectedValue,\n onInputChange,\n className,\n testId,\n status,\n message,\n useAllOption = false,\n useOnlyOptionButton = false,\n groupBy,\n renderGroup,\n disableFiltering,\n onCreate,\n dropdownClassName,\n popperProps,\n placeholder,\n focusOnClear = true,\n listboxComponent,\n size = 'small',\n labelPlacement = 'top',\n elementsClassNames,\n htmlAttributes,\n\n // Old props\n type,\n spacing,\n isNext,\n}: AutocompleteBaseProps<T, Multiple>) => {\n const [inputValue, setInputValue] = useState('');\n\n const muiValue = useMemo(() => {\n if (value === undefined || (value instanceof Array && value.length === 0)) {\n return multiple ? [] : null;\n }\n\n // Array of either ids or actual values\n const mixedValues = value instanceof Array ? value : [value];\n\n if (multiple) {\n const valuesArray = mixedValues.filter(value => typeof value !== 'object');\n const objectValues = mixedValues\n .filter(value => typeof value === 'object')\n // MUI Autocomplete doesn't like react nodes in value, so we strip everything from the object to the bare minimum\n .map(({ id, title }) => ({ id, title }));\n const optionsById = options.filter(option => valuesArray.includes(option.id));\n\n return [...optionsById, ...objectValues];\n } else {\n return typeof mixedValues[0] === 'object'\n ? mixedValues[0]\n : options.find(option => mixedValues[0] === option.id) || null;\n }\n }, [multiple, value, options]) as MuiAutocompleteBaseProps<T, Multiple, false, false>['value'];\n\n const hasMultiSelected = muiValue instanceof Array && muiValue.length > 0;\n const hasAllMultiSelected = muiValue instanceof Array && muiValue.length === options.length;\n const defaultNoOptionsText = loading ? 'Loading ...' : 'No options';\n const disableClearable =\n !clearable || !muiValue || (muiValue instanceof Array && !muiValue?.length);\n\n const renderInput = useCallback(\n (inputProps: AutocompleteRenderInputParams) => (\n <AutocompleteInput\n {...inputProps}\n label={label}\n loading={loading}\n prefix={prefix}\n status={status}\n message={message}\n readOnly={disableFiltering}\n placeholder={placeholder}\n size={size}\n labelPlacement={labelPlacement}\n elementsClassNames={elementsClassNames}\n htmlAttributes={htmlAttributes}\n // Old props\n type={type}\n spacing={spacing}\n isNext={isNext}\n />\n ),\n [\n label,\n loading,\n prefix,\n status,\n message,\n disableFiltering,\n placeholder,\n size,\n labelPlacement,\n elementsClassNames,\n htmlAttributes,\n type,\n spacing,\n isNext,\n ]\n );\n\n const actualOnChange = useCallback<MuiAutocompleteProps<T>['onChange']>(\n (event, optionOrArray, reason) => {\n if (reason === 'clear' && !focusOnClear) {\n event.stopPropagation();\n event.preventDefault();\n }\n\n // Handling of \"Add\" option\n if (onCreate && optionOrArray) {\n const optionArray = optionOrArray instanceof Array ? optionOrArray : [optionOrArray];\n const foundAddOption: OwnAddedOption | undefined = optionArray.find(\n option => !isRealOption(option) && !!option[CreateOptionMark]\n );\n\n if (foundAddOption) {\n onCreate(foundAddOption.newOptionTitle || '');\n return;\n }\n }\n\n // Handling of \"All\" option - only multiselect\n if (multiple && optionOrArray instanceof Array) {\n const allOptionExists = optionOrArray.some(\n option => !isRealOption(option) && !!option[AllOptionMark]\n );\n\n if (allOptionExists) {\n // Selecting \"All\"\n if (muiValue instanceof Array && muiValue.length < options.length) {\n onChange?.(options.filter(isRealOption) as never, reason, event);\n }\n // Deselecting \"All\"\n else {\n onChange?.([] as never, reason, event);\n }\n return;\n }\n }\n\n onChange?.((optionOrArray || undefined) as never, reason, event);\n },\n [focusOnClear, onCreate, multiple, onChange, muiValue, options]\n );\n\n const onSelectOnly = useCallback(\n (option: T, event: ChangeEvent<object>) =>\n onChange?.([option] as never, 'select-only-option', event),\n [onChange]\n );\n\n const actualRenderOption = useCallback<MuiAutocompleteProps<T>['renderOption']>(\n (option: InternalOption<T>, { selected }) => {\n if (isRealOption(option)) {\n return (\n <AutocompleteMenuItem\n size={optionSize}\n selected={selected}\n prefix={option.prefix}\n multiple={multiple}\n useOnlyButton={useOnlyOptionButton}\n option={option}\n onSelectOnly={onSelectOnly}\n >\n {renderOption(option)}\n </AutocompleteMenuItem>\n );\n } else if (option[AllOptionMark]) {\n return (\n <div className={styles.allOptionContainer}>\n <AutocompleteMenuItem\n size={optionSize}\n selected={hasMultiSelected}\n indeterminate={hasMultiSelected && !hasAllMultiSelected}\n multiple\n >\n {option.title}\n </AutocompleteMenuItem>\n <Menu.Divider className={styles.allOptionDivider} />\n </div>\n );\n } else {\n return (\n <AutocompleteMenuItem size={optionSize} selected={hasMultiSelected}>\n {option.title}\n </AutocompleteMenuItem>\n );\n }\n },\n [\n optionSize,\n multiple,\n useOnlyOptionButton,\n onSelectOnly,\n renderOption,\n hasMultiSelected,\n hasAllMultiSelected,\n ]\n );\n\n const actualFilterOptions = useCallback<MuiAutocompleteProps<T>['filterOptions']>(\n (options, params): InternalOption<T>[] => {\n const filteredOptions = filterOptions\n ? filterOptions(options as T[], params.inputValue)\n : createFilterOptions<T>()(options as T[], params);\n\n // Adding \"All\" option if needed\n const optionsWithAll =\n useAllOption && multiple && filteredOptions.length && options.length > 1\n ? [{ title: 'All', [AllOptionMark]: true }, ...filteredOptions]\n : filteredOptions;\n\n // Adding \"Add\" option if needed\n return onCreate && params.inputValue.trim() !== ''\n ? [\n ...optionsWithAll,\n {\n title: `Add \"${params.inputValue}\"`,\n [CreateOptionMark]: true,\n newOptionTitle: params.inputValue,\n },\n ]\n : optionsWithAll;\n },\n [filterOptions, onCreate, useAllOption, multiple]\n );\n\n const actualGetOptionDisabled = useCallback<MuiAutocompleteProps<T>['getOptionDisabled']>(\n option => isRealOption(option) && !!getOptionDisabled?.(option),\n [getOptionDisabled]\n );\n\n const getOptionLabel = useCallback<MuiAutocompleteProps<T>['getOptionLabel']>(\n option => option.title,\n []\n );\n\n const renderTags = useCallback<MuiAutocompleteProps<T>['renderTags']>(\n (tags, getTagProps) => {\n const tagsArray = tags.filter(isRealOption).map((option, index) => {\n // Untyped in MUI, so we have to do it ourselves\n const { onDelete } = getTagProps({ index }) as { onDelete: MouseEventHandler };\n return { option, onDelete };\n });\n\n return renderSelected(tagsArray, { useAllOption, allOptions: options });\n },\n [renderSelected, useAllOption, options]\n );\n\n const actualOnInputChange = useCallback<MuiAutocompleteProps<T>['onInputChange']>(\n (event, value, reason) => {\n if (event && event.type === 'blur') {\n setInputValue('');\n } else if (reason !== 'reset') {\n setInputValue(value);\n }\n\n if (reason !== 'reset') {\n onInputChange?.(value, event as ChangeEvent<HTMLInputElement>);\n }\n },\n [onInputChange]\n );\n\n const actualGroupBy = useMemo<MuiAutocompleteProps<T>['groupBy'] | undefined>(() => {\n if (groupBy) {\n return option => {\n if (isRealOption(option)) {\n return groupBy(option);\n }\n\n return '';\n };\n }\n\n return undefined;\n }, [groupBy]);\n\n const classes = useMemo(() => ({ paper: dropdownClassName }), [dropdownClassName]);\n\n const getOptionSelected = useCallback((a: InternalOption<T>, b: InternalOption<T>) => {\n return isRealOption(a) && isRealOption(b) ? a.id === b.id : false;\n }, []);\n\n const Component = MuiAutocomplete<InternalOption<T>, Multiple, boolean, false>;\n\n const PopperComponent = useCallback(\n (props: PopperProps) => <Popper {...props} {...popperProps} />,\n [popperProps]\n ) as NonNullable<MuiAutocompleteProps<T>['PopperComponent']>;\n\n return (\n <div\n className={classNames(\n styles.root,\n showPopupIcon && styles.withArrow,\n !disableClearable && styles.withClear,\n className\n )}\n data-testid={testId}\n >\n <Component\n value={muiValue}\n options={options}\n getOptionLabel={getOptionLabel}\n renderInput={renderInput}\n PopperComponent={PopperComponent}\n PaperComponent={AutocompletePaper}\n multiple={multiple}\n disableCloseOnSelect={multiple}\n blurOnSelect={!multiple}\n onChange={actualOnChange}\n renderOption={actualRenderOption}\n popupIcon={<DownIcon size={16} />}\n forcePopupIcon={!!showPopupIcon}\n closeIcon={<CloseSmallIcon size={16} />}\n disableClearable={disableClearable}\n clearText=\"\"\n noOptionsText={noOptionsMessage || defaultNoOptionsText}\n filterOptions={actualFilterOptions}\n disabled={disabled}\n getOptionDisabled={actualGetOptionDisabled}\n renderTags={renderTags}\n inputValue={multiple ? inputValue : undefined}\n onInputChange={actualOnInputChange}\n groupBy={actualGroupBy}\n renderGroup={renderGroup}\n clearOnBlur\n selectOnFocus={!disableFiltering}\n classes={classes}\n getOptionSelected={getOptionSelected}\n ListboxComponent={listboxComponent ?? AutocompleteListBox}\n />\n </div>\n );\n};\n\n// Old version\n/**\n * @deprecated use `AutocompleteNext`, and see migration guide for `TextInputNext` for details\n */\nexport type AutocompleteProps<\n T extends AutocompleteOption = AutocompleteOption,\n Multiple extends boolean | undefined = false\n> = Omit<\n AutocompleteBaseProps<T, Multiple>,\n 'size' | 'labelPlacement' | 'elementsClassNames' | 'htmlAttributes' | 'isNext'\n>;\n\n/**\n * @deprecated use `AutocompleteNext`, and see migration guide for `TextInputNext` for details\n */\nexport const Autocomplete = <\n T extends AutocompleteOption,\n Multiple extends boolean | undefined = false\n>(\n props: AutocompleteProps<T, Multiple>\n) => AutocompleteBase<T, Multiple>({ ...props, isNext: false });\n\n// New version\nexport type AutocompleteNextProps<\n T extends AutocompleteOption = AutocompleteOption,\n Multiple extends boolean | undefined = false\n> = Omit<AutocompleteBaseProps<T, Multiple>, 'type' | 'spacing' | 'isNext'>;\n\nexport const AutocompleteNext = <\n T extends AutocompleteOption,\n Multiple extends boolean | undefined = false\n>(\n props: AutocompleteNextProps<T, Multiple>\n) => AutocompleteBase<T, Multiple>({ ...props, isNext: true });\n\nAutocompleteNext.selectedValueRenderers = {\n default: renderSelectedValue,\n chipsMultiline: renderSelectedValueChips,\n};\n"],"names":["AutocompleteBase","_ref","label","_ref$options","options","value","onChange","multiple","_ref$renderOption","renderOption","renderOptionDefault","_ref$optionSize","optionSize","_ref$showPopupIcon","showPopupIcon","_ref$clearable","clearable","loading","noOptionsMessage","filterOptions","prefix","disabled","getOptionDisabled","_ref$renderSelected","renderSelected","renderSelectedValue","onInputChange","className","testId","status","message","_ref$useAllOption","useAllOption","_ref$useOnlyOptionBut","useOnlyOptionButton","groupBy","renderGroup","disableFiltering","onCreate","dropdownClassName","popperProps","placeholder","_ref$focusOnClear","focusOnClear","listboxComponent","_ref$size","size","_ref$labelPlacement","labelPlacement","elementsClassNames","htmlAttributes","type","spacing","isNext","useState","_useState2","_slicedToArray","_useState","inputValue","setInputValue","muiValue","useMemo","undefined","Array","length","mixedValues","valuesArray","filter","_typeof","objectValues","map","_ref2","id","title","optionsById","option","includes","find","hasMultiSelected","hasAllMultiSelected","defaultNoOptionsText","disableClearable","renderInput","useCallback","inputProps","_jsx","AutocompleteInput","_objectSpread","readOnly","actualOnChange","event","optionOrArray","reason","stopPropagation","preventDefault","foundAddOption","isRealOption","CreateOptionMark","newOptionTitle","some","AllOptionMark","onSelectOnly","actualRenderOption","_ref3","selected","AutocompleteMenuItem","useOnlyButton","children","_jsxs","styles","allOptionContainer","indeterminate","Menu","Divider","allOptionDivider","actualFilterOptions","params","_ref5","filteredOptions","createFilterOptions","optionsWithAll","_defineProperty","trim","concat","_toConsumableArray","actualGetOptionDisabled","getOptionLabel","renderTags","tags","getTagProps","tagsArray","index","onDelete","allOptions","actualOnInputChange","actualGroupBy","classes","paper","getOptionSelected","a","b","Component","MuiAutocomplete","PopperComponent","props","Popper","classNames","root","withArrow","withClear","PaperComponent","AutocompletePaper","disableCloseOnSelect","blurOnSelect","popupIcon","DownIcon","forcePopupIcon","closeIcon","CloseSmallIcon","clearText","noOptionsText","clearOnBlur","selectOnFocus","ListboxComponent","AutocompleteListBox","Autocomplete","AutocompleteNext","selectedValueRenderers","default","chipsMultiline","renderSelectedValueChips"],"mappings":"6wKA2MA,IAAMA,EAAmB,SA6CiBC,GAAA,IAzCxCC,IAAAA,MAAKC,EAAAF,EACLG,QAAAA,aAAU,GAAED,EACZE,IAAAA,MACAC,IAAAA,SACAC,IAAAA,SAAQC,EAAAP,EACRQ,aAAAA,aAAeC,EAAmBF,EAAAG,EAAAV,EAClCW,WAAAA,aAAa,SAAQD,EAAAE,EAAAZ,EACrBa,cAAAA,cAAoBD,EAAAE,EAAAd,EACpBe,UAAAA,cAAgBD,EAChBE,IAAAA,QACAC,IAAAA,iBACAC,IAAAA,cACAC,IAAAA,OACAC,IAAAA,SACAC,IAAAA,kBAAiBC,EAAAtB,EACjBuB,eAAAA,aAAiBC,EAAmBF,EACpCG,IAAAA,cACAC,IAAAA,UACAC,IAAAA,OACAC,IAAAA,OACAC,KAAAA,QAA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RxI,MAAOuD,GACPxD,QAASA,EACT0H,eAAgBA,GAChB5C,YAAaA,GACb6D,gBAAiBA,GACjBO,eAAgBC,EAChBhJ,SAAUA,EACViJ,qBAAsBjJ,EACtBkJ,cAAelJ,EACfD,SAAUmF,GACVhF,aAAc6F,GACdoD,UAAWrE,EAACsE,EAAQ,CAAC7G,KAAM,KAC3B8G,iBAAkB9I,EAClB+I,UAAWxE,EAACyE,EAAc,CAAChH,KAAM,KACjCmC,iBAAkBA,GAClB8E,UAAU,GACVC,cAAe9I,GAAoB8D,GACnC7D,cAAegG,GACf9F,SAAUA,EACVC,kBAAmBuG,GACnBE,WAAYA,GACZrE,WAAYnD,EAAWmD,QAAaI,EACpCpC,cAAe4G,GACfnG,QAASoG,GACTnG,YAAaA,GACb6H,aAAW,EACXC,eAAgB7H,GAChBmG,QAASA,GACTE,kBAAmBA,GACnByB,iBAAkBvH,SAAAA,GAAoBwH,KAI9C,EAiBaC,EAAe,SAI1BrB,GAAqC,OAClChJ,SAAmCgJ,GAAK,GAAA,CAAE3F,QAAQ,IAAQ,EAQlDiH,EAAmB,SAI9BtB,GAAyC,OACtChJ,SAAmCgJ,GAAK,GAAA,CAAE3F,QAAQ,IAAO,EAE9DiH,EAAiBC,uBAAyB,CACxCC,QAAS/I,EACTgJ,eAAgBC"}
1
+ {"version":3,"file":"Autocomplete.js","sources":["../../../src/componentsV2/Autocomplete/Autocomplete.tsx"],"sourcesContent":["import {\n Autocomplete as MuiAutocomplete,\n AutocompleteChangeReason as MuiAutocompleteChangeReason,\n AutocompleteProps as MuiAutocompleteBaseProps,\n AutocompleteRenderGroupParams,\n AutocompleteRenderInputParams,\n createFilterOptions,\n} from '@material-ui/lab';\nimport {\n ChangeEvent,\n ComponentType,\n HTMLAttributes,\n MouseEventHandler,\n ReactNode,\n useCallback,\n useMemo,\n useState,\n} from 'react';\nimport classNames from 'classnames';\n\nimport { Popper, PopperProps } from '../Popper';\nimport { MenuItemProps } from '../Menu/MenuItem';\nimport { CloseSmallIcon, DownIcon } from '../../icons';\nimport { TextInputNextProps } from '../TextInputNext';\nimport { TextInputProps } from '../TextInput';\n\nimport { AutocompleteInput } from './AutocompleteInput';\nimport { AutocompletePaper } from './AutocompletePaper';\nimport {\n AllOptionMark,\n AutocompleteOption,\n CreateOptionMark,\n InternalOption,\n isRealOption,\n OwnAddedOption,\n renderOptionDefault,\n renderSelectedValue,\n renderSelectedValueChips,\n} from './utils';\nimport { AutocompleteMenuItem } from './AutocompleteMenuItem';\nimport { AutocompleteListBox } from './AutocompleteListBox';\n\nimport styles from './Autocomplete.scss';\nimport { Menu } from '../Menu';\n\ntype MuiAutocompleteProps<T extends AutocompleteOption> = Required<\n MuiAutocompleteBaseProps<InternalOption<T>, boolean, false, false>\n>;\n\ntype ChangeReason =\n | MuiAutocompleteChangeReason\n | 'select-option-all'\n | 'remove-option-all'\n | 'select-only-option';\ntype AutocompletePopperProps = Omit<PopperProps, 'open' | 'anchorEl' | 'children'>;\n\ntype AutocompleteBaseProps<\n T extends AutocompleteOption = AutocompleteOption,\n Multiple extends boolean | undefined = false\n> = {\n /**\n * Options to allow selection from. Has to be assignable to `{ id: string | number; title: string; prefix?: ReactNode; }[]`\n */\n options?: T[];\n /**\n * Selected value. If `multiple` is `false | undefined`, and the value is an array, only the first element will be used\n *\n * There's a [bug in TS](https://github.com/microsoft/TypeScript/issues/47599) which causes `onChange` prop\n * to have incorrect typing if we mix T and T['id'] in `value`. Therefore, we can't use the \"correct\" typing\n * ```\n * value?: T['id'] | T | (T['id'] | T)[];\n * ```\n *\n * You may need to provide additional typings\n */\n value?: string | number | T | (string | number | T)[];\n /**\n * If `true`, the component will support multiple selection\n */\n multiple?: Multiple;\n /**\n * Selection change handler\n * Receives an array of options if `multiple` is `true`, a single selected option or `undefined` otherwise\n */\n onChange?: (\n value: Multiple extends undefined | false ? T | undefined : T[],\n reason: ChangeReason,\n event?: ChangeEvent<unknown>\n ) => void;\n label?: ReactNode;\n placeholder?: string;\n /**\n * Controls the size of the options rendered\n */\n optionSize?: MenuItemProps['size'];\n disabled?: boolean;\n /**\n * If exists - allows user to create own options. Called when 'Add \"whatever\"' option is selected\n */\n onCreate?: (title: string) => void;\n\n prefix?: ReactNode;\n loading?: boolean;\n showPopupIcon?: boolean;\n /**\n * Controls the \"Clear\" button that's shown to the right if there is a value\n */\n clearable?: boolean;\n /**\n * Controls if the field should keep/gain focus after \"Clear\" button is clicked\n */\n focusOnClear?: boolean;\n /**\n * Triggered when user types something\n */\n onInputChange?: (value: string, event: ChangeEvent<HTMLInputElement>) => void;\n status?: TextInputNextProps['status'];\n message?: TextInputNextProps['message'];\n size?: TextInputNextProps['size'];\n labelPlacement?: TextInputNextProps['labelPlacement'];\n /**\n * Makes internal text field readonly, effectively turning component into a simple `<select/>`\n */\n disableFiltering?: boolean;\n\n renderOption?: (item: T) => ReactNode;\n /**\n * Message to show when there are no options\n */\n noOptionsMessage?: ReactNode;\n spacing?: TextInputProps['spacing'];\n /**\n * Function that filters options based on input value\n */\n filterOptions?: (options: T[], inputValue: string) => T[];\n /**\n * Function that determines if an option is disabled. Used to override the default\n * @param option\n */\n getOptionDisabled?: (option: T) => boolean;\n /**\n * If `multiple === true` shows an \"All\" option that selects/deselects all options\n */\n useAllOption?: boolean;\n /**\n * If `multiple === true` shows a \"Select Only\" button on option that selects only the corresponding option\n */\n useOnlyOptionButton?: boolean;\n\n /**\n * Used to render selected values when `multiple === true`\n */\n renderSelected?: (\n data: { option: T; onDelete: MouseEventHandler }[],\n options: { useAllOption: boolean; allOptions: T[] }\n ) => ReactNode;\n\n /**\n * Defines option grouping\n */\n groupBy?: (option: T) => string;\n /**\n * Group render override\n */\n renderGroup?: (props: AutocompleteRenderGroupParams) => ReactNode;\n\n /**\n * A classname that will be applied to dropdown (`<Paper/>` component)\n */\n dropdownClassName?: string;\n /**\n * Escape hatch to customize dropdown popper behavior.\n * `open`, `anchorEl`, and `children` are controlled internally.\n */\n popperProps?: Partial<AutocompletePopperProps>;\n\n type?: 'default' | 'search';\n\n className?: string;\n testId?: string;\n\n /**\n * Escape hatch to fine-tune the styling of underlying elements\n */\n elementsClassNames?: TextInputNextProps['elementsClassNames'];\n\n /** HTML attributes forwarded to the underlying input. */\n htmlAttributes?: TextInputNextProps['htmlAttributes'];\n\n /**\n * Custom listbox component for rendering options (e.g., virtualized list)\n */\n listboxComponent?: ComponentType<HTMLAttributes<HTMLElement>>;\n\n // TODO Remove when making next a new baseline\n isNext?: boolean;\n};\n\nexport type AutocompleteChangeHandler<\n Option extends AutocompleteOption = AutocompleteOption,\n Multiple extends boolean | undefined = false\n> = Required<AutocompleteBaseProps<Option, Multiple>>['onChange'];\n\nconst AutocompleteBase = <\n T extends AutocompleteOption,\n Multiple extends boolean | undefined = false\n>({\n label,\n options = [],\n value,\n onChange,\n multiple,\n renderOption = renderOptionDefault,\n optionSize = 'medium',\n showPopupIcon = true,\n clearable = true,\n loading,\n noOptionsMessage,\n filterOptions,\n prefix,\n disabled,\n getOptionDisabled,\n renderSelected = renderSelectedValue,\n onInputChange,\n className,\n testId,\n status,\n message,\n useAllOption = false,\n useOnlyOptionButton = false,\n groupBy,\n renderGroup,\n disableFiltering,\n onCreate,\n dropdownClassName,\n popperProps,\n placeholder,\n focusOnClear = true,\n listboxComponent,\n size = 'small',\n labelPlacement = 'top',\n elementsClassNames,\n htmlAttributes,\n\n // Old props\n type,\n spacing,\n isNext,\n}: AutocompleteBaseProps<T, Multiple>) => {\n const [inputValue, setInputValue] = useState('');\n\n const muiValue = useMemo(() => {\n if (value === undefined || (value instanceof Array && value.length === 0)) {\n return multiple ? [] : null;\n }\n\n // Array of either ids or actual values\n const mixedValues = value instanceof Array ? value : [value];\n\n if (multiple) {\n const valuesArray = mixedValues.filter(value => typeof value !== 'object');\n const objectValues = mixedValues\n .filter(value => typeof value === 'object')\n // MUI Autocomplete doesn't like react nodes in value, so we strip everything from the object to the bare minimum\n .map(({ id, title }) => ({ id, title }));\n const optionsById = options.filter(option => valuesArray.includes(option.id));\n\n return [...optionsById, ...objectValues];\n } else {\n return typeof mixedValues[0] === 'object'\n ? mixedValues[0]\n : options.find(option => mixedValues[0] === option.id) || null;\n }\n }, [multiple, value, options]) as MuiAutocompleteBaseProps<T, Multiple, false, false>['value'];\n\n const hasMultiSelected = muiValue instanceof Array && muiValue.length > 0;\n const hasAllMultiSelected = muiValue instanceof Array && muiValue.length === options.length;\n const defaultNoOptionsText = loading ? 'Loading ...' : 'No options';\n const disableClearable =\n !clearable || !muiValue || (muiValue instanceof Array && !muiValue?.length);\n\n const renderInput = useCallback(\n (inputProps: AutocompleteRenderInputParams) => (\n <AutocompleteInput\n {...inputProps}\n label={label}\n loading={loading}\n prefix={prefix}\n status={status}\n message={message}\n readOnly={disableFiltering}\n placeholder={placeholder}\n size={size}\n labelPlacement={labelPlacement}\n elementsClassNames={elementsClassNames}\n htmlAttributes={htmlAttributes}\n // Old props\n type={type}\n spacing={spacing}\n isNext={isNext}\n />\n ),\n [\n label,\n loading,\n prefix,\n status,\n message,\n disableFiltering,\n placeholder,\n size,\n labelPlacement,\n elementsClassNames,\n htmlAttributes,\n type,\n spacing,\n isNext,\n ]\n );\n\n const actualOnChange = useCallback<MuiAutocompleteProps<T>['onChange']>(\n (event, optionOrArray, reason) => {\n if (reason === 'clear' && !focusOnClear) {\n event.stopPropagation();\n event.preventDefault();\n }\n\n // Handling of \"Add\" option\n if (onCreate && optionOrArray) {\n const optionArray = optionOrArray instanceof Array ? optionOrArray : [optionOrArray];\n const foundAddOption: OwnAddedOption | undefined = optionArray.find(\n option => !isRealOption(option) && !!option[CreateOptionMark]\n );\n\n if (foundAddOption) {\n onCreate(foundAddOption.newOptionTitle || '');\n return;\n }\n }\n\n // Handling of \"All\" option - only multiselect\n if (multiple && optionOrArray instanceof Array) {\n const allOptionExists = optionOrArray.some(\n option => !isRealOption(option) && !!option[AllOptionMark]\n );\n\n if (allOptionExists) {\n // Selecting \"All\"\n if (muiValue instanceof Array && muiValue.length < options.length) {\n onChange?.(options.filter(isRealOption) as never, reason, event);\n }\n // Deselecting \"All\"\n else {\n onChange?.([] as never, reason, event);\n }\n return;\n }\n }\n\n onChange?.((optionOrArray || undefined) as never, reason, event);\n },\n [focusOnClear, onCreate, multiple, onChange, muiValue, options]\n );\n\n const onSelectOnly = useCallback(\n (option: T, event: ChangeEvent<object>) =>\n onChange?.([option] as never, 'select-only-option', event),\n [onChange]\n );\n\n const actualRenderOption = useCallback<MuiAutocompleteProps<T>['renderOption']>(\n (option: InternalOption<T>, { selected }) => {\n if (isRealOption(option)) {\n return (\n <AutocompleteMenuItem\n size={optionSize}\n selected={selected}\n prefix={option.prefix}\n multiple={multiple}\n useOnlyButton={useOnlyOptionButton}\n option={option}\n onSelectOnly={onSelectOnly}\n >\n {renderOption(option)}\n </AutocompleteMenuItem>\n );\n } else if (option[AllOptionMark]) {\n return (\n <div className={styles.allOptionContainer}>\n <AutocompleteMenuItem\n size={optionSize}\n selected={hasMultiSelected}\n indeterminate={hasMultiSelected && !hasAllMultiSelected}\n multiple\n >\n {option.title}\n </AutocompleteMenuItem>\n <Menu.Divider className={styles.allOptionDivider} />\n </div>\n );\n } else {\n return (\n <AutocompleteMenuItem size={optionSize} selected={hasMultiSelected}>\n {option.title}\n </AutocompleteMenuItem>\n );\n }\n },\n [\n optionSize,\n multiple,\n useOnlyOptionButton,\n onSelectOnly,\n renderOption,\n hasMultiSelected,\n hasAllMultiSelected,\n ]\n );\n\n const actualFilterOptions = useCallback<MuiAutocompleteProps<T>['filterOptions']>(\n (options, params): InternalOption<T>[] => {\n const filteredOptions = filterOptions\n ? filterOptions(options as T[], params.inputValue)\n : createFilterOptions<T>()(options as T[], params);\n\n // Adding \"All\" option if needed\n const optionsWithAll =\n useAllOption && multiple && filteredOptions.length && options.length > 1\n ? [{ title: 'All', [AllOptionMark]: true }, ...filteredOptions]\n : filteredOptions;\n\n // Adding \"Add\" option if needed\n return onCreate && params.inputValue.trim() !== ''\n ? [\n ...optionsWithAll,\n {\n title: `Add \"${params.inputValue}\"`,\n [CreateOptionMark]: true,\n newOptionTitle: params.inputValue,\n },\n ]\n : optionsWithAll;\n },\n [filterOptions, onCreate, useAllOption, multiple]\n );\n\n const actualGetOptionDisabled = useCallback<MuiAutocompleteProps<T>['getOptionDisabled']>(\n option => isRealOption(option) && !!getOptionDisabled?.(option),\n [getOptionDisabled]\n );\n\n const getOptionLabel = useCallback<MuiAutocompleteProps<T>['getOptionLabel']>(\n option => option.title,\n []\n );\n\n const renderTags = useCallback<MuiAutocompleteProps<T>['renderTags']>(\n (tags, getTagProps) => {\n const tagsArray = tags.filter(isRealOption).map((option, index) => {\n // Untyped in MUI, so we have to do it ourselves\n const { onDelete } = getTagProps({ index }) as { onDelete: MouseEventHandler };\n return { option, onDelete };\n });\n\n return renderSelected(tagsArray, { useAllOption, allOptions: options });\n },\n [renderSelected, useAllOption, options]\n );\n\n const actualOnInputChange = useCallback<MuiAutocompleteProps<T>['onInputChange']>(\n (event, value, reason) => {\n if (event && event.type === 'blur') {\n setInputValue('');\n } else if (reason !== 'reset') {\n setInputValue(value);\n }\n\n if (reason !== 'reset') {\n onInputChange?.(value, event as ChangeEvent<HTMLInputElement>);\n }\n },\n [onInputChange]\n );\n\n const actualGroupBy = useMemo<MuiAutocompleteProps<T>['groupBy'] | undefined>(() => {\n if (groupBy) {\n return option => {\n if (isRealOption(option)) {\n return groupBy(option);\n }\n\n return '';\n };\n }\n\n return undefined;\n }, [groupBy]);\n\n const classes = useMemo(() => ({ paper: dropdownClassName }), [dropdownClassName]);\n\n const getOptionSelected = useCallback((a: InternalOption<T>, b: InternalOption<T>) => {\n return isRealOption(a) && isRealOption(b) ? a.id === b.id : false;\n }, []);\n\n const Component = MuiAutocomplete<InternalOption<T>, Multiple, boolean, false>;\n\n const PopperComponent = useCallback(\n (props: PopperProps) => (\n <Popper\n {...props}\n {...popperProps}\n className={classNames(props?.className, popperProps?.className)}\n />\n ),\n [popperProps]\n ) as NonNullable<MuiAutocompleteProps<T>['PopperComponent']>;\n\n return (\n <div\n className={classNames(\n styles.root,\n showPopupIcon && styles.withArrow,\n !disableClearable && styles.withClear,\n className\n )}\n data-testid={testId}\n >\n <Component\n value={muiValue}\n options={options}\n getOptionLabel={getOptionLabel}\n renderInput={renderInput}\n PopperComponent={PopperComponent}\n PaperComponent={AutocompletePaper}\n multiple={multiple}\n disableCloseOnSelect={multiple}\n blurOnSelect={!multiple}\n onChange={actualOnChange}\n renderOption={actualRenderOption}\n popupIcon={<DownIcon size={16} />}\n forcePopupIcon={!!showPopupIcon}\n closeIcon={<CloseSmallIcon size={16} />}\n disableClearable={disableClearable}\n clearText=\"\"\n noOptionsText={noOptionsMessage || defaultNoOptionsText}\n filterOptions={actualFilterOptions}\n disabled={disabled}\n getOptionDisabled={actualGetOptionDisabled}\n renderTags={renderTags}\n inputValue={multiple ? inputValue : undefined}\n onInputChange={actualOnInputChange}\n groupBy={actualGroupBy}\n renderGroup={renderGroup}\n clearOnBlur\n selectOnFocus={!disableFiltering}\n classes={classes}\n getOptionSelected={getOptionSelected}\n ListboxComponent={listboxComponent ?? AutocompleteListBox}\n />\n </div>\n );\n};\n\n// Old version\n/**\n * @deprecated use `AutocompleteNext`, and see migration guide for `TextInputNext` for details\n */\nexport type AutocompleteProps<\n T extends AutocompleteOption = AutocompleteOption,\n Multiple extends boolean | undefined = false\n> = Omit<\n AutocompleteBaseProps<T, Multiple>,\n 'size' | 'labelPlacement' | 'elementsClassNames' | 'htmlAttributes' | 'isNext'\n>;\n\n/**\n * @deprecated use `AutocompleteNext`, and see migration guide for `TextInputNext` for details\n */\nexport const Autocomplete = <\n T extends AutocompleteOption,\n Multiple extends boolean | undefined = false\n>(\n props: AutocompleteProps<T, Multiple>\n) => AutocompleteBase<T, Multiple>({ ...props, isNext: false });\n\n// New version\nexport type AutocompleteNextProps<\n T extends AutocompleteOption = AutocompleteOption,\n Multiple extends boolean | undefined = false\n> = Omit<AutocompleteBaseProps<T, Multiple>, 'type' | 'spacing' | 'isNext'>;\n\nexport const AutocompleteNext = <\n T extends AutocompleteOption,\n Multiple extends boolean | undefined = false\n>(\n props: AutocompleteNextProps<T, Multiple>\n) => AutocompleteBase<T, Multiple>({ ...props, isNext: true });\n\nAutocompleteNext.selectedValueRenderers = {\n default: renderSelectedValue,\n chipsMultiline: renderSelectedValueChips,\n};\n"],"names":["AutocompleteBase","_ref","label","_ref$options","options","value","onChange","multiple","_ref$renderOption","renderOption","renderOptionDefault","_ref$optionSize","optionSize","_ref$showPopupIcon","showPopupIcon","_ref$clearable","clearable","loading","noOptionsMessage","filterOptions","prefix","disabled","getOptionDisabled","_ref$renderSelected","renderSelected","renderSelectedValue","onInputChange","className","testId","status","message","_ref$useAllOption","useAllOption","_ref$useOnlyOptionBut","useOnlyOptionButton","groupBy","renderGroup","disableFiltering","onCreate","dropdownClassName","popperProps","placeholder","_ref$focusOnClear","focusOnClear","listboxComponent","_ref$size","size","_ref$labelPlacement","labelPlacement","elementsClassNames","htmlAttributes","type","spacing","isNext","useState","_useState2","_slicedToArray","_useState","inputValue","setInputValue","muiValue","useMemo","undefined","Array","length","mixedValues","valuesArray","filter","_typeof","objectValues","map","_ref2","id","title","optionsById","option","includes","find","hasMultiSelected","hasAllMultiSelected","defaultNoOptionsText","disableClearable","renderInput","useCallback","inputProps","_jsx","AutocompleteInput","_objectSpread","readOnly","actualOnChange","event","optionOrArray","reason","stopPropagation","preventDefault","foundAddOption","isRealOption","CreateOptionMark","newOptionTitle","some","AllOptionMark","onSelectOnly","actualRenderOption","_ref3","selected","AutocompleteMenuItem","useOnlyButton","children","_jsxs","styles","allOptionContainer","indeterminate","Menu","Divider","allOptionDivider","actualFilterOptions","params","_ref5","filteredOptions","createFilterOptions","optionsWithAll","_defineProperty","trim","concat","_toConsumableArray","actualGetOptionDisabled","getOptionLabel","renderTags","tags","getTagProps","tagsArray","index","onDelete","allOptions","actualOnInputChange","actualGroupBy","classes","paper","getOptionSelected","a","b","Component","MuiAutocomplete","PopperComponent","props","Popper","classNames","root","withArrow","withClear","PaperComponent","AutocompletePaper","disableCloseOnSelect","blurOnSelect","popupIcon","DownIcon","forcePopupIcon","closeIcon","CloseSmallIcon","clearText","noOptionsText","clearOnBlur","selectOnFocus","ListboxComponent","AutocompleteListBox","Autocomplete","AutocompleteNext","selectedValueRenderers","default","chipsMultiline","renderSelectedValueChips"],"mappings":"o3KA2MA,IAAMA,EAAmB,SA6CiBC,GAAA,IAzCxCC,IAAAA,MAAKC,EAAAF,EACLG,QAAAA,aAAU,GAAED,EACZE,IAAAA,MACAC,IAAAA,SACAC,IAAAA,SAAQC,EAAAP,EACRQ,aAAAA,aAAeC,EAAmBF,EAAAG,EAAAV,EAClCW,WAAAA,aAAa,SAAQD,EAAAE,EAAAZ,EACrBa,cAAAA,cAAoBD,EAAAE,EAAAd,EACpBe,UAAAA,cAAgBD,EAChBE,IAAAA,QACAC,IAAAA,iBACAC,IAAAA,cACAC,IAAAA,OACAC,IAAAA,SACAC,IAAAA,kBAAiBC,EAAAtB,EACjBuB,eAAAA,aAAiBC,EAAmBF,EACpCG,IAAAA,cACAC,IAAAA,UACAC,IAAAA,OACAC,IAAAA,OACAC,KAAAA,QAAOC,GAAA9B,EACP+B,aAAAA,gBAAoBD,GAAAE,GAAAhC,EACpBiC,oBAAAA,gBAA2BD,GAC3BE,KAAAA,QACAC,KAAAA,YACAC,KAAAA,iBACAC,KAAAA,SACAC,KAAAA,kBACAC,KAAAA,YACAC,KAAAA,YAAWC,GAAAzC,EACX0C,aAAAA,gBAAmBD,GACnBE,KAAAA,iBAAgBC,GAAA5C,EAChB6C,KAAAA,eAAO,QAAOD,GAAAE,GAAA9C,EACd+C,eAAAA,eAAiB,MAAKD,GACtBE,KAAAA,mBACAC,KAAAA,eAGAC,KAAAA,KACAC,KAAAA,QACAC,KAAAA,OAEoCC,GAAAA,EAAS,IAAGC,GAAAC,EAAAC,GAAA,GAAzCC,GAAUH,GAAA,GAAEI,GAAaJ,GAAA,GAE1BK,GAAWC,GAAQ,WACvB,QAAcC,IAA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aI,EACpCpC,cAAe4G,GACfnG,QAASoG,GACTnG,YAAaA,GACb6H,aAAW,EACXC,eAAgB7H,GAChBmG,QAASA,GACTE,kBAAmBA,GACnByB,iBAAkBvH,SAAAA,GAAoBwH,KAI9C,EAiBaC,EAAe,SAI1BrB,GAAqC,OAClChJ,SAAmCgJ,GAAK,GAAA,CAAE3F,QAAQ,IAAQ,EAQlDiH,EAAmB,SAI9BtB,GAAyC,OACtChJ,SAAmCgJ,GAAK,GAAA,CAAE3F,QAAQ,IAAO,EAE9DiH,EAAiBC,uBAAyB,CACxCC,QAAS/I,EACTgJ,eAAgBC"}
@@ -1,2 +1,2 @@
1
- import o from"classnames";import{Fragment as s}from"react";import c from"./Breadcrumbs.scss.js";import{LeftIcon 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{jsxs as n,jsx as t}from"react/jsx-runtime";var m=function(m){var r=m.showBackIcon,e=m.testId,p=m.items,u=m.className,a=m.onItemClick,I=m.activeIndex;return n("nav",{className:o(c.root,u),"data-testid":e,children:[r&&p.length>0&&t("span",{className:c.item,onClick:function(){var o;return null==a?void 0:a(null==p||null===(o=p[0])||void 0===o?void 0:o.to)},children:t(i,{size:16})}),p.map((function(i,m){var r=i.className,e=i.testId,p=i.title,u=i.to;return n(s,{children:[m>0&&t("div",{className:c.separator,children:"/"}),t("span",{className:o(c.item,m===I&&c.active,r),"data-testid":e,onClick:function(){return null==a?void 0:a(u)},children:p})]},m)}))]})};export{m as Breadcrumbs};
1
+ import o from"classnames";import{Fragment as s}from"react";import c from"./Breadcrumbs.scss.js";import{LeftIcon 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{jsxs as n,jsx as t}from"react/jsx-runtime";var m=function(m){var r=m.showBackIcon,e=m.testId,p=m.items,u=m.className,I=m.onItemClick,a=m.activeIndex;return n("nav",{className:o(c.root,u),"data-testid":e,children:[r&&p.length>0&&t("span",{className:c.item,onClick:function(){var o;return null==I?void 0:I(null==p||null===(o=p[0])||void 0===o?void 0:o.to)},children:t(i,{size:16})}),p.map((function(i,m){var r=i.className,e=i.testId,p=i.title,u=i.to;return n(s,{children:[m>0&&t("div",{className:c.separator,children:"/"}),t("span",{className:o(c.item,m===a&&c.active,r),"data-testid":e,onClick:function(){return null==I?void 0:I(u)},children:p})]},m)}))]})};export{m as Breadcrumbs};
2
2
  //# sourceMappingURL=Breadcrumbs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Breadcrumbs.js","sources":["../../../src/componentsV2/Breadcrumbs/Breadcrumbs.tsx"],"sourcesContent":["import classNames from 'classnames';\nimport { Fragment, ReactNode } from 'react';\n\nimport styles from './Breadcrumbs.scss';\n\nimport { LeftIcon } from '~/icons';\n\nexport type BreadcrumbsProps = {\n items: {\n title: ReactNode;\n to?: string;\n\n className?: string;\n testId?: string;\n }[];\n onItemClick?: (to?: string) => void;\n activeIndex?: number;\n /**\n * Renders a back button before items. Clicking on it will call `onItemClick` with the arguments for the first item\n */\n showBackIcon?: boolean;\n\n className?: string;\n testId?: string;\n};\n\nexport const Breadcrumbs = ({\n showBackIcon,\n testId,\n items,\n className,\n onItemClick,\n activeIndex,\n}: BreadcrumbsProps) => {\n return (\n <nav className={classNames(styles.root, className)} data-testid={testId}>\n {showBackIcon && items.length > 0 && (\n <span className={styles.item} onClick={() => onItemClick?.(items?.[0]?.to)}>\n <LeftIcon size={16} />\n </span>\n )}\n\n {items.map(({ className: itemClassName, testId, title, to }, index) => (\n <Fragment key={index}>\n {index > 0 && <div className={styles.separator}>/</div>}\n <span\n className={classNames(\n styles.item,\n index === activeIndex && styles.active,\n itemClassName\n )}\n data-testid={testId}\n onClick={() => onItemClick?.(to)}\n >\n {title}\n </span>\n </Fragment>\n ))}\n </nav>\n );\n};\n"],"names":["Breadcrumbs","_ref","showBackIcon","testId","items","className","onItemClick","activeIndex","_jsxs","classNames","styles","root","children","length","_jsx","item","onClick","_items$","to","LeftIcon","size","map","index","itemClassName","title","Fragment","separator","active"],"mappings":"q4HA0BaA,IAAAA,EAAc,SAOHC,GAAA,IANtBC,IAAAA,aACAC,IAAAA,OACAC,IAAAA,MACAC,IAAAA,UACAC,IAAAA,YACAC,IAAAA,YAEA,OACEC,EAAA,MAAA,CAAKH,UAAWI,EAAWC,EAAOC,KAAMN,GAAY,cAAaF,EAAOS,SAAA,CACrEV,GAAgBE,EAAMS,OAAS,GAC9BC,EAAA,OAAA,CAAMT,UAAWK,EAAOK,KAAMC,QAAS,WAAA,IAAAC,EAAA,OAAMX,aAAAA,EAAAA,EAAcF,SAAA,QAAKa,EAALb,EAAQ,UAAR,IAAAa,OAAK,EAALA,EAAYC,GAAI,EAAAN,SACzEE,EAACK,EAAQ,CAACC,KAAM,OAInBhB,EAAMiB,KAAI,WAAkDC,GAAK,IAAzCC,IAAXlB,UAA0BF,IAAAA,OAAQqB,IAAAA,MAAON,IAAAA,GAAE,OACvDV,EAACiB,EAAQ,CAAAb,SACNU,CAAAA,EAAQ,GAAKR,EAAA,MAAA,CAAKT,UAAWK,EAAOgB,UAAUd,SAAA,MAC/CE,EAAA,OAAA,CACET,UAAWI,EACTC,EAAOK,KACPO,IAAUf,GAAeG,EAAOiB,OAChCJ,GAEF,cAAapB,EACba,QAAS,WAAA,OAAMV,eAAAA,EAAcY,EAAI,EAAAN,SAEhCY,MAXUF,EAaJ,MAInB"}
1
+ {"version":3,"file":"Breadcrumbs.js","sources":["../../../src/componentsV2/Breadcrumbs/Breadcrumbs.tsx"],"sourcesContent":["import classNames from 'classnames';\nimport { Fragment, ReactNode } from 'react';\n\nimport styles from './Breadcrumbs.scss';\n\nimport { LeftIcon } from '~/icons';\n\nexport type BreadcrumbsProps = {\n items: {\n title: ReactNode;\n to?: string;\n\n className?: string;\n testId?: string;\n }[];\n onItemClick?: (to?: string) => void;\n activeIndex?: number;\n /**\n * Renders a back button before items. Clicking on it will call `onItemClick` with the arguments for the first item\n */\n showBackIcon?: boolean;\n\n className?: string;\n testId?: string;\n};\n\nexport const Breadcrumbs = ({\n showBackIcon,\n testId,\n items,\n className,\n onItemClick,\n activeIndex,\n}: BreadcrumbsProps) => {\n return (\n <nav className={classNames(styles.root, className)} data-testid={testId}>\n {showBackIcon && items.length > 0 && (\n <span className={styles.item} onClick={() => onItemClick?.(items?.[0]?.to)}>\n <LeftIcon size={16} />\n </span>\n )}\n\n {items.map(({ className: itemClassName, testId, title, to }, index) => (\n <Fragment key={index}>\n {index > 0 && <div className={styles.separator}>/</div>}\n <span\n className={classNames(\n styles.item,\n index === activeIndex && styles.active,\n itemClassName\n )}\n data-testid={testId}\n onClick={() => onItemClick?.(to)}\n >\n {title}\n </span>\n </Fragment>\n ))}\n </nav>\n );\n};\n"],"names":["Breadcrumbs","_ref","showBackIcon","testId","items","className","onItemClick","activeIndex","_jsxs","classNames","styles","root","children","length","_jsx","item","onClick","_items$","to","LeftIcon","size","map","index","itemClassName","title","Fragment","separator","active"],"mappings":"4+HA0BaA,IAAAA,EAAc,SAOHC,GAAA,IANtBC,IAAAA,aACAC,IAAAA,OACAC,IAAAA,MACAC,IAAAA,UACAC,IAAAA,YACAC,IAAAA,YAEA,OACEC,EAAA,MAAA,CAAKH,UAAWI,EAAWC,EAAOC,KAAMN,GAAY,cAAaF,EAAOS,SAAA,CACrEV,GAAgBE,EAAMS,OAAS,GAC9BC,EAAA,OAAA,CAAMT,UAAWK,EAAOK,KAAMC,QAAS,WAAA,IAAAC,EAAA,OAAMX,aAAAA,EAAAA,EAAcF,SAAA,QAAKa,EAALb,EAAQ,UAAR,IAAAa,OAAK,EAALA,EAAYC,GAAI,EAAAN,SACzEE,EAACK,EAAQ,CAACC,KAAM,OAInBhB,EAAMiB,KAAI,WAAkDC,GAAK,IAAzCC,IAAXlB,UAA0BF,IAAAA,OAAQqB,IAAAA,MAAON,IAAAA,GAAE,OACvDV,EAACiB,EAAQ,CAAAb,SACNU,CAAAA,EAAQ,GAAKR,EAAA,MAAA,CAAKT,UAAWK,EAAOgB,UAAUd,SAAA,MAC/CE,EAAA,OAAA,CACET,UAAWI,EACTC,EAAOK,KACPO,IAAUf,GAAeG,EAAOiB,OAChCJ,GAEF,cAAapB,EACba,QAAS,WAAA,OAAMV,eAAAA,EAAcY,EAAI,EAAAN,SAEhCY,MAXUF,EAaJ,MAInB"}
@@ -1,2 +1,2 @@
1
- import o from"@babel/runtime/helpers/defineProperty";import s from"@babel/runtime/helpers/objectWithoutProperties";import{forwardRef as c}from"react";import i from"classnames";import{Button as n}from"../Button/Button.js";import{Tooltip as t}from"../Tooltip/Tooltip.js";import r from"./ButtonLive.scss.js";import{ArrowRightIcon as m}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{jsx as e}from"react/jsx-runtime";var p=["children","tooltip","size","className"];function u(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 j(s){for(var c=1;c<arguments.length;c++){var i=null!=arguments[c]?arguments[c]:{};c%2?u(Object(i),!0).forEach((function(c){o(s,c,i[c])})):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(i)):u(Object(i)).forEach((function(o){Object.defineProperty(s,o,Object.getOwnPropertyDescriptor(i,o))}))}return s}var l={large:r.large,medium:r.medium,small:r.small},a=c((function(o,c){var u=o.children,a=void 0===u?"Live":u,I=o.tooltip,d=void 0===I?"Go to Live data":I,b=o.size,O=void 0===b?"medium":b,h=o.className,f=s(o,p);return e(t,{title:d,disabled:!d,placement:"bottom-start",children:e(n,j(j({className:i(r.root,l[O],h),size:O,ref:c,type:"tertiary",prefix:e(m,{})},f),{},{children:a}))})}));export{a as ButtonLive};
1
+ import o from"@babel/runtime/helpers/defineProperty";import s from"@babel/runtime/helpers/objectWithoutProperties";import{forwardRef as c}from"react";import i from"classnames";import{Button as n}from"../Button/Button.js";import{Tooltip as t}from"../Tooltip/Tooltip.js";import r from"./ButtonLive.scss.js";import{ArrowRightIcon as m}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{jsx as e}from"react/jsx-runtime";var p=["children","tooltip","size","className"];function u(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 j(s){for(var c=1;c<arguments.length;c++){var i=null!=arguments[c]?arguments[c]:{};c%2?u(Object(i),!0).forEach((function(c){o(s,c,i[c])})):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(i)):u(Object(i)).forEach((function(o){Object.defineProperty(s,o,Object.getOwnPropertyDescriptor(i,o))}))}return s}var l={large:r.large,medium:r.medium,small:r.small},a=c((function(o,c){var u=o.children,a=void 0===u?"Live":u,I=o.tooltip,d=void 0===I?"Go to Live data":I,O=o.size,b=void 0===O?"medium":O,h=o.className,f=s(o,p);return e(t,{title:d,disabled:!d,placement:"bottom-start",children:e(n,j(j({className:i(r.root,l[b],h),size:b,ref:c,type:"tertiary",prefix:e(m,{})},f),{},{children:a}))})}));export{a as ButtonLive};
2
2
  //# sourceMappingURL=ButtonLive.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ButtonLive.js","sources":["../../../src/componentsV2/ButtonLive/ButtonLive.tsx"],"sourcesContent":["import { forwardRef, MouseEventHandler, ReactNode } from 'react';\nimport classNames from 'classnames';\n\nimport { Button } from '../Button';\nimport { Tooltip } from '../Tooltip';\n\nimport styles from './ButtonLive.scss';\n\nimport { ArrowRightIcon } from '~/icons';\n\nexport type ButtonLiveProps = {\n /**\n * Content\n */\n children?: ReactNode;\n size?: 'small' | 'medium' | 'large';\n disabled?: boolean;\n onClick?: MouseEventHandler<HTMLButtonElement>;\n tooltip?: ReactNode;\n\n className?: string;\n testId?: string;\n};\n\nconst SizeToClassMap: Record<Required<ButtonLiveProps>['size'], string> = {\n large: styles.large,\n medium: styles.medium,\n small: styles.small,\n};\n\nexport const ButtonLive = forwardRef<HTMLButtonElement, ButtonLiveProps>(\n (\n { children = 'Live', tooltip = 'Go to Live data', size = 'medium', className, ...rest },\n ref\n ) => {\n return (\n <Tooltip title={tooltip} disabled={!tooltip} placement=\"bottom-start\">\n <Button\n className={classNames(styles.root, SizeToClassMap[size], className)}\n size={size}\n ref={ref}\n type=\"tertiary\"\n prefix={<ArrowRightIcon />}\n {...rest}\n >\n {children}\n </Button>\n </Tooltip>\n );\n }\n);\n"],"names":["SizeToClassMap","large","styles","medium","small","ButtonLive","forwardRef","_ref","ref","_ref$children","children","_ref$tooltip","tooltip","_ref$size","size","className","rest","_objectWithoutProperties","_excluded","_jsx","Tooltip","title","disabled","placement","Button","_objectSpread","classNames","root","type","prefix","ArrowRightIcon"],"mappings":"isJAwBA,IAAMA,EAAoE,CACxEC,MAAOC,EAAOD,MACdE,OAAQD,EAAOC,OACfC,MAAOF,EAAOE,OAGHC,EAAaC,GACxB,SAAAC,EAEEC,GACG,IAAAC,EAAAF,EAFDG,SAAAA,aAAW,OAAMD,EAAAE,EAAAJ,EAAEK,QAAAA,aAAU,kBAAiBD,EAAAE,EAAAN,EAAEO,KAAAA,aAAO,SAAQD,EAAEE,IAAAA,UAAcC,EAAIC,EAAAV,EAAAW,GAGrF,OACEC,EAACC,EAAO,CAACC,MAAOT,EAASU,UAAWV,EAASW,UAAU,eAAcb,SACnES,EAACK,EAAMC,EAAAA,EAAA,CACLV,UAAWW,EAAWxB,EAAOyB,KAAM3B,EAAec,GAAOC,GACzDD,KAAMA,EACNN,IAAKA,EACLoB,KAAK,WACLC,OAAQV,EAACW,EAAc,KACnBd,GAAI,GAAA,CAAAN,SAEPA,MAIT"}
1
+ {"version":3,"file":"ButtonLive.js","sources":["../../../src/componentsV2/ButtonLive/ButtonLive.tsx"],"sourcesContent":["import { forwardRef, MouseEventHandler, ReactNode } from 'react';\nimport classNames from 'classnames';\n\nimport { Button } from '../Button';\nimport { Tooltip } from '../Tooltip';\n\nimport styles from './ButtonLive.scss';\n\nimport { ArrowRightIcon } from '~/icons';\n\nexport type ButtonLiveProps = {\n /**\n * Content\n */\n children?: ReactNode;\n size?: 'small' | 'medium' | 'large';\n disabled?: boolean;\n onClick?: MouseEventHandler<HTMLButtonElement>;\n tooltip?: ReactNode;\n\n className?: string;\n testId?: string;\n};\n\nconst SizeToClassMap: Record<Required<ButtonLiveProps>['size'], string> = {\n large: styles.large,\n medium: styles.medium,\n small: styles.small,\n};\n\nexport const ButtonLive = forwardRef<HTMLButtonElement, ButtonLiveProps>(\n (\n { children = 'Live', tooltip = 'Go to Live data', size = 'medium', className, ...rest },\n ref\n ) => {\n return (\n <Tooltip title={tooltip} disabled={!tooltip} placement=\"bottom-start\">\n <Button\n className={classNames(styles.root, SizeToClassMap[size], className)}\n size={size}\n ref={ref}\n type=\"tertiary\"\n prefix={<ArrowRightIcon />}\n {...rest}\n >\n {children}\n </Button>\n </Tooltip>\n );\n }\n);\n"],"names":["SizeToClassMap","large","styles","medium","small","ButtonLive","forwardRef","_ref","ref","_ref$children","children","_ref$tooltip","tooltip","_ref$size","size","className","rest","_objectWithoutProperties","_excluded","_jsx","Tooltip","title","disabled","placement","Button","_objectSpread","classNames","root","type","prefix","ArrowRightIcon"],"mappings":"wyJAwBA,IAAMA,EAAoE,CACxEC,MAAOC,EAAOD,MACdE,OAAQD,EAAOC,OACfC,MAAOF,EAAOE,OAGHC,EAAaC,GACxB,SAAAC,EAEEC,GACG,IAAAC,EAAAF,EAFDG,SAAAA,aAAW,OAAMD,EAAAE,EAAAJ,EAAEK,QAAAA,aAAU,kBAAiBD,EAAAE,EAAAN,EAAEO,KAAAA,aAAO,SAAQD,EAAEE,IAAAA,UAAcC,EAAIC,EAAAV,EAAAW,GAGrF,OACEC,EAACC,EAAO,CAACC,MAAOT,EAASU,UAAWV,EAASW,UAAU,eAAcb,SACnES,EAACK,EAAMC,EAAAA,EAAA,CACLV,UAAWW,EAAWxB,EAAOyB,KAAM3B,EAAec,GAAOC,GACzDD,KAAMA,EACNN,IAAKA,EACLoB,KAAK,WACLC,OAAQV,EAACW,EAAc,KACnBd,GAAI,GAAA,CAAAN,SAEPA,MAIT"}
@@ -1,2 +1,2 @@
1
- import o from"@babel/runtime/helpers/slicedToArray";import s from"classnames";import{useState as c,useRef as i,useCallback as n,useMemo as t,useEffect as r}from"react";import{throttle as m}from"lodash";import{ChartAxisExtremeInput as e}from"./ChartAxisExtremeInput.js";import{usePositionStyles as u,defaultValueValidator as p,defaultValueFormatter as a,getDeltaDrag as l}from"./utils.js";import{ChartAxisExtremeDragTracker as j}from"./ChartAxisExtremeDragTracker.js";import I from"./ChartAxisExtreme.scss.js";import{UpIcon as d,LeftIcon as v,DownIcon as f,RightIcon as h}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{jsxs as C,jsx as x}from"react/jsx-runtime";var g=function(g){var F=g.axis,b=g.testId,A=g.className,O=g.formatValue,D=g.value,y=g.dragDeltaValue,E=void 0===y?5:y,M=g.onChange,N=g.extremeType,T=g.validate,k=void 0===T?p:T,P=c(!1),z=o(P,2),R=z[0],S=z[1],w=c(),G=o(w,2),U=G[0],V=G[1],B=c(),L=o(B,2),q=L[0],W=L[1],K=c(!1),X=o(K,2),Y=X[0],Z=X[1],H=i(!1),J=i(null),Q=i(),$=Y?q:D,_=u({axis:F,extremeType:N}),oo=!F.horiz,so=O||a,co=n((function(o){return"number"==typeof E?Math.floor(o/(E||1)):E(o)}),[E]),io=n((function(o){return k(o,{axis:F,extremeType:N})}),[F,N,k]),no=n((function(){H.current=!1,S(!0)}),[]),to=n((function(){H.current=!1,S(!1)}),[]),ro=n((function(o){void 0!==o&&(null==M||M(o,{axis:F,extremeType:N})),to()}),[F,N,M,to]),mo=n((function(o){o.preventDefault(),Q.current=void 0,H.current=!0}),[]),eo=n((function(o){null==M||M(o,{axis:F,extremeType:N})}),[F,N,M]),uo=t((function(){return m((function(o){eo(o)}),300)}),[eo]),po=n((function(){H.current=!1,W(void 0),V(void 0),Z(!1),uo.flush()}),[uo]),ao=n((function(){!H.current||R||Y||(W($),V($),Z(!0))}),[Y,R,$]),lo=n((function(o){if(J.current&&F&&void 0!==U){var s;if(!Q.current)Q.current=null===(s=J.current)||void 0===s?void 0:s.getBoundingClientRect();var c=o.clientY,i=o.clientX,n=Q.current,t=n.y,r=n.height,m=n.x,e=n.width,u=oo?l(c,t,r):-l(i,m,e),p=U+co(u);io(p)&&(W(p),uo(p))}}),[io,F,co,U,oo,uo]);return r((function(){return function(){return uo.cancel()}}),[uo]),void 0!==$&&F?C("div",{className:s(I.root,A),style:_,"data-testid":b,children:[x(j,{isDragging:Y,onDragEnd:po,onDrag:lo,isVertical:oo}),C("div",{className:I.content,onMouseDown:mo,onMouseLeave:ao,onClick:no,ref:J,children:[C("div",{className:s(I.valueContainer,R&&I.isEditing,oo&&I.vertical),children:[x(oo?d:v,{size:Number(I.arrowsSize),className:I.valueArrow}),x("div",{className:I.value,children:so($)}),x(oo?f:h,{size:Number(I.arrowsSize),className:I.valueArrow})]}),x(e,{value:$,isEditing:R,onEditEnd:ro,validate:io,isVertical:oo})]})]}):null};export{g as ChartAxisExtreme};
1
+ import o from"@babel/runtime/helpers/slicedToArray";import s from"classnames";import{useState as c,useRef as i,useCallback as n,useMemo as t,useEffect as r}from"react";import{throttle as m}from"lodash";import{ChartAxisExtremeInput as e}from"./ChartAxisExtremeInput.js";import{usePositionStyles as u,defaultValueValidator as p,defaultValueFormatter as a,getDeltaDrag as l}from"./utils.js";import{ChartAxisExtremeDragTracker as j}from"./ChartAxisExtremeDragTracker.js";import I from"./ChartAxisExtreme.scss.js";import{UpIcon as d,LeftIcon as v,DownIcon as f,RightIcon as h}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{jsxs as C,jsx as x}from"react/jsx-runtime";var g=function(g){var F=g.axis,b=g.testId,A=g.className,O=g.formatValue,D=g.value,y=g.dragDeltaValue,E=void 0===y?5:y,M=g.onChange,P=g.extremeType,N=g.validate,T=void 0===N?p:N,k=c(!1),z=o(k,2),R=z[0],S=z[1],w=c(),G=o(w,2),U=G[0],V=G[1],B=c(),L=o(B,2),q=L[0],W=L[1],K=c(!1),X=o(K,2),Y=X[0],Z=X[1],H=i(!1),J=i(null),Q=i(),$=Y?q:D,_=u({axis:F,extremeType:P}),oo=!F.horiz,so=O||a,co=n((function(o){return"number"==typeof E?Math.floor(o/(E||1)):E(o)}),[E]),io=n((function(o){return T(o,{axis:F,extremeType:P})}),[F,P,T]),no=n((function(){H.current=!1,S(!0)}),[]),to=n((function(){H.current=!1,S(!1)}),[]),ro=n((function(o){void 0!==o&&(null==M||M(o,{axis:F,extremeType:P})),to()}),[F,P,M,to]),mo=n((function(o){o.preventDefault(),Q.current=void 0,H.current=!0}),[]),eo=n((function(o){null==M||M(o,{axis:F,extremeType:P})}),[F,P,M]),uo=t((function(){return m((function(o){eo(o)}),300)}),[eo]),po=n((function(){H.current=!1,W(void 0),V(void 0),Z(!1),uo.flush()}),[uo]),ao=n((function(){!H.current||R||Y||(W($),V($),Z(!0))}),[Y,R,$]),lo=n((function(o){if(J.current&&F&&void 0!==U){var s;if(!Q.current)Q.current=null===(s=J.current)||void 0===s?void 0:s.getBoundingClientRect();var c=o.clientY,i=o.clientX,n=Q.current,t=n.y,r=n.height,m=n.x,e=n.width,u=oo?l(c,t,r):-l(i,m,e),p=U+co(u);io(p)&&(W(p),uo(p))}}),[io,F,co,U,oo,uo]);return r((function(){return function(){return uo.cancel()}}),[uo]),void 0!==$&&F?C("div",{className:s(I.root,A),style:_,"data-testid":b,children:[x(j,{isDragging:Y,onDragEnd:po,onDrag:lo,isVertical:oo}),C("div",{className:I.content,onMouseDown:mo,onMouseLeave:ao,onClick:no,ref:J,children:[C("div",{className:s(I.valueContainer,R&&I.isEditing,oo&&I.vertical),children:[x(oo?d:v,{size:Number(I.arrowsSize),className:I.valueArrow}),x("div",{className:I.value,children:so($)}),x(oo?f:h,{size:Number(I.arrowsSize),className:I.valueArrow})]}),x(e,{value:$,isEditing:R,onEditEnd:ro,validate:io,isVertical:oo})]})]}):null};export{g as ChartAxisExtreme};
2
2
  //# sourceMappingURL=ChartAxisExtreme.js.map