@corva/ui 0.50.0-1 → 0.50.0-10
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.
- package/components/AddComment/Popover.js +1 -1
- package/components/AddComment/components/Content.js +1 -1
- package/components/AppVersionsSelect/AppVersionsSelect.js +1 -1
- package/components/BICOffsetPickerDialog/index.js +1 -1
- package/components/Casing/CasingTableV2/components/CasingJoints/Editor.js +1 -1
- package/components/Casing/CasingTableV2/components/Component.js +1 -1
- package/components/Casing/CasingTableV2/components/DrillPipe/Editor.js +1 -1
- package/components/Chart/components/AxisOverlay.js +1 -1
- package/components/Comment/CommentIcon/index.js +1 -1
- package/components/DevCenter/AppFilterPanelLayout/AppFilterPanelLayout.d.ts.map +1 -1
- package/components/DevCenter/AppFilterPanelLayout/AppFilterPanelLayout.js +1 -1
- package/components/DevCenter/DevCenterAppContainer/DevCenterAppContainer.css.js +1 -1
- package/components/DevCenter/DevCenterAppContainer/DevCenterAppContainer.d.ts.map +1 -1
- package/components/DevCenter/DevCenterAppContainer/DevCenterAppContainer.js +1 -1
- package/components/DevCenter/DevCenterAppContainer/components/AppActions/AppActions.css.js +1 -1
- package/components/DevCenter/DevCenterAppContainer/components/AppInfoMessage/AppInfoMessage.js +1 -1
- package/components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/AppSettingsDialog.js +1 -1
- package/components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/RemoveAppButton.js +1 -1
- package/components/DevCenter/DevCenterAppContainer/components/DevCenterAppView/DevCenterAppView.js +1 -1
- package/components/DevCenter/DevCenterAppContainer/components/NonPriorityMenus/NonPriorityMenus.css.js +1 -1
- package/components/DevCenter/DevCenterAppContainer/components/NonPriorityMenus/NonPriorityMenus.d.ts +1 -5
- package/components/DevCenter/DevCenterAppContainer/components/NonPriorityMenus/NonPriorityMenus.d.ts.map +1 -1
- package/components/DevCenter/DevCenterAppContainer/components/NonPriorityMenus/NonPriorityMenus.js +1 -1
- package/components/DevCenter/DevCenterAppContainer/components/PriorityMenus/PriorityMenus.css.js +1 -1
- package/components/DevCenter/DevCenterAppContainer/components/PriorityMenus/PriorityMenus.d.ts.map +1 -1
- package/components/DevCenter/DevCenterAppContainer/components/PriorityMenus/PriorityMenus.js +1 -1
- package/components/DevCenter/IsolatedDevCenterAppContainer/DevCenterAppZoidComponent.js +1 -1
- package/components/DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedApp.d.ts.map +1 -1
- package/components/DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedApp.js +1 -1
- package/components/DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedAppPage.js +1 -1
- package/components/DocumentViewer/DocumentViewer.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Agitator/Editor.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Bit/Editor.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Component.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/DrillCollar/Editor.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/DrillPipe/Editor.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Jar/Editor.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Lwd/Editor.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Mwd/Editor.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Pdm/Editor.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Rss/Editor.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Stabilizer/Editor.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Sub/Editor.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Ur/Editor.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/shared/ConfirmationPopup.js +1 -1
- package/components/IconMenu/index.d.ts +3 -3
- package/components/Modal/CorvaModal.d.ts +28 -48
- package/components/Modal/CorvaModal.d.ts.map +1 -1
- package/components/Modal/CorvaModal.js +1 -1
- package/components/Modal/DcCorvaModal.d.ts +2 -4
- package/components/Modal/DcCorvaModal.d.ts.map +1 -1
- package/components/Modal/DcCorvaModal.js +1 -1
- package/components/Modal/Modal.d.ts +1 -1
- package/components/Modal/Modal.d.ts.map +1 -1
- package/components/Modal/types.d.ts +24 -0
- package/components/Modal/types.d.ts.map +1 -0
- package/components/Modal/types.js +1 -0
- package/components/{OffsetWellPickerV4/components/Map/MapView.d.ts → OffsetWellMap/OffsetWellMap.d.ts} +4 -7
- package/components/OffsetWellMap/OffsetWellMap.d.ts.map +1 -0
- package/components/OffsetWellMap/OffsetWellMap.js +1 -0
- package/components/OffsetWellMap/OffsetWellMap.module.css.js +1 -0
- package/components/{OffsetWellPickerV4/components/Map → OffsetWellMap}/WellTooltip.d.ts +0 -0
- package/components/OffsetWellMap/WellTooltip.d.ts.map +1 -0
- package/components/{OffsetWellPickerV4/components/Map → OffsetWellMap}/WellTooltip.js +0 -0
- package/components/OffsetWellMap/WellTooltip.module.css.js +1 -0
- package/components/OffsetWellMap/effects/index.d.ts +2 -0
- package/components/OffsetWellMap/effects/index.d.ts.map +1 -0
- package/components/{OffsetWellPickerV4 → OffsetWellMap}/effects/usePreviousWells.d.ts +0 -0
- package/components/OffsetWellMap/effects/usePreviousWells.d.ts.map +1 -0
- package/components/{OffsetWellPickerV4 → OffsetWellMap}/effects/usePreviousWells.js +0 -0
- package/components/OffsetWellMap/index.d.ts +2 -0
- package/components/OffsetWellMap/index.d.ts.map +1 -0
- package/components/{OffsetWellPickerV4/components/Map → OffsetWellMap}/utils.d.ts +0 -0
- package/components/OffsetWellMap/utils.d.ts.map +1 -0
- package/components/{OffsetWellPickerV4/components/Map → OffsetWellMap}/utils.js +0 -0
- package/components/OffsetWellPickerV2/components/Filter/SidetrackSwitch.js +1 -1
- package/components/OffsetWellPickerV2/components/Filter/ToggleMapButton.js +1 -1
- package/components/OffsetWellPickerV2/components/Table/MetricsAddMenu.js +1 -1
- package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Filter/SidetrackSwitch.js +1 -1
- package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/MetricsAddMenu.js +1 -1
- package/components/OffsetWellPickerV3/components/CustomSelectionView/index.js +1 -1
- package/components/OffsetWellPickerV3/components/OffsetWellSelectionView/index.js +1 -1
- package/components/OffsetWellPickerV3/components/TabSelection/ToggleMapButton.js +1 -1
- package/components/OffsetWellPickerV3/components/TabSelection/index.js +1 -1
- package/components/OffsetWellPickerV3/components/WellHubView/index.js +1 -1
- package/components/OffsetWellPickerV3/components/shared/OffsetWellTableHead.js +1 -1
- package/components/OffsetWellPickerV4/OffsetWellPickerV4.d.ts.map +1 -1
- package/components/OffsetWellPickerV4/OffsetWellPickerV4.js +1 -1
- package/components/OffsetWellPickerV4/components/Filter/Filter.d.ts +1 -3
- package/components/OffsetWellPickerV4/components/Filter/Filter.d.ts.map +1 -1
- package/components/OffsetWellPickerV4/components/Filter/Filter.js +1 -1
- package/components/OffsetWellPickerV4/components/Filter/Filter.module.css.js +1 -1
- package/components/OffsetWellPickerV4/components/Map/WellsMap.d.ts.map +1 -1
- package/components/OffsetWellPickerV4/components/Map/WellsMap.js +1 -1
- package/components/OffsetWellPickerV4/components/OffsetWellsTable/MetricsSettingMenu.js +1 -1
- package/components/OffsetWellPickerV4/components/OffsetWellsTable/OffsetWellsTable.js +1 -1
- package/components/OffsetWellPickerV4/components/Toolbar/Toolbar.js +1 -1
- package/components/OffsetWellPickerV4/effects/index.d.ts +0 -1
- package/components/OffsetWellPickerV4/utils/index.d.ts +2 -0
- package/components/OffsetWellPickerV4/utils/index.d.ts.map +1 -0
- package/components/SwitchControl/index.d.ts +1 -1
- package/components/SwitchControl/index.js +1 -1
- package/components/Table/TableCell/TableCell.d.ts.map +1 -1
- package/components/Table/TableCell/TableCell.js +1 -1
- package/components/Toaster/ToastContainer.d.ts +3 -0
- package/components/Toaster/ToastContainer.d.ts.map +1 -0
- package/components/Toaster/ToastContainer.js +1 -0
- package/components/Toaster/Toaster.d.ts +7 -0
- package/components/Toaster/Toaster.d.ts.map +1 -0
- package/components/Toaster/Toaster.js +1 -0
- package/components/Toaster/index.d.ts +3 -0
- package/components/Toaster/index.d.ts.map +1 -0
- package/components/TruncatedText/index.d.ts +15 -1
- package/components/TruncatedText/index.d.ts.map +1 -1
- package/components/TruncatedText/index.js +1 -1
- package/components/index.d.ts +3 -1
- package/components/index.js +1 -1
- package/constants/completion.d.ts +1 -0
- package/constants/completion.d.ts.map +1 -1
- package/constants/completion.js +1 -1
- package/package.json +2 -2
- package/utils/devcenterToasts.d.ts +2 -0
- package/utils/devcenterToasts.d.ts.map +1 -0
- package/utils/devcenterToasts.js +1 -0
- package/utils/index.d.ts +2 -1
- package/utils/index.d.ts.map +1 -1
- package/utils/index.js +1 -1
- package/components/OffsetWellPickerV4/components/Map/MapView.d.ts.map +0 -1
- package/components/OffsetWellPickerV4/components/Map/MapView.js +0 -1
- package/components/OffsetWellPickerV4/components/Map/MapView.module.css.js +0 -1
- package/components/OffsetWellPickerV4/components/Map/WellTooltip.d.ts.map +0 -1
- package/components/OffsetWellPickerV4/components/Map/WellTooltip.module.css.js +0 -1
- package/components/OffsetWellPickerV4/components/Map/utils.d.ts.map +0 -1
- package/components/OffsetWellPickerV4/effects/usePreviousWells.d.ts.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{memo as e}from"react";import{isEmpty as t}from"lodash";import o from"prop-types";import{Grid as r}from"@material-ui/core";import{isMobileDetected as i}from"../../../../../utils/mobileDetect.js";import{jsxs as n,jsx as s}from"react/jsx-runtime";import"../../../../DevCenter/DevCenterAppContainer/components/AppActions/AppActions.css.js";import"../../../../DevCenter/DevCenterAppContainer/components/AppSettingsDialog/AppSettingsDialog.js";import"../../../../DevCenter/DevCenterAppContainer/components/AnnotationsButton/AnnotationsButton.js";import"../../../../DevCenter/DevCenterAppContainer/components/NonPriorityMenus/NonPriorityMenus.js";import"../../../../DevCenter/DevCenterAppContainer/components/FullscreenButton/FullscreenButton.js";import"../../../../DevCenter/DevCenterAppContainer/components/AppInfoMessage/AppInfoMessage.js";import"../../../../DevCenter/DevCenterAppContainer/components/DevCenterAppView/DevCenterAppView.js";import"../../../../DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/DcFullscreenElemsCoordinatorProvider.js";import"../../../../DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/IsInsideDcFullscreenElemProvider.js";import"../../../../DevCenter/DevCenterAppContainer/components/IsInsideDcAppProvider/IsInsideDcAppProvider.js";import"../../../../Modal/CorvaModal.js";import"@babel/runtime/helpers/defineProperty";import"@babel/runtime/helpers/objectWithoutProperties";import"@babel/runtime/helpers/slicedToArray";import"../../../../IconMenu/index.js";import"../../../../StyledMenuItem/index.js";import"../../../../DevCenter/AppHeader/AppHeader.js";import"../../../../DevCenter/AppSideBar/AppSideBar.js";import"../../../../DevCenter/AppsDataProvider/AppsDataProvider.js";import"../../../../DevCenter/DevCenterAppContainer/DevCenterAppContainer.js";import"../../../../DevCenter/NavigationBar/NavigationBar.js";import"../../../../DevCenter/SideBar/SideBar.js";import"../../../../DevCenter/AppSettingsPopover/AppSettingsPopover.js";import"../../../../DevCenter/AppFilterPanelLayout/AppFilterPanelLayout.js";import"../../../../DevCenter/DevCenterRouterContext/DevCenterRouterContext.js";import"../../../../DevCenter/DevCenterRouterContext/UniversalLink/UniversalLink.js";import"react-router";import"../../../../DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedAppPage.js";import"../../../../DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedApp.js";import"../../../../DevCenter/AppContext.js";import"../../../../AssetEditor/index.js";import"../../../../AppVersionsSelect/AppVersionsSelect.js";import"../../../../LoadingIndicator/LoadingIndicator.js";import"../../../../Typography.js";import"../../../../CollapsableSidebar.js";import"../../../../DateTimePicker/index.js";import"../../../../DatePicker/index.js";import"../../../../ErrorBoundary/ErrorBoundary.js";import"../../../../ErrorBoundary/DevCenterAppErrorView/DevCenterAppErrorView.js";import"../../../../Annotations/components/AnnotationsList/index.js";import"../../../../Annotations/components/LastAnnotation/index.js";import"../../../../Annotations/AnnotationsContext.js";import"../../../../SlateFormattedText/SlateFormattedText.js";import"../../../../SlateFormattedText/RenderElements.js";import"@babel/runtime/helpers/typeof";import"slate";import"../../../../ParameterCharts/ParameterCharts.js";import"../../../../ParameterCharts/AddEditTrack.js";import"../../../../ChartActionsList/ChartActionsList.js";import"../../../../CopyToClipboard/CopyToClipboard.js";import"../../../../AssetEditor/AssetEditorAutocomplete.js";import"../../../../AssetEditor/SingleAssetEditor.js";import"../../../../SettingEditors/ColorEditor/index.js";import"../../../../SettingEditors/DropdownEditor/index.js";import"../../../../SettingEditors/RadioEditor/index.js";import"../../../../SwitchControl/index.js";import"../../../../ColorPicker/ColorPicker.js";import"../../../../Chart/components/ChartButton.js";import"../../../../Chart/components/ChartButtons.js";import"../../../../Chart/components/ChartWrapper.js";import"../../../../Chart/components/AxisDropdown.js";import"../../../../Chart/components/buttons/DragToZoomButton.js";import"../../../../Chart/components/buttons/ZoomInButton.js";import"../../../../Chart/components/buttons/ZoomOutButton.js";import"../../../../Chart/components/buttons/PanButton.js";import"../../../../Chart/components/buttons/ResetZoomButton.js";import"../../../../Chart/components/buttons/HideAxesButton.js";import"../../../../ColorPicker/PaletteChromePicker/PaletteChromePicker.js";import"../../../../TruncatedText/index.js";import"../../../../RangeSlider/RangeSlider.js";import"../../../../AdvancedSlider/AdvancedSlider.js";import"../../../../Breadcrumbs/index.js";import"../../../../VirtualizedTable/index.js";import"../../../../EmptyView/EmptyView.js";import"../../../../EmptyView/EmptyAppView/EmptyAppView.js";import"../../../../Button/index.js";import"../../../../ContextMenuItem/index.js";import"../../../../FolderMenuItem/index.js";import"../../../../EditableItem/EditableItem/index.js";import"../../../../EditableItem/EditableItemWithBadge/index.js";import"../../../../Checkbox/index.js";import"../../../../FolderMenuItemWithLinks/index.js";import"../../../../IconButton/index.js";import"../../../../TextField/index.js";import"../../../../Chip/index.js";import"../../../../Counter/index.js";import"../../../../AnchorsList/AnchorsList.js";import"../../../../Select/index.js";import"../../../../CustomSelect/index.js";import"../../../../Tabs/Tabs.js";import"../../../../Tabs/Tab.js";import"../../../../ResizableTable/ResizableTable.js";import"../../../BHASchematic.js";import"../../../BHATable/index.js";import p from"../../../BHAComponentIcon.js";import"../../../BHAComponentDetail/index.js";import"../../../BHATileIcon.js";import"../../../BHATile/BHATile.js";import"../../../BHAList/BHAList.js";import"../../BHAComponentsTable.js";import"../../../../Casing/CasingTable/index.js";import"../../../../Casing/CasingComponentIcon.js";import"../../../../Casing/CasingTileIcon.js";import"../../../../Casing/CasingTableV2/CasingTableV2.js";import"../../../../Casing/CasingTile/CasingTile.js";import"../../../../DisabledSettingsMessage/DisabledSettingsMessage.js";import"../../../../WellSummary/WellSummaryItemLabel.js";import"../../../../WellSummary/WellSummaryItemTitle.js";import"../../../../WellSummary/WellSummaryItemValue.js";import"../../../../WellSummary/ActivitySummaryChart.js";import"../../../../WellSummary/FracWirelineTimeChart.js";import"@babel/runtime/helpers/asyncToGenerator";import"@babel/runtime/regenerator";import"../../../../../clients/jsonApi/index.js";import"../../../../../constants/goals.js";import"../../../../../constants/segment.js";import"../../../../../constants/alerts.js";import"../../../../../constants/apps.js";import{COMPONENT_MATERIALS as a}from"../../../../../constants/drillstring.js";import"../../../../../constants/completion.js";import"../../../../../constants/notifications.js";import"../../../../../constants/feed.js";import"../../../../../constants/bha.js";import"../../../../BICOffsetPickerDialog/index.js";import"../../../../OffsetWellButton/OffsetWellButton.js";import"../../../../OffsetWellPickerV2/OffsetWellPickerDialog.js";import"../../../../OffsetWellPickerV3/index.js";import"../../../../OffsetWellChips/Chip.js";import"../../../../OffsetWellChips/ChipsContainer.js";import"../../../../OffsetWellPickerV4/OffsetWellPickerV4.js";import"../../../../Notifications/Notifications.js";import"@babel/runtime/helpers/toConsumableArray";import"uuid";import"../../../../ConfirmationDialog.js";import"../../../../TextLink/index.js";import"../../../../Avatar/index.js";import"../../../../Template/TemplatePopover/index.js";import"../../../../MenuItem/index.js";import"../../../../PadModeSelect/PadModeSelect.js";import"../../../../PinnableFilters/PinnableFilters.js";import"../../../../HeaderLayout/HeaderLayout.js";import"../../../../PadOffsetsPicker/PadOffsetsPicker.js";import"../../../../PadOffsetsPicker/OffsetAssetChip.js";import"../../../../PadOffsetsPicker/OffsetAssetsListExpander.js";import"../../../../PadOffsetsPicker/StagesSelector.js";import"../../../../Table/TableToolbar/TableToolbar.js";import"../../../../Table/TableContainer/TableContainer.js";import"../../../../Table/TableCell/TableCell.js";import"../../../../Tooltip/MuiTooltipDcWrapper.js";import"../../../../PriceInput/PriceInput.js";import"../../../../LabelsCounter/LabelsCounter.js";import"../../../../Stepper/Step.js";import"../../../../Stepper/StepsWrapper.js";import"../../../../Stepper/Stepper.js";import"../../../../Comment/CommentIcon/index.js";import"../../../../FilesLoader/FilesLoader.js";import"../../../../FilesLoader/Icons/FileIcon.js";import"../../../../SearchInput/index.js";import"../../../../FeedItem/FeedItem.js";import"../../../../FeedItem/FeedItemEditProvider/FeedItemEditProvider.js";import"../../../../PostInput/PostInput.js";import"../../../../KeyboardDateTimePicker.js";import"../../../../AddComment/Popover.js";import"../../../../AddComment/Popup.js";import"../../../../StageDesignVActual/ComparisonBar/ComparisonBar.js";import"../../../../StageDesignVActual/ElementsComparison/ElementsComparison.js";import"../../../../StageDesignVActual/ComparisonHeader.js";import"../../../../StageDesignVActual/ComparisonRow.js";import"../../../../EmbeddedApp/DevCenterEmbeddedApp.js";import"../../../../EmbeddedApp/EmbeddedApp.js";import"../../../../HelpCenter/HelpCenterIcon.js";import"../../../../Autocomplete/Autocomplete.js";import"../../../../DocumentViewer/DocumentViewer.js";import"../../../../ColorPickerPalette/ColorPickerPalette.js";import"../../../../Search/Search.js";import"../../../../Search/components/Listbox.js";import"../../../../Search/components/Paper.js";import"../../../../Search/components/RecentSearches.js";import"../../../../Search/components/InputAdornmentLeft.js";import"../../../../Search/components/Groups.js";import{CONTAINER_XS as m,UR_ACTIVATION_LOGIC_TYPES as l,UR_ACTIVATION_LOGIC_KEYS as d}from"../constants.js";import{useStyles as c}from"../sharedStyles.js";import{CancelButton as j}from"../shared/CancelButton.js";import"../shared/ExpandCollapseButton.js";import"../shared/FormatedNumber.js";import{InputText as C}from"../shared/InputText.js";import"../shared/MoreButton.js";import{SaveButton as u}from"../shared/SaveButton.js";import{SelectField as h}from"../shared/SelectField.js";import"../shared/StaticField.js";import{SharedEditorElements as b}from"../shared/SharedEditorElements.js";import"../shared/ConfirmationPopup.js";function g(e){var o=e.component,g=e.error,A=e.onChange,v=e.onCancel,f=e.onSave,D=e.columns,x=c({isMobile:i}),S=i?m/2:m/D,P=function(e){return g&&g[e]};return n(r,{container:!0,spacing:0,className:x.editorContainer,children:[!i&&s(r,{item:!0,className:x.editorComponentSize,children:s(p,{component:o})}),s(r,{item:!0,className:x.eidtorContentContainer,children:n(r,{container:!0,spacing:2,children:[s(b,{component:o,getError:P,onChange:A}),s(C,{type:"name",label:"Name",value:o.name,error:P("name"),xs:S,onChangeField:A}),s(C,{type:"weight",label:"T.Weight",unit:"mass",value:o.weight,error:P("weight"),disabled:!0,xs:S,onChangeField:A}),s(C,{type:"connection_type",label:"Connection Type",value:o.connection_type,error:P("connection_type"),xs:S,onChangeField:A}),s(h,{type:"material",options:a,label:"Material",value:o.material,error:P("material"),xs:S,onChangeField:A}),s(r,{item:!0,xs:m,children:s("span",{className:x.additionalTitle,children:"Under Reamer Configuration"})}),s(C,{type:"ur_opened_od",label:"Max OD (Opened)",unit:"shortLength",value:o.ur_opened_od,error:P("ur_opened_od"),xs:S,onChangeField:A}),s(C,{type:"gauge_length",label:"Gauge Length",unit:"shortLength",value:o.gauge_length,error:P("gauge_length"),xs:S,onChangeField:A}),s(C,{type:"no_of_blades",label:"# of Blades",value:o.no_of_blades,error:P("no_of_blades"),xs:S,onChangeField:A}),s(C,{type:"blade_width",label:"Blade Width",unit:"shortLength",value:o.blade_width,error:P("blade_width"),xs:S,onChangeField:A}),s(C,{type:"ur_to_bit",label:"Reamer to Bit Distance",unit:"length",value:o.ur_to_bit,error:P("ur_to_bit"),xs:S,onChangeField:A}),s(C,{type:"flow_rate",label:"Flow Rate",unit:"volumeFlowRate",value:o.flow_rate,error:P("flow_rate"),xs:S,onChangeField:A}),s(C,{type:"tfa",label:"TFA",value:o.tfa,error:P("tfa"),xs:S,onChangeField:A}),s(h,{type:"activation_logic",options:l,label:"Activation Logic",value:o.activation_logic,error:P("activation_logic"),xs:S,onChangeField:A}),o.activation_logic===d.DEPTH_ACTIVATION&&s(C,{type:"ur_opened_depth",label:"Activation Depth",unit:"length",value:o.ur_opened_depth,error:P("ur_opened_depth"),xs:S,onChangeField:function(e,t){return A(e,+t)}})]})}),!i&&n(r,{item:!0,className:x.eidtorActionGroup,children:[s(j,{handleCancel:v}),s(u,{handleSave:f,disabled:!t(g)})]})]})}g.propTypes={component:o.shape({name:o.string,weight:o.number,connection_type:o.string,material:o.string,ur_opened_od:o.number,gauge_length:o.number,no_of_blades:o.number,blade_width:o.number,ur_to_bit:o.number,flow_rate:o.number,tfa:o.number,activation_logic:o.string,ur_opened_depth:o.number}).isRequired,error:o.shape({}),onChange:o.func.isRequired,onCancel:o.func.isRequired,onSave:o.func.isRequired,columns:o.number.isRequired},g.defaultProps={error:null};var A=e(g);export{A as default};
|
|
1
|
+
import{memo as e}from"react";import{isEmpty as t}from"lodash";import o from"prop-types";import{Grid as r}from"@material-ui/core";import{isMobileDetected as i}from"../../../../../utils/mobileDetect.js";import{jsxs as n,jsx as s}from"react/jsx-runtime";import"../../../../DevCenter/DevCenterAppContainer/components/AppActions/AppActions.css.js";import"../../../../DevCenter/DevCenterAppContainer/components/AppSettingsDialog/AppSettingsDialog.js";import"../../../../DevCenter/DevCenterAppContainer/components/AnnotationsButton/AnnotationsButton.js";import"../../../../DevCenter/DevCenterAppContainer/components/NonPriorityMenus/NonPriorityMenus.js";import"../../../../DevCenter/DevCenterAppContainer/components/FullscreenButton/FullscreenButton.js";import"../../../../DevCenter/DevCenterAppContainer/components/AppInfoMessage/AppInfoMessage.js";import"../../../../DevCenter/DevCenterAppContainer/components/DevCenterAppView/DevCenterAppView.js";import"../../../../DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/DcFullscreenElemsCoordinatorProvider.js";import"../../../../DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/IsInsideDcFullscreenElemProvider.js";import"../../../../DevCenter/DevCenterAppContainer/components/IsInsideDcAppProvider/IsInsideDcAppProvider.js";import"../../../../Modal/CorvaModal.js";import"@babel/runtime/helpers/slicedToArray";import"../../../../IconMenu/index.js";import"../../../../StyledMenuItem/index.js";import"../../../../DevCenter/AppHeader/AppHeader.js";import"../../../../DevCenter/AppSideBar/AppSideBar.js";import"../../../../DevCenter/AppsDataProvider/AppsDataProvider.js";import"../../../../DevCenter/DevCenterAppContainer/DevCenterAppContainer.js";import"../../../../DevCenter/NavigationBar/NavigationBar.js";import"../../../../DevCenter/SideBar/SideBar.js";import"../../../../DevCenter/AppSettingsPopover/AppSettingsPopover.js";import"../../../../DevCenter/AppFilterPanelLayout/AppFilterPanelLayout.js";import"../../../../DevCenter/DevCenterRouterContext/DevCenterRouterContext.js";import"../../../../DevCenter/DevCenterRouterContext/UniversalLink/UniversalLink.js";import"@babel/runtime/helpers/defineProperty";import"@babel/runtime/helpers/objectWithoutProperties";import"react-router";import"../../../../DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedAppPage.js";import"../../../../DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedApp.js";import"../../../../DevCenter/AppContext.js";import"../../../../AssetEditor/index.js";import"../../../../AppVersionsSelect/AppVersionsSelect.js";import"../../../../LoadingIndicator/LoadingIndicator.js";import"../../../../Typography.js";import"../../../../CollapsableSidebar.js";import"../../../../DateTimePicker/index.js";import"../../../../DatePicker/index.js";import"../../../../ErrorBoundary/ErrorBoundary.js";import"../../../../ErrorBoundary/DevCenterAppErrorView/DevCenterAppErrorView.js";import"../../../../Annotations/components/AnnotationsList/index.js";import"../../../../Annotations/components/LastAnnotation/index.js";import"../../../../Annotations/AnnotationsContext.js";import"../../../../SlateFormattedText/SlateFormattedText.js";import"../../../../SlateFormattedText/RenderElements.js";import"@babel/runtime/helpers/typeof";import"slate";import"../../../../ParameterCharts/ParameterCharts.js";import"../../../../ParameterCharts/AddEditTrack.js";import"../../../../ChartActionsList/ChartActionsList.js";import"../../../../CopyToClipboard/CopyToClipboard.js";import"../../../../AssetEditor/AssetEditorAutocomplete.js";import"../../../../AssetEditor/SingleAssetEditor.js";import"../../../../SettingEditors/ColorEditor/index.js";import"../../../../SettingEditors/DropdownEditor/index.js";import"../../../../SettingEditors/RadioEditor/index.js";import"../../../../SwitchControl/index.js";import"../../../../ColorPicker/ColorPicker.js";import"../../../../Chart/components/ChartButton.js";import"../../../../Chart/components/ChartButtons.js";import"../../../../Chart/components/ChartWrapper.js";import"../../../../Chart/components/AxisDropdown.js";import"../../../../Chart/components/buttons/DragToZoomButton.js";import"../../../../Chart/components/buttons/ZoomInButton.js";import"../../../../Chart/components/buttons/ZoomOutButton.js";import"../../../../Chart/components/buttons/PanButton.js";import"../../../../Chart/components/buttons/ResetZoomButton.js";import"../../../../Chart/components/buttons/HideAxesButton.js";import"../../../../ColorPicker/PaletteChromePicker/PaletteChromePicker.js";import"../../../../TruncatedText/index.js";import"../../../../RangeSlider/RangeSlider.js";import"../../../../AdvancedSlider/AdvancedSlider.js";import"../../../../Breadcrumbs/index.js";import"../../../../VirtualizedTable/index.js";import"../../../../EmptyView/EmptyView.js";import"../../../../EmptyView/EmptyAppView/EmptyAppView.js";import"../../../../Button/index.js";import"../../../../ContextMenuItem/index.js";import"../../../../FolderMenuItem/index.js";import"../../../../EditableItem/EditableItem/index.js";import"../../../../EditableItem/EditableItemWithBadge/index.js";import"../../../../Checkbox/index.js";import"../../../../FolderMenuItemWithLinks/index.js";import"../../../../IconButton/index.js";import"../../../../TextField/index.js";import"../../../../Chip/index.js";import"../../../../Counter/index.js";import"../../../../AnchorsList/AnchorsList.js";import"../../../../Select/index.js";import"../../../../CustomSelect/index.js";import"../../../../Tabs/Tabs.js";import"../../../../Tabs/Tab.js";import"../../../../ResizableTable/ResizableTable.js";import"../../../BHASchematic.js";import"../../../BHATable/index.js";import p from"../../../BHAComponentIcon.js";import"../../../BHAComponentDetail/index.js";import"../../../BHATileIcon.js";import"../../../BHATile/BHATile.js";import"../../../BHAList/BHAList.js";import"../../BHAComponentsTable.js";import"../../../../Casing/CasingTable/index.js";import"../../../../Casing/CasingComponentIcon.js";import"../../../../Casing/CasingTileIcon.js";import"../../../../Casing/CasingTableV2/CasingTableV2.js";import"../../../../Casing/CasingTile/CasingTile.js";import"../../../../DisabledSettingsMessage/DisabledSettingsMessage.js";import"../../../../WellSummary/WellSummaryItemLabel.js";import"../../../../WellSummary/WellSummaryItemTitle.js";import"../../../../WellSummary/WellSummaryItemValue.js";import"../../../../WellSummary/ActivitySummaryChart.js";import"../../../../WellSummary/FracWirelineTimeChart.js";import"@babel/runtime/helpers/asyncToGenerator";import"@babel/runtime/regenerator";import"../../../../../clients/jsonApi/index.js";import"../../../../../constants/goals.js";import"../../../../../constants/segment.js";import"../../../../../constants/alerts.js";import"../../../../../constants/apps.js";import{COMPONENT_MATERIALS as a}from"../../../../../constants/drillstring.js";import"../../../../../constants/completion.js";import"../../../../../constants/notifications.js";import"../../../../../constants/feed.js";import"../../../../../constants/bha.js";import"../../../../BICOffsetPickerDialog/index.js";import"../../../../OffsetWellButton/OffsetWellButton.js";import"../../../../OffsetWellPickerV2/OffsetWellPickerDialog.js";import"../../../../OffsetWellPickerV3/index.js";import"../../../../OffsetWellChips/Chip.js";import"../../../../OffsetWellChips/ChipsContainer.js";import"../../../../OffsetWellPickerV4/OffsetWellPickerV4.js";import"../../../../OffsetWellMap/OffsetWellMap.js";import"../../../../Notifications/Notifications.js";import"@babel/runtime/helpers/toConsumableArray";import"uuid";import"../../../../Toaster/Toaster.js";import"../../../../ConfirmationDialog.js";import"../../../../TextLink/index.js";import"../../../../Avatar/index.js";import"../../../../Template/TemplatePopover/index.js";import"../../../../MenuItem/index.js";import"../../../../PadModeSelect/PadModeSelect.js";import"../../../../PinnableFilters/PinnableFilters.js";import"../../../../HeaderLayout/HeaderLayout.js";import"../../../../PadOffsetsPicker/PadOffsetsPicker.js";import"../../../../PadOffsetsPicker/OffsetAssetChip.js";import"../../../../PadOffsetsPicker/OffsetAssetsListExpander.js";import"../../../../PadOffsetsPicker/StagesSelector.js";import"../../../../Table/TableToolbar/TableToolbar.js";import"../../../../Table/TableContainer/TableContainer.js";import"../../../../Table/TableCell/TableCell.js";import"../../../../Tooltip/MuiTooltipDcWrapper.js";import"../../../../PriceInput/PriceInput.js";import"../../../../LabelsCounter/LabelsCounter.js";import"../../../../Stepper/Step.js";import"../../../../Stepper/StepsWrapper.js";import"../../../../Stepper/Stepper.js";import"../../../../Comment/CommentIcon/index.js";import"../../../../FilesLoader/FilesLoader.js";import"../../../../FilesLoader/Icons/FileIcon.js";import"../../../../SearchInput/index.js";import"../../../../FeedItem/FeedItem.js";import"../../../../FeedItem/FeedItemEditProvider/FeedItemEditProvider.js";import"../../../../PostInput/PostInput.js";import"../../../../KeyboardDateTimePicker.js";import"../../../../AddComment/Popover.js";import"../../../../AddComment/Popup.js";import"../../../../StageDesignVActual/ComparisonBar/ComparisonBar.js";import"../../../../StageDesignVActual/ElementsComparison/ElementsComparison.js";import"../../../../StageDesignVActual/ComparisonHeader.js";import"../../../../StageDesignVActual/ComparisonRow.js";import"../../../../EmbeddedApp/DevCenterEmbeddedApp.js";import"../../../../EmbeddedApp/EmbeddedApp.js";import"../../../../HelpCenter/HelpCenterIcon.js";import"../../../../Autocomplete/Autocomplete.js";import"../../../../DocumentViewer/DocumentViewer.js";import"../../../../ColorPickerPalette/ColorPickerPalette.js";import"../../../../Search/Search.js";import"../../../../Search/components/Listbox.js";import"../../../../Search/components/Paper.js";import"../../../../Search/components/RecentSearches.js";import"../../../../Search/components/InputAdornmentLeft.js";import"../../../../Search/components/Groups.js";import{CONTAINER_XS as m,UR_ACTIVATION_LOGIC_TYPES as l,UR_ACTIVATION_LOGIC_KEYS as d}from"../constants.js";import{useStyles as c}from"../sharedStyles.js";import{CancelButton as j}from"../shared/CancelButton.js";import"../shared/ExpandCollapseButton.js";import"../shared/FormatedNumber.js";import{InputText as C}from"../shared/InputText.js";import"../shared/MoreButton.js";import{SaveButton as u}from"../shared/SaveButton.js";import{SelectField as h}from"../shared/SelectField.js";import"../shared/StaticField.js";import{SharedEditorElements as b}from"../shared/SharedEditorElements.js";import"../shared/ConfirmationPopup.js";function g(e){var o=e.component,g=e.error,A=e.onChange,v=e.onCancel,f=e.onSave,D=e.columns,x=c({isMobile:i}),S=i?m/2:m/D,P=function(e){return g&&g[e]};return n(r,{container:!0,spacing:0,className:x.editorContainer,children:[!i&&s(r,{item:!0,className:x.editorComponentSize,children:s(p,{component:o})}),s(r,{item:!0,className:x.eidtorContentContainer,children:n(r,{container:!0,spacing:2,children:[s(b,{component:o,getError:P,onChange:A}),s(C,{type:"name",label:"Name",value:o.name,error:P("name"),xs:S,onChangeField:A}),s(C,{type:"weight",label:"T.Weight",unit:"mass",value:o.weight,error:P("weight"),disabled:!0,xs:S,onChangeField:A}),s(C,{type:"connection_type",label:"Connection Type",value:o.connection_type,error:P("connection_type"),xs:S,onChangeField:A}),s(h,{type:"material",options:a,label:"Material",value:o.material,error:P("material"),xs:S,onChangeField:A}),s(r,{item:!0,xs:m,children:s("span",{className:x.additionalTitle,children:"Under Reamer Configuration"})}),s(C,{type:"ur_opened_od",label:"Max OD (Opened)",unit:"shortLength",value:o.ur_opened_od,error:P("ur_opened_od"),xs:S,onChangeField:A}),s(C,{type:"gauge_length",label:"Gauge Length",unit:"shortLength",value:o.gauge_length,error:P("gauge_length"),xs:S,onChangeField:A}),s(C,{type:"no_of_blades",label:"# of Blades",value:o.no_of_blades,error:P("no_of_blades"),xs:S,onChangeField:A}),s(C,{type:"blade_width",label:"Blade Width",unit:"shortLength",value:o.blade_width,error:P("blade_width"),xs:S,onChangeField:A}),s(C,{type:"ur_to_bit",label:"Reamer to Bit Distance",unit:"length",value:o.ur_to_bit,error:P("ur_to_bit"),xs:S,onChangeField:A}),s(C,{type:"flow_rate",label:"Flow Rate",unit:"volumeFlowRate",value:o.flow_rate,error:P("flow_rate"),xs:S,onChangeField:A}),s(C,{type:"tfa",label:"TFA",value:o.tfa,error:P("tfa"),xs:S,onChangeField:A}),s(h,{type:"activation_logic",options:l,label:"Activation Logic",value:o.activation_logic,error:P("activation_logic"),xs:S,onChangeField:A}),o.activation_logic===d.DEPTH_ACTIVATION&&s(C,{type:"ur_opened_depth",label:"Activation Depth",unit:"length",value:o.ur_opened_depth,error:P("ur_opened_depth"),xs:S,onChangeField:function(e,t){return A(e,+t)}})]})}),!i&&n(r,{item:!0,className:x.eidtorActionGroup,children:[s(j,{handleCancel:v}),s(u,{handleSave:f,disabled:!t(g)})]})]})}g.propTypes={component:o.shape({name:o.string,weight:o.number,connection_type:o.string,material:o.string,ur_opened_od:o.number,gauge_length:o.number,no_of_blades:o.number,blade_width:o.number,ur_to_bit:o.number,flow_rate:o.number,tfa:o.number,activation_logic:o.string,ur_opened_depth:o.number}).isRequired,error:o.shape({}),onChange:o.func.isRequired,onCancel:o.func.isRequired,onSave:o.func.isRequired,columns:o.number.isRequired},g.defaultProps={error:null};var A=e(g);export{A as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import e from"prop-types";import{withStyles as t,Button as o,makeStyles as r}from"@material-ui/core";import{isMobileDetected as i}from"../../../../../utils/mobileDetect.js";import n from"../../../../Modal/Modal.js";import"../../../../IconMenu/index.js";import"../../../../StyledMenuItem/index.js";import"../../../../DevCenter/AppHeader/AppHeader.js";import"../../../../DevCenter/AppSideBar/AppSideBar.js";import"../../../../DevCenter/AppsDataProvider/AppsDataProvider.js";import"../../../../DevCenter/DevCenterAppContainer/DevCenterAppContainer.js";import"../../../../DevCenter/NavigationBar/NavigationBar.js";import"../../../../DevCenter/SideBar/SideBar.js";import"../../../../DevCenter/AppSettingsPopover/AppSettingsPopover.js";import"../../../../DevCenter/AppFilterPanelLayout/AppFilterPanelLayout.js";import"../../../../DevCenter/DevCenterRouterContext/DevCenterRouterContext.js";import"../../../../DevCenter/DevCenterRouterContext/UniversalLink/UniversalLink.js";import"react";import"@babel/runtime/helpers/defineProperty";import"@babel/runtime/helpers/objectWithoutProperties";import"react-router";import{jsx as s,jsxs as p,Fragment as m}from"react/jsx-runtime";import"../../../../DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedAppPage.js";import"../../../../DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedApp.js";import"../../../../DevCenter/AppContext.js";import"../../../../AssetEditor/index.js";import"../../../../AppVersionsSelect/AppVersionsSelect.js";import"../../../../LoadingIndicator/LoadingIndicator.js";import{Regular16 as a}from"../../../../Typography.js";import"../../../../CollapsableSidebar.js";import"../../../../DateTimePicker/index.js";import"../../../../DatePicker/index.js";import"../../../../ErrorBoundary/ErrorBoundary.js";import"../../../../ErrorBoundary/DevCenterAppErrorView/DevCenterAppErrorView.js";import"../../../../Annotations/components/AnnotationsList/index.js";import"../../../../Annotations/components/LastAnnotation/index.js";import"../../../../Annotations/AnnotationsContext.js";import"../../../../SlateFormattedText/SlateFormattedText.js";import"../../../../SlateFormattedText/RenderElements.js";import"@babel/runtime/helpers/typeof";import"lodash";import"slate";import"../../../../ParameterCharts/ParameterCharts.js";import"../../../../ParameterCharts/AddEditTrack.js";import"../../../../ChartActionsList/ChartActionsList.js";import"../../../../CopyToClipboard/CopyToClipboard.js";import"../../../../AssetEditor/AssetEditorAutocomplete.js";import"../../../../AssetEditor/SingleAssetEditor.js";import"../../../../SettingEditors/ColorEditor/index.js";import"../../../../SettingEditors/DropdownEditor/index.js";import"../../../../SettingEditors/RadioEditor/index.js";import"../../../../SwitchControl/index.js";import"../../../../ColorPicker/ColorPicker.js";import"../../../../Chart/components/ChartButton.js";import"../../../../Chart/components/ChartButtons.js";import"../../../../Chart/components/ChartWrapper.js";import"../../../../Chart/components/AxisDropdown.js";import"../../../../Chart/components/buttons/DragToZoomButton.js";import"../../../../Chart/components/buttons/ZoomInButton.js";import"../../../../Chart/components/buttons/ZoomOutButton.js";import"../../../../Chart/components/buttons/PanButton.js";import"../../../../Chart/components/buttons/ResetZoomButton.js";import"../../../../Chart/components/buttons/HideAxesButton.js";import"../../../../ColorPicker/PaletteChromePicker/PaletteChromePicker.js";import"../../../../TruncatedText/index.js";import"../../../../RangeSlider/RangeSlider.js";import"../../../../AdvancedSlider/AdvancedSlider.js";import"../../../../DevCenter/DevCenterAppContainer/components/AppSettingsDialog/AppSettingsDialog.js";import"../../../../Breadcrumbs/index.js";import"../../../../VirtualizedTable/index.js";import"../../../../EmptyView/EmptyView.js";import"../../../../EmptyView/EmptyAppView/EmptyAppView.js";import"../../../../Button/index.js";import"../../../../ContextMenuItem/index.js";import"../../../../FolderMenuItem/index.js";import"../../../../EditableItem/EditableItem/index.js";import"../../../../EditableItem/EditableItemWithBadge/index.js";import"../../../../Checkbox/index.js";import"../../../../FolderMenuItemWithLinks/index.js";import"../../../../IconButton/index.js";import"../../../../TextField/index.js";import"../../../../Chip/index.js";import"../../../../Counter/index.js";import"../../../../AnchorsList/AnchorsList.js";import"../../../../Select/index.js";import"../../../../CustomSelect/index.js";import"../../../../Tabs/Tabs.js";import"../../../../Tabs/Tab.js";import"../../../../ResizableTable/ResizableTable.js";import"../../../BHASchematic.js";import"../../../BHATable/index.js";import"../../../BHAComponentIcon.js";import"../../../BHAComponentDetail/index.js";import"../../../BHATileIcon.js";import"../../../BHATile/BHATile.js";import"../../../BHAList/BHAList.js";import"../../BHAComponentsTable.js";import"../../../../Casing/CasingTable/index.js";import"../../../../Casing/CasingComponentIcon.js";import"../../../../Casing/CasingTileIcon.js";import"../../../../Casing/CasingTableV2/CasingTableV2.js";import"../../../../Casing/CasingTile/CasingTile.js";import"../../../../DisabledSettingsMessage/DisabledSettingsMessage.js";import"../../../../WellSummary/WellSummaryItemLabel.js";import"../../../../WellSummary/WellSummaryItemTitle.js";import"../../../../WellSummary/WellSummaryItemValue.js";import"../../../../WellSummary/ActivitySummaryChart.js";import"../../../../WellSummary/FracWirelineTimeChart.js";import"@babel/runtime/helpers/slicedToArray";import"@babel/runtime/helpers/asyncToGenerator";import"@babel/runtime/regenerator";import"../../../../../clients/jsonApi/index.js";import"../../../../../constants/goals.js";import"../../../../../constants/segment.js";import"../../../../../constants/alerts.js";import"../../../../../constants/apps.js";import"../../../../../constants/drillstring.js";import"../../../../../constants/completion.js";import"../../../../../constants/notifications.js";import"../../../../../constants/feed.js";import"../../../../../constants/bha.js";import"../../../../BICOffsetPickerDialog/index.js";import"../../../../OffsetWellButton/OffsetWellButton.js";import"../../../../OffsetWellPickerV2/OffsetWellPickerDialog.js";import"../../../../OffsetWellPickerV3/index.js";import"../../../../OffsetWellChips/Chip.js";import"../../../../OffsetWellChips/ChipsContainer.js";import"../../../../OffsetWellPickerV4/OffsetWellPickerV4.js";import"../../../../Notifications/Notifications.js";import"@babel/runtime/helpers/toConsumableArray";import"uuid";import"../../../../ConfirmationDialog.js";import"../../../../TextLink/index.js";import"../../../../Avatar/index.js";import"../../../../Template/TemplatePopover/index.js";import"../../../../MenuItem/index.js";import"../../../../PadModeSelect/PadModeSelect.js";import"../../../../PinnableFilters/PinnableFilters.js";import"../../../../HeaderLayout/HeaderLayout.js";import"../../../../PadOffsetsPicker/PadOffsetsPicker.js";import"../../../../PadOffsetsPicker/OffsetAssetChip.js";import"../../../../PadOffsetsPicker/OffsetAssetsListExpander.js";import"../../../../PadOffsetsPicker/StagesSelector.js";import"../../../../Table/TableToolbar/TableToolbar.js";import"../../../../Table/TableContainer/TableContainer.js";import"../../../../Table/TableCell/TableCell.js";import"../../../../DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/DcFullscreenElemsCoordinatorProvider.js";import"../../../../DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/IsInsideDcFullscreenElemProvider.js";import"../../../../DevCenter/DevCenterAppContainer/components/IsInsideDcAppProvider/IsInsideDcAppProvider.js";import"../../../../Tooltip/MuiTooltipDcWrapper.js";import"../../../../PriceInput/PriceInput.js";import"../../../../LabelsCounter/LabelsCounter.js";import"../../../../Stepper/Step.js";import"../../../../Stepper/StepsWrapper.js";import"../../../../Stepper/Stepper.js";import"../../../../Comment/CommentIcon/index.js";import"../../../../FilesLoader/FilesLoader.js";import"../../../../FilesLoader/Icons/FileIcon.js";import"../../../../SearchInput/index.js";import"../../../../FeedItem/FeedItem.js";import"../../../../FeedItem/FeedItemEditProvider/FeedItemEditProvider.js";import"../../../../PostInput/PostInput.js";import"../../../../KeyboardDateTimePicker.js";import"../../../../AddComment/Popover.js";import"../../../../AddComment/Popup.js";import"../../../../StageDesignVActual/ComparisonBar/ComparisonBar.js";import"../../../../StageDesignVActual/ElementsComparison/ElementsComparison.js";import"../../../../StageDesignVActual/ComparisonHeader.js";import"../../../../StageDesignVActual/ComparisonRow.js";import"../../../../EmbeddedApp/DevCenterEmbeddedApp.js";import"../../../../EmbeddedApp/EmbeddedApp.js";import"../../../../HelpCenter/HelpCenterIcon.js";import"../../../../Autocomplete/Autocomplete.js";import"../../../../DocumentViewer/DocumentViewer.js";import"../../../../DevCenter/DevCenterAppContainer/components/AppActions/AppActions.css.js";import"../../../../DevCenter/DevCenterAppContainer/components/AnnotationsButton/AnnotationsButton.js";import"../../../../DevCenter/DevCenterAppContainer/components/NonPriorityMenus/NonPriorityMenus.js";import"../../../../DevCenter/DevCenterAppContainer/components/FullscreenButton/FullscreenButton.js";import"../../../../DevCenter/DevCenterAppContainer/components/AppInfoMessage/AppInfoMessage.js";import"../../../../DevCenter/DevCenterAppContainer/components/DevCenterAppView/DevCenterAppView.js";import"../../../../ColorPickerPalette/ColorPickerPalette.js";import"../../../../Search/Search.js";import"../../../../Search/components/Listbox.js";import"../../../../Search/components/Paper.js";import"../../../../Search/components/RecentSearches.js";import"../../../../Search/components/InputAdornmentLeft.js";import"../../../../Search/components/Groups.js";var l=t({root:{height:"36px"}})(o),d=t({root:{margin:"0 16px 0 auto"}})(l),j=t({root:{color:"#bdbdbd"}})(a),c=r((function(e){return{paper:{minWidth:function(e){return e.isMobile?0:"416px"},minHeight:function(e){return e.isMobile&&"240px !important"},maxWidth:function(e){return e.isMobile&&"calc(100% - 24px)"}},content:{width:function(e){return e.isMobile?"auto":"300px"},color:e.palette.primary.text6}}})),C=function(e){var t=e.title,o=e.text,r=e.okText,a=e.handleClose,C=e.handleOk,u=c({isMobile:i});return s(n,{open:!0,onClose:a,title:t,isMobile:!1,actions:p(m,{children:[s(d,{color:"primary",onClick:a,children:"Cancel"}),s(l,{variant:"contained",color:"primary",onClick:C,children:r||"OK"})]}),contentContainerClassName:u.paper,children:s("div",{className:u.content,children:s(j,{children:o})})})};C.propTypes={title:e.string.isRequired,okText:e.string.isRequired,text:e.string.isRequired,handleClose:e.func.isRequired,handleOk:e.func.isRequired};export{C as ConfirmationPopup,c as useStyles};
|
|
1
|
+
import e from"prop-types";import{withStyles as t,Button as o,makeStyles as r}from"@material-ui/core";import{isMobileDetected as i}from"../../../../../utils/mobileDetect.js";import n from"../../../../Modal/Modal.js";import"../../../../IconMenu/index.js";import"../../../../StyledMenuItem/index.js";import"../../../../DevCenter/AppHeader/AppHeader.js";import"../../../../DevCenter/AppSideBar/AppSideBar.js";import"../../../../DevCenter/AppsDataProvider/AppsDataProvider.js";import"../../../../DevCenter/DevCenterAppContainer/DevCenterAppContainer.js";import"../../../../DevCenter/NavigationBar/NavigationBar.js";import"../../../../DevCenter/SideBar/SideBar.js";import"../../../../DevCenter/AppSettingsPopover/AppSettingsPopover.js";import"../../../../DevCenter/AppFilterPanelLayout/AppFilterPanelLayout.js";import"../../../../DevCenter/DevCenterRouterContext/DevCenterRouterContext.js";import"../../../../DevCenter/DevCenterRouterContext/UniversalLink/UniversalLink.js";import"react";import"@babel/runtime/helpers/defineProperty";import"@babel/runtime/helpers/objectWithoutProperties";import"react-router";import{jsx as s,jsxs as p,Fragment as m}from"react/jsx-runtime";import"../../../../DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedAppPage.js";import"../../../../DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedApp.js";import"../../../../DevCenter/AppContext.js";import"../../../../AssetEditor/index.js";import"../../../../AppVersionsSelect/AppVersionsSelect.js";import"../../../../LoadingIndicator/LoadingIndicator.js";import{Regular16 as a}from"../../../../Typography.js";import"../../../../CollapsableSidebar.js";import"../../../../DateTimePicker/index.js";import"../../../../DatePicker/index.js";import"../../../../ErrorBoundary/ErrorBoundary.js";import"../../../../ErrorBoundary/DevCenterAppErrorView/DevCenterAppErrorView.js";import"../../../../Annotations/components/AnnotationsList/index.js";import"../../../../Annotations/components/LastAnnotation/index.js";import"../../../../Annotations/AnnotationsContext.js";import"../../../../SlateFormattedText/SlateFormattedText.js";import"../../../../SlateFormattedText/RenderElements.js";import"@babel/runtime/helpers/typeof";import"lodash";import"slate";import"../../../../ParameterCharts/ParameterCharts.js";import"../../../../ParameterCharts/AddEditTrack.js";import"../../../../ChartActionsList/ChartActionsList.js";import"../../../../CopyToClipboard/CopyToClipboard.js";import"../../../../AssetEditor/AssetEditorAutocomplete.js";import"../../../../AssetEditor/SingleAssetEditor.js";import"../../../../SettingEditors/ColorEditor/index.js";import"../../../../SettingEditors/DropdownEditor/index.js";import"../../../../SettingEditors/RadioEditor/index.js";import"../../../../SwitchControl/index.js";import"../../../../ColorPicker/ColorPicker.js";import"../../../../Chart/components/ChartButton.js";import"../../../../Chart/components/ChartButtons.js";import"../../../../Chart/components/ChartWrapper.js";import"../../../../Chart/components/AxisDropdown.js";import"../../../../Chart/components/buttons/DragToZoomButton.js";import"../../../../Chart/components/buttons/ZoomInButton.js";import"../../../../Chart/components/buttons/ZoomOutButton.js";import"../../../../Chart/components/buttons/PanButton.js";import"../../../../Chart/components/buttons/ResetZoomButton.js";import"../../../../Chart/components/buttons/HideAxesButton.js";import"../../../../ColorPicker/PaletteChromePicker/PaletteChromePicker.js";import"../../../../TruncatedText/index.js";import"../../../../RangeSlider/RangeSlider.js";import"../../../../AdvancedSlider/AdvancedSlider.js";import"../../../../DevCenter/DevCenterAppContainer/components/AppSettingsDialog/AppSettingsDialog.js";import"../../../../Breadcrumbs/index.js";import"../../../../VirtualizedTable/index.js";import"../../../../EmptyView/EmptyView.js";import"../../../../EmptyView/EmptyAppView/EmptyAppView.js";import"../../../../Button/index.js";import"../../../../ContextMenuItem/index.js";import"../../../../FolderMenuItem/index.js";import"../../../../EditableItem/EditableItem/index.js";import"../../../../EditableItem/EditableItemWithBadge/index.js";import"../../../../Checkbox/index.js";import"../../../../FolderMenuItemWithLinks/index.js";import"../../../../IconButton/index.js";import"../../../../TextField/index.js";import"../../../../Chip/index.js";import"../../../../Counter/index.js";import"../../../../AnchorsList/AnchorsList.js";import"../../../../Select/index.js";import"../../../../CustomSelect/index.js";import"../../../../Tabs/Tabs.js";import"../../../../Tabs/Tab.js";import"../../../../ResizableTable/ResizableTable.js";import"../../../BHASchematic.js";import"../../../BHATable/index.js";import"../../../BHAComponentIcon.js";import"../../../BHAComponentDetail/index.js";import"../../../BHATileIcon.js";import"../../../BHATile/BHATile.js";import"../../../BHAList/BHAList.js";import"../../BHAComponentsTable.js";import"../../../../Casing/CasingTable/index.js";import"../../../../Casing/CasingComponentIcon.js";import"../../../../Casing/CasingTileIcon.js";import"../../../../Casing/CasingTableV2/CasingTableV2.js";import"../../../../Casing/CasingTile/CasingTile.js";import"../../../../DisabledSettingsMessage/DisabledSettingsMessage.js";import"../../../../WellSummary/WellSummaryItemLabel.js";import"../../../../WellSummary/WellSummaryItemTitle.js";import"../../../../WellSummary/WellSummaryItemValue.js";import"../../../../WellSummary/ActivitySummaryChart.js";import"../../../../WellSummary/FracWirelineTimeChart.js";import"@babel/runtime/helpers/slicedToArray";import"@babel/runtime/helpers/asyncToGenerator";import"@babel/runtime/regenerator";import"../../../../../clients/jsonApi/index.js";import"../../../../../constants/goals.js";import"../../../../../constants/segment.js";import"../../../../../constants/alerts.js";import"../../../../../constants/apps.js";import"../../../../../constants/drillstring.js";import"../../../../../constants/completion.js";import"../../../../../constants/notifications.js";import"../../../../../constants/feed.js";import"../../../../../constants/bha.js";import"../../../../BICOffsetPickerDialog/index.js";import"../../../../OffsetWellButton/OffsetWellButton.js";import"../../../../OffsetWellPickerV2/OffsetWellPickerDialog.js";import"../../../../OffsetWellPickerV3/index.js";import"../../../../OffsetWellChips/Chip.js";import"../../../../OffsetWellChips/ChipsContainer.js";import"../../../../OffsetWellPickerV4/OffsetWellPickerV4.js";import"../../../../OffsetWellMap/OffsetWellMap.js";import"../../../../Notifications/Notifications.js";import"@babel/runtime/helpers/toConsumableArray";import"uuid";import"../../../../Toaster/Toaster.js";import"../../../../ConfirmationDialog.js";import"../../../../TextLink/index.js";import"../../../../Avatar/index.js";import"../../../../Template/TemplatePopover/index.js";import"../../../../MenuItem/index.js";import"../../../../PadModeSelect/PadModeSelect.js";import"../../../../PinnableFilters/PinnableFilters.js";import"../../../../HeaderLayout/HeaderLayout.js";import"../../../../PadOffsetsPicker/PadOffsetsPicker.js";import"../../../../PadOffsetsPicker/OffsetAssetChip.js";import"../../../../PadOffsetsPicker/OffsetAssetsListExpander.js";import"../../../../PadOffsetsPicker/StagesSelector.js";import"../../../../Table/TableToolbar/TableToolbar.js";import"../../../../Table/TableContainer/TableContainer.js";import"../../../../Table/TableCell/TableCell.js";import"../../../../DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/DcFullscreenElemsCoordinatorProvider.js";import"../../../../DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/IsInsideDcFullscreenElemProvider.js";import"../../../../DevCenter/DevCenterAppContainer/components/IsInsideDcAppProvider/IsInsideDcAppProvider.js";import"../../../../Tooltip/MuiTooltipDcWrapper.js";import"../../../../PriceInput/PriceInput.js";import"../../../../LabelsCounter/LabelsCounter.js";import"../../../../Stepper/Step.js";import"../../../../Stepper/StepsWrapper.js";import"../../../../Stepper/Stepper.js";import"../../../../Comment/CommentIcon/index.js";import"../../../../FilesLoader/FilesLoader.js";import"../../../../FilesLoader/Icons/FileIcon.js";import"../../../../SearchInput/index.js";import"../../../../FeedItem/FeedItem.js";import"../../../../FeedItem/FeedItemEditProvider/FeedItemEditProvider.js";import"../../../../PostInput/PostInput.js";import"../../../../KeyboardDateTimePicker.js";import"../../../../AddComment/Popover.js";import"../../../../AddComment/Popup.js";import"../../../../StageDesignVActual/ComparisonBar/ComparisonBar.js";import"../../../../StageDesignVActual/ElementsComparison/ElementsComparison.js";import"../../../../StageDesignVActual/ComparisonHeader.js";import"../../../../StageDesignVActual/ComparisonRow.js";import"../../../../EmbeddedApp/DevCenterEmbeddedApp.js";import"../../../../EmbeddedApp/EmbeddedApp.js";import"../../../../HelpCenter/HelpCenterIcon.js";import"../../../../Autocomplete/Autocomplete.js";import"../../../../DocumentViewer/DocumentViewer.js";import"../../../../DevCenter/DevCenterAppContainer/components/AppActions/AppActions.css.js";import"../../../../DevCenter/DevCenterAppContainer/components/AnnotationsButton/AnnotationsButton.js";import"../../../../DevCenter/DevCenterAppContainer/components/NonPriorityMenus/NonPriorityMenus.js";import"../../../../DevCenter/DevCenterAppContainer/components/FullscreenButton/FullscreenButton.js";import"../../../../DevCenter/DevCenterAppContainer/components/AppInfoMessage/AppInfoMessage.js";import"../../../../DevCenter/DevCenterAppContainer/components/DevCenterAppView/DevCenterAppView.js";import"../../../../ColorPickerPalette/ColorPickerPalette.js";import"../../../../Search/Search.js";import"../../../../Search/components/Listbox.js";import"../../../../Search/components/Paper.js";import"../../../../Search/components/RecentSearches.js";import"../../../../Search/components/InputAdornmentLeft.js";import"../../../../Search/components/Groups.js";var l=t({root:{height:"36px"}})(o),d=t({root:{margin:"0 16px 0 auto"}})(l),j=t({root:{color:"#bdbdbd"}})(a),c=r((function(e){return{paper:{minWidth:function(e){return e.isMobile?0:"416px"},minHeight:function(e){return e.isMobile&&"240px !important"},maxWidth:function(e){return e.isMobile&&"calc(100% - 24px)"}},content:{width:function(e){return e.isMobile?"auto":"300px"},color:e.palette.primary.text6}}})),C=function(e){var t=e.title,o=e.text,r=e.okText,a=e.handleClose,C=e.handleOk,u=c({isMobile:i});return s(n,{open:!0,onClose:a,title:t,isMobile:!1,actions:p(m,{children:[s(d,{color:"primary",onClick:a,children:"Cancel"}),s(l,{variant:"contained",color:"primary",onClick:C,children:r||"OK"})]}),contentContainerClassName:u.paper,children:s("div",{className:u.content,children:s(j,{children:o})})})};C.propTypes={title:e.string.isRequired,okText:e.string.isRequired,text:e.string.isRequired,handleClose:e.func.isRequired,handleOk:e.func.isRequired};export{C as ConfirmationPopup,c as useStyles};
|
|
@@ -43,7 +43,7 @@ declare const _default: import("react").ComponentType<Pick<Pick<Pick<{
|
|
|
43
43
|
menuProps: PropTypes.Requireable<PropTypes.InferProps<{}>>;
|
|
44
44
|
iconButtonProps: PropTypes.Requireable<PropTypes.InferProps<{}>>;
|
|
45
45
|
paperClassName: PropTypes.Requireable<string>;
|
|
46
|
-
}>, "className" | "classes" | "color" | "children" | "disabled" | "transformOrigin" | "data-testid" | "disableRipple" | "anchorOrigin" | "marginThreshold" | "tooltipProps" | "
|
|
46
|
+
}>, "className" | "classes" | "color" | "children" | "disabled" | "transformOrigin" | "data-testid" | "disableRipple" | "anchorOrigin" | "marginThreshold" | "tooltipProps" | "iconButtonStyle" | "IconElement" | "IconButtonComponent" | "iconButtonProps" | "menuProps" | "paperClassName">, never> & {
|
|
47
47
|
className?: string;
|
|
48
48
|
classes?: PropTypes.InferProps<{
|
|
49
49
|
iconButton: PropTypes.Requireable<string>;
|
|
@@ -64,13 +64,13 @@ declare const _default: import("react").ComponentType<Pick<Pick<Pick<{
|
|
|
64
64
|
}>;
|
|
65
65
|
marginThreshold?: number;
|
|
66
66
|
tooltipProps?: PropTypes.InferProps<{}>;
|
|
67
|
-
paperClassName?: string;
|
|
68
67
|
iconButtonStyle?: PropTypes.InferProps<{}>;
|
|
69
68
|
IconElement?: PropTypes.ReactElementLike;
|
|
70
69
|
IconButtonComponent?: any;
|
|
71
70
|
iconButtonProps?: PropTypes.InferProps<{}>;
|
|
72
71
|
menuProps?: PropTypes.InferProps<{}>;
|
|
73
|
-
|
|
72
|
+
paperClassName?: string;
|
|
73
|
+
} & {}, "className" | "color" | "children" | "disabled" | "transformOrigin" | "data-testid" | "disableRipple" | "anchorOrigin" | "marginThreshold" | "tooltipProps" | "iconButtonStyle" | "IconElement" | "IconButtonComponent" | "iconButtonProps" | "menuProps" | "paperClassName"> & import("@material-ui/core").StyledComponentProps<"iconButton" | "paperPosition">>;
|
|
74
74
|
export default _default;
|
|
75
75
|
import PropTypes from "prop-types";
|
|
76
76
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,62 +1,42 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
interface CorvaModalProps extends Omit<MUIModalProps, 'children' | 'onClose' | 'open' | 'title'>, PropTypes.InferProps<typeof corvaModalPropTypes> {
|
|
4
|
-
}
|
|
5
|
-
export declare function CorvaModal({ title, children, actions, open, isCloseIconHidden, onClose, isNative, isMobile, stickyFooter, contentContainerClassName, contentClassName, stickyFooterClassName, size, type, rootClassName, actionsClassName, ...otherProps }: CorvaModalProps): JSX.Element;
|
|
1
|
+
import { ModalProps } from "~/components/Modal/types";
|
|
2
|
+
export declare function CorvaModal({ title, children, actions, open, isCloseIconHidden, onClose, isNative, isMobile, stickyFooter, contentContainerClassName, contentClassName, stickyFooterClassName, modalTitleClassName, size, type, rootClassName, actionsClassName, ...otherProps }: ModalProps): JSX.Element;
|
|
6
3
|
export declare namespace CorvaModal {
|
|
7
4
|
var propTypes: {
|
|
8
|
-
title:
|
|
9
|
-
children:
|
|
10
|
-
actions:
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
isMobile:
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
5
|
+
title: import("prop-types").Requireable<NonNullable<import("prop-types").ReactNodeLike>>;
|
|
6
|
+
children: import("prop-types").Requireable<NonNullable<import("prop-types").ReactNodeLike>>;
|
|
7
|
+
actions: import("prop-types").Requireable<NonNullable<any[] | import("prop-types").ReactNodeLike>>;
|
|
8
|
+
actionsClassName: import("prop-types").Requireable<string>;
|
|
9
|
+
contentClassName: import("prop-types").Requireable<string>;
|
|
10
|
+
contentContainerClassName: import("prop-types").Requireable<string>;
|
|
11
|
+
isCloseIconHidden: import("prop-types").Requireable<boolean>;
|
|
12
|
+
isMobile: import("prop-types").Requireable<boolean>;
|
|
13
|
+
isNative: import("prop-types").Requireable<boolean>;
|
|
14
|
+
modalTitleClassName: import("prop-types").Requireable<string>;
|
|
15
|
+
onClose: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
16
|
+
open: import("prop-types").Validator<boolean>;
|
|
17
|
+
rootClassName: import("prop-types").Requireable<string>;
|
|
18
|
+
size: import("prop-types").Requireable<string>;
|
|
19
|
+
stickyFooter: import("prop-types").Requireable<boolean>;
|
|
20
|
+
stickyFooterClassName: import("prop-types").Requireable<string>;
|
|
21
|
+
type: import("prop-types").Requireable<string>;
|
|
24
22
|
};
|
|
25
23
|
var defaultProps: {
|
|
26
|
-
title: string;
|
|
27
|
-
children: any;
|
|
28
24
|
actions: string;
|
|
29
|
-
stickyFooter: boolean;
|
|
30
|
-
onClose: (...args: any[]) => void;
|
|
31
|
-
isNative: boolean;
|
|
32
|
-
isMobile: boolean;
|
|
33
|
-
isCloseIconHidden: boolean;
|
|
34
|
-
contentClassName: any;
|
|
35
25
|
actionsClassName: any;
|
|
26
|
+
children: any;
|
|
27
|
+
contentClassName: any;
|
|
36
28
|
contentContainerClassName: any;
|
|
29
|
+
isCloseIconHidden: boolean;
|
|
30
|
+
isMobile: boolean;
|
|
31
|
+
isNative: boolean;
|
|
32
|
+
modalTitleClassName: string;
|
|
33
|
+
onClose: (...args: any[]) => void;
|
|
34
|
+
stickyFooter: boolean;
|
|
37
35
|
stickyFooterClassName: any;
|
|
36
|
+
title: string;
|
|
38
37
|
size: any;
|
|
39
38
|
type: string;
|
|
40
39
|
rootClassName: any;
|
|
41
40
|
};
|
|
42
41
|
}
|
|
43
|
-
declare const corvaModalPropTypes: {
|
|
44
|
-
title: PropTypes.Requireable<NonNullable<PropTypes.ReactNodeLike>>;
|
|
45
|
-
children: PropTypes.Requireable<NonNullable<PropTypes.ReactNodeLike>>;
|
|
46
|
-
actions: PropTypes.Requireable<NonNullable<any[] | PropTypes.ReactNodeLike>>;
|
|
47
|
-
stickyFooter: PropTypes.Requireable<boolean>;
|
|
48
|
-
open: PropTypes.Validator<boolean>;
|
|
49
|
-
onClose: PropTypes.Requireable<(...args: any[]) => any>;
|
|
50
|
-
isNative: PropTypes.Requireable<boolean>;
|
|
51
|
-
isMobile: PropTypes.Requireable<boolean>;
|
|
52
|
-
isCloseIconHidden: PropTypes.Requireable<boolean>;
|
|
53
|
-
contentClassName: PropTypes.Requireable<string>;
|
|
54
|
-
actionsClassName: PropTypes.Requireable<string>;
|
|
55
|
-
contentContainerClassName: PropTypes.Requireable<string>;
|
|
56
|
-
stickyFooterClassName: PropTypes.Requireable<string>;
|
|
57
|
-
rootClassName: PropTypes.Requireable<string>;
|
|
58
|
-
size: PropTypes.Requireable<string>;
|
|
59
|
-
type: PropTypes.Requireable<string>;
|
|
60
|
-
};
|
|
61
|
-
export {};
|
|
62
42
|
//# sourceMappingURL=CorvaModal.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CorvaModal.d.ts","sourceRoot":"","sources":["../../../src/components/Modal/CorvaModal.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CorvaModal.d.ts","sourceRoot":"","sources":["../../../src/components/Modal/CorvaModal.tsx"],"names":[],"mappings":"AAeA,OAAO,EAAkB,UAAU,EAAE,MAAM,0BAA0B,CAAC;AA4DtE,wBAAgB,UAAU,CAAC,EACzB,KAAK,EACL,QAAQ,EACR,OAAO,EACP,IAAI,EACJ,iBAAiB,EACjB,OAAO,EACP,QAAQ,EACR,QAAQ,EACR,YAAY,EACZ,yBAAyB,EACzB,gBAAgB,EAChB,qBAAqB,EACrB,mBAAmB,EACnB,IAAI,EACJ,IAAI,EACJ,aAAa,EACb,gBAAgB,EAChB,GAAG,UAAU,EACd,EAAE,UAAU,GAAG,GAAG,CAAC,OAAO,CAiG1B;yBApHe,UAAU"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{__rest as o,__assign as e}from"../../_virtual/_tslib.js";import{jsx as t,jsxs as i}from"react/jsx-runtime";import{useState as
|
|
1
|
+
import{__rest as o,__assign as e}from"../../_virtual/_tslib.js";import{jsx as t,jsxs as i}from"react/jsx-runtime";import{useState as l}from"react";import s from"classnames";import{noop as a}from"lodash";import{withStyles as n,IconButton as r,makeStyles as c,Modal as m,Tooltip as d}from"@material-ui/core";import{Close as p,CloseRounded as C}from"@material-ui/icons";import{isMobileDetected as h,isNativeDetected as u}from"../../utils/mobileDetect.js";import N from"./CorvaModal.css.js";import{modalPropTypes as f}from"./types.js";var v,b="filters",T="settings",g=((v={})[b]="Filters",v[T]="Settings",v),y=n({root:{position:"absolute",right:28,top:24,color:"#9E9E9E",fontSize:"14px",paddingTop:8,width:14,height:14,"&.MuiIconButton-root":{padding:0},"& svg":{transform:"scale(1.8)",width:14,height:14}}})(r),M=n((function(o){return{root:{color:o.palette.primary.text6,"&:hover":{color:"white",cursor:"pointer"}}}}))(p),k=c((function(o){return{closeTooltip:{marginTop:8},closeButton:{padding:"4px 6px",width:"36px",height:"36px","&:hover":{backgroundColor:o.palette.background.b7}}}}));function x(a){var n,c,p=a.title,h=a.children,u=a.actions,f=a.open,v=a.isCloseIconHidden,T=a.onClose,x=a.isNative,F=a.isMobile,w=a.stickyFooter,S=a.contentContainerClassName,j=a.contentClassName,H=a.stickyFooterClassName,z=a.modalTitleClassName,A=a.size,I=a.type,B=a.rootClassName,E=a.actionsClassName,W=o(a,["title","children","actions","open","isCloseIconHidden","onClose","isNative","isMobile","stickyFooter","contentContainerClassName","contentClassName","stickyFooterClassName","modalTitleClassName","size","type","rootClassName","actionsClassName"]),_=l(0),D=_[0],P=_[1],q=window.innerHeight,G=D>=Math.floor(80*q/100),J=x||F,K=k();return t(m,e({open:f,onClose:T,className:s((n={"c-modal":!J},n[N.modalWrapper]=!0,n[B]=!0,n[N[I]]=J&&I,n))},W,{children:i("div",e({ref:function(o){return P(null==o?void 0:o.clientHeight)},className:s((c={},c[N[A]]=!J,c[N.modalContainer]=!J,c[N.modalMobileContainer]=!J,c[N.modalStaticFooter]=!J&&w&&G,c[S]=!0,c[N.modalMobileContainer]=J,c[N.modalMobileStaticFooter]=J,c))},{children:[J&&i("div",e({className:s(N.modalMobileTitle,I===b&&N.filtersTitle)},{children:[t(y,e({onClick:T},{children:t(C,{})})),t("div",e({className:N.modalMobileTitleText},{children:p||g[I]}))]})),!J&&p&&i("div",e({className:s(N.modalTitle,!v&&N.modalTitleWithClose,z)},{children:[t("div",e({className:N.modalTitleText},{children:p})),!v&&t(d,e({title:"Close",classes:{tooltip:K.closeTooltip},placement:"bottom"},{children:t(r,e({onClick:T,classes:{root:K.closeButton}},{children:t(M,{})}))}))]})),h&&t("div",e({className:s(!J&&N.modalContent,J&&N.modalMobileContent,j)},{children:h})),u&&t("div",e({className:s(J&&N.modalMobileActions,!w&&N.modalActions,w&&N.modalActionsSticky,w&&G&&N.modalActionsStickyShadow,w&&H,E)},{children:u}))]}))}))}x.propTypes=f,x.defaultProps={actions:"",actionsClassName:null,children:null,contentClassName:null,contentContainerClassName:null,isCloseIconHidden:!1,isMobile:h,isNative:u,modalTitleClassName:"",onClose:a,stickyFooter:!1,stickyFooterClassName:null,title:"",size:null,type:"",rootClassName:null};export{x as CorvaModal};
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
open: any;
|
|
4
|
-
}): JSX.Element;
|
|
1
|
+
import { ModalProps } from './types';
|
|
2
|
+
export declare function DcCorvaModal({ open: openProp, ...otherProps }: ModalProps): JSX.Element;
|
|
5
3
|
//# sourceMappingURL=DcCorvaModal.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DcCorvaModal.d.ts","sourceRoot":"","sources":["../../../src/components/Modal/DcCorvaModal.
|
|
1
|
+
{"version":3,"file":"DcCorvaModal.d.ts","sourceRoot":"","sources":["../../../src/components/Modal/DcCorvaModal.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAErC,wBAAgB,YAAY,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,GAAG,UAAU,EAAE,EAAE,UAAU,GAAG,GAAG,CAAC,OAAO,CAQvF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import e from"
|
|
1
|
+
import{__rest as e,__assign as r}from"../../_virtual/_tslib.js";import{jsx as o}from"react/jsx-runtime";import{useDelayedDcFullscreenElemOpen as n}from"../../effects/useDelayedDcFullscreenElemOpen.js";import"../DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/DcFullscreenElemsCoordinatorProvider.js";import{IsInsideDcFullscreenElemProvider as t}from"../DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/IsInsideDcFullscreenElemProvider.js";import{CorvaModal as s}from"./CorvaModal.js";function i(i){var l=i.open,m=e(i,["open"]),p=n({isOpen:l}).delayedIsOpen;return o(t,{children:o(s,r({open:p},m))})}export{i as DcCorvaModal};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Modal.d.ts","sourceRoot":"","sources":["../../../src/components/Modal/Modal.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Modal.d.ts","sourceRoot":"","sources":["../../../src/components/Modal/Modal.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAErC,MAAM,CAAC,OAAO,UAAU,KAAK,CAAC,KAAK,EAAE,UAAU,GAAG,GAAG,CAAC,OAAO,CAO5D"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import PropTypes from "prop-types";
|
|
2
|
+
import { ModalProps as MUIModalProps } from "@material-ui/core/Modal/Modal";
|
|
3
|
+
export declare const modalPropTypes: {
|
|
4
|
+
title: PropTypes.Requireable<NonNullable<PropTypes.ReactNodeLike>>;
|
|
5
|
+
children: PropTypes.Requireable<NonNullable<PropTypes.ReactNodeLike>>;
|
|
6
|
+
actions: PropTypes.Requireable<NonNullable<any[] | PropTypes.ReactNodeLike>>;
|
|
7
|
+
actionsClassName: PropTypes.Requireable<string>;
|
|
8
|
+
contentClassName: PropTypes.Requireable<string>;
|
|
9
|
+
contentContainerClassName: PropTypes.Requireable<string>;
|
|
10
|
+
isCloseIconHidden: PropTypes.Requireable<boolean>;
|
|
11
|
+
isMobile: PropTypes.Requireable<boolean>;
|
|
12
|
+
isNative: PropTypes.Requireable<boolean>;
|
|
13
|
+
modalTitleClassName: PropTypes.Requireable<string>;
|
|
14
|
+
onClose: PropTypes.Requireable<(...args: any[]) => any>;
|
|
15
|
+
open: PropTypes.Validator<boolean>;
|
|
16
|
+
rootClassName: PropTypes.Requireable<string>;
|
|
17
|
+
size: PropTypes.Requireable<string>;
|
|
18
|
+
stickyFooter: PropTypes.Requireable<boolean>;
|
|
19
|
+
stickyFooterClassName: PropTypes.Requireable<string>;
|
|
20
|
+
type: PropTypes.Requireable<string>;
|
|
21
|
+
};
|
|
22
|
+
export interface ModalProps extends Omit<MUIModalProps, 'children' | 'onClose' | 'open' | 'title'>, PropTypes.InferProps<typeof modalPropTypes> {
|
|
23
|
+
}
|
|
24
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/Modal/types.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AACnC,OAAO,EAAC,UAAU,IAAI,aAAa,EAAC,MAAM,+BAA+B,CAAC;AAE1E,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;CAkB1B,CAAC;AAEF,MAAM,WAAW,UACf,SAAQ,IAAI,CAAC,aAAa,EAAE,UAAU,GAAG,SAAS,GAAG,MAAM,GAAG,OAAO,CAAC,EACpE,SAAS,CAAC,UAAU,CAAC,OAAO,cAAc,CAAC;CAAG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import o from"prop-types";var e={title:o.oneOfType([o.string,o.node]),children:o.oneOfType([o.string,o.node]),actions:o.oneOfType([o.string,o.node,o.array]),actionsClassName:o.string,contentClassName:o.string,contentContainerClassName:o.string,isCloseIconHidden:o.bool,isMobile:o.bool,isNative:o.bool,modalTitleClassName:o.string,onClose:o.func,open:o.bool.isRequired,rootClassName:o.string,size:o.string,stickyFooter:o.bool,stickyFooterClassName:o.string,type:o.string};export{e as modalPropTypes};
|
|
@@ -1,15 +1,14 @@
|
|
|
1
|
-
export
|
|
1
|
+
export default OffsetWellMap;
|
|
2
|
+
declare function OffsetWellMap({ isViewOnly, subjectWell, wells, offsetWellIds, radius, handleChanageOffsetWell, activeWellId, }: {
|
|
2
3
|
isViewOnly: any;
|
|
3
4
|
subjectWell: any;
|
|
4
5
|
wells: any;
|
|
5
6
|
offsetWellIds: any;
|
|
6
7
|
radius: any;
|
|
7
|
-
popUpFormatter: any;
|
|
8
|
-
formationColors: any;
|
|
9
8
|
handleChanageOffsetWell: any;
|
|
10
9
|
activeWellId: any;
|
|
11
10
|
}): JSX.Element;
|
|
12
|
-
|
|
11
|
+
declare namespace OffsetWellMap {
|
|
13
12
|
namespace propTypes {
|
|
14
13
|
const isViewOnly: PropTypes.Validator<boolean>;
|
|
15
14
|
const subjectWell: PropTypes.Requireable<PropTypes.InferProps<{
|
|
@@ -19,8 +18,6 @@ export namespace MapView {
|
|
|
19
18
|
const wells: PropTypes.Validator<PropTypes.InferProps<{}>[]>;
|
|
20
19
|
const offsetWellIds: PropTypes.Validator<number[]>;
|
|
21
20
|
const radius: PropTypes.Validator<number>;
|
|
22
|
-
const formationColors: PropTypes.Validator<NonNullable<PropTypes.InferProps<{}>>>;
|
|
23
|
-
const popUpFormatter: PropTypes.Validator<(...args: any[]) => any>;
|
|
24
21
|
const handleChanageOffsetWell: PropTypes.Validator<(...args: any[]) => any>;
|
|
25
22
|
const activeWellId: PropTypes.Validator<number>;
|
|
26
23
|
}
|
|
@@ -30,4 +27,4 @@ export namespace MapView {
|
|
|
30
27
|
}
|
|
31
28
|
}
|
|
32
29
|
import PropTypes from "prop-types";
|
|
33
|
-
//# sourceMappingURL=
|
|
30
|
+
//# sourceMappingURL=OffsetWellMap.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OffsetWellMap.d.ts","sourceRoot":"","sources":["../../../src/components/OffsetWellMap/OffsetWellMap.js"],"names":[],"mappings":";AA8BA;;;;;;;;gBAkXC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import r from"@babel/runtime/helpers/defineProperty";import e from"@babel/runtime/helpers/slicedToArray";import{useMemo as t,useRef as n,useState as o,useEffect as c,createElement as i}from"react";import u from"react-dom";import{get as l}from"lodash";import a from"prop-types";import s from"classnames";import{Tooltip as d}from"@material-ui/core";import f from"mapbox.js";import{mapbox as m}from"../../utils/index.js";import p from"./OffsetWellMap.module.css.js";import{usePreviousWells as v}from"./effects/usePreviousWells.js";import{WellTooltip as b}from"./WellTooltip.js";import{getAllFormations as h}from"./utils.js";import{jsx as y,jsxs as C,Fragment as B}from"react/jsx-runtime";var g=m.isValidCoordinates,k=[29.749907,-95.358421],O=["_renderer","_bounds","min"],W=function(a){var m=a.isViewOnly,W=a.subjectWell,T=a.wells,D=a.offsetWellIds,x=a.radius,j=a.handleChanageOffsetWell,F=a.activeWellId,E=t((function(){return W&&l(W,"topHole.coordinates")}),[W]),L=t((function(){return h(T)}),[T]),N=n(),w=n(),z=n(),Z=n(),_=n(null),q=o(!1),M=e(q,2),P=M[0],R=M[1],V=n(),G=n(),S=(null==W?void 0:W.id)===F,I=v(T),A=o(null),H=e(A,2),U=H[0],J=H[1],K=o(3),Q=e(K,2),X=Q[0],Y=Q[1];c((function(){N.current=f.mapbox.map(N.current,null,{attributionControl:!1,scrollWheelZoom:!1,zoomControl:!1}).setView(k,3).on("zoomend",(function(){return Y(N.current.getZoom())})),N.current.doubleClickZoom.disable(),f.mapbox.styleLayer("mapbox://styles/mapbox/dark-v9").addTo(N.current)}),[]),c((function(){if(N.current){if(w.current&&(N.current.removeLayer(w.current),w.current=null),z.current&&N.current.removeLayer(z.current),!E)return w.current=null,void(z.current=null);x&&(w.current=f.circle(E,1609.34*x,{stroke:!1,fill:!0,fillOpacity:.2,fillColor:"#03BCD4",className:"circle_500"}),w.current.addTo(N.current))}}),[x,E]);var $=function(r,e,t,n,o,c){c&&(r.setStyle({fillColor:"#63EFFF"}),R(!0)),_.current=f.circleMarker(e,{radius:c?5:12,stroke:!1,fill:!0,fillOpacity:.24,fillColor:c?"#63EFFF":t,className:"circle_highlight"}),_.current.addEventListener("mouseout",(function(){Z.current.removeFrom(N.current),Z.current=f.featureGroup(V.current),Z.current.addTo(N.current),N.current.closePopup(),c&&(r.setStyle({fillColor:"#03BCD4"}),R(!1))})),_.current.addEventListener("click",(function(){m||j(n,!o)}));var i=V.current.concat(_.current);Z.current.removeFrom(N.current),Z.current=f.featureGroup(i),Z.current.addTo(N.current)},rr=function(r,e,t,n,o){var c=document.createElement("div"),a=i(b(),{isViewOnly:m,well:r,color:l(L,r.formation,"#BDBDBD"),isOffsetWell:e,isSubjectWell:t,offset:o});u.render(y(B,{children:a}),c),f.popup().setLatLng(n).setContent(c).openOn(N.current)};c((function(){if(N.current&&T&&D){N.current.closePopup(),Z.current&&Z.current.removeFrom(N.current);var r=[],e=[],t=[];T.forEach((function(r){r.id!==(null==W?void 0:W.id)&&(D.includes(r.id)?e.push(r):t.push(r))})),[].concat(t,e,[W]).forEach((function(e){var t,n=null==e||null===(t=e.topHole)||void 0===t?void 0:t.coordinates;if(n&&g(n)){var o=(null==W?void 0:W.id)===e.id,c=D.includes(e.id)&&!o,i=o?"#03BCD4":l(L,e.formation,"#BDBDBD"),u=c?.7:.3;if(c){var a=f.circleMarker(n,{radius:12,stroke:!1,fill:!0,fillColor:i,calssname:"circle_500",fillOpacity:.08});r.push(a)}var s=f.circleMarker(n,{radius:5,stroke:!1,fill:!0,fillOpacity:o?1:u,fillColor:i,className:"circle_500"});if(s.addEventListener("mouseover",(function(r){var t=[0,0];U&&l(r.target,O)&&(t=[l(r.target,O).x-U.x,l(r.target,O).y-U.y]),rr(e,c,o,n,t),$(s,n,i,e,c,o)})),o&&(G.current=s),r.push(s),e.id===F&&!S){var d=f.circleMarker(n,{radius:12,stroke:!1,fill:!0,fillOpacity:.24,fillColor:i,className:"circle_1200"});r.push(d)}}})),r.length&&(Z.current=f.featureGroup(r),Z.current.addTo(N.current)),V.current=r,setTimeout((function(){w.current&&w.current.bringToBack(),N.current&&w.current&&T!==I&&N.current.fitBounds(w.current.getBounds(),{padding:[5,5]})}),500)}}),[W,T,D,U]),c((function(){if(P&&l(N.current,O)){var r=[l(N.current,O).x-U.x,l(N.current,O).y-U.y];rr(W,!1,!0,E,r)}}),[P,U,W,E]),c((function(){if(N.current&&E){z.current&&z.current.removeFrom(N.current);var r=f.icon({iconUrl:P||S?"/static/media/5e9c4959259cb12c11b2c5eaf27eb3ad.svg":"/static/media/9efe5882f31d2f22bd57af92069d0a3e.svg",iconSize:P||S?[70,20]:[62,12],iconAnchor:P||S?[35,29]:[31,25],className:"dot"});z.current=f.marker(E,{icon:r}),z.current.addTo(N.current),G.current&&(z.current.addEventListener("mouseover",(function(){R(!0),$(G.current,E,"#03BCD4",W,!0,!0)})),z.current.addEventListener("mouseout",(function(){Z.current.removeFrom(N.current),Z.current=f.featureGroup(V.current),Z.current.addTo(N.current),N.current.closePopup(),G.current.setStyle({fillColor:"#03BCD4"}),R(!1)})))}}),[P,E,x,W,S,U]),c((function(){setTimeout((function(){w.current&&w.current.bringToBack(),W?N.current&&w.current&&x&&N.current.fitBounds(w.current.getBounds(),{padding:[5,5]}):N.current&&Z.current&&N.current.fitBounds(Z.current.getBounds()),l(N.current,O)&&J(l(N.current,O))}),500)}),[x,W]);return y("div",{className:p.mapView,children:y("div",{className:p.mapMain,ref:N,children:C("div",{className:p.zoomGroup,children:[y(d,{title:X<18?"Zoom in":"",placement:"left",children:y("div",{className:s(p.zoomButton,r({},p.zoomDisabled,18===X)),onClick:function(){N.current.setZoom(X+1)},children:"+"})}),y(d,{title:X>1?"Zoom out":"",placement:"left",children:y("div",{className:s(p.zoomButton,r({},p.zoomDisabled,1===X)),onClick:function(){X>1&&N.current.setZoom(X-1)},children:"−"})})]})})})};W.propTypes={isViewOnly:a.bool.isRequired,subjectWell:a.shape({id:a.number,formation:a.string}),wells:a.arrayOf(a.shape({})).isRequired,offsetWellIds:a.arrayOf(a.number).isRequired,radius:a.number.isRequired,handleChanageOffsetWell:a.func.isRequired,activeWellId:a.number.isRequired},W.defaultProps={subjectWell:null};export{W as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import e from'./../../ext-esm/style-inject/dist/style-inject.es.js';var o={mapView:"OffsetWellMap-module_mapView__EwhHO",zoomGroup:"OffsetWellMap-module_zoomGroup__qCVgz",zoomButton:"OffsetWellMap-module_zoomButton__oZIkU",zoomDisabled:"OffsetWellMap-module_zoomDisabled__60g-G",mapMain:"OffsetWellMap-module_mapMain__IYEA1"};e(".OffsetWellMap-module_mapView__EwhHO{width:100%}.OffsetWellMap-module_zoomGroup__qCVgz{bottom:12px;display:flex;flex-direction:column;gap:4px;position:absolute;right:12px;z-index:9}.OffsetWellMap-module_zoomButton__oZIkU{align-items:center;background:var(--palette-background-b-6);border-radius:4px;color:var(--palette-primary-text-6);cursor:pointer;display:flex;font-size:22px;height:32px;justify-content:center;text-align:center;user-select:none;width:32px}.OffsetWellMap-module_zoomButton__oZIkU:hover{background:var(--palette-background-b-7);color:#fff}.OffsetWellMap-module_zoomDisabled__60g-G{cursor:not-allowed}.OffsetWellMap-module_zoomDisabled__60g-G:hover{background:var(--palette-background-b-6);color:var(--palette-primary-text-6)}.OffsetWellMap-module_mapMain__IYEA1{background-color:var(--palette-background-b-9);border:1px solid var(--palette-background-b-9);border-radius:4px;flex:100;height:200px;position:relative;width:100%}.OffsetWellMap-module_mapView__EwhHO .leaflet-popup{left:0!important;top:0!important;transform:none!important}.OffsetWellMap-module_mapView__EwhHO .leaflet-popup-content-wrapper{background-color:transparent;border-radius:4px;opacity:.9}.OffsetWellMap-module_mapView__EwhHO .leaflet-popup-content{padding:8px}.OffsetWellMap-module_mapView__EwhHO .leaflet-popup-close-button,.OffsetWellMap-module_mapView__EwhHO .leaflet-popup-tip{display:none}.OffsetWellMap-module_mapView__EwhHO .leaflet-control-zoom{background:none;border:none;box-shadow:none}.OffsetWellMap-module_mapView__EwhHO .leaflet-control-zoom a{align-items:center;background:var(--palette-background-b-6);border-radius:4px;color:var(--palette-primary-text-6);content:unset;display:flex;font-size:20px;height:30px;justify-content:center;margin-top:4px;opacity:1;text-align:center;text-indent:unset;width:30px}.OffsetWellMap-module_mapView__EwhHO .leaflet-control-zoom a:hover{background:var(--palette-background-b-7);border-radius:4px;color:var(--palette-primary-text-1)}.OffsetWellMap-module_mapView__EwhHO .leaflet-touch .leaflet-bar,.OffsetWellMap-module_mapView__EwhHO .leaflet-touch .leaflet-control-layers{background-clip:padding-box;border:0 solid transparent}");export{o as default};
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WellTooltip.d.ts","sourceRoot":"","sources":["../../../src/components/OffsetWellMap/WellTooltip.js"],"names":[],"mappings":"AAMO;;;;;;;kBA6CJ"}
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import o from'./../../ext-esm/style-inject/dist/style-inject.es.js';var l={wellTooltip:"WellTooltip-module_wellTooltip__-U3-H",commonItem:"WellTooltip-module_commonItem__NxlCt",wellName:"WellTooltip-module_wellName__vrUth",tooltipItem:"WellTooltip-module_tooltipItem__FFmW9",unit:"WellTooltip-module_unit__qbuWG",formationItem:"WellTooltip-module_formationItem__JK-Vs",formation:"WellTooltip-module_formation__9geyr",info:"WellTooltip-module_info__hvxAd",infoIcon:"WellTooltip-module_infoIcon__tsnME",blockIcon:"WellTooltip-module_blockIcon__t7NSY",infoLabel:"WellTooltip-module_infoLabel__4FPIc"};o(".WellTooltip-module_wellTooltip__-U3-H{background-color:var(--palette-background-b-8);border-radius:4px;color:var(--palette-primary-text-1);display:flex;flex-direction:column;font-family:Roboto;font-style:normal;gap:4px;min-width:180px;padding:8px;position:absolute;width:fit-content}.WellTooltip-module_commonItem__NxlCt{max-width:300px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.WellTooltip-module_wellName__vrUth{font-size:12px;font-weight:400;line-height:16px;padding-bottom:4px}.WellTooltip-module_tooltipItem__FFmW9{font-size:14px;font-weight:400;line-height:20px}.WellTooltip-module_unit__qbuWG{color:var(--palette-primary-text-6);font-size:12px;font-weight:400;line-height:14px}.WellTooltip-module_formationItem__JK-Vs{align-items:center;display:flex;flex-direction:row;font-size:14px;font-weight:400;line-height:20px}.WellTooltip-module_formation__9geyr{border-radius:50%;height:8px;margin-left:8px;margin-right:4px;width:8px}.WellTooltip-module_info__hvxAd{align-items:center;display:flex;flex-direction:row;gap:4px;padding-top:8px}.WellTooltip-module_infoIcon__tsnME{color:#64b5f6!important;font-size:16px!important;position:relative!important}.WellTooltip-module_blockIcon__t7NSY{color:#dadada!important;font-size:16px!important;position:relative!important}.WellTooltip-module_infoLabel__4FPIc{color:var(--palette-primary-text-6);font-size:12px;font-weight:400;line-height:16px}");export{l as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/OffsetWellMap/effects/index.js"],"names":[],"mappings":""}
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"usePreviousWells.d.ts","sourceRoot":"","sources":["../../../../src/components/OffsetWellMap/effects/usePreviousWells.js"],"names":[],"mappings":"AAEA,wDAMC"}
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/OffsetWellMap/index.js"],"names":[],"mappings":""}
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/components/OffsetWellMap/utils.js"],"names":[],"mappings":"AAiBA,kDAuBC"}
|
|
File without changes
|