@corva/ui 3.50.0-3 → 3.50.0-5

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 (933) 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/AdvancedSlider.js +1 -1
  6. package/cjs-bundle/components/AppIcon/AppIcon.js +1 -1
  7. package/cjs-bundle/components/AssetNameLabel/AssetNameLabel.js +1 -1
  8. package/cjs-bundle/components/AssetsMultipleSelector/AssetsMultipleSelector.js +1 -1
  9. package/cjs-bundle/components/Autocomplete/Autocomplete.js +1 -1
  10. package/cjs-bundle/components/Avatar/index.js +1 -1
  11. package/cjs-bundle/components/BICOffsetPickerDialog/index.js +1 -1
  12. package/cjs-bundle/components/BICOffsetPickerDialog/index.js.map +1 -1
  13. package/cjs-bundle/components/Casing/CasingTableV2/components/CasingJoints/Editor.js +1 -1
  14. package/cjs-bundle/components/Casing/CasingTableV2/components/CasingJoints/Editor.js.map +1 -1
  15. package/cjs-bundle/components/Casing/CasingTableV2/components/Component.js +1 -1
  16. package/cjs-bundle/components/Casing/CasingTableV2/components/Component.js.map +1 -1
  17. package/cjs-bundle/components/Casing/CasingTableV2/components/DrillPipe/Editor.js +1 -1
  18. package/cjs-bundle/components/Casing/CasingTableV2/components/DrillPipe/Editor.js.map +1 -1
  19. package/cjs-bundle/components/CollapsableSidebar.js +1 -1
  20. package/cjs-bundle/components/CollapsableSidebar.js.map +1 -1
  21. package/cjs-bundle/components/ColorPicker/ColorPicker.js +1 -1
  22. package/cjs-bundle/components/ColorPickerPalette/ColorPickerPalette.js +1 -1
  23. package/cjs-bundle/components/CopyToClipboard/CopyToClipboard.js +1 -1
  24. package/cjs-bundle/components/DatePicker/index.js +1 -1
  25. package/cjs-bundle/components/DevCenter/AppFilterPanelLayout/AppFilterPanelLayout.js +1 -1
  26. package/cjs-bundle/components/DevCenter/AppSideBar/AppSideBar.js +1 -1
  27. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/DevCenterAppContainer.js +1 -1
  28. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/DevCenterAppContainer.js.map +1 -1
  29. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchButton.js +1 -1
  30. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/NonPriorityMenus/NonPriorityMenus.js +1 -1
  31. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/PriorityMenus/PriorityMenus.js +1 -1
  32. package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/PriorityMenus/PriorityMenus.js.map +1 -1
  33. package/cjs-bundle/components/DocumentViewer/DocumentViewer.js +1 -1
  34. package/cjs-bundle/components/DocumentViewer/DocumentViewer.js.map +1 -1
  35. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Agitator/Editor.js +1 -1
  36. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Agitator/Editor.js.map +1 -1
  37. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Bit/Editor.js +1 -1
  38. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Bit/Editor.js.map +1 -1
  39. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Component.js +1 -1
  40. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Component.js.map +1 -1
  41. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/DrillCollar/Editor.js +1 -1
  42. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/DrillCollar/Editor.js.map +1 -1
  43. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/DrillPipe/Editor.js +1 -1
  44. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/DrillPipe/Editor.js.map +1 -1
  45. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Jar/Editor.js +1 -1
  46. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Jar/Editor.js.map +1 -1
  47. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Lwd/Editor.js +1 -1
  48. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Lwd/Editor.js.map +1 -1
  49. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Mwd/Editor.js +1 -1
  50. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Mwd/Editor.js.map +1 -1
  51. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Pdm/Editor.js +1 -1
  52. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Pdm/Editor.js.map +1 -1
  53. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Rss/Editor.js +1 -1
  54. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Rss/Editor.js.map +1 -1
  55. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Stabilizer/Editor.js +1 -1
  56. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Stabilizer/Editor.js.map +1 -1
  57. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Sub/Editor.js +1 -1
  58. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Sub/Editor.js.map +1 -1
  59. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Ur/Editor.js +1 -1
  60. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Ur/Editor.js.map +1 -1
  61. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/shared/ConfirmationPopup.js +1 -1
  62. package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/shared/ConfirmationPopup.js.map +1 -1
  63. package/cjs-bundle/components/EChartsWrapper/EChartsWrapper.js +1 -1
  64. package/cjs-bundle/components/EChartsWrapper/components/Toolbox/Toolbox.js +1 -1
  65. package/cjs-bundle/components/EChartsWrapper/components/Toolbox/ToolboxButton.js +1 -1
  66. package/cjs-bundle/components/EditableItem/EditableItem/index.js +1 -1
  67. package/cjs-bundle/components/EmptyState/EmptyState.js +1 -1
  68. package/cjs-bundle/components/EmptyView/EmptyAppView/EmptyAppView.js +1 -1
  69. package/cjs-bundle/components/FeedItem/FeedItem.js +1 -1
  70. package/cjs-bundle/components/FeedItem/FeedItem.js.map +1 -1
  71. package/cjs-bundle/components/FeedItem/components/FeedComments.js +1 -1
  72. package/cjs-bundle/components/FeedItem/components/FeedComments.js.map +1 -1
  73. package/cjs-bundle/components/FilesLoader/FilesLoader.js +1 -1
  74. package/cjs-bundle/components/FilesLoaderV2/FilesLoaderV2.js +1 -1
  75. package/cjs-bundle/components/FilesLoaderV2/utils.js +1 -1
  76. package/cjs-bundle/components/FilesProcessor/Processor.js +1 -1
  77. package/cjs-bundle/components/Formula/Formula.js +1 -1
  78. package/cjs-bundle/components/GradientManager/GradientManager.js +1 -1
  79. package/cjs-bundle/components/GradientManager/effects/useGradientStorage.js +1 -1
  80. package/cjs-bundle/components/GradientPicker/GradientPicker.js +1 -1
  81. package/cjs-bundle/components/ImageViewer/index.js +1 -1
  82. package/cjs-bundle/components/ImageViewer/index.js.map +1 -1
  83. package/cjs-bundle/components/LoadingIndicator/Loader.js +1 -1
  84. package/cjs-bundle/components/Modal/CorvaModal.js +1 -1
  85. package/cjs-bundle/components/Modal/DcCorvaModal.js +1 -1
  86. package/cjs-bundle/components/Notifications/Toast.js +1 -1
  87. package/cjs-bundle/components/OffsetWellChips/Chip.js +1 -1
  88. package/cjs-bundle/components/OffsetWellChips/ChipsContainer.js +1 -1
  89. package/cjs-bundle/components/OffsetWellPickerV2/components/Filter/ToggleMapButton.js +1 -1
  90. package/cjs-bundle/components/OffsetWellPickerV2/components/Filter/ToggleMapButton.js.map +1 -1
  91. package/cjs-bundle/components/OffsetWellPickerV2/components/Table/MetricsAddMenu.js +1 -1
  92. package/cjs-bundle/components/OffsetWellPickerV2/components/Table/MetricsAddMenu.js.map +1 -1
  93. package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/MetricsAddMenu.js +1 -1
  94. package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/MetricsAddMenu.js.map +1 -1
  95. package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/index.js +1 -1
  96. package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/index.js.map +1 -1
  97. package/cjs-bundle/components/OffsetWellPickerV3/components/OffsetWellSelectionView/index.js +1 -1
  98. package/cjs-bundle/components/OffsetWellPickerV3/components/OffsetWellSelectionView/index.js.map +1 -1
  99. package/cjs-bundle/components/OffsetWellPickerV3/components/TabSelection/ToggleMapButton.js +1 -1
  100. package/cjs-bundle/components/OffsetWellPickerV3/components/TabSelection/ToggleMapButton.js.map +1 -1
  101. package/cjs-bundle/components/OffsetWellPickerV3/components/TabSelection/index.js +1 -1
  102. package/cjs-bundle/components/OffsetWellPickerV3/components/TabSelection/index.js.map +1 -1
  103. package/cjs-bundle/components/OffsetWellPickerV3/components/WellHubView/index.js +1 -1
  104. package/cjs-bundle/components/OffsetWellPickerV3/components/WellHubView/index.js.map +1 -1
  105. package/cjs-bundle/components/OffsetWellPickerV3/components/shared/OffsetWellTableHead.js +1 -1
  106. package/cjs-bundle/components/OffsetWellPickerV3/components/shared/OffsetWellTableHead.js.map +1 -1
  107. package/cjs-bundle/components/OffsetWellPickerV5/OffsetWellPickerV5.js +1 -1
  108. package/cjs-bundle/components/OffsetWellPickerV5/OffsetWellPickerV5.js.map +1 -1
  109. package/cjs-bundle/components/OffsetWellPickerV5/components/AppHeader/AppHeader.js +1 -1
  110. package/cjs-bundle/components/OffsetWellPickerV5/components/AppHeader/LoadAllWellsToggle.js +1 -1
  111. package/cjs-bundle/components/OffsetWellPickerV5/components/Filter/Filter.js +1 -1
  112. package/cjs-bundle/components/OffsetWellPickerV5/components/Filter/components/MultiFilterSelect/MultiFilterSelect.js +1 -1
  113. package/cjs-bundle/components/OffsetWellPickerV5/components/Filter/components/PeriodFilterSelect/PeriodFilterSelect.js +1 -1
  114. package/cjs-bundle/components/OffsetWellPickerV5/components/Filter/components/SingleFilterSelect/SingleFilterSelect.js +1 -1
  115. package/cjs-bundle/components/OffsetWellPickerV5/components/Filter/components/StatusFilterSelect/StatusFilterSelect.js +1 -1
  116. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/ClusterTooltip/ClusterTooltip.js +1 -1
  117. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/LayerSwitcher/LayerSwitcher.js +1 -1
  118. package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapControls/MapControls.js +1 -1
  119. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/AssetResultSection.js +1 -1
  120. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/AssetResultSection.js.map +1 -1
  121. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/MetricsSettingMenu.js +1 -1
  122. package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/MetricsSettingMenu.js.map +1 -1
  123. package/cjs-bundle/components/PadModeSelect/PadModeSelect.js +1 -1
  124. package/cjs-bundle/components/PadModeSelect/effects/useMenuItems.js +1 -1
  125. package/cjs-bundle/components/PadModeSelect/utils/resolveCurrentConfig.js +1 -1
  126. package/cjs-bundle/components/PadOffsetsPicker/StagesSelector.js +1 -1
  127. package/cjs-bundle/components/PadOffsetsPicker/StagesSelector.js.map +1 -1
  128. package/cjs-bundle/components/PadOffsetsPickerV2/PadOffsetsPickerV2.js +1 -1
  129. package/cjs-bundle/components/Popover/Popover.js +1 -1
  130. package/cjs-bundle/components/Popper/Popper.js +1 -1
  131. package/cjs-bundle/components/RangeSlider/RangeSlider.js +1 -1
  132. package/cjs-bundle/components/RealTimeValuesSidebar/RealTimeSidebar.js +1 -1
  133. package/cjs-bundle/components/RealTimeValuesSidebar/RealTimeValuesBox/RealTimeBox.js +1 -1
  134. package/cjs-bundle/components/RealTimeValuesSidebar/RealTimeValuesBox/RealTimeBoxEditDialog.js +1 -1
  135. package/cjs-bundle/components/RealTimeValuesSidebar/RealTimeValuesBox/RealTimeBoxList.js +1 -1
  136. package/cjs-bundle/components/RealTimeValuesSidebar/SidebarFooter.js +1 -1
  137. package/cjs-bundle/components/RealTimeValuesSidebar/SidebarTitle.js +1 -1
  138. package/cjs-bundle/components/ResizableTable/ResizableTableHeaderCell.js +1 -1
  139. package/cjs-bundle/components/Search/Search.js +1 -1
  140. package/cjs-bundle/components/Search/utils/getFormattedOptions.js +1 -1
  141. package/cjs-bundle/components/StatusBadge/index.js +1 -1
  142. package/cjs-bundle/components/StatusBadge/utils.js +1 -1
  143. package/cjs-bundle/components/SwitchControl/index.js +1 -1
  144. package/cjs-bundle/components/Table/TableCell/TableCell.js +1 -1
  145. package/cjs-bundle/components/Table/TableToolbar/TableToolbar.js +1 -1
  146. package/cjs-bundle/components/Tooltip/MuiTooltipDcWrapper.js +1 -1
  147. package/cjs-bundle/components/TruncatedText/index.js +1 -1
  148. package/cjs-bundle/components/VirtualizedTable/VirtualizedTable.js +1 -1
  149. package/cjs-bundle/components/VirtualizedTable/index.js +1 -1
  150. package/cjs-bundle/componentsV2/AppContainer/AppContainer.js +1 -1
  151. package/cjs-bundle/componentsV2/AppHeader/V3/AppTitle/AppTitle.js +1 -1
  152. package/cjs-bundle/componentsV2/AppHeader/V3/AppTitle/AppTitle.scss.js +1 -1
  153. package/cjs-bundle/componentsV2/CompletionsOffsetWellPicker/Map/Map.js +1 -1
  154. package/cjs-bundle/componentsV2/WellArchivedMessage/WellArchivedMessage.js +1 -1
  155. package/cjs-bundle/effects/useCombineRefs.js +1 -1
  156. package/cjs-bundle/effects/useDelayedDcFullscreenElemOpen.js +1 -1
  157. package/cjs-bundle/effects/useIsAssetViewer.js +1 -1
  158. package/cjs-bundle/effects/usePadSelectorSelectedWells.js +1 -1
  159. package/cjs-bundle/effects/useWellnessAlerts.js +1 -1
  160. package/cjs-bundle/testing/AppTestWrapper/AppTestWrapper.js +1 -1
  161. package/cjs-bundle/utils/formatFileSize.js +1 -1
  162. package/cjs-bundle/utils/goalsConfig/utils.js +1 -1
  163. package/clients/clientStorage/core.d.ts +3 -3
  164. package/clients/clientStorage/core.d.ts.map +1 -1
  165. package/clients/jsonApi/index.d.ts +2 -2
  166. package/clients/sso/index.d.ts +2 -2
  167. package/clients/sso/index.d.ts.map +1 -1
  168. package/clients/sso/oauth2.d.ts +1 -1
  169. package/clients/sso/oauth2.d.ts.map +1 -1
  170. package/clients/utils.d.ts +2 -2
  171. package/clients/utils.d.ts.map +1 -1
  172. package/components/AddComment/Popover.d.ts +4 -4
  173. package/components/AddComment/Popover.d.ts.map +1 -1
  174. package/components/AddComment/Popover.js +1 -1
  175. package/components/AddComment/Popover.js.map +1 -1
  176. package/components/AddComment/Popup.d.ts +5 -5
  177. package/components/AddComment/Popup.d.ts.map +1 -1
  178. package/components/AddComment/components/Content.d.ts +6 -6
  179. package/components/AddComment/components/Content.d.ts.map +1 -1
  180. package/components/AddComment/components/Content.js +1 -1
  181. package/components/AddComment/components/Content.js.map +1 -1
  182. package/components/AdvancedSlider/AdvancedSlider.d.ts.map +1 -1
  183. package/components/AdvancedSlider/AdvancedSlider.js +1 -1
  184. package/components/AnchorsList/AnchorsList.d.ts +3 -3
  185. package/components/Annotations/components/AnnotationsList/components/AnnotationComments/index.d.ts +10 -1
  186. package/components/Annotations/components/AnnotationsList/components/AnnotationInput/index.d.ts +33 -7
  187. package/components/Annotations/components/AnnotationsList/index.d.ts +26 -4
  188. package/components/AppIcon/AppIcon.d.ts +1 -1
  189. package/components/AppIcon/AppIcon.d.ts.map +1 -1
  190. package/components/AppIcon/AppIcon.js +1 -1
  191. package/components/AppVersionsSelect/AppVersionsSelect.d.ts +4 -4
  192. package/components/AppVersionsSelect/AppVersionsSelect.d.ts.map +1 -1
  193. package/components/AppVersionsSelect/effects/index.d.ts +2 -2
  194. package/components/AssetEditor/AssetEditorAutocomplete.d.ts +52 -18
  195. package/components/AssetEditor/AssetEditorAutocomplete.d.ts.map +1 -1
  196. package/components/AssetEditor/SingleAssetEditor.d.ts +25 -10
  197. package/components/AssetEditor/SingleAssetEditor.d.ts.map +1 -1
  198. package/components/AssetEditor/effects/index.d.ts +3 -3
  199. package/components/AssetEditor/index.d.ts +2 -2
  200. package/components/AssetEditorV2/components/PrimaryAssetSelect.d.ts +2 -2
  201. package/components/AssetEditorV2/components/PrimaryAssetSelectV2.d.ts +2 -2
  202. package/components/AssetEditorV2/components/SecondaryAssetSelect.d.ts +6 -6
  203. package/components/AssetEditorV2/effects/index.d.ts +2 -2
  204. package/components/AssetEditorV2/effects/usePrimaryAssetSelectData.d.ts +1 -1
  205. package/components/AssetEditorV2/index.d.ts +10 -10
  206. package/components/AssetEditorV2/utils/index.d.ts +3 -3
  207. package/components/AssetEditorV2/utils/index.d.ts.map +1 -1
  208. package/components/AssetNameLabel/AssetNameLabel.d.ts.map +1 -1
  209. package/components/AssetNameLabel/AssetNameLabel.js +1 -1
  210. package/components/AssetNameLabel/AssetStatusBadge.d.ts +1 -1
  211. package/components/AssetNameLabel/AssetStatusBadge.d.ts.map +1 -1
  212. package/components/AssetsMultipleSelector/AssetsMultipleSelector.js +1 -1
  213. package/components/Attachment/index.d.ts +14 -6
  214. package/components/Attachment/index.d.ts.map +1 -1
  215. package/components/Autocomplete/Autocomplete.js +1 -1
  216. package/components/Avatar/index.js +1 -1
  217. package/components/BICOffsetPickerDialog/components/Map/Map.d.ts +4 -4
  218. package/components/BICOffsetPickerDialog/components/Map/index.d.ts +3 -3
  219. package/components/BICOffsetPickerDialog/components/WellSection/AutoCompleteAssetSearch/AssetResultSection.d.ts +1 -1
  220. package/components/BICOffsetPickerDialog/components/WellSection/AutoCompleteAssetSearch/utils/apiCalls.d.ts +2 -2
  221. package/components/BICOffsetPickerDialog/components/WellSection/AutoCompleteAssetSearch/utils/apiCalls.d.ts.map +1 -1
  222. package/components/BICOffsetPickerDialog/components/WellSection/SectionItem.d.ts +4 -4
  223. package/components/BICOffsetPickerDialog/components/WellSection/index.d.ts +2 -2
  224. package/components/BICOffsetPickerDialog/constants.d.ts +1 -1
  225. package/components/BICOffsetPickerDialog/effects/index.d.ts +2 -2
  226. package/components/BICOffsetPickerDialog/effects/index.d.ts.map +1 -1
  227. package/components/BICOffsetPickerDialog/index.d.ts +2 -2
  228. package/components/BICOffsetPickerDialog/index.js +1 -1
  229. package/components/BICOffsetPickerDialog/index.js.map +1 -1
  230. package/components/Casing/CasingTable/index.d.ts +1 -1
  231. package/components/Casing/CasingTableV2/CasingTableV2.d.ts +4 -4
  232. package/components/Casing/CasingTableV2/components/CasingJoints/Editor.d.ts +1 -1
  233. package/components/Casing/CasingTableV2/components/CasingJoints/Editor.js +1 -1
  234. package/components/Casing/CasingTableV2/components/CasingJoints/Editor.js.map +1 -1
  235. package/components/Casing/CasingTableV2/components/Component.d.ts +3 -3
  236. package/components/Casing/CasingTableV2/components/Component.js +1 -1
  237. package/components/Casing/CasingTableV2/components/Component.js.map +1 -1
  238. package/components/Casing/CasingTableV2/components/DrillPipe/Editor.d.ts +1 -1
  239. package/components/Casing/CasingTableV2/components/DrillPipe/Editor.js +1 -1
  240. package/components/Casing/CasingTableV2/components/DrillPipe/Editor.js.map +1 -1
  241. package/components/Chart/DonutChart/options.d.ts +1 -107
  242. package/components/Chart/DonutChart/options.d.ts.map +1 -1
  243. package/components/Chart/components/AxisOverlay.d.ts +1 -1
  244. package/components/Chart/components/AxisOverlay.d.ts.map +1 -1
  245. package/components/Chart/components/ChartButtons.d.ts +1 -1
  246. package/components/Chart/components/ChartWrapper.d.ts +4 -4
  247. package/components/Chart/components/buttons/ChartTypeButton.d.ts +2 -2
  248. package/components/Chart/components/buttons/DragToZoomButton.d.ts +2 -2
  249. package/components/Chart/components/buttons/PanButton.d.ts +2 -2
  250. package/components/Chart/components/buttons/ResetZoomButton.d.ts +3 -3
  251. package/components/Chart/components/buttons/ZoomInButton.d.ts +1 -1
  252. package/components/Chart/components/buttons/ZoomOutButton.d.ts +1 -1
  253. package/components/Chart/effects/useChartTypeSwitch.d.ts +1 -1
  254. package/components/Chart/options.d.ts +2 -2
  255. package/components/Chart/utils.d.ts +1 -1
  256. package/components/ChartActionsList/ChartActionsList.d.ts +8 -1
  257. package/components/ChartActionsList/ChartActionsList.d.ts.map +1 -1
  258. package/components/CollapsableSidebar.d.ts +11 -11
  259. package/components/CollapsableSidebar.js +1 -1
  260. package/components/CollapsableSidebar.js.map +1 -1
  261. package/components/ColorPicker/ColorPicker.d.ts +1 -1
  262. package/components/ColorPicker/ColorPicker.d.ts.map +1 -1
  263. package/components/ColorPicker/ColorPicker.js +1 -1
  264. package/components/ColorPicker/ColorPicketUtils.d.ts +1 -1
  265. package/components/ColorPicker/ColorPicketUtils.d.ts.map +1 -1
  266. package/components/ColorPickerPalette/ColorPickerPalette.js +1 -1
  267. package/components/Comment/index.d.ts +20 -8
  268. package/components/Comment/index.d.ts.map +1 -1
  269. package/components/CommentInput/index.d.ts +48 -19
  270. package/components/CommentInput/index.d.ts.map +1 -1
  271. package/components/CommentLoader.d.ts +2 -2
  272. package/components/CommentWrapper.d.ts +16 -4
  273. package/components/CommentWrapper.d.ts.map +1 -1
  274. package/components/CommentsInfo/index.d.ts +33 -11
  275. package/components/CommentsInfo/index.d.ts.map +1 -1
  276. package/components/ConfirmationDialog.d.ts +21 -9
  277. package/components/ConfirmationDialog.d.ts.map +1 -1
  278. package/components/CopyToClipboard/CopyToClipboard.js +1 -1
  279. package/components/DatePicker/index.js +1 -1
  280. package/components/DevCenter/AppFilterPanelLayout/AppFilterPanelLayout.d.ts +2 -2
  281. package/components/DevCenter/AppFilterPanelLayout/AppFilterPanelLayout.d.ts.map +1 -1
  282. package/components/DevCenter/AppFilterPanelLayout/AppFilterPanelLayout.js +1 -1
  283. package/components/DevCenter/AppHeader/AppHeader.d.ts +19 -19
  284. package/components/DevCenter/AppHeader/PadMode.d.ts +6 -6
  285. package/components/DevCenter/AppHeader/PadMode.d.ts.map +1 -1
  286. package/components/DevCenter/AppHeader/VersionBadge.d.ts +2 -1
  287. package/components/DevCenter/AppHeader/VersionBadge.d.ts.map +1 -1
  288. package/components/DevCenter/AppSettingsPopover/AppSettingsPopover.d.ts +5 -5
  289. package/components/DevCenter/AppSettingsPopover/AppSettingsPopover.d.ts.map +1 -1
  290. package/components/DevCenter/AppSettingsPopover/AppSettingsPopover.js +1 -1
  291. package/components/DevCenter/AppSideBar/AppSideBar.d.ts +24 -76
  292. package/components/DevCenter/AppSideBar/AppSideBar.d.ts.map +1 -1
  293. package/components/DevCenter/AppSideBar/AppSideBar.js +1 -1
  294. package/components/DevCenter/AppsDataProvider/AppsDataProvider.d.ts +2 -2
  295. package/components/DevCenter/AppsDataProvider/effects/__tests__/mocks/generalDashboard/completion/appWithFracFleetId.d.ts +1 -1
  296. package/components/DevCenter/AppsDataProvider/effects/__tests__/mocks/generalDashboard/drilling/appWithRigId.d.ts +1 -1
  297. package/components/DevCenter/AppsDataProvider/effects/dataResolvers.d.ts +1 -1
  298. package/components/DevCenter/AppsDataProvider/effects/utils.d.ts +12 -12
  299. package/components/DevCenter/AppsDataProvider/effects/utils.d.ts.map +1 -1
  300. package/components/DevCenter/DevCenterAppContainer/DevCenterAppContainer.d.ts +4 -4
  301. package/components/DevCenter/DevCenterAppContainer/DevCenterAppContainer.js +1 -1
  302. package/components/DevCenter/DevCenterAppContainer/DevCenterAppContainer.js.map +1 -1
  303. package/components/DevCenter/DevCenterAppContainer/components/AppInfoMessage/AppInfoMessage.d.ts +1 -1
  304. package/components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/AppSettingsDialog.d.ts +2 -2
  305. package/components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/AppSettingsDialog.d.ts.map +1 -1
  306. package/components/DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchButton.d.ts +2 -1
  307. package/components/DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchButton.d.ts.map +1 -1
  308. package/components/DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchButton.js +1 -1
  309. package/components/DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchContext.d.ts +1 -1
  310. package/components/DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchContext.d.ts.map +1 -1
  311. package/components/DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/DcFullscreenElemsCoordinatorProvider.d.ts +1 -1
  312. package/components/DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/DcFullscreenElemsCoordinatorProvider.d.ts.map +1 -1
  313. package/components/DevCenter/DevCenterAppContainer/components/NonPriorityMenus/NonPriorityMenus.js +1 -1
  314. package/components/DevCenter/DevCenterAppContainer/components/PriorityMenus/PriorityMenus.js +1 -1
  315. package/components/DevCenter/DevCenterAppContainer/components/PriorityMenus/PriorityMenus.js.map +1 -1
  316. package/components/DevCenter/DevCenterAppContainer/components/RollbarWrapper/RollbarWrapper.d.ts +2 -1
  317. package/components/DevCenter/DevCenterAppContainer/components/RollbarWrapper/RollbarWrapper.d.ts.map +1 -1
  318. package/components/DevCenter/DevCenterAppContainer/effects/useAnnotationsData.d.ts +1 -1
  319. package/components/DevCenter/DevCenterAppContainer/effects/useAppMaximized.d.ts +1 -1
  320. package/components/DevCenter/DevCenterRouterContext/UniversalLink/UniversalLink.d.ts +2 -2
  321. package/components/DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedAppPage.d.ts +3 -3
  322. package/components/DevCenter/IsolatedDevCenterAppContainer/effects/useXProps.d.ts +1 -1
  323. package/components/DevCenter/IsolatedDevCenterAppContainer/effects/useXProps.d.ts.map +1 -1
  324. package/components/DevCenter/NavigationBar/NavigationBar.d.ts +1 -1
  325. package/components/DevCenter/SideBar/SideBar.d.ts +8 -8
  326. package/components/DocumentViewer/DocumentViewer.d.ts +2 -2
  327. package/components/DocumentViewer/DocumentViewer.js +1 -1
  328. package/components/DocumentViewer/DocumentViewer.js.map +1 -1
  329. package/components/Drillstring/BHAComponentsTable/BHAComponentsTable.d.ts +4 -4
  330. package/components/Drillstring/BHAComponentsTable/components/Agitator/Browser.d.ts +1 -1
  331. package/components/Drillstring/BHAComponentsTable/components/Agitator/Editor.d.ts +2 -2
  332. package/components/Drillstring/BHAComponentsTable/components/Agitator/Editor.js +1 -1
  333. package/components/Drillstring/BHAComponentsTable/components/Agitator/Editor.js.map +1 -1
  334. package/components/Drillstring/BHAComponentsTable/components/Bit/Browser.d.ts +1 -1
  335. package/components/Drillstring/BHAComponentsTable/components/Bit/Editor.d.ts +2 -2
  336. package/components/Drillstring/BHAComponentsTable/components/Bit/Editor.js +1 -1
  337. package/components/Drillstring/BHAComponentsTable/components/Bit/Editor.js.map +1 -1
  338. package/components/Drillstring/BHAComponentsTable/components/Component.d.ts +4 -4
  339. package/components/Drillstring/BHAComponentsTable/components/Component.js +1 -1
  340. package/components/Drillstring/BHAComponentsTable/components/Component.js.map +1 -1
  341. package/components/Drillstring/BHAComponentsTable/components/DrillCollar/Editor.d.ts +1 -1
  342. package/components/Drillstring/BHAComponentsTable/components/DrillCollar/Editor.js +1 -1
  343. package/components/Drillstring/BHAComponentsTable/components/DrillCollar/Editor.js.map +1 -1
  344. package/components/Drillstring/BHAComponentsTable/components/DrillPipe/Editor.d.ts +1 -1
  345. package/components/Drillstring/BHAComponentsTable/components/DrillPipe/Editor.js +1 -1
  346. package/components/Drillstring/BHAComponentsTable/components/DrillPipe/Editor.js.map +1 -1
  347. package/components/Drillstring/BHAComponentsTable/components/Jar/Editor.d.ts +1 -1
  348. package/components/Drillstring/BHAComponentsTable/components/Jar/Editor.js +1 -1
  349. package/components/Drillstring/BHAComponentsTable/components/Jar/Editor.js.map +1 -1
  350. package/components/Drillstring/BHAComponentsTable/components/Lwd/Browser.d.ts +1 -1
  351. package/components/Drillstring/BHAComponentsTable/components/Lwd/Editor.d.ts +2 -2
  352. package/components/Drillstring/BHAComponentsTable/components/Lwd/Editor.js +1 -1
  353. package/components/Drillstring/BHAComponentsTable/components/Lwd/Editor.js.map +1 -1
  354. package/components/Drillstring/BHAComponentsTable/components/Lwd/Measurement.d.ts +8 -8
  355. package/components/Drillstring/BHAComponentsTable/components/Lwd/Measurement.d.ts.map +1 -1
  356. package/components/Drillstring/BHAComponentsTable/components/Mwd/Browser.d.ts +1 -1
  357. package/components/Drillstring/BHAComponentsTable/components/Mwd/Editor.d.ts +2 -2
  358. package/components/Drillstring/BHAComponentsTable/components/Mwd/Editor.js +1 -1
  359. package/components/Drillstring/BHAComponentsTable/components/Mwd/Editor.js.map +1 -1
  360. package/components/Drillstring/BHAComponentsTable/components/NozzleSize/index.d.ts +8 -8
  361. package/components/Drillstring/BHAComponentsTable/components/NozzleSize/index.d.ts.map +1 -1
  362. package/components/Drillstring/BHAComponentsTable/components/Pdm/Browser.d.ts +1 -1
  363. package/components/Drillstring/BHAComponentsTable/components/Pdm/Editor.d.ts +2 -2
  364. package/components/Drillstring/BHAComponentsTable/components/Pdm/Editor.js +1 -1
  365. package/components/Drillstring/BHAComponentsTable/components/Pdm/Editor.js.map +1 -1
  366. package/components/Drillstring/BHAComponentsTable/components/PressureLoss/index.d.ts +8 -8
  367. package/components/Drillstring/BHAComponentsTable/components/PressureLoss/index.d.ts.map +1 -1
  368. package/components/Drillstring/BHAComponentsTable/components/Rss/Browser.d.ts +1 -1
  369. package/components/Drillstring/BHAComponentsTable/components/Rss/Editor.d.ts +2 -2
  370. package/components/Drillstring/BHAComponentsTable/components/Rss/Editor.js +1 -1
  371. package/components/Drillstring/BHAComponentsTable/components/Rss/Editor.js.map +1 -1
  372. package/components/Drillstring/BHAComponentsTable/components/Stabilizer/Editor.d.ts +1 -1
  373. package/components/Drillstring/BHAComponentsTable/components/Stabilizer/Editor.js +1 -1
  374. package/components/Drillstring/BHAComponentsTable/components/Stabilizer/Editor.js.map +1 -1
  375. package/components/Drillstring/BHAComponentsTable/components/Sub/Editor.d.ts +1 -1
  376. package/components/Drillstring/BHAComponentsTable/components/Sub/Editor.js +1 -1
  377. package/components/Drillstring/BHAComponentsTable/components/Sub/Editor.js.map +1 -1
  378. package/components/Drillstring/BHAComponentsTable/components/Suggestions/AutoCompleteDialog.d.ts +2 -2
  379. package/components/Drillstring/BHAComponentsTable/components/Suggestions/Suggestions.d.ts +5 -5
  380. package/components/Drillstring/BHAComponentsTable/components/Ur/Editor.d.ts +1 -1
  381. package/components/Drillstring/BHAComponentsTable/components/Ur/Editor.js +1 -1
  382. package/components/Drillstring/BHAComponentsTable/components/Ur/Editor.js.map +1 -1
  383. package/components/Drillstring/BHAComponentsTable/components/shared/ConfirmationPopup.js +1 -1
  384. package/components/Drillstring/BHAComponentsTable/components/shared/ConfirmationPopup.js.map +1 -1
  385. package/components/Drillstring/BHAComponentsTable/components/shared/FormatedNumber.d.ts +1 -1
  386. package/components/Drillstring/BHAComponentsTable/components/shared/InputText.d.ts +3 -3
  387. package/components/Drillstring/BHAComponentsTable/components/shared/SelectField.d.ts +3 -3
  388. package/components/Drillstring/BHAComponentsTable/components/shared/StaticField.d.ts +2 -2
  389. package/components/Drillstring/BHAComponentsTable/components/sharedStyles.d.ts +1 -1
  390. package/components/Drillstring/BHAComponentsTable/components/sharedStyles.d.ts.map +1 -1
  391. package/components/Drillstring/BHAList/BHAList.d.ts +7 -7
  392. package/components/Drillstring/BHASchematic.d.ts +3 -3
  393. package/components/Drillstring/BHATable/index.d.ts +1 -1
  394. package/components/Drillstring/BHATile/BHATile.d.ts +2 -2
  395. package/components/EChartsWrapper/EChartsWrapper.d.ts.map +1 -1
  396. package/components/EChartsWrapper/EChartsWrapper.js +1 -1
  397. package/components/EChartsWrapper/components/Toolbox/Toolbox.js +1 -1
  398. package/components/EChartsWrapper/components/Toolbox/ToolboxButton.js +1 -1
  399. package/components/EChartsWrapper/options.d.ts +1 -1
  400. package/components/EChartsWrapper/options.d.ts.map +1 -1
  401. package/components/EChartsWrapper/types.d.ts +1 -1
  402. package/components/EChartsWrapper/types.d.ts.map +1 -1
  403. package/components/EditableItem/EditableItem/index.js +1 -1
  404. package/components/EmbeddedApp/DevCenterEmbeddedApp.d.ts +2 -2
  405. package/components/EmbeddedApp/EmbeddedApp.d.ts +6 -6
  406. package/components/EmojiIconButton.d.ts +1 -1
  407. package/components/EmptyState/EmptyState.js +1 -1
  408. package/components/EmptyView/EmptyAppView/EmptyAppView.js +1 -1
  409. package/components/ErrorBoundary/DevCenterAppErrorView/DevCenterAppErrorView.d.ts +1 -1
  410. package/components/FailedFileUploading.d.ts +2 -2
  411. package/components/FeedItem/FeedItem.d.ts +14 -14
  412. package/components/FeedItem/FeedItem.d.ts.map +1 -1
  413. package/components/FeedItem/FeedItem.js +1 -1
  414. package/components/FeedItem/FeedItem.js.map +1 -1
  415. package/components/FeedItem/FeedItemEditProvider/FeedItemEditModal.d.ts +7 -7
  416. package/components/FeedItem/FeedItemEditProvider/FeedItemEditModal.d.ts.map +1 -1
  417. package/components/FeedItem/FeedItemEditProvider/FeedItemEditProvider.d.ts +7 -7
  418. package/components/FeedItem/FeedItemEditProvider/FeedItemEditProvider.d.ts.map +1 -1
  419. package/components/FeedItem/components/CompletionDateTimestamp.d.ts +1 -1
  420. package/components/FeedItem/components/CompletionDateTimestamp.d.ts.map +1 -1
  421. package/components/FeedItem/components/Content.d.ts +1 -1
  422. package/components/FeedItem/components/Content.d.ts.map +1 -1
  423. package/components/FeedItem/components/FeedComments.js +1 -1
  424. package/components/FeedItem/components/FeedComments.js.map +1 -1
  425. package/components/FeedItem/feed.fixtures.d.ts +6 -6
  426. package/components/FeedItem/feedItemTypes/AppAnnotationFeedItem/index.d.ts +3 -3
  427. package/components/FeedItem/feedItemTypes/BhaFeedItem/components/BhaNumber.d.ts +1 -1
  428. package/components/FeedItem/feedItemTypes/CompletionNptFeedItem.d.ts +2 -2
  429. package/components/FeedItem/feedItemTypes/DepthCommentFeedItem.d.ts +2 -2
  430. package/components/FeedItem/feedItemTypes/DvDCommentFeedItem.d.ts +1 -1
  431. package/components/FeedItem/feedItemTypes/FluidReportFeedItem.d.ts +4 -4
  432. package/components/FeedItem/feedItemTypes/GenericDataCommentFeedItem.d.ts +2 -2
  433. package/components/FeedItem/feedItemTypes/GeosteeringFeedItem.d.ts +2 -2
  434. package/components/FeedItem/feedItemTypes/HookloadCommentFeedItem.d.ts +2 -2
  435. package/components/FeedItem/feedItemTypes/NptFeedItem.d.ts +2 -2
  436. package/components/FeedItem/feedItemTypes/PostFeedItem.d.ts +1 -1
  437. package/components/FeedItem/feedItemTypes/StageOverviewFeedItem/components/PredictionsItem.d.ts +1 -1
  438. package/components/FeedItem/feedItemTypes/StageOverviewFeedItem/components/PredictionsItem.d.ts.map +1 -1
  439. package/components/FeedItem/feedItemTypes/StageOverviewFeedItem/components/Stages/utils.d.ts +2 -2
  440. package/components/FeedItem/feedItemTypes/SurveyStationFeedItem/components/AccuracyPlan.d.ts +1 -1
  441. package/components/FeedItem/feedItemTypes/TracesMemoFeedItem.d.ts +4 -4
  442. package/components/FilePreview/index.d.ts +8 -1
  443. package/components/FilePreview/index.d.ts.map +1 -1
  444. package/components/FileTypeIcon.d.ts +1 -1
  445. package/components/FileUploadIconButton.d.ts +12 -12
  446. package/components/FilesLoader/FilesLoader.d.ts +4 -4
  447. package/components/FilesLoader/FilesLoader.js +1 -1
  448. package/components/FilesLoader/Icons/IconWarning.d.ts +1 -1
  449. package/components/FilesLoaderV2/FilesLoaderV2.js +1 -1
  450. package/components/FilesLoaderV2/utils.d.ts +1 -1
  451. package/components/FilesLoaderV2/utils.d.ts.map +1 -1
  452. package/components/FilesLoaderV2/utils.js +1 -1
  453. package/components/FilesProcessor/Processor.js +1 -1
  454. package/components/FolderMenuItemWithLinks/index.d.ts +3 -3
  455. package/components/Formula/Formula.js +1 -1
  456. package/components/Formula/useFormulaFunction.d.ts +1 -1
  457. package/components/GoogleDocsViewer/index.d.ts +2 -2
  458. package/components/GradientManager/GradientList.d.ts +4 -4
  459. package/components/GradientManager/GradientList.d.ts.map +1 -1
  460. package/components/GradientManager/GradientManager.d.ts.map +1 -1
  461. package/components/GradientManager/GradientManager.js +1 -1
  462. package/components/GradientManager/__tests__/pageHelpers.d.ts +6 -6
  463. package/components/GradientManager/effects/useGradientStorage.js +1 -1
  464. package/components/GradientPicker/GradientPicker.d.ts.map +1 -1
  465. package/components/GradientPicker/GradientPicker.js +1 -1
  466. package/components/GradientPicker/GradientPickerProps.d.ts +1 -1
  467. package/components/GradientPicker/GradientPickerProps.d.ts.map +1 -1
  468. package/components/GradientPicker/__tests__/pageHelpers.d.ts +1 -1
  469. package/components/HeaderLayout/effects/index.d.ts +2 -2
  470. package/components/HeaderLayout/effects/index.d.ts.map +1 -1
  471. package/components/IconMenu/index.d.ts +16 -16
  472. package/components/ImageViewer/index.d.ts +2 -2
  473. package/components/ImageViewer/index.js +1 -1
  474. package/components/ImageViewer/index.js.map +1 -1
  475. package/components/InfiniteList/index.d.ts +6 -6
  476. package/components/InfiniteList/index.d.ts.map +1 -1
  477. package/components/LabelsCounter/LabelsCounter.d.ts +2 -2
  478. package/components/LabelsCounter/LabelsCounter.d.ts.map +1 -1
  479. package/components/LoadingIndicator/Loader.js +1 -1
  480. package/components/MiddleTruncate/MiddleTruncate.d.ts +3 -3
  481. package/components/Modal/CorvaModal.js +1 -1
  482. package/components/Modal/DcCorvaModal.js +1 -1
  483. package/components/Notifications/Toast.js +1 -1
  484. package/components/OffsetWellButton/OffsetWellButton.d.ts +17 -18
  485. package/components/OffsetWellButton/OffsetWellButton.d.ts.map +1 -1
  486. package/components/OffsetWellChips/Chip.d.ts +4 -4
  487. package/components/OffsetWellChips/Chip.js +1 -1
  488. package/components/OffsetWellChips/ChipsContainer.js +1 -1
  489. package/components/OffsetWellChips/types.d.ts +2 -2
  490. package/components/OffsetWellChips/types.d.ts.map +1 -1
  491. package/components/OffsetWellPickerV2/OffsetWellPickerDialog.d.ts +3 -3
  492. package/components/OffsetWellPickerV2/components/Filter/MultiSelect.d.ts +2 -2
  493. package/components/OffsetWellPickerV2/components/Filter/NonEngineeredWellsSwitch.d.ts +12 -2
  494. package/components/OffsetWellPickerV2/components/Filter/NonEngineeredWellsSwitch.d.ts.map +1 -1
  495. package/components/OffsetWellPickerV2/components/Filter/RadiusInput.d.ts +14 -2
  496. package/components/OffsetWellPickerV2/components/Filter/RadiusInput.d.ts.map +1 -1
  497. package/components/OffsetWellPickerV2/components/Filter/SidetrackSwitch.d.ts +12 -2
  498. package/components/OffsetWellPickerV2/components/Filter/SidetrackSwitch.d.ts.map +1 -1
  499. package/components/OffsetWellPickerV2/components/Filter/SingleSelect.d.ts +2 -2
  500. package/components/OffsetWellPickerV2/components/Filter/SubjectWellSearch.d.ts +2 -2
  501. package/components/OffsetWellPickerV2/components/Filter/ToggleMapButton.js +1 -1
  502. package/components/OffsetWellPickerV2/components/Filter/ToggleMapButton.js.map +1 -1
  503. package/components/OffsetWellPickerV2/components/Filter/index.d.ts +3 -3
  504. package/components/OffsetWellPickerV2/components/Map/Map.d.ts +5 -5
  505. package/components/OffsetWellPickerV2/components/Map/index.d.ts +4 -4
  506. package/components/OffsetWellPickerV2/components/Table/MetricsAddMenu.d.ts +13 -3
  507. package/components/OffsetWellPickerV2/components/Table/MetricsAddMenu.d.ts.map +1 -1
  508. package/components/OffsetWellPickerV2/components/Table/MetricsAddMenu.js +1 -1
  509. package/components/OffsetWellPickerV2/components/Table/MetricsAddMenu.js.map +1 -1
  510. package/components/OffsetWellPickerV2/components/Table/MetricsSelect.d.ts +14 -2
  511. package/components/OffsetWellPickerV2/components/Table/MetricsSelect.d.ts.map +1 -1
  512. package/components/OffsetWellPickerV2/components/Table/WellSearch.d.ts +1 -1
  513. package/components/OffsetWellPickerV2/effects/index.d.ts +6 -6
  514. package/components/OffsetWellPickerV2/effects/index.d.ts.map +1 -1
  515. package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Filter/MultiSelect.d.ts +2 -2
  516. package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Filter/index.d.ts +2 -2
  517. package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Filter/index.d.ts.map +1 -1
  518. package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Map/FormationsLegend.d.ts +1 -1
  519. package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Map/Map.d.ts +5 -5
  520. package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Map/index.d.ts +4 -4
  521. package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/MetricsAddMenu.d.ts +6 -2
  522. package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/MetricsAddMenu.d.ts.map +1 -1
  523. package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/MetricsAddMenu.js +1 -1
  524. package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/MetricsAddMenu.js.map +1 -1
  525. package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/MetricsSelect.d.ts +6 -1
  526. package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/MetricsSelect.d.ts.map +1 -1
  527. package/components/OffsetWellPickerV3/components/CustomSelectionView/effects/index.d.ts +6 -6
  528. package/components/OffsetWellPickerV3/components/CustomSelectionView/effects/index.d.ts.map +1 -1
  529. package/components/OffsetWellPickerV3/components/CustomSelectionView/index.d.ts +3 -3
  530. package/components/OffsetWellPickerV3/components/CustomSelectionView/index.js +1 -1
  531. package/components/OffsetWellPickerV3/components/CustomSelectionView/index.js.map +1 -1
  532. package/components/OffsetWellPickerV3/components/OffsetWellSelectionView/index.js +1 -1
  533. package/components/OffsetWellPickerV3/components/OffsetWellSelectionView/index.js.map +1 -1
  534. package/components/OffsetWellPickerV3/components/TabSelection/ToggleMapButton.js +1 -1
  535. package/components/OffsetWellPickerV3/components/TabSelection/ToggleMapButton.js.map +1 -1
  536. package/components/OffsetWellPickerV3/components/TabSelection/index.d.ts +1 -1
  537. package/components/OffsetWellPickerV3/components/TabSelection/index.js +1 -1
  538. package/components/OffsetWellPickerV3/components/TabSelection/index.js.map +1 -1
  539. package/components/OffsetWellPickerV3/components/WellHubView/index.js +1 -1
  540. package/components/OffsetWellPickerV3/components/WellHubView/index.js.map +1 -1
  541. package/components/OffsetWellPickerV3/components/shared/OffsetWellTableHead.d.ts +1 -1
  542. package/components/OffsetWellPickerV3/components/shared/OffsetWellTableHead.js +1 -1
  543. package/components/OffsetWellPickerV3/components/shared/OffsetWellTableHead.js.map +1 -1
  544. package/components/OffsetWellPickerV3/components/shared/OffsetWellTableRows.d.ts +2 -2
  545. package/components/OffsetWellPickerV3/constants.d.ts +1 -1
  546. package/components/OffsetWellPickerV3/effects/index.d.ts +3 -3
  547. package/components/OffsetWellPickerV3/effects/index.d.ts.map +1 -1
  548. package/components/OffsetWellPickerV3/index.d.ts +2 -2
  549. package/components/OffsetWellPickerV3/utils/apiCalls.d.ts +1 -1
  550. package/components/OffsetWellPickerV3/utils/apiCalls.d.ts.map +1 -1
  551. package/components/OffsetWellPickerV4/components/AppHeader/AppHeader.d.ts +1 -1
  552. package/components/OffsetWellPickerV4/components/Filter/Filter.d.ts +2 -2
  553. package/components/OffsetWellPickerV4/components/Filter/MultiSelect.d.ts +6 -6
  554. package/components/OffsetWellPickerV4/components/Filter/PeriodSelect.d.ts +1 -1
  555. package/components/OffsetWellPickerV4/components/Filter/SingleSelect.d.ts +2 -2
  556. package/components/OffsetWellPickerV4/components/Filter/WellSection.d.ts +1 -1
  557. package/components/OffsetWellPickerV4/components/Map/WellsMap.d.ts +4 -4
  558. package/components/OffsetWellPickerV4/components/OffsetWellsTable/AdvancedSearch/AdvancedSearch.d.ts +1 -1
  559. package/components/OffsetWellPickerV4/components/OffsetWellsTable/AdvancedSearch/AssetResultSection.d.ts +1 -1
  560. package/components/OffsetWellPickerV4/components/OffsetWellsTable/AdvancedSearch/AutoCompleteAssetSearch.d.ts +1 -1
  561. package/components/OffsetWellPickerV4/components/OffsetWellsTable/MetricsSelect.d.ts +1 -1
  562. package/components/OffsetWellPickerV4/components/OffsetWellsTable/MetricsSettingMenu.d.ts +1 -1
  563. package/components/OffsetWellPickerV4/components/OffsetWellsTable/OffsetWellsTable.d.ts +6 -6
  564. package/components/OffsetWellPickerV4/components/OffsetWellsTable/OffsetWellsTableHead.d.ts +3 -3
  565. package/components/OffsetWellPickerV4/components/OffsetWellsTable/OffsetWellsTableRow.d.ts +5 -5
  566. package/components/OffsetWellPickerV4/components/OffsetWellsTable/SubjectWellMark.d.ts +1 -1
  567. package/components/OffsetWellPickerV4/components/OffsetWellsTable/ViewWellSectionsName.d.ts +2 -2
  568. package/components/OffsetWellPickerV4/components/OffsetWellsTable/ViewWellSectionsName.d.ts.map +1 -1
  569. package/components/OffsetWellPickerV4/effects/useAdvancedWells.d.ts +1 -1
  570. package/components/OffsetWellPickerV4/effects/useAdvancedWells.d.ts.map +1 -1
  571. package/components/OffsetWellPickerV4/effects/useBicWells.d.ts +1 -1
  572. package/components/OffsetWellPickerV4/effects/useBicWells.d.ts.map +1 -1
  573. package/components/OffsetWellPickerV4/effects/useCompanies.d.ts +1 -1
  574. package/components/OffsetWellPickerV4/effects/useCompanyProvider.d.ts +1 -1
  575. package/components/OffsetWellPickerV4/effects/useCompanyProvider.d.ts.map +1 -1
  576. package/components/OffsetWellPickerV4/effects/useFetchWells.d.ts +1 -1
  577. package/components/OffsetWellPickerV4/effects/useFetchWells.d.ts.map +1 -1
  578. package/components/OffsetWellPickerV4/effects/useFilteredWells.d.ts +1 -1
  579. package/components/OffsetWellPickerV4/effects/useFilteredWells.d.ts.map +1 -1
  580. package/components/OffsetWellPickerV4/effects/useSortedWells.d.ts +1 -1
  581. package/components/OffsetWellPickerV4/effects/useSortedWells.d.ts.map +1 -1
  582. package/components/OffsetWellPickerV4/effects/useTableColumns.d.ts +6 -1
  583. package/components/OffsetWellPickerV4/effects/useTableColumns.d.ts.map +1 -1
  584. package/components/OffsetWellPickerV4/utils/apiCalls.d.ts +2 -2
  585. package/components/OffsetWellPickerV4/utils/apiCalls.d.ts.map +1 -1
  586. package/components/OffsetWellPickerV5/OffsetWellPickerV5.js +1 -1
  587. package/components/OffsetWellPickerV5/OffsetWellPickerV5.js.map +1 -1
  588. package/components/OffsetWellPickerV5/api/assets/fetchAllAssets.d.ts +1 -1
  589. package/components/OffsetWellPickerV5/api/assets/fetchAllAssets.d.ts.map +1 -1
  590. package/components/OffsetWellPickerV5/api/bic/resyncIdasWells.d.ts +1 -1
  591. package/components/OffsetWellPickerV5/api/bic/resyncIdasWells.d.ts.map +1 -1
  592. package/components/OffsetWellPickerV5/components/AppHeader/AppHeader.js +1 -1
  593. package/components/OffsetWellPickerV5/components/AppHeader/LoadAllWellsToggle.js +1 -1
  594. package/components/OffsetWellPickerV5/components/Filter/Filter.js +1 -1
  595. package/components/OffsetWellPickerV5/components/Filter/components/MultiFilterSelect/MultiFilterSelect.js +1 -1
  596. package/components/OffsetWellPickerV5/components/Filter/components/PeriodFilterSelect/PeriodFilterSelect.js +1 -1
  597. package/components/OffsetWellPickerV5/components/Filter/components/SingleFilterSelect/SingleFilterSelect.js +1 -1
  598. package/components/OffsetWellPickerV5/components/Filter/components/StatusFilterSelect/StatusFilterSelect.js +1 -1
  599. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/ClusterTooltip/ClusterTooltip.js +1 -1
  600. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/GhostSelectionZone/GhostSelectionZone.d.ts +1 -1
  601. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/LayerSwitcher/LayerSwitcher.js +1 -1
  602. package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapControls/MapControls.js +1 -1
  603. package/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/AdvancedSearch.d.ts +6 -6
  604. package/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/AssetResultSection.d.ts +3 -3
  605. package/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/AssetResultSection.js +1 -1
  606. package/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/AssetResultSection.js.map +1 -1
  607. package/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/AutoCompleteAssetSearch.d.ts +7 -7
  608. package/components/OffsetWellPickerV5/components/OffsetWellsTable/MetricsSelect.d.ts +1 -1
  609. package/components/OffsetWellPickerV5/components/OffsetWellsTable/MetricsSettingMenu.d.ts +1 -1
  610. package/components/OffsetWellPickerV5/components/OffsetWellsTable/MetricsSettingMenu.js +1 -1
  611. package/components/OffsetWellPickerV5/components/OffsetWellsTable/MetricsSettingMenu.js.map +1 -1
  612. package/components/OffsetWellPickerV5/components/OffsetWellsTable/OffsetWellsTable.d.ts +6 -6
  613. package/components/OffsetWellPickerV5/components/OffsetWellsTable/OffsetWellsTableHead.d.ts +3 -3
  614. package/components/OffsetWellPickerV5/components/OffsetWellsTable/OffsetWellsTableRow.d.ts +5 -5
  615. package/components/OffsetWellPickerV5/components/OffsetWellsTable/SubjectWellMark.d.ts +1 -1
  616. package/components/OffsetWellPickerV5/components/OffsetWellsTable/ViewWellSectionsName.d.ts +2 -2
  617. package/components/OffsetWellPickerV5/components/OffsetWellsTable/ViewWellSectionsName.d.ts.map +1 -1
  618. package/components/OffsetWellPickerV5/effects/useAssetsData.d.ts +1 -1
  619. package/components/OffsetWellPickerV5/effects/useAssetsData.d.ts.map +1 -1
  620. package/components/OffsetWellPickerV5/effects/useBicWells.d.ts +1 -1
  621. package/components/OffsetWellPickerV5/effects/useBicWells.d.ts.map +1 -1
  622. package/components/OffsetWellPickerV5/effects/useCompanies.d.ts +1 -1
  623. package/components/OffsetWellPickerV5/effects/useCompanyProvider.d.ts +1 -1
  624. package/components/OffsetWellPickerV5/effects/useCompanyProvider.d.ts.map +1 -1
  625. package/components/OffsetWellPickerV5/effects/useSortedWells.d.ts +1 -1
  626. package/components/OffsetWellPickerV5/effects/useSortedWells.d.ts.map +1 -1
  627. package/components/OffsetWellPickerV5/effects/useTableColumns.d.ts +7 -1
  628. package/components/OffsetWellPickerV5/effects/useTableColumns.d.ts.map +1 -1
  629. package/components/OffsetWellPickerV5/stores/company-safeguard/CompanySafeguardContext.d.ts +1 -1
  630. package/components/OffsetWellPickerV5/stores/company-safeguard/CompanySafeguardContext.d.ts.map +1 -1
  631. package/components/OffsetWellPickerV5/stores/filter-store/FilterStoreContext.d.ts +1 -1
  632. package/components/OffsetWellPickerV5/stores/filter-store/FilterStoreContext.d.ts.map +1 -1
  633. package/components/OffsetWellPickerV5/stores/picker-props-store/PickerPropsStoreContext.d.ts +1 -1
  634. package/components/OffsetWellPickerV5/stores/picker-props-store/PickerPropsStoreContext.d.ts.map +1 -1
  635. package/components/OffsetWellPickerV5/stores/selection-tool-store/SelectionToolStoreContext.d.ts +1 -1
  636. package/components/OffsetWellPickerV5/stores/selection-tool-store/SelectionToolStoreContext.d.ts.map +1 -1
  637. package/components/OffsetWellPickerV5/stores/user-settings-store/UserSettingsStoreContext.d.ts +1 -1
  638. package/components/OffsetWellPickerV5/stores/user-settings-store/UserSettingsStoreContext.d.ts.map +1 -1
  639. package/components/OffsetWellPickerV5/stores/view-store/ViewStoreContext.d.ts +1 -1
  640. package/components/OffsetWellPickerV5/stores/view-store/ViewStoreContext.d.ts.map +1 -1
  641. package/components/OffsetWellPickerV5/stores/viewport-store/ViewportStoreContext.d.ts +1 -1
  642. package/components/OffsetWellPickerV5/stores/viewport-store/ViewportStoreContext.d.ts.map +1 -1
  643. package/components/OffsetWellPickerV5/viewport/ViewportContext.d.ts +1 -1
  644. package/components/OffsetWellPickerV5/viewport/ViewportContext.d.ts.map +1 -1
  645. package/components/PadModeSelect/PadModeSelect.d.ts.map +1 -1
  646. package/components/PadModeSelect/PadModeSelect.js +1 -1
  647. package/components/PadModeSelect/effects/useMenuItems.js +1 -1
  648. package/components/PadModeSelect/effects/useWellStreamActivityTypeSubscription.d.ts.map +1 -1
  649. package/components/PadModeSelect/effects/useWellStreamsData.d.ts +1 -1
  650. package/components/PadModeSelect/effects/useWellStreamsData.d.ts.map +1 -1
  651. package/components/PadModeSelect/utils/resolveCurrentConfig.js +1 -1
  652. package/components/PadModeSelect/utils/selectMenuKey.d.ts +1 -1
  653. package/components/PadModeSelect/utils/selectMenuKey.d.ts.map +1 -1
  654. package/components/PadOffsetsPicker/OffsetAssetChip.d.ts +2 -2
  655. package/components/PadOffsetsPicker/PadOffsetsPicker.d.ts +2 -2
  656. package/components/PadOffsetsPicker/StagesSelector.js +1 -1
  657. package/components/PadOffsetsPicker/StagesSelector.js.map +1 -1
  658. package/components/PadOffsetsPickerV2/PadOffsetsPickerV2.js +1 -1
  659. package/components/ParameterCharts/AddEditTrack.d.ts +40 -7
  660. package/components/ParameterCharts/AddEditTrack.d.ts.map +1 -1
  661. package/components/ParameterCharts/DataContext.d.ts +2 -2
  662. package/components/ParameterCharts/ParameterCharts.d.ts +2 -2
  663. package/components/ParameterCharts/SettingsContext.d.ts +1 -1
  664. package/components/ParameterCharts/components/Charts/options.d.ts +1 -1
  665. package/components/ParameterCharts/components/SingleChannelTrackSettings.d.ts +3 -3
  666. package/components/ParameterCharts/components/Tooltip/Tooltip.d.ts +2 -2
  667. package/components/ParameterCharts/components/TraceHeader.d.ts +49 -3
  668. package/components/ParameterCharts/components/TraceHeader.d.ts.map +1 -1
  669. package/components/ParameterCharts/components/TraceSelect.d.ts +21 -3
  670. package/components/ParameterCharts/components/TraceSelect.d.ts.map +1 -1
  671. package/components/ParameterCharts/components/TraceSettings.d.ts +18 -1
  672. package/components/ParameterCharts/components/TraceSettings.d.ts.map +1 -1
  673. package/components/ParameterCharts/constants.d.ts +1 -1
  674. package/components/PinnableFilters/components/PinAppSwitch.d.ts +5 -1
  675. package/components/PinnableFilters/components/PinAppSwitch.d.ts.map +1 -1
  676. package/components/PinnableFilters/effects/index.d.ts +3 -3
  677. package/components/PinnableFilters/effects/index.d.ts.map +1 -1
  678. package/components/Popover/Popover.js +1 -1
  679. package/components/Popper/Popper.js +1 -1
  680. package/components/PostInput/PostInput.d.ts +5 -5
  681. package/components/PostPreviewDialog/index.d.ts +27 -12
  682. package/components/PostPreviewDialog/index.d.ts.map +1 -1
  683. package/components/RangeSlider/RangeSlider.d.ts.map +1 -1
  684. package/components/RangeSlider/RangeSlider.js +1 -1
  685. package/components/RealTimeValuesSidebar/RealTimeSidebar.d.ts.map +1 -1
  686. package/components/RealTimeValuesSidebar/RealTimeSidebar.js +1 -1
  687. package/components/RealTimeValuesSidebar/RealTimeSidebarContext.d.ts +15 -1
  688. package/components/RealTimeValuesSidebar/RealTimeSidebarContext.d.ts.map +1 -1
  689. package/components/RealTimeValuesSidebar/RealTimeValuesBox/RealTimeBox.d.ts +1 -2
  690. package/components/RealTimeValuesSidebar/RealTimeValuesBox/RealTimeBox.d.ts.map +1 -1
  691. package/components/RealTimeValuesSidebar/RealTimeValuesBox/RealTimeBox.js +1 -1
  692. package/components/RealTimeValuesSidebar/RealTimeValuesBox/RealTimeBoxEditDialog.d.ts +1 -2
  693. package/components/RealTimeValuesSidebar/RealTimeValuesBox/RealTimeBoxEditDialog.d.ts.map +1 -1
  694. package/components/RealTimeValuesSidebar/RealTimeValuesBox/RealTimeBoxEditDialog.js +1 -1
  695. package/components/RealTimeValuesSidebar/RealTimeValuesBox/RealTimeBoxList.d.ts +1 -2
  696. package/components/RealTimeValuesSidebar/RealTimeValuesBox/RealTimeBoxList.d.ts.map +1 -1
  697. package/components/RealTimeValuesSidebar/RealTimeValuesBox/RealTimeBoxList.js +1 -1
  698. package/components/RealTimeValuesSidebar/SidebarFooter.d.ts +1 -2
  699. package/components/RealTimeValuesSidebar/SidebarFooter.d.ts.map +1 -1
  700. package/components/RealTimeValuesSidebar/SidebarFooter.js +1 -1
  701. package/components/RealTimeValuesSidebar/SidebarTitle.d.ts +3 -4
  702. package/components/RealTimeValuesSidebar/SidebarTitle.d.ts.map +1 -1
  703. package/components/RealTimeValuesSidebar/SidebarTitle.js +1 -1
  704. package/components/RealTimeValuesSidebar/types.d.ts +1 -1
  705. package/components/RealTimeValuesSidebar/types.d.ts.map +1 -1
  706. package/components/ResizableTable/ResizableTableCell.d.ts +3 -3
  707. package/components/ResizableTable/ResizableTableCell.d.ts.map +1 -1
  708. package/components/ResizableTable/ResizableTableHeaderCell.d.ts +3 -3
  709. package/components/ResizableTable/ResizableTableHeaderCell.d.ts.map +1 -1
  710. package/components/ResizableTable/ResizableTableHeaderCell.js +1 -1
  711. package/components/Search/Search.js +1 -1
  712. package/components/Search/assets/SearchIcon.d.ts +2 -2
  713. package/components/Search/components/Listbox.d.ts +1 -1
  714. package/components/Search/components/RecentSearches.d.ts +1 -1
  715. package/components/Search/components/RecentSearches.d.ts.map +1 -1
  716. package/components/Search/utils/getFormattedOptions.d.ts +3 -3
  717. package/components/Search/utils/getFormattedOptions.d.ts.map +1 -1
  718. package/components/Search/utils/getFormattedOptions.js +1 -1
  719. package/components/SettingEditors/DropdownEditor/index.d.ts +35 -11
  720. package/components/SettingEditors/DropdownEditor/index.d.ts.map +1 -1
  721. package/components/SlateFormattedText/Elements/ImageElement/ImageElement.d.ts +2 -2
  722. package/components/SlateFormattedText/Elements/VideoElement/VideoElement.d.ts +1 -1
  723. package/components/SlateFormattedText/Elements/VideoElement/VideoElement.d.ts.map +1 -1
  724. package/components/SlateFormattedText/SlateFormattedText.d.ts +3 -3
  725. package/components/SlateFormattedText/utils.d.ts +2 -2
  726. package/components/StageDesignVActual/ComparisonBar/ComparisonBar.d.ts +2 -2
  727. package/components/StageDesignVActual/ComparisonBar/utils.d.ts +2 -2
  728. package/components/StageDesignVActual/ComparisonHeader.d.ts +3 -3
  729. package/components/StageDesignVActual/ComparisonRow.d.ts +2 -2
  730. package/components/StageDesignVActual/ElementsComparison/ElementsComparison.d.ts +3 -3
  731. package/components/StageDesignVActual/ElementsComparison/utils.d.ts +1 -1
  732. package/components/StatusBadge/components/DQUnvalidatedContent.d.ts +3 -3
  733. package/components/StatusBadge/components/DQUnvalidatedContent.d.ts.map +1 -1
  734. package/components/StatusBadge/index.d.ts +2 -2
  735. package/components/StatusBadge/index.d.ts.map +1 -1
  736. package/components/StatusBadge/index.js +1 -1
  737. package/components/StatusBadge/types.d.ts +6 -6
  738. package/components/StatusBadge/types.d.ts.map +1 -1
  739. package/components/StatusBadge/utils.d.ts +1 -22
  740. package/components/StatusBadge/utils.d.ts.map +1 -1
  741. package/components/StatusBadge/utils.js +1 -1
  742. package/components/Stepper/Step/styles.d.ts +1 -1
  743. package/components/SwitchControl/index.js +1 -1
  744. package/components/Table/TableCell/TableCell.js +1 -1
  745. package/components/Table/TableToolbar/TableToolbar.js +1 -1
  746. package/components/Template/TemplatePopover/index.d.ts +3 -3
  747. package/components/Template/TemplateSharingDialog/ChipSelector.d.ts +47 -15
  748. package/components/Template/TemplateSharingDialog/ChipSelector.d.ts.map +1 -1
  749. package/components/Template/TemplateSharingDialog/UsersChipSelector.d.ts +3 -3
  750. package/components/Template/TemplateSharingDialog/index.d.ts +1 -1
  751. package/components/TextField/effects/index.d.ts +2 -2
  752. package/components/Toaster/ToastContainer.d.ts +1 -1
  753. package/components/Toaster/ToastContainer.d.ts.map +1 -1
  754. package/components/Toaster/types.d.ts +1 -1
  755. package/components/Toaster/types.d.ts.map +1 -1
  756. package/components/Tooltip/MuiTooltipDcWrapper.d.ts.map +1 -1
  757. package/components/Tooltip/MuiTooltipDcWrapper.js +1 -1
  758. package/components/TracesEditModal/TracesEditModal.d.ts +7 -7
  759. package/components/TracesEditModal/TracesEditModalContainer.d.ts +3 -3
  760. package/components/TruncatedText/index.d.ts +1 -1
  761. package/components/TruncatedText/index.d.ts.map +1 -1
  762. package/components/TruncatedText/index.js +1 -1
  763. package/components/Typography.d.ts +9 -9
  764. package/components/UserCardPopover.d.ts +12 -3
  765. package/components/UserCardPopover.d.ts.map +1 -1
  766. package/components/UserMention/utils/index.d.ts +1 -1
  767. package/components/UserMention/utils/index.d.ts.map +1 -1
  768. package/components/VirtualizedTable/DraggableList.d.ts +1 -1
  769. package/components/VirtualizedTable/VirtualizedTable.d.ts +8 -3
  770. package/components/VirtualizedTable/VirtualizedTable.d.ts.map +1 -1
  771. package/components/VirtualizedTable/VirtualizedTable.js +1 -1
  772. package/components/VirtualizedTable/index.js +1 -1
  773. package/components/WellSummary/ActivitySummaryChart.d.ts +2 -2
  774. package/components/WellSummary/FracWirelineTimeChart.d.ts +2 -2
  775. package/components/WellSummary/WellSummaryItemValue.d.ts +1 -1
  776. package/components/WellSummary/WellSummaryItemValue.d.ts.map +1 -1
  777. package/components/WellSummary/effects/useWellSummaryData.d.ts +1 -1
  778. package/components/WellSummary/effects/useWellSummaryData.d.ts.map +1 -1
  779. package/components/shared/__tests__/createTestHook.d.ts +1 -1
  780. package/components/shared/__tests__/createTestHook.d.ts.map +1 -1
  781. package/components/shared/useThrottledCallback.d.ts +1 -1
  782. package/components/shared/useThrottledCallback.d.ts.map +1 -1
  783. package/componentsV2/AppCommonsProvider/utils.d.ts +19 -19
  784. package/componentsV2/AppContainer/AppContainer.d.ts.map +1 -1
  785. package/componentsV2/AppContainer/AppContainer.js +1 -1
  786. package/componentsV2/AppFooter/DqPopover/DqPopover.d.ts +1 -1
  787. package/componentsV2/AppFooter/DqPopover/DqPopover.d.ts.map +1 -1
  788. package/componentsV2/AppHeader/AppBadge/AppBadge.d.ts +1 -1
  789. package/componentsV2/AppHeader/AppBadge/AppBadge.d.ts.map +1 -1
  790. package/componentsV2/AppHeader/PadMode/PadMode.d.ts +1 -1
  791. package/componentsV2/AppHeader/PadMode/PadMode.d.ts.map +1 -1
  792. package/componentsV2/AppHeader/V3/AppTitle/AppTitle.d.ts.map +1 -1
  793. package/componentsV2/AppHeader/V3/AppTitle/AppTitle.js +1 -1
  794. package/componentsV2/AppHeader/V3/AppTitle/AppTitle.scss.js +1 -1
  795. package/componentsV2/AppHeader/V3/AssetChips/AssetChips.d.ts +1 -1
  796. package/componentsV2/AppHeader/V3/AssetChips/AssetChips.d.ts.map +1 -1
  797. package/componentsV2/AppHeader/V3/VersionSelect/VersionSelect.d.ts +1 -1
  798. package/componentsV2/AppHeader/V3/VersionSelect/VersionSelect.d.ts.map +1 -1
  799. package/componentsV2/AppSizeProvider/AppSizeProvider.d.ts +2 -8
  800. package/componentsV2/AppSizeProvider/AppSizeProvider.d.ts.map +1 -1
  801. package/componentsV2/Autocomplete/AutocompleteListBox.d.ts +1 -1
  802. package/componentsV2/CompletionsOffsetWellPicker/Map/Map.js +1 -1
  803. package/componentsV2/DatePicker/utils.d.ts +2 -2
  804. package/componentsV2/DatePicker/utils.d.ts.map +1 -1
  805. package/componentsV2/FileIcon/constants.d.ts +1 -1
  806. package/componentsV2/FileIcon/icons/ArchiveFileIcon.d.ts +1 -1
  807. package/componentsV2/FileIcon/icons/CSVFileIcon.d.ts +1 -1
  808. package/componentsV2/FileIcon/icons/DocFileIcon.d.ts +1 -1
  809. package/componentsV2/FileIcon/icons/EDMFileIcon.d.ts +1 -1
  810. package/componentsV2/FileIcon/icons/ExcelFileIcon.d.ts +1 -1
  811. package/componentsV2/FileIcon/icons/ImageFileIcon.d.ts +1 -1
  812. package/componentsV2/FileIcon/icons/JsonFileIcon.d.ts +1 -1
  813. package/componentsV2/FileIcon/icons/LasFileIcon.d.ts +1 -1
  814. package/componentsV2/FileIcon/icons/OtherFileIcon.d.ts +1 -1
  815. package/componentsV2/FileIcon/icons/PdfFileIcon.d.ts +1 -1
  816. package/componentsV2/FileIcon/icons/PowerPointFileIcon.d.ts +1 -1
  817. package/componentsV2/FileIcon/icons/TxtFileIcon.d.ts +1 -1
  818. package/componentsV2/FileIcon/icons/UnknownFileIcon.d.ts +1 -1
  819. package/componentsV2/FileIcon/icons/VideoFileIcon.d.ts +1 -1
  820. package/componentsV2/FileIcon/icons/XmlFileIcon.d.ts +1 -1
  821. package/componentsV2/FilesLoader/utils.d.ts +1 -1
  822. package/componentsV2/FilesLoader/utils.d.ts.map +1 -1
  823. package/componentsV2/PadModeSelect/WellStreamActivityStatus/WellStreamActivityStatus.d.ts +1 -1
  824. package/componentsV2/PadModeSelect/WellStreamActivityStatus/WellStreamActivityStatus.d.ts.map +1 -1
  825. package/componentsV2/TemplatesControl/FolderMenu/FolderMenu.d.ts +1 -1
  826. package/componentsV2/TemplatesControl/FolderMenu/FolderMenu.d.ts.map +1 -1
  827. package/componentsV2/TemplatesControl/Popover/Popover.d.ts +1 -1
  828. package/componentsV2/TemplatesControl/Popover/Popover.d.ts.map +1 -1
  829. package/componentsV2/TemplatesControl/Store/Store.d.ts +46 -46
  830. package/componentsV2/TemplatesControl/Store/Store.d.ts.map +1 -1
  831. package/componentsV2/TemplatesControl/Store/hooks/useSelectTemplate.d.ts +1 -1
  832. package/componentsV2/TemplatesControl/Store/hooks/useSelectTemplate.d.ts.map +1 -1
  833. package/componentsV2/TemplatesControl/Store/hooks/useUpdateTemplateIcon.d.ts +1 -1
  834. package/componentsV2/TemplatesControl/Store/hooks/useUpdateTemplateIcon.d.ts.map +1 -1
  835. package/componentsV2/TemplatesControl/Store/utils.d.ts +6 -6
  836. package/componentsV2/TemplatesControl/Store/utils.d.ts.map +1 -1
  837. package/componentsV2/TemplatesControl/TemplateMenu/MenuHeader/MenuHeader.d.ts +1 -1
  838. package/componentsV2/TemplatesControl/TemplateMenu/MenuHeader/MenuHeader.d.ts.map +1 -1
  839. package/componentsV2/TemplatesControl/TemplateMenu/TemplateMenu.d.ts +1 -1
  840. package/componentsV2/TemplatesControl/TemplateMenu/TemplateMenu.d.ts.map +1 -1
  841. package/componentsV2/TemplatesControl/TemplatesControl.d.ts +2 -2
  842. package/componentsV2/TemplatesControl/TemplatesTreeFolder/TemplatesTreeFolder.d.ts +1 -1
  843. package/componentsV2/TemplatesControl/TemplatesTreeFolder/TemplatesTreeFolder.d.ts.map +1 -1
  844. package/componentsV2/TemplatesControl/Toggle/Toggle.d.ts +1 -1
  845. package/componentsV2/TemplatesControl/Toggle/Toggle.d.ts.map +1 -1
  846. package/componentsV2/TemplatesControl/templateMenuItems/MoveTemplateOutOfFolder.d.ts +1 -1
  847. package/componentsV2/TemplatesControl/templateMenuItems/MoveTemplateOutOfFolder.d.ts.map +1 -1
  848. package/componentsV2/TemplatesControl/templateMenuItems/MoveTemplateToFolder.d.ts +1 -1
  849. package/componentsV2/TemplatesControl/templateMenuItems/MoveTemplateToFolder.d.ts.map +1 -1
  850. package/componentsV2/TemplatesControl/templateMenuItems/PublishTemplate.d.ts +1 -1
  851. package/componentsV2/TemplatesControl/templateMenuItems/PublishTemplate.d.ts.map +1 -1
  852. package/componentsV2/TemplatesControl/templateMenuItems/RemoveTemplate.d.ts +1 -1
  853. package/componentsV2/TemplatesControl/templateMenuItems/RemoveTemplate.d.ts.map +1 -1
  854. package/componentsV2/TemplatesControl/templateMenuItems/RevertTemplate.d.ts +1 -1
  855. package/componentsV2/TemplatesControl/templateMenuItems/RevertTemplate.d.ts.map +1 -1
  856. package/componentsV2/TemplatesControl/templateMenuItems/ShareTemplate.d.ts +1 -1
  857. package/componentsV2/TemplatesControl/templateMenuItems/ShareTemplate.d.ts.map +1 -1
  858. package/componentsV2/TemplatesControl/templateMenuItems/UnfollowTemplate.d.ts +1 -1
  859. package/componentsV2/TemplatesControl/templateMenuItems/UnfollowTemplate.d.ts.map +1 -1
  860. package/componentsV2/TemplatesControl/utils.d.ts +4 -4
  861. package/componentsV2/TemplatesControl/utils.d.ts.map +1 -1
  862. package/componentsV2/TextInput/useShrink.d.ts +1 -1
  863. package/componentsV2/WellArchivedMessage/WellArchivedMessage.d.ts +1 -1
  864. package/componentsV2/WellArchivedMessage/WellArchivedMessage.d.ts.map +1 -1
  865. package/componentsV2/WellArchivedMessage/WellArchivedMessage.js +1 -1
  866. package/componentsV2/utils.d.ts +2 -2
  867. package/componentsV2/utils.d.ts.map +1 -1
  868. package/config/highcharts/highcharts.d.ts +1 -1
  869. package/config/theme/lightThemePalette.d.mts +5 -5
  870. package/config/theme/themeVariables.d.mts +4 -4
  871. package/constants/alerts.d.ts +1 -1
  872. package/constants/alerts.d.ts.map +1 -1
  873. package/constants/bha.d.ts +6 -6
  874. package/constants/feed.d.ts +13 -1
  875. package/constants/feed.d.ts.map +1 -1
  876. package/constants/streams.d.ts +7 -0
  877. package/constants/streams.d.ts.map +1 -1
  878. package/constants/wellSummary.d.ts +4 -4
  879. package/effects/useCombineRefs.js +1 -1
  880. package/effects/useDelayedDcFullscreenElemOpen.d.ts.map +1 -1
  881. package/effects/useDelayedDcFullscreenElemOpen.js +1 -1
  882. package/effects/useIsAssetViewer.js +1 -1
  883. package/effects/useLoadedData.d.ts +7 -7
  884. package/effects/useMatchAppContainerSize.d.ts +1 -1
  885. package/effects/useMatchAppContainerSize.d.ts.map +1 -1
  886. package/effects/usePadSelectorSelectedWells.js +1 -1
  887. package/effects/useResizeObserver.d.ts +1 -1
  888. package/effects/useWellnessAlerts.d.ts +2 -22
  889. package/effects/useWellnessAlerts.d.ts.map +1 -1
  890. package/effects/useWellnessAlerts.js +1 -1
  891. package/hocs/withMUIProvidersHOC.d.ts +1 -1
  892. package/mcp-server/server.mjs +52 -4
  893. package/mcp-server/server.mjs.map +1 -1
  894. package/package.json +1 -1
  895. package/storyBookHelpers/utils.d.ts +3 -3
  896. package/testing/AppTestWrapper/AppTestWrapper.js +1 -1
  897. package/tsconfig.tsbuildinfo +1 -1
  898. package/utils/DrillstringUtils.d.ts +3 -3
  899. package/utils/DrillstringUtils.d.ts.map +1 -1
  900. package/utils/FluidCheckUtils.d.ts +3 -3
  901. package/utils/FluidCheckUtils.d.ts.map +1 -1
  902. package/utils/alerts.d.ts +1 -1
  903. package/utils/alerts.d.ts.map +1 -1
  904. package/utils/charts/getChartVerticalAxis.d.ts +1 -1
  905. package/utils/convert.d.ts +1 -1
  906. package/utils/convert.d.ts.map +1 -1
  907. package/utils/csvExport.d.ts +1 -1
  908. package/utils/csvExport.d.ts.map +1 -1
  909. package/utils/dashboardReports.d.ts +1 -1
  910. package/utils/dashboardReports.d.ts.map +1 -1
  911. package/utils/devcenter.d.ts +1 -1
  912. package/utils/devcenter.d.ts.map +1 -1
  913. package/utils/drillstring/validation.d.ts +40 -40
  914. package/utils/drillstring/validation.d.ts.map +1 -1
  915. package/utils/formatFileSize.d.ts.map +1 -1
  916. package/utils/formatFileSize.js +1 -1
  917. package/utils/formatting.d.ts +1 -1
  918. package/utils/formatting.d.ts.map +1 -1
  919. package/utils/getSingleAsset.d.ts +15 -15
  920. package/utils/getSingleAsset.d.ts.map +1 -1
  921. package/utils/goalsConfig/utils.d.ts +2 -2
  922. package/utils/goalsConfig/utils.d.ts.map +1 -1
  923. package/utils/goalsConfig/utils.js +1 -1
  924. package/utils/index.d.ts +1 -1
  925. package/utils/lasParser.d.ts +3 -3
  926. package/utils/metrics/metricsConfig.d.ts +7 -7
  927. package/utils/notifications.d.ts +1 -1
  928. package/utils/notifications.d.ts.map +1 -1
  929. package/utils/torqueAndHookloadUtils.d.ts +1 -1
  930. package/cjs-bundle/componentsV2/AppContainer/headerCommon.scss.js +0 -2
  931. package/cjs-bundle/componentsV2/AppContainer/headerCommon.scss.js.map +0 -1
  932. package/componentsV2/AppContainer/headerCommon.scss.js +0 -2
  933. package/componentsV2/AppContainer/headerCommon.scss.js.map +0 -1
@@ -1,5 +1,5 @@
1
1
  export function getSummaries(data: any, stagesData: any, predictionsData: any): {
2
- actualSummary: {
2
+ actualSummary: false | {
3
3
  top_perforation: number;
4
4
  bottom_perforation: number;
5
5
  perforated_length: number;
@@ -9,7 +9,7 @@ export function getSummaries(data: any, stagesData: any, predictionsData: any):
9
9
  proppants: any;
10
10
  fluids: any;
11
11
  };
12
- designSummary: {
12
+ designSummary: false | {
13
13
  top_perforation: number;
14
14
  bottom_perforation: number;
15
15
  perforated_length: number;
@@ -13,7 +13,7 @@ declare namespace AccuracyPlan {
13
13
  export let accuracyData: import("prop-types").Validator<NonNullable<import("prop-types").InferProps<import("prop-types").ValidationMap<any>>>>;
14
14
  }
15
15
  namespace defaultProps {
16
- let timestamp: any;
16
+ let timestamp: null;
17
17
  let initialPlanName: string;
18
18
  let cumulativeTvdChange: string;
19
19
  }
@@ -15,12 +15,12 @@ declare namespace TracesMemoFeedItem {
15
15
  url: PropTypes.Requireable<string>;
16
16
  size: PropTypes.Requireable<number>;
17
17
  }>>;
18
- bitDepth: PropTypes.Validator<NonNullable<NonNullable<string | number>>>;
19
- holeDepth: PropTypes.Validator<NonNullable<NonNullable<string | number>>>;
20
- timestamp: PropTypes.Validator<NonNullable<NonNullable<string | number>>>;
18
+ bitDepth: PropTypes.Validator<NonNullable<NonNullable<string | number | null | undefined>>>;
19
+ holeDepth: PropTypes.Validator<NonNullable<NonNullable<string | number | null | undefined>>>;
20
+ timestamp: PropTypes.Validator<NonNullable<NonNullable<string | number | null | undefined>>>;
21
21
  }>>>;
22
22
  }>>>;
23
- mentioned_users: PropTypes.Requireable<PropTypes.InferProps<{}>[]>;
23
+ mentioned_users: PropTypes.Requireable<(PropTypes.InferProps<{}> | null | undefined)[]>;
24
24
  }>>>;
25
25
  }
26
26
  }
@@ -10,7 +10,14 @@ declare const _default: import("react").ComponentType<Pick<Pick<{
10
10
  classes: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
11
11
  deleteTooltip: PropTypes.Validator<string>;
12
12
  }>>>;
13
- }>, "classes" | "fileName" | "fileUrl" | "handleFileDelete">, "fileName" | "fileUrl" | "handleFileDelete"> & import("@material-ui/styles").StyledComponentProps<"deleteTooltip">>;
13
+ }>, PropTypes.RequiredKeys<{
14
+ fileName: PropTypes.Validator<string>;
15
+ fileUrl: PropTypes.Validator<string>;
16
+ handleFileDelete: PropTypes.Validator<(...args: any[]) => any>;
17
+ classes: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
18
+ deleteTooltip: PropTypes.Validator<string>;
19
+ }>>>;
20
+ }>>, "fileName" | "fileUrl" | "handleFileDelete"> & import("@material-ui/styles").StyledComponentProps<"deleteTooltip">>;
14
21
  export default _default;
15
22
  import PropTypes from 'prop-types';
16
23
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/FilePreview/index.js"],"names":[],"mappings":";;;;;;;;;;;;;;sBAAsB,YAAY"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/FilePreview/index.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;sBAAsB,YAAY"}
@@ -13,7 +13,7 @@ declare namespace FileTypeIcon {
13
13
  namespace defaultProps {
14
14
  let size_1: number;
15
15
  export { size_1 as size };
16
- let className_1: any;
16
+ let className_1: undefined;
17
17
  export { className_1 as className };
18
18
  }
19
19
  }
@@ -3,10 +3,10 @@ export default FileUploadIconButton;
3
3
  declare class FileUploadIconButton extends PureComponent<any, any, any> {
4
4
  constructor(props: any);
5
5
  state: {
6
- currentUpload: any;
7
- s3FileUrl: any;
8
- s3FileName: any;
9
- s3FileSize: any;
6
+ currentUpload: null;
7
+ s3FileUrl: null;
8
+ s3FileName: null;
9
+ s3FileSize: null;
10
10
  uploadingFileToS3: boolean;
11
11
  openFileUploadPreviewDialog: boolean;
12
12
  };
@@ -36,30 +36,30 @@ declare namespace FileUploadIconButton {
36
36
  let onError: PropTypes.Requireable<(...args: any[]) => any>;
37
37
  let onFinish: PropTypes.Requireable<(...args: any[]) => any>;
38
38
  let openPreviewDialogOnUpload: PropTypes.Requireable<boolean>;
39
- let requiredFields: PropTypes.Requireable<string[]>;
39
+ let requiredFields: PropTypes.Requireable<(string | null | undefined)[]>;
40
40
  }
41
41
  namespace defaultProps {
42
- let additionalFields_1: any[];
42
+ let additionalFields_1: never[];
43
43
  export { additionalFields_1 as additionalFields };
44
44
  let disableRipple_1: boolean;
45
45
  export { disableRipple_1 as disableRipple };
46
46
  let disabled_1: boolean;
47
47
  export { disabled_1 as disabled };
48
- let fileUploadIconClassName_1: any;
48
+ let fileUploadIconClassName_1: undefined;
49
49
  export { fileUploadIconClassName_1 as fileUploadIconClassName };
50
- let handleShare_1: any;
50
+ let handleShare_1: undefined;
51
51
  export { handleShare_1 as handleShare };
52
52
  let inputId_1: string;
53
53
  export { inputId_1 as inputId };
54
- let message_1: any;
54
+ let message_1: undefined;
55
55
  export { message_1 as message };
56
- let onError_1: any;
56
+ let onError_1: undefined;
57
57
  export { onError_1 as onError };
58
- let onFinish_1: any;
58
+ let onFinish_1: undefined;
59
59
  export { onFinish_1 as onFinish };
60
60
  let openPreviewDialogOnUpload_1: boolean;
61
61
  export { openPreviewDialogOnUpload_1 as openPreviewDialogOnUpload };
62
- let requiredFields_1: any[];
62
+ let requiredFields_1: never[];
63
63
  export { requiredFields_1 as requiredFields };
64
64
  export namespace tooltipProps_1 {
65
65
  let title: string;
@@ -26,16 +26,16 @@ declare namespace FilesLoader {
26
26
  var defaultProps: {
27
27
  size: string;
28
28
  unit: string;
29
- onDelete: any;
30
- onReload: any;
29
+ onDelete: null;
30
+ onReload: null;
31
31
  name: string;
32
32
  customUnitName: string;
33
33
  sizeBytes: number;
34
- error: any;
34
+ error: null;
35
35
  errorText: string;
36
36
  formatError: boolean;
37
37
  importButtonType: string;
38
- handleCancel: any;
38
+ handleCancel: null;
39
39
  isLoadingAnimation: boolean;
40
40
  showActions: boolean;
41
41
  };
@@ -1,2 +1,2 @@
1
- import o from"@babel/runtime/helpers/defineProperty";import n from"@babel/runtime/helpers/slicedToArray";import{jsxs as s,jsx as e,Fragment as i}from"react/jsx-runtime";import{useState as t,useEffect as c,useMemo as r}from"react";import a from"prop-types";import m from"classnames";import{Typography as l,LinearProgress as u}from"@material-ui/core";import p from"../IconButton/index.js";import d from"../Button/components/Button/index.js";import"@babel/runtime/helpers/objectWithoutProperties";import"moment-timezone";import"../Button/components/LiveButton/components/LiveButtonStateIndicator/index.js";import"../Button/components/LiveButton/styles.js";import{CloseSmallIcon as f,DeleteFourIcon as j,CheckOneIcon as h,RedoIcon as I,UploadIcon as g}from"../../icons/iconParkIcons.js";import"../../icons/customIcons/icons/AddMessage.js";import"../../icons/customIcons/icons/Attention.js";import"../../icons/customIcons/icons/Collapse.js";import"../../icons/customIcons/icons/Dashboard.js";import"../../icons/customIcons/icons/Expand.js";import"../../icons/customIcons/icons/FolderClosed.js";import"../../icons/customIcons/icons/FolderClosedFilled.js";import"../../icons/customIcons/icons/FolderOpened.js";import"../../icons/customIcons/icons/GreaterOrEqual.js";import"../../icons/customIcons/icons/LessOrEqual.js";import"../../icons/customIcons/icons/Search.js";import"../../icons/customIcons/icons/SearchOne.js";import"../../icons/customIcons/icons/Wellhub.js";import"../../icons/customIcons/icons/MultiRuler.js";import"../../icons/customIcons/icons/Checkbox.js";import"../../icons/customIcons/icons/CheckboxChecked.js";import"../../icons/customIcons/icons/CheckboxIndeterminate.js";import"../../icons/customIcons/icons/Radio.js";import"../../icons/customIcons/icons/RadioChecked.js";import"../../icons/customIcons/icons/SimulFrac.js";import"../../icons/customIcons/icons/ZipperFrac.js";import"../../icons/customIcons/icons/CautionFilled.js";import"../../icons/customIcons/icons/MoreApp.js";import"../../icons/customIcons/icons/Pad.js";import"../../icons/customIcons/icons/DrilloutUnit.js";import"../../icons/customIcons/icons/FracFleet.js";import"../../icons/customIcons/icons/Global.js";import"../../icons/customIcons/icons/Program.js";import"../../icons/customIcons/icons/Rig.js";import"../../icons/customIcons/icons/Well.js";import"../../icons/customIcons/icons/Gap.js";import"../../icons/customIcons/icons/Pin.js";import"../../icons/customIcons/icons/CloseOneFilled.js";import"../../icons/customIcons/icons/AttentionFilled.js";import"../../icons/customIcons/icons/CheckOneFilled.js";import"../../icons/customIcons/icons/Archive.js";import"../../icons/customIcons/icons/ArchiveCancel.js";import"../../icons/customIcons/icons/Unarchive.js";import"../../icons/customIcons/icons/Archived.js";import"../../icons/customIcons/icons/InterventionUnit.js";import"../../icons/customIcons/icons/CloudDelete.js";import"../../icons/customIcons/icons/Lasso.js";import"../../icons/customIcons/icons/Radius.js";import v from"./Icons/IconWarning.js";import{FileIcon as b}from"../FileIcon/FileIcon.js";import{useStyles as z}from"./useStyles.js";function y(o,n){var s=Object.keys(o);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(o);n&&(e=e.filter((function(n){return Object.getOwnPropertyDescriptor(o,n).enumerable}))),s.push.apply(s,e)}return s}function B(n){for(var s=1;s<arguments.length;s++){var e=null!=arguments[s]?arguments[s]:{};s%2?y(Object(e),!0).forEach((function(s){o(n,s,e[s])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(e)):y(Object(e)).forEach((function(o){Object.defineProperty(n,o,Object.getOwnPropertyDescriptor(e,o))}))}return n}function C(a){var y=a.size,C=a.unit,N=a.name,O=a.customUnitName,P=a.sizeBytes,S=a.handleCancel,w=a.onReload,L=a.onDelete,k=a.loadedBytes,A=a.error,F=a.errorText,x=a.formatError,M=a.importButtonType,D=a.isLoadingAnimation,E=a.showActions,T=z(),R=t({}),U=n(R,2),W=U[0],q=U[1],G=t(0),K=n(G,2),Z=K[0],H=K[1],J=t(!0),Q=n(J,2),V=Q[0],X=Q[1],Y="large"===y,$=Y?24:16,_=Y?"medium":"small";c((function(){q(function(o,n,s){return"time"===n?{downloaded:0,unit:"min",convertedSize:o}:"custom"===n?{downloaded:0,unit:s,convertedSize:o}:o>=Math.pow(10,6)?{downloaded:0,unit:"MB",convertedSize:Math.floor(o/Math.pow(10,5))/10}:o>=Math.pow(10,3)?{downloaded:0,unit:"KB",convertedSize:Math.floor(o/Math.pow(10,2))/10}:{downloaded:0,unit:"B",convertedSize:Math.floor(10*o)/10}}(P,C,O))}),[P,C]),c((function(){if(k&&P){var o=Math.round(k/P*100);q((function(n){return B(B({},n),{},{downloaded:Math.floor(n.convertedSize*o/10)/10})})),H(o)}}),[k,P]),c((function(){var o;return L&&Z>=100&&(X(!0),o=setTimeout((function(){X(!1)}),5e3)),function(){return o&&clearTimeout(o)}}),[Z]),c((function(){A&&(H(0),q((function(o){return B(B({},o),{},{downloaded:0})})))}),[A]);var oo=r((function(){return[m(T.iconButton,o({},T.iconButtonLarge,Y)),m(T.actionIcon,o({},T.actionIconLarge,Y))]}),[Y]),no=n(oo,2),so=no[0],eo=no[1];return s("div",{className:T.fileStateWrapper,children:[e("div",{className:T.fileIconContainer,children:e(b,{name:N,style:{fontSize:Y?48:32}})}),s("div",{className:T.fileState,children:[s("div",{className:T.fileStateProgress,children:[e("div",{className:T.fileNameWrapper,children:e(l,{className:m(T.fileName,o({},T.fileNameLarge,Y)),children:N.length>7?s(i,{children:[e("span",{className:T.firstPart,children:N.slice(0,N.length-7)}),e("span",{children:N.slice(-7)})]}):N})}),!D&&e(u,{className:T.progressBar,variant:"determinate",value:Z,classes:{colorPrimary:m(T.progressBackground,o({},T.progressBarError,A)),barColorPrimary:m(T.progressBarColor,o({},T.progressBarError,A))}}),s("div",{className:T.loaderProgressContainer,children:[!D&&e(l,{className:m(T.fileSize,o({},T.fileSizeLarge,Y)),component:"span",children:"".concat(W.downloaded," of ").concat(W.convertedSize," ").concat(W.unit)}),s("div",{className:m(T.progressStatus,o({},T.fileSizeLarge,Y)),children:[A&&s(l,{component:"div",className:T.errorContainer,children:[e(v,{size:y}),e(l,{component:"span",className:m(T.errorText,o({},T.fileSizeLarge,Y)),children:x?"Upload Error. Unacceptable file format.":"Upload Error".concat(F&&". ".concat(F))})]}),!A&&!D&&"".concat(Z," %")]})]})]}),E&&s("div",{className:T.fileActions,children:[Z<100&&!A&&e(i,{children:D?e("div",{className:m(T.loadingIcon,o({},T.loadingLargeIcon,Y)),style:{backgroundImage:"url(".concat("/static/media/6fa6f1128bc0185126482345243bcd42.svg",")")}}):e(p,{tooltipProps:{title:"Cancel"},className:so,onClick:function(){S(N),H(0),q((function(o){return B(B({},o),{},{downloaded:0})}))},size:_,children:e(f,{className:eo,size:$})})}),100===Z&&!A&&(!V&&L?e(p,{variant:"contained",tooltipProps:{title:"Delete"},className:so,onClick:L,size:_,children:e(j,{className:eo,size:$})}):e(h,{fill:"#75DB29",size:$,style:{marginLeft:12}})),w&&A&&e(i,{children:x?e(i,{children:"default"===M?e(d,{size:Y?"medium":"small",variation:"primary",startIcon:e(g,{}),onClick:w,children:"Import"}):e(p,{size:_,tooltipProps:{title:"Import File"},className:so,onClick:w,children:e(g,{size:$})})}):e(p,{size:_,tooltipProps:{title:"Reload"},className:so,onClick:w,children:e(I,{size:$})})})]})]})]})}var N={size:a.oneOf(["small","large"]),unit:a.oneOf(["size","time","custom"]),customUnitName:a.string,onDelete:a.func,onReload:a.func,handleCancel:a.func,name:a.string,sizeBytes:a.number,error:a.bool,errorText:a.string,formatError:a.bool,importButtonType:a.oneOf(["default","icon"]),loadedBytes:a.number.isRequired,isLoadingAnimation:a.bool,showActions:a.bool};C.propTypes=N,C.defaultProps={size:"small",unit:"size",onDelete:null,onReload:null,name:"",customUnitName:"",sizeBytes:1,error:null,errorText:"",formatError:!1,importButtonType:"default",handleCancel:null,isLoadingAnimation:!1,showActions:!0};export{C as default};
1
+ import o from"@babel/runtime/helpers/defineProperty";import n from"@babel/runtime/helpers/slicedToArray";import{jsxs as s,jsx as e,Fragment as i}from"react/jsx-runtime";import{useState as t,useEffect as c,useMemo as r}from"react";import a from"prop-types";import l from"classnames";import{Typography as m,LinearProgress as u}from"@material-ui/core";import p from"../IconButton/index.js";import d from"../Button/components/Button/index.js";import"@babel/runtime/helpers/objectWithoutProperties";import"moment-timezone";import"../Button/components/LiveButton/components/LiveButtonStateIndicator/index.js";import"../Button/components/LiveButton/styles.js";import{CloseSmallIcon as f,DeleteFourIcon as j,CheckOneIcon as h,RedoIcon as I,UploadIcon as g}from"../../icons/iconParkIcons.js";import"../../icons/customIcons/icons/AddMessage.js";import"../../icons/customIcons/icons/Attention.js";import"../../icons/customIcons/icons/Collapse.js";import"../../icons/customIcons/icons/Dashboard.js";import"../../icons/customIcons/icons/Expand.js";import"../../icons/customIcons/icons/FolderClosed.js";import"../../icons/customIcons/icons/FolderClosedFilled.js";import"../../icons/customIcons/icons/FolderOpened.js";import"../../icons/customIcons/icons/GreaterOrEqual.js";import"../../icons/customIcons/icons/LessOrEqual.js";import"../../icons/customIcons/icons/Search.js";import"../../icons/customIcons/icons/SearchOne.js";import"../../icons/customIcons/icons/Wellhub.js";import"../../icons/customIcons/icons/MultiRuler.js";import"../../icons/customIcons/icons/Checkbox.js";import"../../icons/customIcons/icons/CheckboxChecked.js";import"../../icons/customIcons/icons/CheckboxIndeterminate.js";import"../../icons/customIcons/icons/Radio.js";import"../../icons/customIcons/icons/RadioChecked.js";import"../../icons/customIcons/icons/SimulFrac.js";import"../../icons/customIcons/icons/ZipperFrac.js";import"../../icons/customIcons/icons/CautionFilled.js";import"../../icons/customIcons/icons/MoreApp.js";import"../../icons/customIcons/icons/Pad.js";import"../../icons/customIcons/icons/DrilloutUnit.js";import"../../icons/customIcons/icons/FracFleet.js";import"../../icons/customIcons/icons/Global.js";import"../../icons/customIcons/icons/Program.js";import"../../icons/customIcons/icons/Rig.js";import"../../icons/customIcons/icons/Well.js";import"../../icons/customIcons/icons/Gap.js";import"../../icons/customIcons/icons/Pin.js";import"../../icons/customIcons/icons/CloseOneFilled.js";import"../../icons/customIcons/icons/AttentionFilled.js";import"../../icons/customIcons/icons/CheckOneFilled.js";import"../../icons/customIcons/icons/Archive.js";import"../../icons/customIcons/icons/ArchiveCancel.js";import"../../icons/customIcons/icons/Unarchive.js";import"../../icons/customIcons/icons/Archived.js";import"../../icons/customIcons/icons/InterventionUnit.js";import"../../icons/customIcons/icons/CloudDelete.js";import"../../icons/customIcons/icons/Lasso.js";import"../../icons/customIcons/icons/Radius.js";import v from"./Icons/IconWarning.js";import{FileIcon as b}from"../FileIcon/FileIcon.js";import{useStyles as z}from"./useStyles.js";function y(o,n){var s=Object.keys(o);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(o);n&&(e=e.filter((function(n){return Object.getOwnPropertyDescriptor(o,n).enumerable}))),s.push.apply(s,e)}return s}function B(n){for(var s=1;s<arguments.length;s++){var e=null!=arguments[s]?arguments[s]:{};s%2?y(Object(e),!0).forEach((function(s){o(n,s,e[s])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(e)):y(Object(e)).forEach((function(o){Object.defineProperty(n,o,Object.getOwnPropertyDescriptor(e,o))}))}return n}function C(a){var y=a.size,C=a.unit,N=a.name,O=a.customUnitName,P=a.sizeBytes,S=a.handleCancel,w=a.onReload,L=a.onDelete,k=a.loadedBytes,A=a.error,F=a.errorText,x=a.formatError,M=a.importButtonType,D=a.isLoadingAnimation,E=a.showActions,T=z(),R=t({}),U=n(R,2),W=U[0],q=U[1],G=t(0),K=n(G,2),Z=K[0],H=K[1],J=t(!0),Q=n(J,2),V=Q[0],X=Q[1],Y="large"===y,$=Y?24:16,_=Y?"medium":"small";c((function(){q(function(o,n,s){return"time"===n?{downloaded:0,unit:"min",convertedSize:o}:"custom"===n?{downloaded:0,unit:s,convertedSize:o}:o>=Math.pow(10,6)?{downloaded:0,unit:"MB",convertedSize:Math.floor(o/Math.pow(10,5))/10}:o>=Math.pow(10,3)?{downloaded:0,unit:"KB",convertedSize:Math.floor(o/Math.pow(10,2))/10}:{downloaded:0,unit:"B",convertedSize:Math.floor(10*o)/10}}(null!=P?P:1,null!=C?C:"size",null!=O?O:""))}),[P,C]),c((function(){if(k&&P){var o=Math.round(k/P*100);q((function(n){var s;return B(B({},n),{},{downloaded:Math.floor((null!==(s=n.convertedSize)&&void 0!==s?s:0)*o/10)/10})})),H(o)}}),[k,P]),c((function(){var o;return L&&Z>=100&&(X(!0),o=setTimeout((function(){X(!1)}),5e3)),function(){return o&&clearTimeout(o)}}),[Z]),c((function(){A&&(H(0),q((function(o){return B(B({},o),{},{downloaded:0})})))}),[A]);var oo=r((function(){return[l(T.iconButton,o({},T.iconButtonLarge,Y)),l(T.actionIcon,o({},T.actionIconLarge,Y))]}),[Y]),no=n(oo,2),so=no[0],eo=no[1];return s("div",{className:T.fileStateWrapper,children:[e("div",{className:T.fileIconContainer,children:e(b,{name:null!=N?N:"",style:{fontSize:Y?48:32}})}),s("div",{className:T.fileState,children:[s("div",{className:T.fileStateProgress,children:[e("div",{className:T.fileNameWrapper,children:e(m,{className:l(T.fileName,o({},T.fileNameLarge,Y)),children:N&&N.length>7?s(i,{children:[e("span",{className:T.firstPart,children:N.slice(0,N.length-7)}),e("span",{children:N.slice(-7)})]}):N})}),!D&&e(u,{className:T.progressBar,variant:"determinate",value:Z,classes:{colorPrimary:l(T.progressBackground,o({},T.progressBarError,A)),barColorPrimary:l(T.progressBarColor,o({},T.progressBarError,A))}}),s("div",{className:T.loaderProgressContainer,children:[!D&&e(m,{className:l(T.fileSize,o({},T.fileSizeLarge,Y)),component:"span",children:"".concat(W.downloaded," of ").concat(W.convertedSize," ").concat(W.unit)}),s("div",{className:l(T.progressStatus,o({},T.fileSizeLarge,Y)),children:[A&&s(m,{component:"div",className:T.errorContainer,children:[e(v,{size:y}),e(m,{component:"span",className:l(T.errorText,o({},T.fileSizeLarge,Y)),children:x?"Upload Error. Unacceptable file format.":"Upload Error".concat(F&&". ".concat(F))})]}),!A&&!D&&"".concat(Z," %")]})]})]}),E&&s("div",{className:T.fileActions,children:[Z<100&&!A&&e(i,{children:D?e("div",{className:l(T.loadingIcon,o({},T.loadingLargeIcon,Y)),style:{backgroundImage:"url(".concat("/static/media/6fa6f1128bc0185126482345243bcd42.svg",")")}}):e(p,{tooltipProps:{title:"Cancel"},className:so,onClick:function(){null==S||S(N),H(0),q((function(o){return B(B({},o),{},{downloaded:0})}))},size:_,children:e(f,{className:eo,size:$})})}),100===Z&&!A&&(!V&&L?e(p,{variant:"contained",tooltipProps:{title:"Delete"},className:so,onClick:L,size:_,children:e(j,{className:eo,size:$})}):e(h,{fill:"#75DB29",size:$,style:{marginLeft:12}})),w&&A&&e(i,{children:x?e(i,{children:"default"===M?e(d,{size:Y?"medium":"small",variation:"primary",startIcon:e(g,{}),onClick:w,children:"Import"}):e(p,{size:_,tooltipProps:{title:"Import File"},className:so,onClick:w,children:e(g,{size:$})})}):e(p,{size:_,tooltipProps:{title:"Reload"},className:so,onClick:w,children:e(I,{size:$})})})]})]})]})}var N={size:a.oneOf(["small","large"]),unit:a.oneOf(["size","time","custom"]),customUnitName:a.string,onDelete:a.func,onReload:a.func,handleCancel:a.func,name:a.string,sizeBytes:a.number,error:a.bool,errorText:a.string,formatError:a.bool,importButtonType:a.oneOf(["default","icon"]),loadedBytes:a.number.isRequired,isLoadingAnimation:a.bool,showActions:a.bool};C.propTypes=N,C.defaultProps={size:"small",unit:"size",onDelete:null,onReload:null,name:"",customUnitName:"",sizeBytes:1,error:null,errorText:"",formatError:!1,importButtonType:"default",handleCancel:null,isLoadingAnimation:!1,showActions:!0};export{C as default};
2
2
  //# sourceMappingURL=FilesLoader.js.map
@@ -1,6 +1,6 @@
1
1
  export default IconWarning;
2
2
  declare function IconWarning({ size, style }: {
3
3
  size: any;
4
- style?: {};
4
+ style?: {} | undefined;
5
5
  }): JSX.Element;
6
6
  //# sourceMappingURL=IconWarning.d.ts.map
@@ -1,2 +1,2 @@
1
- import{jsxs as o,jsx as s,Fragment as c}from"react/jsx-runtime";import i from"classnames";import{LinearProgress as n}from"@material-ui/core";import{FileIcon as t}from"../FileIcon/FileIcon.js";import r from"../IconButton/index.js";import{CloseIcon as e,DeleteFourIcon as m,RedoIcon as l}from"../../icons/iconParkIcons.js";import"../../icons/customIcons/icons/AddMessage.js";import"../../icons/customIcons/icons/Attention.js";import"../../icons/customIcons/icons/Collapse.js";import"../../icons/customIcons/icons/Dashboard.js";import"../../icons/customIcons/icons/Expand.js";import"../../icons/customIcons/icons/FolderClosed.js";import"../../icons/customIcons/icons/FolderClosedFilled.js";import"../../icons/customIcons/icons/FolderOpened.js";import"../../icons/customIcons/icons/GreaterOrEqual.js";import"../../icons/customIcons/icons/LessOrEqual.js";import"../../icons/customIcons/icons/Search.js";import"../../icons/customIcons/icons/SearchOne.js";import"../../icons/customIcons/icons/Wellhub.js";import"../../icons/customIcons/icons/MultiRuler.js";import"../../icons/customIcons/icons/Checkbox.js";import"../../icons/customIcons/icons/CheckboxChecked.js";import"../../icons/customIcons/icons/CheckboxIndeterminate.js";import"../../icons/customIcons/icons/Radio.js";import"../../icons/customIcons/icons/RadioChecked.js";import"../../icons/customIcons/icons/SimulFrac.js";import"../../icons/customIcons/icons/ZipperFrac.js";import{CautionFilledCustomIcon as a}from"../../icons/customIcons/icons/CautionFilled.js";import"../../icons/customIcons/icons/MoreApp.js";import"../../icons/customIcons/icons/Pad.js";import"../../icons/customIcons/icons/DrilloutUnit.js";import"../../icons/customIcons/icons/FracFleet.js";import"../../icons/customIcons/icons/Global.js";import"../../icons/customIcons/icons/Program.js";import"../../icons/customIcons/icons/Rig.js";import"../../icons/customIcons/icons/Well.js";import"../../icons/customIcons/icons/Gap.js";import"../../icons/customIcons/icons/Pin.js";import"../../icons/customIcons/icons/CloseOneFilled.js";import"../../icons/customIcons/icons/AttentionFilled.js";import"../../icons/customIcons/icons/CheckOneFilled.js";import"../../icons/customIcons/icons/Archive.js";import"../../icons/customIcons/icons/ArchiveCancel.js";import"../../icons/customIcons/icons/Unarchive.js";import"../../icons/customIcons/icons/Archived.js";import"../../icons/customIcons/icons/InterventionUnit.js";import"../../icons/customIcons/icons/CloudDelete.js";import"../../icons/customIcons/icons/Lasso.js";import"../../icons/customIcons/icons/Radius.js";import{MiddleTruncatedText as p}from"../MiddleTruncatedText/MiddleTruncatedText.js";import{Regular14 as u,Regular12 as d}from"../Typography.js";import{formatSizeProgress as j}from"./utils.js";import{useStyles as I}from"./styles.js";var h=function(h){var C=h.formatProgress,v=void 0===C?j:C,F=h.className,f=h.name,x=h.current,k=h.total,N=h.errorText,g=h.onCancel,T=h.onReload,P=h.onDelete,R=I(),A=k>=0&&x>=0,M=Math.min(100,Math.ceil(x/k*100)),b=x>=k;return o("div",{className:i(R.root,F),children:[s(t,{name:f,className:R.icon,strokeWidth:2}),o("div",{className:R.content,children:[s(u,{className:R.name,children:s(p,{children:f},f)}),!N&&!b&&o(c,{children:[s(n,{className:R.progressBar,variant:A?"determinate":void 0,value:M}),o("div",{className:R.progressTextContainer,children:[s(d,{className:R.progressText,children:v(k,x)}),A&&o(d,{className:R.progressText,children:[M,"%"]})]})]}),N&&o(u,{className:R.error,children:[s(a,{size:16}),N]})]}),g&&!N&&!b&&s(r,{onClick:g,size:"small",tooltipProps:{title:"Cancel"},children:s(e,{})}),P&&(N||b)&&s(r,{onClick:P,size:"small",tooltipProps:{title:"Remove File"},children:s(m,{})}),T&&N&&s(r,{onClick:T,size:"small",tooltipProps:{title:"Reload"},children:s(l,{})})]})};export{h as FilesLoaderV2};
1
+ import{jsxs as o,jsx as s,Fragment as c}from"react/jsx-runtime";import i from"classnames";import{LinearProgress as n}from"@material-ui/core";import{FileIcon as t}from"../FileIcon/FileIcon.js";import r from"../IconButton/index.js";import{CloseIcon as e,DeleteFourIcon as m,RedoIcon as l}from"../../icons/iconParkIcons.js";import"../../icons/customIcons/icons/AddMessage.js";import"../../icons/customIcons/icons/Attention.js";import"../../icons/customIcons/icons/Collapse.js";import"../../icons/customIcons/icons/Dashboard.js";import"../../icons/customIcons/icons/Expand.js";import"../../icons/customIcons/icons/FolderClosed.js";import"../../icons/customIcons/icons/FolderClosedFilled.js";import"../../icons/customIcons/icons/FolderOpened.js";import"../../icons/customIcons/icons/GreaterOrEqual.js";import"../../icons/customIcons/icons/LessOrEqual.js";import"../../icons/customIcons/icons/Search.js";import"../../icons/customIcons/icons/SearchOne.js";import"../../icons/customIcons/icons/Wellhub.js";import"../../icons/customIcons/icons/MultiRuler.js";import"../../icons/customIcons/icons/Checkbox.js";import"../../icons/customIcons/icons/CheckboxChecked.js";import"../../icons/customIcons/icons/CheckboxIndeterminate.js";import"../../icons/customIcons/icons/Radio.js";import"../../icons/customIcons/icons/RadioChecked.js";import"../../icons/customIcons/icons/SimulFrac.js";import"../../icons/customIcons/icons/ZipperFrac.js";import{CautionFilledCustomIcon as a}from"../../icons/customIcons/icons/CautionFilled.js";import"../../icons/customIcons/icons/MoreApp.js";import"../../icons/customIcons/icons/Pad.js";import"../../icons/customIcons/icons/DrilloutUnit.js";import"../../icons/customIcons/icons/FracFleet.js";import"../../icons/customIcons/icons/Global.js";import"../../icons/customIcons/icons/Program.js";import"../../icons/customIcons/icons/Rig.js";import"../../icons/customIcons/icons/Well.js";import"../../icons/customIcons/icons/Gap.js";import"../../icons/customIcons/icons/Pin.js";import"../../icons/customIcons/icons/CloseOneFilled.js";import"../../icons/customIcons/icons/AttentionFilled.js";import"../../icons/customIcons/icons/CheckOneFilled.js";import"../../icons/customIcons/icons/Archive.js";import"../../icons/customIcons/icons/ArchiveCancel.js";import"../../icons/customIcons/icons/Unarchive.js";import"../../icons/customIcons/icons/Archived.js";import"../../icons/customIcons/icons/InterventionUnit.js";import"../../icons/customIcons/icons/CloudDelete.js";import"../../icons/customIcons/icons/Lasso.js";import"../../icons/customIcons/icons/Radius.js";import{MiddleTruncatedText as p}from"../MiddleTruncatedText/MiddleTruncatedText.js";import{Regular14 as u,Regular12 as d}from"../Typography.js";import{formatSizeProgress as j}from"./utils.js";import{useStyles as I}from"./styles.js";var h=function(h){var v=h.formatProgress,C=void 0===v?j:v,F=h.className,f=h.name,x=h.current,k=h.total,N=h.errorText,g=h.onCancel,T=h.onReload,P=h.onDelete,R=I(),A=void 0!==k&&k>=0&&void 0!==x&&x>=0,M=Math.min(100,Math.ceil((null!=x?x:0)/(null!=k?k:1)*100)),b=void 0!==x&&void 0!==k&&x>=k;return o("div",{className:i(R.root,F),children:[s(t,{name:f,className:R.icon,strokeWidth:2}),o("div",{className:R.content,children:[s(u,{className:R.name,children:s(p,{children:f},f)}),!N&&!b&&o(c,{children:[s(n,{className:R.progressBar,variant:A?"determinate":void 0,value:M}),o("div",{className:R.progressTextContainer,children:[s(d,{className:R.progressText,children:C(k,x)}),A&&o(d,{className:R.progressText,children:[M,"%"]})]})]}),N&&o(u,{className:R.error,children:[s(a,{size:16}),N]})]}),g&&!N&&!b&&s(r,{onClick:g,size:"small",tooltipProps:{title:"Cancel"},children:s(e,{})}),P&&(N||b)&&s(r,{onClick:P,size:"small",tooltipProps:{title:"Remove File"},children:s(m,{})}),T&&N&&s(r,{onClick:T,size:"small",tooltipProps:{title:"Reload"},children:s(l,{})})]})};export{h as FilesLoaderV2};
2
2
  //# sourceMappingURL=FilesLoaderV2.js.map
@@ -1,2 +1,2 @@
1
- export declare const formatSizeProgress: (total?: number, current?: number) => string;
1
+ export declare const formatSizeProgress: (total?: number, current?: number) => string | null;
2
2
  //# sourceMappingURL=utils.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/components/FilesLoaderV2/utils.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,kBAAkB,GAAI,QAAQ,MAAM,EAAE,UAAU,MAAM,WAMlE,CAAC"}
1
+ {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/components/FilesLoaderV2/utils.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,kBAAkB,GAAI,QAAQ,MAAM,EAAE,UAAU,MAAM,kBAMlE,CAAC"}
@@ -1,2 +1,2 @@
1
- import"../../utils/index.js";import{formatFileSize as t}from"../../utils/formatFileSize.js";var o=function(o,i){return o>=0&&i>=0?"".concat(t(i)," of ").concat(t(o)):null};export{o as formatSizeProgress};
1
+ import"../../utils/index.js";import{formatFileSize as o}from"../../utils/formatFileSize.js";var i=function(i,t){return void 0!==i&&i>=0&&void 0!==t&&t>=0?"".concat(o(t)," of ").concat(o(i)):null};export{i as formatSizeProgress};
2
2
  //# sourceMappingURL=utils.js.map
@@ -1,2 +1,2 @@
1
- import r from"@babel/runtime/helpers/asyncToGenerator";import e from"@babel/runtime/helpers/slicedToArray";import t from"@babel/runtime/regenerator";import{jsx as n}from"react/jsx-runtime";import{useState as o,useCallback as a,useMemo as c,useEffect as u}from"react";import{FilesLoaderV2 as i}from"../FilesLoaderV2/FilesLoaderV2.js";var l=function(l){var s=l.onStatusChange,f=l.file,m=l.processFile,p=l.onDelete,d=l.formatProgress,v=o({total:0,current:0}),b=e(v,2),x=b[0],g=b[1],h=o(),k=e(h,2),y=k[0],w=k[1],C=o(!1),F=e(C,2),T=F[0],j=F[1],D=o(),E=e(D,2),L=E[0],P=E[1],S=a((function(r,e){g({total:r,current:e})}),[]),V=c((function(){if(L)return function(){L(),j(!0),s({success:!1,cancelled:!0,file:f})}}),[L]),A=a((function(){var e=!1;return function(){var n=r(t.mark((function r(n){var o,a,c,u;return t.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,o=function(){e||S.apply(void 0,arguments)},a=function(r){P((function(){return function(){e=!0,r()}}))},r.next=5,m(n,o,a);case 5:if(c=r.sent,!e){r.next=8;break}return r.abrupt("return");case 8:g((function(r){var e=r.total;return{total:e,current:e}})),s({success:!0,cancelled:!1,data:c,file:n}),r.next=19;break;case 12:if(r.prev=12,r.t0=r.catch(0),!e){r.next=16;break}return r.abrupt("return");case 16:u=r.t0 instanceof Error?r.t0:new Error(String(r.t0)),w(u),s({success:!1,cancelled:!1,error:u,file:n});case 19:case"end":return r.stop()}}),r,null,[[0,12]])})));return function(r){return n.apply(this,arguments)}}()}),[m,s]),G=a((function(){w(void 0),j(!1),s({file:f,success:!1,data:void 0,error:void 0,cancelled:!1}),A()(f)}),[f,A,s]),R=a((function(){p(f)}),[p,f]);u((function(){A()(f)}),[f,A]);var q=y?null==y?void 0:y.message:T?"Cancelled":null;return n(i,{name:f.name,total:x.total,current:x.current,errorText:q,onCancel:V,onReload:G,onDelete:R,formatProgress:d})};export{l as Processor};
1
+ import r from"@babel/runtime/helpers/asyncToGenerator";import e from"@babel/runtime/helpers/slicedToArray";import t from"@babel/runtime/regenerator";import{jsx as n}from"react/jsx-runtime";import{useState as o,useCallback as a,useMemo as c,useEffect as u}from"react";import{FilesLoaderV2 as i}from"../FilesLoaderV2/FilesLoaderV2.js";var l=function(l){var s=l.onStatusChange,f=l.file,m=l.processFile,p=l.onDelete,d=l.formatProgress,v=o({total:0,current:0}),b=e(v,2),x=b[0],g=b[1],h=o(),k=e(h,2),y=k[0],w=k[1],C=o(!1),F=e(C,2),T=F[0],j=F[1],D=o(),E=e(D,2),L=E[0],P=E[1],S=a((function(r,e){g({total:r,current:e})}),[]),V=c((function(){if(L)return function(){L(),j(!0),s({success:!1,cancelled:!0,file:f})}}),[L]),A=a((function(){var e=!1;return function(){var n=r(t.mark((function r(n){var o,a,c,u;return t.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,o=function(){e||S.apply(void 0,arguments)},a=function(r){P((function(){return function(){e=!0,r()}}))},r.next=5,m(n,o,a);case 5:if(c=r.sent,!e){r.next=8;break}return r.abrupt("return");case 8:g((function(r){var e=r.total;return{total:e,current:e}})),s({success:!0,cancelled:!1,data:c,file:n}),r.next=19;break;case 12:if(r.prev=12,r.t0=r.catch(0),!e){r.next=16;break}return r.abrupt("return");case 16:u=r.t0 instanceof Error?r.t0:new Error(String(r.t0)),w(u),s({success:!1,cancelled:!1,error:u,file:n});case 19:case"end":return r.stop()}}),r,null,[[0,12]])})));return function(r){return n.apply(this,arguments)}}()}),[m,s]),G=a((function(){w(void 0),j(!1),s({file:f,success:!1,data:void 0,error:void 0,cancelled:!1}),A()(f)}),[f,A,s]),R=a((function(){p(f)}),[p,f]);u((function(){A()(f)}),[f,A]);var q=y?null==y?void 0:y.message:T?"Cancelled":null;return n(i,{name:f.name,total:x.total,current:x.current,errorText:null!=q?q:void 0,onCancel:V,onReload:G,onDelete:R,formatProgress:d})};export{l as Processor};
2
2
  //# sourceMappingURL=Processor.js.map
@@ -17,12 +17,12 @@ declare namespace FolderMenuItemWithLinks {
17
17
  let id: PropTypes.Validator<string>;
18
18
  let isOpen: PropTypes.Requireable<boolean>;
19
19
  let selectedItemId: PropTypes.Validator<string>;
20
- let items: PropTypes.Requireable<PropTypes.InferProps<{
20
+ let items: PropTypes.Requireable<(PropTypes.InferProps<{
21
21
  id: PropTypes.Validator<string>;
22
22
  title: PropTypes.Validator<string>;
23
23
  isEditable: PropTypes.Requireable<boolean>;
24
24
  url: PropTypes.Validator<string>;
25
- }>[]>;
25
+ }> | null | undefined)[]>;
26
26
  let name: PropTypes.Validator<string>;
27
27
  let onItemClick: PropTypes.Validator<(...args: any[]) => any>;
28
28
  let onFolderClick: PropTypes.Requireable<(...args: any[]) => any>;
@@ -36,7 +36,7 @@ declare namespace FolderMenuItemWithLinks {
36
36
  export { isCreatable_1 as isCreatable };
37
37
  let isOpen_1: boolean;
38
38
  export { isOpen_1 as isOpen };
39
- let items_1: any[];
39
+ let items_1: never[];
40
40
  export { items_1 as items };
41
41
  export function onFolderClick_1(): void;
42
42
  export { onFolderClick_1 as onFolderClick };
@@ -1,2 +1,2 @@
1
- import o from"@babel/runtime/helpers/defineProperty";import s from"@babel/runtime/helpers/slicedToArray";import{jsxs as i,jsx as c}from"react/jsx-runtime";import{useState as n,useMemo as r,useRef as e,useCallback as t,useEffect as l}from"react";import a from"classnames";import{useTheme as m,Button as u}from"@material-ui/core";import{replaceStringToLabel as p}from"./utils.js";import{useFormulaFunction as d}from"./useFormulaFunction.js";import{useFormulaStyles as f}from"./useFormulaStyles.js";import h from"./RootXIcon.js";import j from"./FormulaTextEditor.js";import I from"./CloseSuggestion.js";import v from"./SuggestionsMenu.js";import{CloseSmallIcon as b,InfoIcon as C}from"../../icons/iconParkIcons.js";import"../../icons/customIcons/icons/AddMessage.js";import"../../icons/customIcons/icons/Attention.js";import"../../icons/customIcons/icons/Collapse.js";import"../../icons/customIcons/icons/Dashboard.js";import"../../icons/customIcons/icons/Expand.js";import"../../icons/customIcons/icons/FolderClosed.js";import"../../icons/customIcons/icons/FolderClosedFilled.js";import"../../icons/customIcons/icons/FolderOpened.js";import"../../icons/customIcons/icons/GreaterOrEqual.js";import"../../icons/customIcons/icons/LessOrEqual.js";import"../../icons/customIcons/icons/Search.js";import"../../icons/customIcons/icons/SearchOne.js";import"../../icons/customIcons/icons/Wellhub.js";import"../../icons/customIcons/icons/MultiRuler.js";import"../../icons/customIcons/icons/Checkbox.js";import"../../icons/customIcons/icons/CheckboxChecked.js";import"../../icons/customIcons/icons/CheckboxIndeterminate.js";import"../../icons/customIcons/icons/Radio.js";import"../../icons/customIcons/icons/RadioChecked.js";import"../../icons/customIcons/icons/SimulFrac.js";import"../../icons/customIcons/icons/ZipperFrac.js";import"../../icons/customIcons/icons/CautionFilled.js";import"../../icons/customIcons/icons/MoreApp.js";import"../../icons/customIcons/icons/Pad.js";import"../../icons/customIcons/icons/DrilloutUnit.js";import"../../icons/customIcons/icons/FracFleet.js";import"../../icons/customIcons/icons/Global.js";import"../../icons/customIcons/icons/Program.js";import"../../icons/customIcons/icons/Rig.js";import"../../icons/customIcons/icons/Well.js";import"../../icons/customIcons/icons/Gap.js";import"../../icons/customIcons/icons/Pin.js";import"../../icons/customIcons/icons/CloseOneFilled.js";import"../../icons/customIcons/icons/AttentionFilled.js";import"../../icons/customIcons/icons/CheckOneFilled.js";import"../../icons/customIcons/icons/Archive.js";import"../../icons/customIcons/icons/ArchiveCancel.js";import"../../icons/customIcons/icons/Unarchive.js";import"../../icons/customIcons/icons/Archived.js";import"../../icons/customIcons/icons/InterventionUnit.js";import"../../icons/customIcons/icons/CloudDelete.js";import"../../icons/customIcons/icons/Lasso.js";import"../../icons/customIcons/icons/Radius.js";import F from"../../effects/useOutsideClick.js";import{Tooltip as g}from"../Tooltip/Tooltip.js";import"../Tooltip/ScrollableTooltip.js";var y=[{value:"*",isShift:!0,label:"8"},{value:"/",label:"/"},{value:"(",isShift:!0,label:"9"},{value:")",isShift:!0,label:"0"},{value:"+",isShift:!0,label:"+"},{value:"-",label:"-"},{value:"^",isShift:!0,label:"6"}],N=function(o,s,i){return s?i?o.palette.error.main:o.palette.primary.main:o.palette.primary.text7},k=function(k){var S,T=k.suggestions,x=void 0===T?[]:T,W=k.initFormula,A=void 0===W?"":W,O=k.onSave,E=void 0===O?function(){}:O,H=n(!0),P=s(H,2),R=P[0],U=P[1],V=n(!1),L=s(V,2),M=L[0],q=L[1],D=n(!1),G=s(D,2),z=G[0],B=G[1],X=n(A),Z=s(X,2),w=Z[0],J=Z[1],K=n(0),Q=s(K,2),Y=Q[0],$=Q[1],_=n(0),oo=s(_,2),so=oo[0],io=oo[1],co=p(w,x),no=co.search("/f"),ro=-1!==no,eo=r((function(){return x.map((function(o){return o.key}))}),[x]),to=co.substring(no+"/f".length,Y),lo=e(),ao=f({isValue:!ro&&!!w}),mo=m(),uo=d(w,eo),po=uo.formulaFunction,fo=uo.error;F(lo,(function(){B(!1)}));var ho=function(o){var s,i=x.find((function(s){return s.key===o}));q(!0),B(!0),J((function(s){return s.replace("".concat("/f").concat(to),o?"[".concat(o,"]"):"")})),$(no+((null==i||null===(s=i.label)||void 0===s?void 0:s.length)||0))},jo=t((function(o,s){Y!==s&&$(s),o!==w&&(J(o),U(!1))}),[w,Y]);return l((function(){J(A)}),[A]),i("div",{className:ao.formulaContainer,children:[i("div",{className:ao.formulaHeaderWrapper,children:[i("div",{className:ao.formulaHeaderTextWrapper,children:[c(h,{color:N(mo,z,fo)}),c("div",{className:ao.formulaHeaderText,style:{color:N(mo,z,fo)},children:"Formula Expression"})]}),i("div",{className:ao.formulaHeaderButtonWrapper,onClick:function(){ro||(U(!1),J(""),$(0),q(!0))},children:[c(b,{strokeWidth:3,size:16}),c("div",{className:ao.formulaHeaderText,children:"Clear"})]})]}),i("div",{className:ao.formulaEditorWrapper,children:[c("div",{ref:lo,onClick:function(){B(!0)},children:c(j,{initFormula:w,cursorPos:Y,color:N(mo,z,fo),suggestions:x,isValueUpdated:M,setIsValueUpdated:q,onChange:jo})}),ro&&c(I,{onClose:function(){return ho("")}})]}),ro&&c(v,{suggestions:x,keyStr:to,onAddSuggestion:ho,onChangeHeight:io}),i("div",{className:ao.formulaFooterWrapper,style:{marginTop:ro?-so:0},children:[c(C,{className:ao.formulaFooterIcon,strokeWidth:3,size:16}),c("div",{className:ao.formulaFooterTextWrapper,children:i("div",{className:ao.formulaFooterText,children:["Type ",c("span",{className:ao.funcText,children:"/f"})," to do add live channels to your equation. Use your keybord for numbers and"," ",c(g,{title:c("div",{className:ao.tooltipWrapper,children:y.map((function(o){return i("div",{className:ao.tooltipLine,children:[c("span",{className:ao.tooltipValue,children:o.value}),i("div",{className:ao.tooltipLabelContainer,children:[!!o.isShift&&c("span",{className:ao.tooltipSymbol,children:"⇧"}),c("span",{children:o.label})]},o.value)]},o.value)}))}),placement:"bottom",children:c("span",{className:ao.successColor,children:"math symbols"})})]})})]}),c(u,{className:ao.verifyButton,variant:"contained",color:"primary",onClick:function(){U(!0);var o=x.map((function(o){return o.key})).filter((function(o){return w&&w.includes(o)}));E({formula:w,variables:o,formulaFunc:po})},disabled:R||!po,children:"Verify"}),!!w&&c("span",{className:a(ao.resultText,(S={},o(S,ao.errorColor,!!fo),o(S,ao.resultSuccessColor,!fo),S)),children:fo?"The formula is not valid":"The formula is valid"})]})};export{k as default};
1
+ import o from"@babel/runtime/helpers/defineProperty";import s from"@babel/runtime/helpers/slicedToArray";import{jsxs as i,jsx as n}from"react/jsx-runtime";import{useState as c,useMemo as r,useRef as e,useCallback as t,useEffect as l}from"react";import a from"classnames";import{useTheme as m,Button as u}from"@material-ui/core";import{replaceStringToLabel as p}from"./utils.js";import{useFormulaFunction as d}from"./useFormulaFunction.js";import{useFormulaStyles as f}from"./useFormulaStyles.js";import h from"./RootXIcon.js";import j from"./FormulaTextEditor.js";import I from"./CloseSuggestion.js";import v from"./SuggestionsMenu.js";import{CloseSmallIcon as b,InfoIcon as C}from"../../icons/iconParkIcons.js";import"../../icons/customIcons/icons/AddMessage.js";import"../../icons/customIcons/icons/Attention.js";import"../../icons/customIcons/icons/Collapse.js";import"../../icons/customIcons/icons/Dashboard.js";import"../../icons/customIcons/icons/Expand.js";import"../../icons/customIcons/icons/FolderClosed.js";import"../../icons/customIcons/icons/FolderClosedFilled.js";import"../../icons/customIcons/icons/FolderOpened.js";import"../../icons/customIcons/icons/GreaterOrEqual.js";import"../../icons/customIcons/icons/LessOrEqual.js";import"../../icons/customIcons/icons/Search.js";import"../../icons/customIcons/icons/SearchOne.js";import"../../icons/customIcons/icons/Wellhub.js";import"../../icons/customIcons/icons/MultiRuler.js";import"../../icons/customIcons/icons/Checkbox.js";import"../../icons/customIcons/icons/CheckboxChecked.js";import"../../icons/customIcons/icons/CheckboxIndeterminate.js";import"../../icons/customIcons/icons/Radio.js";import"../../icons/customIcons/icons/RadioChecked.js";import"../../icons/customIcons/icons/SimulFrac.js";import"../../icons/customIcons/icons/ZipperFrac.js";import"../../icons/customIcons/icons/CautionFilled.js";import"../../icons/customIcons/icons/MoreApp.js";import"../../icons/customIcons/icons/Pad.js";import"../../icons/customIcons/icons/DrilloutUnit.js";import"../../icons/customIcons/icons/FracFleet.js";import"../../icons/customIcons/icons/Global.js";import"../../icons/customIcons/icons/Program.js";import"../../icons/customIcons/icons/Rig.js";import"../../icons/customIcons/icons/Well.js";import"../../icons/customIcons/icons/Gap.js";import"../../icons/customIcons/icons/Pin.js";import"../../icons/customIcons/icons/CloseOneFilled.js";import"../../icons/customIcons/icons/AttentionFilled.js";import"../../icons/customIcons/icons/CheckOneFilled.js";import"../../icons/customIcons/icons/Archive.js";import"../../icons/customIcons/icons/ArchiveCancel.js";import"../../icons/customIcons/icons/Unarchive.js";import"../../icons/customIcons/icons/Archived.js";import"../../icons/customIcons/icons/InterventionUnit.js";import"../../icons/customIcons/icons/CloudDelete.js";import"../../icons/customIcons/icons/Lasso.js";import"../../icons/customIcons/icons/Radius.js";import F from"../../effects/useOutsideClick.js";import{Tooltip as g}from"../Tooltip/Tooltip.js";import"../Tooltip/ScrollableTooltip.js";var y=[{value:"*",isShift:!0,label:"8"},{value:"/",label:"/"},{value:"(",isShift:!0,label:"9"},{value:")",isShift:!0,label:"0"},{value:"+",isShift:!0,label:"+"},{value:"-",label:"-"},{value:"^",isShift:!0,label:"6"}],N=function(o,s,i){return s?i?o.palette.error.main:o.palette.primary.main:o.palette.primary.text7},k=function(k){var S,T=k.suggestions,x=void 0===T?[]:T,W=k.initFormula,A=void 0===W?"":W,O=k.onSave,E=void 0===O?function(){}:O,H=c(!0),P=s(H,2),R=P[0],U=P[1],V=c(!1),L=s(V,2),M=L[0],q=L[1],D=c(!1),G=s(D,2),z=G[0],B=G[1],X=c(A),Z=s(X,2),w=Z[0],J=Z[1],K=c(0),Q=s(K,2),Y=Q[0],$=Q[1],_=c(0),oo=s(_,2),so=oo[0],io=oo[1],no=p(w,x),co=no.search("/f"),ro=-1!==co,eo=r((function(){return x.map((function(o){return o.key}))}),[x]),to=no.substring(co+"/f".length,Y),lo=e(null),ao=f({isValue:!ro&&!!w}),mo=m(),uo=d(w,eo),po=uo.formulaFunction,fo=uo.error;F(lo,(function(){B(!1)}));var ho=function(o){var s,i=x.find((function(s){return s.key===o}));q(!0),B(!0),J((function(s){return s.replace("".concat("/f").concat(to),o?"[".concat(o,"]"):"")})),$(co+((null==i||null===(s=i.label)||void 0===s?void 0:s.length)||0))},jo=t((function(o,s){Y!==s&&$(s),o!==w&&(J(o),U(!1))}),[w,Y]);return l((function(){J(A)}),[A]),i("div",{className:ao.formulaContainer,children:[i("div",{className:ao.formulaHeaderWrapper,children:[i("div",{className:ao.formulaHeaderTextWrapper,children:[n(h,{color:N(mo,z,fo)}),n("div",{className:ao.formulaHeaderText,style:{color:N(mo,z,fo)},children:"Formula Expression"})]}),i("div",{className:ao.formulaHeaderButtonWrapper,onClick:function(){ro||(U(!1),J(""),$(0),q(!0))},children:[n(b,{strokeWidth:3,size:16}),n("div",{className:ao.formulaHeaderText,children:"Clear"})]})]}),i("div",{className:ao.formulaEditorWrapper,children:[n("div",{ref:lo,onClick:function(){B(!0)},children:n(j,{initFormula:w,cursorPos:Y,color:N(mo,z,fo),suggestions:x,isValueUpdated:M,setIsValueUpdated:q,onChange:jo})}),ro&&n(I,{onClose:function(){return ho("")}})]}),ro&&n(v,{suggestions:x,keyStr:to,onAddSuggestion:ho,onChangeHeight:io}),i("div",{className:ao.formulaFooterWrapper,style:{marginTop:ro?-so:0},children:[n(C,{className:ao.formulaFooterIcon,strokeWidth:3,size:16}),n("div",{className:ao.formulaFooterTextWrapper,children:i("div",{className:ao.formulaFooterText,children:["Type ",n("span",{className:ao.funcText,children:"/f"})," to do add live channels to your equation. Use your keybord for numbers and"," ",n(g,{title:n("div",{className:ao.tooltipWrapper,children:y.map((function(o){return i("div",{className:ao.tooltipLine,children:[n("span",{className:ao.tooltipValue,children:o.value}),i("div",{className:ao.tooltipLabelContainer,children:[!!o.isShift&&n("span",{className:ao.tooltipSymbol,children:"⇧"}),n("span",{children:o.label})]},o.value)]},o.value)}))}),placement:"bottom",children:n("span",{className:ao.successColor,children:"math symbols"})})]})})]}),n(u,{className:ao.verifyButton,variant:"contained",color:"primary",onClick:function(){U(!0);var o=x.map((function(o){return o.key})).filter((function(o){return w&&w.includes(o)}));E({formula:w,variables:o,formulaFunc:po})},disabled:R||!po,children:"Verify"}),!!w&&n("span",{className:a(ao.resultText,(S={},o(S,ao.errorColor,!!fo),o(S,ao.resultSuccessColor,!fo),S)),children:fo?"The formula is not valid":"The formula is valid"})]})};export{k as default};
2
2
  //# sourceMappingURL=Formula.js.map
@@ -1,5 +1,5 @@
1
1
  export function useFormulaFunction(formulaStr: any, suggestions: any): {
2
- formulaFunction: any;
2
+ formulaFunction: null;
3
3
  error: string;
4
4
  };
5
5
  //# sourceMappingURL=useFormulaFunction.d.ts.map
@@ -17,8 +17,8 @@ declare namespace GoogleDocsViewer {
17
17
  'data-testid': PropTypes.Requireable<string>;
18
18
  };
19
19
  let defaultProps: {
20
- fileName: any;
21
- fileSize: any;
20
+ fileName: undefined;
21
+ fileSize: undefined;
22
22
  webviewType: string;
23
23
  'data-testid': string;
24
24
  };
@@ -6,10 +6,10 @@ export declare class GradientList {
6
6
  gradients: CustomGradient[];
7
7
  defaultGradients: CustomGradient[];
8
8
  onGradientsChange: (gradients: CustomGradient[]) => void;
9
- constructor(gradients: CustomGradient[], defaultGradients: CustomGradient[], onGradientsChange: (gradients: CustomGradient[]) => void);
9
+ constructor(gradients: CustomGradient[] | undefined, defaultGradients: CustomGradient[] | undefined, onGradientsChange: (gradients: CustomGradient[]) => void);
10
10
  generateId(name: string): string;
11
- getById(id: string): CustomGradient;
12
- getByName(sampleName: string): CustomGradient;
11
+ getById(id: string): CustomGradient | undefined;
12
+ getByName(sampleName: string): CustomGradient | undefined;
13
13
  newName(name?: string): string;
14
14
  isDefault(id: string): boolean;
15
15
  getHelperText({ name, allowNoname, gradientId }: {
@@ -19,7 +19,7 @@ export declare class GradientList {
19
19
  }): {
20
20
  error: boolean;
21
21
  helperText: string;
22
- };
22
+ } | null;
23
23
  add(name: string, gradientStops: GradientFillStop[]): {
24
24
  id: string;
25
25
  name: string;
@@ -1 +1 @@
1
- {"version":3,"file":"GradientList.d.ts","sourceRoot":"","sources":["../../../src/components/GradientManager/GradientList.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,cAAc,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAEhE;;GAEG;AACH,qBAAa,YAAY;IAEvB,SAAS,EAAE,cAAc,EAAE,CAAC;IAC5B,gBAAgB,EAAE,cAAc,EAAE,CAAC;IACnC,iBAAiB,EAAE,CAAC,SAAS,EAAE,cAAc,EAAE,KAAK,IAAI,CAAC;gBAGvD,SAAS,EAAE,cAAc,EAAO,EAChC,gBAAgB,EAAE,cAAc,EAAO,EACvC,iBAAiB,EAAE,CAAC,SAAS,EAAE,cAAc,EAAE,KAAK,IAAI;IAO1D,UAAU,CAAC,IAAI,EAAE,MAAM;IAWhB,OAAO,CAAC,EAAE,EAAE,MAAM;IAIlB,SAAS,CAAC,UAAU,EAAE,MAAM;IAQnC,OAAO,CAAC,IAAI,SAAoB;IAQzB,SAAS,CAAC,EAAE,EAAE,MAAM;IAIpB,aAAa,CAAC,EAAE,IAAI,EAAE,WAAW,EAAE,UAAU,EAAE,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,WAAW,EAAE,OAAO,CAAC;QAAC,UAAU,EAAE,MAAM,CAAA;KAAE;;;;IAuB3G,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,aAAa,EAAE,gBAAgB,EAAE;;;;;IAenD,MAAM,CAAC,EAAE,EAAE,MAAM;IAMjB,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,cAAc,CAAC;CAa1D"}
1
+ {"version":3,"file":"GradientList.d.ts","sourceRoot":"","sources":["../../../src/components/GradientManager/GradientList.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,cAAc,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAEhE;;GAEG;AACH,qBAAa,YAAY;IAEvB,SAAS,EAAE,cAAc,EAAE,CAAC;IAC5B,gBAAgB,EAAE,cAAc,EAAE,CAAC;IACnC,iBAAiB,EAAE,CAAC,SAAS,EAAE,cAAc,EAAE,KAAK,IAAI,CAAC;gBAGvD,SAAS,EAAE,cAAc,EAAE,YAAK,EAChC,gBAAgB,EAAE,cAAc,EAAE,YAAK,EACvC,iBAAiB,EAAE,CAAC,SAAS,EAAE,cAAc,EAAE,KAAK,IAAI;IAO1D,UAAU,CAAC,IAAI,EAAE,MAAM;IAWhB,OAAO,CAAC,EAAE,EAAE,MAAM;IAIlB,SAAS,CAAC,UAAU,EAAE,MAAM;IAQnC,OAAO,CAAC,IAAI,SAAoB;IAQzB,SAAS,CAAC,EAAE,EAAE,MAAM;IAIpB,aAAa,CAAC,EAAE,IAAI,EAAE,WAAW,EAAE,UAAU,EAAE,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,WAAW,EAAE,OAAO,CAAC;QAAC,UAAU,EAAE,MAAM,CAAA;KAAE;;;;IAuB3G,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,aAAa,EAAE,gBAAgB,EAAE;;;;;IAenD,MAAM,CAAC,EAAE,EAAE,MAAM;IAMjB,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,cAAc,CAAC;CAa1D"}
@@ -1 +1 @@
1
- {"version":3,"file":"GradientManager.d.ts","sourceRoot":"","sources":["../../../src/components/GradientManager/GradientManager.tsx"],"names":[],"mappings":"AAiBA,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAI9D,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CAiQ1D,CAAC"}
1
+ {"version":3,"file":"GradientManager.d.ts","sourceRoot":"","sources":["../../../src/components/GradientManager/GradientManager.tsx"],"names":[],"mappings":"AAiBA,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAI9D,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CAkQ1D,CAAC"}
@@ -1,2 +1,2 @@
1
- import o from"@babel/runtime/helpers/defineProperty";import n from"@babel/runtime/helpers/slicedToArray";import{jsxs as i,jsx as t,Fragment as s}from"react/jsx-runtime";import{Grid as e,TextField as c,Box as r}from"@material-ui/core";import{noop as a,isEmpty as l,trim as d}from"lodash";import{useState as m,useEffect as u}from"react";import{CheckSmallIcon as p,CloseSmallIcon as g,WriteIcon as j,DeleteFourIcon as I}from"../../icons/iconParkIcons.js";import"../../icons/customIcons/icons/AddMessage.js";import"../../icons/customIcons/icons/Attention.js";import"../../icons/customIcons/icons/Collapse.js";import"../../icons/customIcons/icons/Dashboard.js";import"../../icons/customIcons/icons/Expand.js";import"../../icons/customIcons/icons/FolderClosed.js";import"../../icons/customIcons/icons/FolderClosedFilled.js";import"../../icons/customIcons/icons/FolderOpened.js";import"../../icons/customIcons/icons/GreaterOrEqual.js";import"../../icons/customIcons/icons/LessOrEqual.js";import"../../icons/customIcons/icons/Search.js";import"../../icons/customIcons/icons/SearchOne.js";import"../../icons/customIcons/icons/Wellhub.js";import"../../icons/customIcons/icons/MultiRuler.js";import"../../icons/customIcons/icons/Checkbox.js";import"../../icons/customIcons/icons/CheckboxChecked.js";import"../../icons/customIcons/icons/CheckboxIndeterminate.js";import"../../icons/customIcons/icons/Radio.js";import"../../icons/customIcons/icons/RadioChecked.js";import"../../icons/customIcons/icons/SimulFrac.js";import"../../icons/customIcons/icons/ZipperFrac.js";import"../../icons/customIcons/icons/CautionFilled.js";import"../../icons/customIcons/icons/MoreApp.js";import"../../icons/customIcons/icons/Pad.js";import"../../icons/customIcons/icons/DrilloutUnit.js";import"../../icons/customIcons/icons/FracFleet.js";import"../../icons/customIcons/icons/Global.js";import"../../icons/customIcons/icons/Program.js";import"../../icons/customIcons/icons/Rig.js";import"../../icons/customIcons/icons/Well.js";import"../../icons/customIcons/icons/Gap.js";import"../../icons/customIcons/icons/Pin.js";import"../../icons/customIcons/icons/CloseOneFilled.js";import"../../icons/customIcons/icons/AttentionFilled.js";import"../../icons/customIcons/icons/CheckOneFilled.js";import"../../icons/customIcons/icons/Archive.js";import"../../icons/customIcons/icons/ArchiveCancel.js";import"../../icons/customIcons/icons/Unarchive.js";import"../../icons/customIcons/icons/Archived.js";import"../../icons/customIcons/icons/InterventionUnit.js";import"../../icons/customIcons/icons/CloudDelete.js";import"../../icons/customIcons/icons/Lasso.js";import"../../icons/customIcons/icons/Radius.js";import f from"../IconButton/index.js";import{GradientPicker as v}from"../GradientPicker/GradientPicker.js";import{DEFAULT_GRADIENTS as h,DEFAULT_GRADIENT_STOPS as b,TEMP_GRADIENT_ID as S,GRADIENT_MAX_NAME_LENGTH as y}from"./configuration/constants.js";import{GradientList as C}from"./GradientList.js";import{GradientSelect as O}from"./GradientSelect.js";import{useStyles as P}from"./GradientManager.styles.js";function k(o,n){var i=Object.keys(o);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(o);n&&(t=t.filter((function(n){return Object.getOwnPropertyDescriptor(o,n).enumerable}))),i.push.apply(i,t)}return i}function G(n){for(var i=1;i<arguments.length;i++){var t=null!=arguments[i]?arguments[i]:{};i%2?k(Object(t),!0).forEach((function(i){o(n,i,t[i])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):k(Object(t)).forEach((function(o){Object.defineProperty(n,o,Object.getOwnPropertyDescriptor(t,o))}))}return n}var F=function(o){var k,F=o.gradientId,x=o.onGradientEditStateChange,w=void 0===x?a:x,D=o.onChange,A=void 0===D?a:D,B=o.defaultGradients,E=void 0===B?h:B,N=o.defaultGradientStops,M=void 0===N?b:N,R=o.allowNoname,L=o.scaleOptions,T=void 0===L?{scaleFrom:0,scaleTo:100}:L,U=o.className,W=P(),q=new C(o.gradients||[],E,o.onGradientsChange),H=m(null),K=n(H,2),V=K[0],Z=K[1],z=o.disableGradientsManagement||!o.onGradientsChange,J=q.getHelperText({name:null==V?void 0:V.name,allowNoname:R,gradientId:F});u((function(){w(Boolean(V))}),[Boolean(V)]);var Q=(null===(k=q.getById(F))||void 0===k?void 0:k.gradientStops)||o.gradientStops||M,X=function(){if(l(J)){var o=V.gradientStops,n=d(V.name);if(Z(null),n){if(q.getById(V.id||F))return q.update(F,{gradientStops:o,name:n}),void A({gradientId:F,gradientStops:o});var i=q.add(n,o);A({gradientId:null==i?void 0:i.id,gradientStops:o})}else R&&A({gradientStops:o,gradientId:null})}},Y=function(o){o===F&&(A({gradientId:null,gradientStops:Q}),Z(null)),q.remove(o)},$=function(o){var n=o.trimStart().substring(0,y);Z(G(G({},V),{},{name:n}))};return i(e,{container:!0,className:U,children:[t(e,{item:!0,xs:6,children:V?t(c,G({InputLabelProps:{shrink:!0},className:W.customGradientName,label:"Gradient Name",value:V.name,onChange:function(o){return $(o.target.value)},onFocus:function(o){o.target.select()},onKeyDown:function(o){if("Enter"===o.key){var n,i=null===(n=o.target)||void 0===n?void 0:n.value;i&&($(i),X())}},autoFocus:!0,fullWidth:!0},J)):t(O,{value:F,gradients:o.gradients||[],onChange:function(o){var n,i=q.getById(o);A({gradientId:o,gradientStops:null!==(n=null==i?void 0:i.gradientStops)&&void 0!==n?n:M})},defaultGradients:E,onAction:function(o,n){switch(o){case"add":Z({name:"",gradientStops:M,id:S});break;case"delete":Y(n)}},readonly:z})}),t(e,{item:!0,xs:6,children:t(r,{display:"flex",alignItems:"center",height:"100%",children:t(r,{display:"flex",paddingLeft:1,children:i(s,V?{children:[t(f,{"data-testid":"save-gradient-btn",onClick:X,tooltipProps:{title:"Save"},disabled:!!J||z,children:t(p,{})}),t(f,{"data-testid":"cancel-edit-btn",onClick:function(){Z(null)},tooltipProps:{title:"Cancel"},children:t(g,{})})]}:{children:[t(f,{"data-testid":"edit-gradient-btn",onClick:function(){var o;q.isDefault(F)?Z({name:q.newName(),gradientStops:Q,id:S}):Z({name:(null===(o=q.getById(F))||void 0===o?void 0:o.name)||"",gradientStops:Q})},tooltipProps:{title:"Edit"},disabled:z,children:t(j,{})}),!!q.getById(F)&&!q.isDefault(F)&&t(f,{"data-testid":"delete-gradient-btn",onClick:function(){return Y(F)},tooltipProps:{title:"Remove"},disabled:z,children:t(I,{})})]})})})}),t(e,{item:!0,xs:12,children:t(v,{from:null==T?void 0:T.scaleFrom,to:null==T?void 0:T.scaleTo,unit:null==T?void 0:T.scaleUnit,noScale:!0,gradientStops:(null==V?void 0:V.gradientStops)||Q,onChange:function(o){Z(G(G({},V),{},{gradientStops:o}))},readonly:!V,isMoveInputVisible:!0})})]})};export{F as GradientManager};
1
+ import o from"@babel/runtime/helpers/defineProperty";import n from"@babel/runtime/helpers/slicedToArray";import{jsxs as i,jsx as t,Fragment as s}from"react/jsx-runtime";import{Grid as e,TextField as c,Box as r}from"@material-ui/core";import{noop as a,isEmpty as d,trim as l}from"lodash";import{useState as m,useEffect as u}from"react";import{CheckSmallIcon as p,CloseSmallIcon as g,WriteIcon as j,DeleteFourIcon as I}from"../../icons/iconParkIcons.js";import"../../icons/customIcons/icons/AddMessage.js";import"../../icons/customIcons/icons/Attention.js";import"../../icons/customIcons/icons/Collapse.js";import"../../icons/customIcons/icons/Dashboard.js";import"../../icons/customIcons/icons/Expand.js";import"../../icons/customIcons/icons/FolderClosed.js";import"../../icons/customIcons/icons/FolderClosedFilled.js";import"../../icons/customIcons/icons/FolderOpened.js";import"../../icons/customIcons/icons/GreaterOrEqual.js";import"../../icons/customIcons/icons/LessOrEqual.js";import"../../icons/customIcons/icons/Search.js";import"../../icons/customIcons/icons/SearchOne.js";import"../../icons/customIcons/icons/Wellhub.js";import"../../icons/customIcons/icons/MultiRuler.js";import"../../icons/customIcons/icons/Checkbox.js";import"../../icons/customIcons/icons/CheckboxChecked.js";import"../../icons/customIcons/icons/CheckboxIndeterminate.js";import"../../icons/customIcons/icons/Radio.js";import"../../icons/customIcons/icons/RadioChecked.js";import"../../icons/customIcons/icons/SimulFrac.js";import"../../icons/customIcons/icons/ZipperFrac.js";import"../../icons/customIcons/icons/CautionFilled.js";import"../../icons/customIcons/icons/MoreApp.js";import"../../icons/customIcons/icons/Pad.js";import"../../icons/customIcons/icons/DrilloutUnit.js";import"../../icons/customIcons/icons/FracFleet.js";import"../../icons/customIcons/icons/Global.js";import"../../icons/customIcons/icons/Program.js";import"../../icons/customIcons/icons/Rig.js";import"../../icons/customIcons/icons/Well.js";import"../../icons/customIcons/icons/Gap.js";import"../../icons/customIcons/icons/Pin.js";import"../../icons/customIcons/icons/CloseOneFilled.js";import"../../icons/customIcons/icons/AttentionFilled.js";import"../../icons/customIcons/icons/CheckOneFilled.js";import"../../icons/customIcons/icons/Archive.js";import"../../icons/customIcons/icons/ArchiveCancel.js";import"../../icons/customIcons/icons/Unarchive.js";import"../../icons/customIcons/icons/Archived.js";import"../../icons/customIcons/icons/InterventionUnit.js";import"../../icons/customIcons/icons/CloudDelete.js";import"../../icons/customIcons/icons/Lasso.js";import"../../icons/customIcons/icons/Radius.js";import f from"../IconButton/index.js";import{GradientPicker as h}from"../GradientPicker/GradientPicker.js";import{DEFAULT_GRADIENTS as v,DEFAULT_GRADIENT_STOPS as b,TEMP_GRADIENT_ID as S,GRADIENT_MAX_NAME_LENGTH as y}from"./configuration/constants.js";import{GradientList as C}from"./GradientList.js";import{GradientSelect as O}from"./GradientSelect.js";import{useStyles as P}from"./GradientManager.styles.js";function k(o,n){var i=Object.keys(o);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(o);n&&(t=t.filter((function(n){return Object.getOwnPropertyDescriptor(o,n).enumerable}))),i.push.apply(i,t)}return i}function G(n){for(var i=1;i<arguments.length;i++){var t=null!=arguments[i]?arguments[i]:{};i%2?k(Object(t),!0).forEach((function(i){o(n,i,t[i])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):k(Object(t)).forEach((function(o){Object.defineProperty(n,o,Object.getOwnPropertyDescriptor(t,o))}))}return n}var F=function(o){var k,F,x=o.gradientId,w=o.onGradientEditStateChange,D=void 0===w?a:w,A=o.onChange,B=void 0===A?a:A,E=o.defaultGradients,N=void 0===E?v:E,M=o.defaultGradientStops,R=void 0===M?b:M,L=o.allowNoname,U=o.scaleOptions,T=(U=void 0===U?{}:U).scaleFrom,W=void 0===T?0:T,q=U.scaleTo,H=void 0===q?100:q,K=U.scaleUnit,V=o.className,Z=P(),z=new C(o.gradients||[],N,o.onGradientsChange),J=m(null),Q=n(J,2),X=Q[0],Y=Q[1],$=o.disableGradientsManagement||!o.onGradientsChange,_=z.getHelperText({name:null!==(k=null==X?void 0:X.name)&&void 0!==k?k:"",allowNoname:null!=L&&L,gradientId:x});u((function(){D(Boolean(X))}),[Boolean(X)]);var oo=(null===(F=z.getById(x))||void 0===F?void 0:F.gradientStops)||o.gradientStops||R,no=function(){if(d(_)&&X){var o=X.gradientStops;if(o){var n=l(X.name);if(Y(null),n){if(z.getById(X.id||x))return z.update(x,{gradientStops:o,name:n}),void B({gradientId:x,gradientStops:o});var i=z.add(n,o);B({gradientId:i.id,gradientStops:o})}else L&&B({gradientStops:o,gradientId:null})}}},io=function(o){o===x&&(B({gradientId:null,gradientStops:oo}),Y(null)),z.remove(o)},to=function(o){var n=o.trimStart().substring(0,y);Y(G(G({},X),{},{name:n}))};return i(e,{container:!0,className:V,children:[t(e,{item:!0,xs:6,children:X?t(c,G({InputLabelProps:{shrink:!0},className:Z.customGradientName,label:"Gradient Name",value:X.name,onChange:function(o){return to(o.target.value)},onFocus:function(o){o.target.select()},onKeyDown:function(o){if("Enter"===o.key){var n=o.target.value;n&&(to(n),no())}},autoFocus:!0,fullWidth:!0},_)):t(O,{value:x,gradients:o.gradients||[],onChange:function(o){var n,i=z.getById(o);B({gradientId:o,gradientStops:null!==(n=null==i?void 0:i.gradientStops)&&void 0!==n?n:R})},defaultGradients:N,onAction:function(o,n){switch(o){case"add":Y({name:"",gradientStops:R,id:S});break;case"delete":io(n)}},readonly:$})}),t(e,{item:!0,xs:6,children:t(r,{display:"flex",alignItems:"center",height:"100%",children:t(r,{display:"flex",paddingLeft:1,children:i(s,X?{children:[t(f,{"data-testid":"save-gradient-btn",onClick:no,tooltipProps:{title:"Save"},disabled:!!_||$,children:t(p,{})}),t(f,{"data-testid":"cancel-edit-btn",onClick:function(){Y(null)},tooltipProps:{title:"Cancel"},children:t(g,{})})]}:{children:[t(f,{"data-testid":"edit-gradient-btn",onClick:function(){var o;z.isDefault(x)?Y({name:z.newName(),gradientStops:oo,id:S}):Y({name:(null===(o=z.getById(x))||void 0===o?void 0:o.name)||"",gradientStops:oo})},tooltipProps:{title:"Edit"},disabled:$,children:t(j,{})}),!!z.getById(x)&&!z.isDefault(x)&&t(f,{"data-testid":"delete-gradient-btn",onClick:function(){return io(x)},tooltipProps:{title:"Remove"},disabled:$,children:t(I,{})})]})})})}),t(e,{item:!0,xs:12,children:t(h,{from:W,to:H,unit:K,noScale:!0,gradientStops:(null==X?void 0:X.gradientStops)||oo,onChange:function(o){Y(G(G({},X),{},{gradientStops:o}))},readonly:!X,isMoveInputVisible:!0})})]})};export{F as GradientManager};
2
2
  //# sourceMappingURL=GradientManager.js.map
@@ -1,12 +1,12 @@
1
1
  export declare const flushPromises: () => Promise<unknown>;
2
2
  export declare const page: {
3
3
  openGradientSelect(): void;
4
- addBtn(): HTMLElement;
5
- saveBtn(): HTMLElement;
6
- deleteStopBtn(): HTMLElement;
7
- deleteBtn(): HTMLElement;
8
- editBtn(): HTMLElement;
9
- cancelBtn(): HTMLElement;
4
+ addBtn(): HTMLElement | null;
5
+ saveBtn(): HTMLElement | null;
6
+ deleteStopBtn(): HTMLElement | null;
7
+ deleteBtn(): HTMLElement | null;
8
+ editBtn(): HTMLElement | null;
9
+ cancelBtn(): HTMLElement | null;
10
10
  setNameValue(value: string): void;
11
11
  getNameEditValue(): string;
12
12
  getTextOnSelect(): string;
@@ -1,2 +1,2 @@
1
- import r from"@babel/runtime/helpers/defineProperty";import e from"@babel/runtime/helpers/asyncToGenerator";import t from"@babel/runtime/helpers/slicedToArray";import n from"@babel/runtime/regenerator";import{isEqual as o,find as i}from"lodash";import{useState as c,useCallback as s,useEffect as u,useMemo as a}from"react";import{corvaAPI as f}from"../../../clients/index.js";import{DEFAULT_GRADIENTS as p}from"../configuration/constants.js";function l(r,e){var t=Object.keys(r);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(r);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),t.push.apply(t,n)}return t}function m(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){r(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))}))}return e}var b=function(r){return f.get("/v2/users/".concat(r,"/settings"),{})},v=function(r,e){return f.post("/v2/users/".concat(r,"/settings"),e)},g=function(r,e){return f.get("/v2/users/".concat(r,"/settings/").concat(e),{})},d=function(f){var l=f.userId,d=f.storageKey,h=void 0===d?"gradient-manager-custom_gradients":d,y=f.onFetchError,O=f.onUpdateError,j=c(null),w=t(j,2),x=w[0],P=w[1],k=c(0),E=t(k,2),D=E[0],G=E[1],I=c(!1),S=t(I,2),T=S[0],A=S[1],B=s((function(r){o(x,r)||P(r)}),[x]);u((function(){var r=function(){var r=e(n.mark((function r(){var e;return n.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return G((function(r){return r+1})),r.prev=1,r.next=4,g(l,h);case 4:e=r.sent,P(e[h]||[]),r.next=12;break;case 8:r.prev=8,r.t0=r.catch(1),null==y||y(r.t0),console.error(r.t0);case 12:return r.prev=12,G((function(r){return r-1})),r.finish(12);case 15:case"end":return r.stop()}}),r,null,[[1,8,12,15]])})));return function(){return r.apply(this,arguments)}}();r()}),[l]),u((function(){if(x){var t=function(){var t=e(n.mark((function e(){var t,i;return n.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return G((function(r){return r+1})),e.prev=1,e.next=4,b(l);case 4:if(t=e.sent,o(t[h],x)){e.next=9;break}return i=m(m({},t),{},r({},h,x)),e.next=9,v(l,i);case 9:e.next=15;break;case 11:e.prev=11,e.t0=e.catch(1),null==O||O(e.t0),console.error(e.t0);case 15:return e.prev=15,G((function(r){return r-1})),e.finish(15);case 18:case"end":return e.stop()}}),e,null,[[1,11,15,18]])})));return function(){return t.apply(this,arguments)}}();t()}}),[x]);var F=function(r){return i(x,{id:r})||i(p,{id:r})},K=Boolean(D);return a((function(){return{isEditing:T,isLoading:K,gradients:x,setIsEditing:A,setGradients:B,find:F}}),[T,K,x,B])};export{d as useGradientStorage};
1
+ import r from"@babel/runtime/helpers/defineProperty";import e from"@babel/runtime/helpers/asyncToGenerator";import t from"@babel/runtime/helpers/slicedToArray";import n from"@babel/runtime/regenerator";import{isEqual as o,find as i}from"lodash";import{useState as c,useCallback as s,useEffect as u,useMemo as a}from"react";import{corvaAPI as f}from"../../../clients/index.js";import{DEFAULT_GRADIENTS as p}from"../configuration/constants.js";function l(r,e){var t=Object.keys(r);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(r);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),t.push.apply(t,n)}return t}function m(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){r(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))}))}return e}var b=function(r){return f.get("/v2/users/".concat(r,"/settings"),{})},v=function(r,e){return f.post("/v2/users/".concat(r,"/settings"),e)},g=function(r,e){return f.get("/v2/users/".concat(r,"/settings/").concat(e),{})},d=function(f){var l=f.userId,d=f.storageKey,h=void 0===d?"gradient-manager-custom_gradients":d,y=f.onFetchError,O=f.onUpdateError,j=c(null),w=t(j,2),x=w[0],P=w[1],k=c(0),E=t(k,2),D=E[0],G=E[1],I=c(!1),S=t(I,2),T=S[0],A=S[1],B=s((function(r){o(x,r)||P(r)}),[x]);u((function(){var r=function(){var r=e(n.mark((function r(){var e;return n.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return G((function(r){return r+1})),r.prev=1,r.next=4,g(l,h);case 4:e=r.sent,P(e[h]||[]),r.next=12;break;case 8:r.prev=8,r.t0=r.catch(1),null==y||y(r.t0),console.error(r.t0);case 12:return r.prev=12,G((function(r){return r-1})),r.finish(12);case 15:case"end":return r.stop()}}),r,null,[[1,8,12,15]])})));return function(){return r.apply(this,arguments)}}();r()}),[l]),u((function(){if(x){var t=function(){var t=e(n.mark((function e(){var t,i;return n.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return G((function(r){return r+1})),e.prev=1,e.next=4,b(l);case 4:if(t=e.sent,o(t[h],x)){e.next=9;break}return i=m(m({},t),{},r({},h,x)),e.next=9,v(l,i);case 9:e.next=15;break;case 11:e.prev=11,e.t0=e.catch(1),null==O||O(e.t0),console.error(e.t0);case 15:return e.prev=15,G((function(r){return r-1})),e.finish(15);case 18:case"end":return e.stop()}}),e,null,[[1,11,15,18]])})));return function(){return t.apply(this,arguments)}}();t()}}),[x]);var F=function(r){return i(x,{id:r})||i(p,{id:r})},K=Boolean(D);return a((function(){return{isEditing:T,isLoading:K,gradients:null!=x?x:[],setIsEditing:A,setGradients:B,find:F}}),[T,K,x,B])};export{d as useGradientStorage};
2
2
  //# sourceMappingURL=useGradientStorage.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"GradientPicker.d.ts","sourceRoot":"","sources":["../../../src/components/GradientPicker/GradientPicker.tsx"],"names":[],"mappings":"AAcA,OAAO,EAAE,4BAA4B,EAAE,MAAM,uBAAuB,CAAC;AAwUrE,eAAO,MAAM,cAAc,GAAI,OAAO,IAAI,CAAC,4BAA4B,EAAE,MAAM,CAAC,gBAE/E,CAAC"}
1
+ {"version":3,"file":"GradientPicker.d.ts","sourceRoot":"","sources":["../../../src/components/GradientPicker/GradientPicker.tsx"],"names":[],"mappings":"AAcA,OAAO,EAAE,4BAA4B,EAAE,MAAM,uBAAuB,CAAC;AA4UrE,eAAO,MAAM,cAAc,GAAI,OAAO,IAAI,CAAC,4BAA4B,EAAE,MAAM,CAAC,gBAE/E,CAAC"}
@@ -1,2 +1,2 @@
1
- import o from"@babel/runtime/helpers/toConsumableArray";import n from"@babel/runtime/helpers/defineProperty";import t from"@babel/runtime/helpers/slicedToArray";import{jsxs as i,jsx as c}from"react/jsx-runtime";import{useRef as s,useState as r,useEffect as e,useMemo as a}from"react";import l from"classnames";import u from"react-draggable";import{find as m,noop as p,sortBy as d,reject as f,clamp as h,omit as j}from"lodash";import v from"tinygradient";import{v4 as I}from"uuid";import{Typography as g,Tooltip as b,Popover as y,TextField as C}from"@material-ui/core";import{Add as O}from"@material-ui/icons";import{DeleteFourIcon as P}from"../../icons/iconParkIcons.js";import"../../icons/customIcons/icons/AddMessage.js";import"../../icons/customIcons/icons/Attention.js";import"../../icons/customIcons/icons/Collapse.js";import"../../icons/customIcons/icons/Dashboard.js";import"../../icons/customIcons/icons/Expand.js";import"../../icons/customIcons/icons/FolderClosed.js";import"../../icons/customIcons/icons/FolderClosedFilled.js";import"../../icons/customIcons/icons/FolderOpened.js";import"../../icons/customIcons/icons/GreaterOrEqual.js";import"../../icons/customIcons/icons/LessOrEqual.js";import"../../icons/customIcons/icons/Search.js";import"../../icons/customIcons/icons/SearchOne.js";import"../../icons/customIcons/icons/Wellhub.js";import"../../icons/customIcons/icons/MultiRuler.js";import"../../icons/customIcons/icons/Checkbox.js";import"../../icons/customIcons/icons/CheckboxChecked.js";import"../../icons/customIcons/icons/CheckboxIndeterminate.js";import"../../icons/customIcons/icons/Radio.js";import"../../icons/customIcons/icons/RadioChecked.js";import"../../icons/customIcons/icons/SimulFrac.js";import"../../icons/customIcons/icons/ZipperFrac.js";import"../../icons/customIcons/icons/CautionFilled.js";import"../../icons/customIcons/icons/MoreApp.js";import"../../icons/customIcons/icons/Pad.js";import"../../icons/customIcons/icons/DrilloutUnit.js";import"../../icons/customIcons/icons/FracFleet.js";import"../../icons/customIcons/icons/Global.js";import"../../icons/customIcons/icons/Program.js";import"../../icons/customIcons/icons/Rig.js";import"../../icons/customIcons/icons/Well.js";import"../../icons/customIcons/icons/Gap.js";import"../../icons/customIcons/icons/Pin.js";import"../../icons/customIcons/icons/CloseOneFilled.js";import"../../icons/customIcons/icons/AttentionFilled.js";import"../../icons/customIcons/icons/CheckOneFilled.js";import"../../icons/customIcons/icons/Archive.js";import"../../icons/customIcons/icons/ArchiveCancel.js";import"../../icons/customIcons/icons/Unarchive.js";import"../../icons/customIcons/icons/Archived.js";import"../../icons/customIcons/icons/InterventionUnit.js";import"../../icons/customIcons/icons/CloudDelete.js";import"../../icons/customIcons/icons/Lasso.js";import"../../icons/customIcons/icons/Radius.js";import k from"../ColorPicker/PaletteChromePicker/PaletteChromePicker.js";import{calcGradientStyle as F,getStopText as x,roundToStep as N,getRangeStep as A}from"./GradientPicker.utils.js";import{useThrottledCallback as D}from"../shared/useThrottledCallback.js";import S from"../IconButton/index.js";import{useStyles as w}from"./GradientPicker.styles.js";import{withSize as E}from"react-sizeme";function M(o,n){var t=Object.keys(o);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(o);n&&(i=i.filter((function(n){return Object.getOwnPropertyDescriptor(o,n).enumerable}))),t.push.apply(t,i)}return t}function T(o){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?M(Object(i),!0).forEach((function(t){n(o,t,i[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(o,Object.getOwnPropertyDescriptors(i)):M(Object(i)).forEach((function(n){Object.defineProperty(o,n,Object.getOwnPropertyDescriptor(i,n))}))}return o}var _=E()((function(n){var E=n.size,M=n.from,_=void 0===M?0:M,R=n.to,z=void 0===R?100:R,B=n.unit,G=n.gradientStops,L=n.onChange,U=n.style,V=n.isMoveInputVisible,W=n.readonly,q=n.noScale,H=n["data-testid"],K=void 0===H?"GradientPicker":H,X=s(),Z=r([]),J=t(Z,2),Q=J[0],Y=J[1],$=r(null),oo=t($,2),no=oo[0],to=oo[1],io=r(null),co=t(io,2),so=co[0],ro=co[1],eo=r(null),ao=t(eo,2),lo=ao[0],uo=ao[1],mo=w({readonly:W}),po=Number.isFinite(_)?Number(_):0,fo=Number.isFinite(z)?Number(z):100,ho=fo-po;e((function(){(G.length!==(null==Q?void 0:Q.length)||G.some((function(o,n){return o.color!==Q[n].color||o.pos!==Q[n].pos})))&&Y(G.map((function(o){return T(T({},o),{},{id:I()})})))}),[G]);var jo=a((function(){return F(Q)}),[Q]),vo=a((function(){var o;return null===(o=X.current)||void 0===o?void 0:o.clientWidth}),[E.width,X.current]),Io=function(o){var n=d(o,"pos");Y(n),L&&L(n.map((function(o){return j(o,"id")})))},go=function(o){if(o.target===o.currentTarget){var n=o.currentTarget.getBoundingClientRect(),t=o.clientX-n.left;uo(Number.isFinite(t)?t:null)}else uo(null)},bo=D((function(n,t,i){var c=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(!no){var s=t/vo*100,r=m(Q,{id:n});if(i>=40||i<=-50)Co();else{var e=T(T({},r),{},{pos:s}),a=d([].concat(o(f(Q,{id:n})),[e]),"pos");if(c)return Io(a),void ro(null);Y(a),Po||ro(n)}}}),0),yo=function(){Io(Q),ro(null),to(null)},Co=function(){Q.length>2&&(Io(f(Q,{id:so})),to(null),ro(null))},Oo=!no&&Number.isFinite(lo)&&!W,Po=m(Q,{id:so}),ko=A(ho),Fo=function(o){if(!o)return null;var n=po+(null==o?void 0:o.pos)/100*ho;return N(n,ko/100)}(Po);return i("div",{className:mo.root,style:U,children:[!q&&i("div",{className:mo.indicatorContainer,children:[c("div",{children:i(g,{"data-testid":"".concat(K,"_from"),className:mo.indicator,children:[po," ",B]})}),c("div",{children:i(g,{"data-testid":"".concat(K,"_to"),className:mo.indicator,children:[fo," ",B]})})]}),i("div",{onMouseEnter:go,onMouseMove:go,onMouseLeave:function(){return uo(null)},onClick:function(n){if(!W){var t=lo/vo*100,i=v(Q.map((function(o){return{color:o.color,pos:o.pos/100}}))),c="#".concat(i.rgbAt(t/100).toHex()),s={id:I(),pos:t,color:c};Io([].concat(o(Q),[s]))}},"data-testid":"".concat(K,"_track"),className:mo.mainBar,style:{background:"linear-gradient(90deg, ".concat(jo,")")},ref:X,children:[Oo&&c("div",{"data-testid":"".concat(K,"_addCircle"),className:mo.addCircle,style:{left:lo-12},children:c(O,{fontSize:"small",className:mo.addIcon})}),!!vo&&Q.map((function(o,n){var t,i=o.pos,s=o.color,r=o.id;return c(u,{disabled:W,axis:"x",bounds:{left:-12,right:vo-12,top:-50,bottom:40},onDrag:function(o,n){return bo(r,n.x+12,n.y,!1)},onStop:function(o,n){return bo(r,n.x+12,n.y,!0)},position:{x:vo*i/100-12,y:-4},children:c("div",{onClick:function(o){return function(o,n){o.stopPropagation(),W||so||(ro(n),to(o.currentTarget))}(o,r)},"data-testid":"".concat(K,"_stop_").concat(n),className:l(mo.circle,{highlight:so===r}),style:{backgroundColor:s},children:c(b,{title:(t=i,x(t,{fromValue:po,toValue:fo})),placement:"top",children:c("div",{style:{height:"100%"}})})})},r)}))]}),Boolean(no)&&i(y,{id:"colors-popper",open:Boolean(no),anchorEl:no,onClose:yo,anchorOrigin:{vertical:"bottom",horizontal:"left"},transformOrigin:{vertical:"top",horizontal:"left"},children:[c(k,{color:null==Po?void 0:Po.color,onChange:function(o){var n=o.hex;Y(Q.map((function(o){return o.id===so?T(T({},o),{},{color:n}):o})))},onSizeChange:p,enableTransparencyPalette:!1}),c(S,{"data-testid":"".concat(K,"_stopDelete"),className:mo.removeButton,onClick:Co,children:c(P,{className:mo.deleteIcon})}),V&&c(C,{"data-testid":"".concat(K,"_moveInput"),type:"number",variant:"outlined",value:Fo,classes:{root:mo.posTextfield},InputProps:{inputProps:{min:po,max:fo,step:ko,maxLength:10},classes:{root:mo.posOutlinedRoot,input:mo.posOutlinedInput}},autoFocus:!0,onFocus:function(o){return o.target.select()},onChange:function(o){if(""===o.target.value){var n=o.target;setTimeout((function(){return null==n?void 0:n.select()}))}var t=h(Number(o.target.value),po,fo);t||o.target.select();var i=(t-po)/ho*100;Y(Q.map((function(o){return o.id===so?T(T({},o),{},{pos:i}):o})))},onKeyDown:function(o){return"Enter"===o.key&&yo()}})]})]})})),R=function(o){return c(_,T({},o))};export{R as GradientPicker};
1
+ import o from"@babel/runtime/helpers/toConsumableArray";import n from"@babel/runtime/helpers/defineProperty";import t from"@babel/runtime/helpers/slicedToArray";import{jsxs as i,jsx as c}from"react/jsx-runtime";import{useRef as s,useState as r,useEffect as e,useMemo as l}from"react";import a from"classnames";import u from"react-draggable";import{find as m,noop as p,sortBy as d,reject as f,clamp as h,omit as j}from"lodash";import v from"tinygradient";import{v4 as I}from"uuid";import{Typography as g,Tooltip as b,Popover as y,TextField as C}from"@material-ui/core";import{Add as O}from"@material-ui/icons";import{DeleteFourIcon as P}from"../../icons/iconParkIcons.js";import"../../icons/customIcons/icons/AddMessage.js";import"../../icons/customIcons/icons/Attention.js";import"../../icons/customIcons/icons/Collapse.js";import"../../icons/customIcons/icons/Dashboard.js";import"../../icons/customIcons/icons/Expand.js";import"../../icons/customIcons/icons/FolderClosed.js";import"../../icons/customIcons/icons/FolderClosedFilled.js";import"../../icons/customIcons/icons/FolderOpened.js";import"../../icons/customIcons/icons/GreaterOrEqual.js";import"../../icons/customIcons/icons/LessOrEqual.js";import"../../icons/customIcons/icons/Search.js";import"../../icons/customIcons/icons/SearchOne.js";import"../../icons/customIcons/icons/Wellhub.js";import"../../icons/customIcons/icons/MultiRuler.js";import"../../icons/customIcons/icons/Checkbox.js";import"../../icons/customIcons/icons/CheckboxChecked.js";import"../../icons/customIcons/icons/CheckboxIndeterminate.js";import"../../icons/customIcons/icons/Radio.js";import"../../icons/customIcons/icons/RadioChecked.js";import"../../icons/customIcons/icons/SimulFrac.js";import"../../icons/customIcons/icons/ZipperFrac.js";import"../../icons/customIcons/icons/CautionFilled.js";import"../../icons/customIcons/icons/MoreApp.js";import"../../icons/customIcons/icons/Pad.js";import"../../icons/customIcons/icons/DrilloutUnit.js";import"../../icons/customIcons/icons/FracFleet.js";import"../../icons/customIcons/icons/Global.js";import"../../icons/customIcons/icons/Program.js";import"../../icons/customIcons/icons/Rig.js";import"../../icons/customIcons/icons/Well.js";import"../../icons/customIcons/icons/Gap.js";import"../../icons/customIcons/icons/Pin.js";import"../../icons/customIcons/icons/CloseOneFilled.js";import"../../icons/customIcons/icons/AttentionFilled.js";import"../../icons/customIcons/icons/CheckOneFilled.js";import"../../icons/customIcons/icons/Archive.js";import"../../icons/customIcons/icons/ArchiveCancel.js";import"../../icons/customIcons/icons/Unarchive.js";import"../../icons/customIcons/icons/Archived.js";import"../../icons/customIcons/icons/InterventionUnit.js";import"../../icons/customIcons/icons/CloudDelete.js";import"../../icons/customIcons/icons/Lasso.js";import"../../icons/customIcons/icons/Radius.js";import k from"../ColorPicker/PaletteChromePicker/PaletteChromePicker.js";import{calcGradientStyle as F,getStopText as x,roundToStep as N,getRangeStep as A}from"./GradientPicker.utils.js";import{useThrottledCallback as D}from"../shared/useThrottledCallback.js";import S from"../IconButton/index.js";import{useStyles as w}from"./GradientPicker.styles.js";import{withSize as E}from"react-sizeme";function M(o,n){var t=Object.keys(o);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(o);n&&(i=i.filter((function(n){return Object.getOwnPropertyDescriptor(o,n).enumerable}))),t.push.apply(t,i)}return t}function T(o){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?M(Object(i),!0).forEach((function(t){n(o,t,i[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(o,Object.getOwnPropertyDescriptors(i)):M(Object(i)).forEach((function(n){Object.defineProperty(o,n,Object.getOwnPropertyDescriptor(i,n))}))}return o}var _=E()((function(n){var E,M=n.size,_=n.from,R=void 0===_?0:_,z=n.to,B=void 0===z?100:z,G=n.unit,L=n.gradientStops,U=n.onChange,V=n.style,W=n.isMoveInputVisible,q=n.readonly,H=n.noScale,K=n["data-testid"],X=void 0===K?"GradientPicker":K,Z=s(null),J=r([]),Q=t(J,2),Y=Q[0],$=Q[1],oo=r(null),no=t(oo,2),to=no[0],io=no[1],co=r(null),so=t(co,2),ro=so[0],eo=so[1],lo=r(null),ao=t(lo,2),uo=ao[0],mo=ao[1],po=w({readonly:q}),fo=Number.isFinite(R)?Number(R):0,ho=Number.isFinite(B)?Number(B):100,jo=ho-fo;e((function(){(L.length!==(null==Y?void 0:Y.length)||L.some((function(o,n){return o.color!==Y[n].color||o.pos!==Y[n].pos})))&&$(L.map((function(o){return T(T({},o),{},{id:I()})})))}),[L]);var vo=l((function(){return F(Y)}),[Y]),Io=l((function(){var o;return null===(o=Z.current)||void 0===o?void 0:o.clientWidth}),[null==M?void 0:M.width,Z.current]),go=function(o){var n=d(o,"pos");$(n),U&&U(n.map((function(o){return j(o,"id")})))},bo=function(o){if(o.target===o.currentTarget){var n=o.currentTarget.getBoundingClientRect(),t=o.clientX-n.left;mo(Number.isFinite(t)?t:null)}else mo(null)},yo=D((function(n,t,i){var c=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(!to&&Io){var s=t/Io*100,r=m(Y,{id:n});if(i>=40||i<=-50)Oo();else if(r){var e=T(T({},r),{},{pos:s}),l=d([].concat(o(f(Y,{id:n})),[e]),"pos");if(c)return go(l),void eo(null);$(l),ko||eo(n)}}}),0),Co=function(){go(Y),eo(null),io(null)},Oo=function(){Y.length>2&&(go(f(Y,{id:ro})),io(null),eo(null))},Po=!to&&Number.isFinite(uo)&&!q,ko=ro?m(Y,{id:ro}):void 0,Fo=A(jo),xo=function(o){if(!o)return null;var n=fo+(null==o?void 0:o.pos)/100*jo;return N(n,Fo/100)}(ko);return i("div",{className:po.root,style:V,children:[!H&&i("div",{className:po.indicatorContainer,children:[c("div",{children:i(g,{"data-testid":"".concat(X,"_from"),className:po.indicator,children:[fo," ",G]})}),c("div",{children:i(g,{"data-testid":"".concat(X,"_to"),className:po.indicator,children:[ho," ",G]})})]}),i("div",{onMouseEnter:bo,onMouseMove:bo,onMouseLeave:function(){return mo(null)},onClick:function(n){if(!q&&null!==uo&&Io){var t=uo/Io*100,i=v(Y.map((function(o){return{color:o.color,pos:o.pos/100}}))),c="#".concat(i.rgbAt(t/100).toHex()),s={id:I(),pos:t,color:c};go([].concat(o(Y),[s]))}},"data-testid":"".concat(X,"_track"),className:po.mainBar,style:{background:"linear-gradient(90deg, ".concat(vo,")")},ref:Z,children:[Po&&c("div",{"data-testid":"".concat(X,"_addCircle"),className:po.addCircle,style:{left:uo-12},children:c(O,{fontSize:"small",className:po.addIcon})}),!!Io&&Y.map((function(o,n){var t,i=o.pos,s=o.color,r=o.id;return c(u,{disabled:q,axis:"x",bounds:{left:-12,right:Io-12,top:-50,bottom:40},onDrag:function(o,n){return yo(r,n.x+12,n.y,!1)},onStop:function(o,n){return yo(r,n.x+12,n.y,!0)},position:{x:Io*i/100-12,y:-4},children:c("div",{onClick:function(o){return function(o,n){o.stopPropagation(),q||ro||(eo(n),io(o.currentTarget))}(o,r)},"data-testid":"".concat(X,"_stop_").concat(n),className:a(po.circle,{highlight:ro===r}),style:{backgroundColor:s},children:c(b,{title:(t=i,x(t,{fromValue:fo,toValue:ho})),placement:"top",children:c("div",{style:{height:"100%"}})})})},r)}))]}),Boolean(to)&&i(y,{id:"colors-popper",open:Boolean(to),anchorEl:to,onClose:Co,anchorOrigin:{vertical:"bottom",horizontal:"left"},transformOrigin:{vertical:"top",horizontal:"left"},children:[c(k,{color:null!==(E=null==ko?void 0:ko.color)&&void 0!==E?E:"#000000",onChange:function(o){var n=o.hex;$(Y.map((function(o){return o.id===ro?T(T({},o),{},{color:n}):o})))},onSizeChange:p,enableTransparencyPalette:!1}),c(S,{"data-testid":"".concat(X,"_stopDelete"),className:po.removeButton,onClick:Oo,children:c(P,{className:po.deleteIcon})}),W&&c(C,{"data-testid":"".concat(X,"_moveInput"),type:"number",variant:"outlined",value:xo,classes:{root:po.posTextfield},InputProps:{inputProps:{min:fo,max:ho,step:Fo,maxLength:10},classes:{root:po.posOutlinedRoot,input:po.posOutlinedInput}},autoFocus:!0,onFocus:function(o){return o.target.select()},onChange:function(o){if(""===o.target.value){var n=o.target;setTimeout((function(){return null==n?void 0:n.select()}))}var t=h(Number(o.target.value),fo,ho);t||o.target.select();var i=(t-fo)/jo*100;$(Y.map((function(o){return o.id===ro?T(T({},o),{},{pos:i}):o})))},onKeyDown:function(o){return"Enter"===o.key&&Co()}})]})]})})),R=function(o){return c(_,T({},o))};export{R as GradientPicker};
2
2
  //# sourceMappingURL=GradientPicker.js.map
@@ -2,7 +2,7 @@ import { GradientFillStop } from '~/types';
2
2
  export interface GradientPickerComponentProps {
3
3
  from: number;
4
4
  to: number;
5
- unit: string;
5
+ unit?: string;
6
6
  style?: object;
7
7
  gradientStops: GradientFillStop[];
8
8
  onChange: (gradientStops: GradientFillStop[]) => void;
@@ -1 +1 @@
1
- {"version":3,"file":"GradientPickerProps.d.ts","sourceRoot":"","sources":["../../../src/components/GradientPicker/GradientPickerProps.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAE3C,MAAM,WAAW,4BAA4B;IAC3C,IAAI,EAAE,MAAM,CAAC;IACb,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,aAAa,EAAE,gBAAgB,EAAE,CAAC;IAClC,QAAQ,EAAE,CAAC,aAAa,EAAE,gBAAgB,EAAE,KAAK,IAAI,CAAC;IACtD,IAAI,CAAC,EAAE;QACL,KAAK,EAAE,MAAM,CAAC;KACf,CAAC;IACF,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB"}
1
+ {"version":3,"file":"GradientPickerProps.d.ts","sourceRoot":"","sources":["../../../src/components/GradientPicker/GradientPickerProps.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAE3C,MAAM,WAAW,4BAA4B;IAC3C,IAAI,EAAE,MAAM,CAAC;IACb,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,aAAa,EAAE,gBAAgB,EAAE,CAAC;IAClC,QAAQ,EAAE,CAAC,aAAa,EAAE,gBAAgB,EAAE,KAAK,IAAI,CAAC;IACtD,IAAI,CAAC,EAAE;QACL,KAAK,EAAE,MAAM,CAAC;KACf,CAAC;IACF,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB"}
@@ -1,5 +1,5 @@
1
1
  export declare const page: {
2
- deleteStopBtn(): HTMLElement;
2
+ deleteStopBtn(): HTMLElement | null;
3
3
  getStops(): HTMLDivElement[];
4
4
  getStopValues(): {
5
5
  color: string;
@@ -1,6 +1,6 @@
1
- export function useFilterLayout(components: any, componentsWidth: any, appWidth: any): any;
1
+ export function useFilterLayout(components: any, componentsWidth: any, appWidth: any): null;
2
2
  export function useComonentsWidth(components: any): {
3
- componentsWidth: any;
3
+ componentsWidth: null;
4
4
  hiddenElements: JSX.Element;
5
5
  };
6
6
  //# sourceMappingURL=index.d.ts.map