@corva/ui 0.49.0-2 → 0.49.0-4
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/Annotations/components/AnnotationsList/components/AnnotationComments/index.d.ts +1 -1
- package/components/Annotations/components/AnnotationsList/components/AnnotationInput/index.d.ts +2 -2
- package/components/Annotations/components/AnnotationsList/index.d.ts +3 -3
- package/components/AppVersionsSelect/AppVersionsSelect.d.ts +1 -1
- package/components/AppVersionsSelect/AppVersionsSelect.js +1 -1
- package/components/AssetEditor/AssetEditorAutocomplete.d.ts +4 -4
- package/components/AssetEditor/SingleAssetEditor.d.ts +2 -2
- package/components/Attachment/index.d.ts +2 -2
- package/components/Avatar/index.d.ts +81 -46
- package/components/Avatar/index.d.ts.map +1 -1
- package/components/Avatar/index.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/AxisDropdown.d.ts +11 -0
- package/components/Chart/components/AxisDropdown.d.ts.map +1 -0
- package/components/Chart/components/AxisDropdown.js +1 -0
- package/components/Chart/components/index.d.ts +1 -0
- package/components/Chart/options.d.ts +10 -2
- package/components/Chart/options.d.ts.map +1 -1
- package/components/Chart/tooltip.d.ts +2 -0
- package/components/Chart/tooltip.d.ts.map +1 -0
- package/components/CollapsableSidebar.d.ts +3 -3
- package/components/ColorPicker/ColorPicker.d.ts +2 -43
- package/components/ColorPicker/ColorPicker.d.ts.map +1 -1
- package/components/ColorPicker/ColorPicker.js +1 -1
- package/components/ColorPicker/index.d.ts +1 -1
- package/components/ColorPicker/index.d.ts.map +1 -1
- package/components/ColorPickerPalette/ColorPickerPalette.d.ts +2 -17
- package/components/ColorPickerPalette/ColorPickerPalette.d.ts.map +1 -1
- package/components/Comment/CommentIcon/index.d.ts +2 -1
- package/components/Comment/CommentIcon/index.d.ts.map +1 -1
- package/components/Comment/index.d.ts +3 -3
- package/components/CommentInput/index.d.ts +5 -5
- package/components/CommentsInfo/index.d.ts +3 -3
- package/components/ConfirmationDialog.d.ts +3 -3
- package/components/Counter/index.d.ts +35 -24
- package/components/Counter/index.d.ts.map +1 -1
- package/components/Counter/index.js +1 -1
- package/components/DateTimePicker/index.d.ts +14 -21
- package/components/DateTimePicker/index.d.ts.map +1 -1
- package/components/DateTimePicker/index.js +1 -1
- package/components/DevCenter/AppSettingsPopover/AppSettingsPopover.d.ts +31 -25
- package/components/DevCenter/AppSettingsPopover/AppSettingsPopover.d.ts.map +1 -1
- package/components/DevCenter/AppSettingsPopover/AppSettingsPopover.js +1 -1
- package/components/DevCenter/AppSettingsPopover/index.d.ts +1 -1
- package/components/DevCenter/AppSettingsPopover/index.d.ts.map +1 -1
- package/components/DevCenter/AppSideBar/AppSideBar.d.ts +58 -66
- package/components/DevCenter/AppSideBar/AppSideBar.d.ts.map +1 -1
- package/components/DevCenter/AppSideBar/AppSideBar.js +1 -1
- package/components/DevCenter/DevCenterAppContainer/DevCenterAppContainer.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.js +1 -1
- package/components/DevCenter/DevCenterAppContainer/effects/useAppMaximized.d.ts +2 -2
- package/components/DevCenter/IsolatedDevCenterAppContainer/DevCenterAppZoidComponent.js +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/Drillstring/BHAComponentsTable/components/sharedStyles.d.ts +1 -1
- package/components/EditableItem/EditableItem/index.d.ts +33 -37
- package/components/EditableItem/EditableItem/index.d.ts.map +1 -1
- package/components/EditableItem/EditableItem/index.js +1 -1
- package/components/EmbeddedApp/DevCenterEmbeddedApp.d.ts +1 -1
- package/components/EmbeddedApp/EmbeddedApp.d.ts +1 -1
- package/components/ErrorBoundary/ErrorBoundary.d.ts +1 -1
- package/components/FeedItem/FeedItem.d.ts +2 -2
- package/components/FeedItem/feedItemTypes/DepthCommentFeedItem.d.ts +1 -1
- package/components/FeedItem/feedItemTypes/StageOverviewFeedItem/components/Stages/utils.d.ts +20 -2
- package/components/FeedItem/feedItemTypes/StageOverviewFeedItem/components/Stages/utils.d.ts.map +1 -1
- package/components/FeedItem/feedItemTypes/TracesMemoFeedItem.d.ts +1 -1
- package/components/FilePreview/index.d.ts +1 -1
- package/components/FilesLoader/FilesLoader.d.ts +49 -58
- package/components/FilesLoader/FilesLoader.d.ts.map +1 -1
- package/components/FilesLoader/FilesLoader.js +1 -1
- package/components/FilesLoader/Icons/IconWarning.d.ts +1 -1
- package/components/FilesLoader/Icons/IconWarning.js +1 -1
- package/components/FilesLoader/index.d.ts +2 -2
- package/components/FilesLoader/index.d.ts.map +1 -1
- package/components/FilesLoader/useStyles.d.ts +1 -1
- package/components/FilesLoader/useStyles.d.ts.map +1 -1
- package/components/FilesLoader/useStyles.js +1 -1
- package/components/IconButton/index.d.ts +33 -10
- package/components/IconButton/index.d.ts.map +1 -1
- package/components/IconButton/index.js +1 -1
- package/components/IconMenu/index.d.ts +4 -4
- package/components/LoadingIndicator/FullScreenLoadingIndicator.d.ts +14 -17
- package/components/LoadingIndicator/FullScreenLoadingIndicator.d.ts.map +1 -1
- package/components/LoadingIndicator/FullScreenLoadingIndicator.js +1 -1
- package/components/LoadingIndicator/InlineLoadingIndicator.d.ts +14 -17
- package/components/LoadingIndicator/InlineLoadingIndicator.d.ts.map +1 -1
- package/components/LoadingIndicator/InlineLoadingIndicator.js +1 -1
- package/components/LoadingIndicator/Loader.d.ts +14 -15
- package/components/LoadingIndicator/Loader.d.ts.map +1 -1
- package/components/LoadingIndicator/Loader.js +1 -1
- package/components/LoadingIndicator/LoadingIndicator.d.ts +18 -26
- package/components/LoadingIndicator/LoadingIndicator.d.ts.map +1 -1
- package/components/LoadingIndicator/LoadingIndicator.js +1 -1
- package/components/LoadingIndicator/types.d.ts +25 -0
- package/components/LoadingIndicator/types.d.ts.map +1 -0
- package/components/LoadingIndicator/types.js +1 -0
- package/components/Modal/CorvaModal.d.ts +60 -69
- package/components/Modal/CorvaModal.d.ts.map +1 -1
- package/components/Modal/CorvaModal.js +1 -1
- package/components/Modal/Modal.d.ts +2 -1
- package/components/Modal/Modal.d.ts.map +1 -1
- package/components/Modal/Modal.js +1 -1
- package/components/Modal/index.d.ts +1 -1
- package/components/Modal/index.d.ts.map +1 -1
- package/components/Notifications/components/Toast.d.ts +1 -1
- package/components/OffsetWellButton/OffsetWellButton.d.ts +29 -28
- package/components/OffsetWellButton/OffsetWellButton.d.ts.map +1 -1
- package/components/OffsetWellButton/OffsetWellButton.js +1 -1
- package/components/OffsetWellButton/index.d.ts +1 -1
- package/components/OffsetWellButton/index.d.ts.map +1 -1
- package/components/OffsetWellChips/Chip.d.ts +19 -29
- package/components/OffsetWellChips/Chip.d.ts.map +1 -1
- package/components/OffsetWellChips/Chip.js +1 -1
- package/components/OffsetWellChips/ChipsContainer.d.ts +9 -11
- package/components/OffsetWellChips/ChipsContainer.d.ts.map +1 -1
- package/components/OffsetWellChips/ChipsContainer.js +1 -1
- package/components/OffsetWellChips/index.d.ts +2 -2
- package/components/OffsetWellChips/index.d.ts.map +1 -1
- package/components/OffsetWellChips/types.d.ts +17 -0
- package/components/OffsetWellChips/types.d.ts.map +1 -0
- package/components/OffsetWellChips/types.js +1 -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/OffsetWellPickerV2/components/Table/MetricsSelect.d.ts +2 -2
- package/components/OffsetWellPickerV2/constants.d.ts +15 -2
- package/components/OffsetWellPickerV2/constants.d.ts.map +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/components/Table/MetricsSelect.d.ts +1 -1
- package/components/OffsetWellPickerV3/components/CustomSelectionView/constants.d.ts +15 -2
- package/components/OffsetWellPickerV3/components/CustomSelectionView/constants.d.ts.map +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.js +1 -1
- package/components/OffsetWellPickerV4/components/Filter/Filter.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/OffsetWellsTable/OffsetWellsTable.module.css.js +1 -1
- package/components/OffsetWellPickerV4/components/OffsetWellsTable/OffsetWellsTableHead.js +1 -1
- package/components/OffsetWellPickerV4/components/OffsetWellsTable/OffsetWellsTableHead.module.css.js +1 -1
- package/components/OffsetWellPickerV4/components/Toolbar/Toolbar.js +1 -1
- package/components/OffsetWellPickerV4/constants.d.ts +15 -2
- package/components/OffsetWellPickerV4/constants.d.ts.map +1 -1
- package/components/ParameterCharts/AddEditTrack.d.ts +2 -2
- package/components/ParameterCharts/components/DataLoadingIndicator.d.ts +1 -1
- package/components/ParameterCharts/components/TrackSettings.d.ts +1 -1
- package/components/PostPreviewDialog/index.d.ts +5 -5
- package/components/RangeSlider/RangeSlider.d.ts +42 -34
- package/components/RangeSlider/RangeSlider.d.ts.map +1 -1
- package/components/RangeSlider/RangeSlider.js +1 -1
- package/components/ResizableTable/ResizableTable.d.ts +8 -10
- package/components/ResizableTable/ResizableTable.d.ts.map +1 -1
- package/components/ResizableTable/ResizableTable.js +1 -1
- package/components/ResizableTable/ResizableTableCell.d.ts +8 -7
- package/components/ResizableTable/ResizableTableCell.d.ts.map +1 -1
- package/components/ResizableTable/ResizableTableCell.js +1 -1
- package/components/ResizableTable/ResizableTableHeaderCell.d.ts +18 -15
- package/components/ResizableTable/ResizableTableHeaderCell.d.ts.map +1 -1
- package/components/ResizableTable/ResizableTableHeaderCell.js +1 -1
- package/components/ResizableTable/index.d.ts +1 -1
- package/components/ResizableTable/index.d.ts.map +1 -1
- package/components/Search/Search.d.ts +68 -69
- package/components/Search/Search.d.ts.map +1 -1
- package/components/Search/Search.js +1 -1
- package/components/Search/styles.d.ts +1 -1
- package/components/Search/styles.d.ts.map +1 -1
- package/components/Select/index.d.ts +44 -24
- package/components/Select/index.d.ts.map +1 -1
- package/components/Select/index.js +1 -1
- package/components/SettingEditors/ColorEditor/index.d.ts +82 -45
- package/components/SettingEditors/ColorEditor/index.d.ts.map +1 -1
- package/components/SettingEditors/ColorEditor/index.js +1 -1
- package/components/SettingEditors/DropdownEditor/index.d.ts +1 -1
- package/components/SettingEditors/RadioEditor/index.d.ts +25 -21
- package/components/SettingEditors/RadioEditor/index.d.ts.map +1 -1
- package/components/SettingEditors/RadioEditor/index.js +1 -1
- package/components/StageDesignVActual/ElementsComparison/ElementsComparison.d.ts +1 -1
- package/components/StageDesignVActual/ElementsComparison/ElementsComparison.d.ts.map +1 -1
- package/components/StageDesignVActual/ElementsComparison/utils.d.ts +4 -1
- package/components/StageDesignVActual/ElementsComparison/utils.d.ts.map +1 -1
- package/components/Stepper/Step.d.ts +37 -42
- package/components/Stepper/Step.d.ts.map +1 -1
- package/components/Stepper/Step.js +1 -1
- package/components/Stepper/Stepper.d.ts +29 -18
- package/components/Stepper/Stepper.d.ts.map +1 -1
- package/components/Stepper/Stepper.js +1 -1
- package/components/Stepper/StepsWrapper.d.ts +16 -14
- package/components/Stepper/StepsWrapper.d.ts.map +1 -1
- package/components/Stepper/StepsWrapper.js +1 -1
- package/components/SwitchControl/index.d.ts +6 -93
- package/components/SwitchControl/index.d.ts.map +1 -1
- package/components/Template/TemplateSharingDialog/ChipSelector.d.ts +1 -1
- package/components/TextField/index.d.ts +1 -1
- package/components/Typography.d.ts +16 -16
- package/components/UserMention/index.d.ts +1 -1
- package/components/index.d.ts +2 -1
- package/components/index.js +1 -1
- package/constants/goals.d.ts +31 -4
- package/constants/goals.d.ts.map +1 -1
- package/constants/wellSummary.d.ts +14 -0
- package/constants/wellSummary.d.ts.map +1 -1
- package/hocs/withMUIProvidersHOC.d.ts +1 -1
- package/package.json +1 -1
- package/types.d.ts +1 -0
- package/utils/accuracy.d.ts +1 -1
- package/utils/accuracy.d.ts.map +1 -1
- package/utils/casing/conversion.d.ts +1 -1
- package/utils/casing/conversion.d.ts.map +1 -1
- package/utils/completion.d.ts +1 -1
- package/utils/completion.d.ts.map +1 -1
- package/utils/goals.d.ts +3 -3
- package/utils/goals.d.ts.map +1 -1
- package/utils/mapbox.d.ts +1 -1
|
@@ -1,39 +1,35 @@
|
|
|
1
|
+
import PropTypes from 'prop-types';
|
|
2
|
+
declare type EditableItemProps = PropTypes.InferProps<typeof editableItemPropTypes>;
|
|
3
|
+
declare const EditableItem: {
|
|
4
|
+
({ className, isEditable, isEditing: isEditingInitial, onClick, onClickAway, onCancel, onSave, value: initialValue, }: EditableItemProps): JSX.Element;
|
|
5
|
+
propTypes: {
|
|
6
|
+
className: PropTypes.Requireable<string>;
|
|
7
|
+
isEditable: PropTypes.Requireable<boolean>;
|
|
8
|
+
isEditing: PropTypes.Requireable<boolean>;
|
|
9
|
+
onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
10
|
+
onSave: PropTypes.Validator<(...args: any[]) => any>;
|
|
11
|
+
onClickAway: PropTypes.Requireable<(...args: any[]) => any>;
|
|
12
|
+
onCancel: PropTypes.Requireable<(...args: any[]) => any>;
|
|
13
|
+
value: PropTypes.Validator<string>;
|
|
14
|
+
};
|
|
15
|
+
defaultProps: {
|
|
16
|
+
className: string;
|
|
17
|
+
isEditable: boolean;
|
|
18
|
+
isEditing: boolean;
|
|
19
|
+
onClick: () => void;
|
|
20
|
+
onClickAway: () => void;
|
|
21
|
+
onCancel: () => void;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
declare const editableItemPropTypes: {
|
|
25
|
+
className: PropTypes.Requireable<string>;
|
|
26
|
+
isEditable: PropTypes.Requireable<boolean>;
|
|
27
|
+
isEditing: PropTypes.Requireable<boolean>;
|
|
28
|
+
onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
29
|
+
onSave: PropTypes.Validator<(...args: any[]) => any>;
|
|
30
|
+
onClickAway: PropTypes.Requireable<(...args: any[]) => any>;
|
|
31
|
+
onCancel: PropTypes.Requireable<(...args: any[]) => any>;
|
|
32
|
+
value: PropTypes.Validator<string>;
|
|
33
|
+
};
|
|
1
34
|
export default EditableItem;
|
|
2
|
-
declare function EditableItem({ className, isEditable, isEditing: isEditingInitial, onClick, onClickAway, onCancel, onSave, value: initialValue, }: {
|
|
3
|
-
className: any;
|
|
4
|
-
isEditable: any;
|
|
5
|
-
isEditing: any;
|
|
6
|
-
onClick: any;
|
|
7
|
-
onClickAway: any;
|
|
8
|
-
onCancel: any;
|
|
9
|
-
onSave: any;
|
|
10
|
-
value: any;
|
|
11
|
-
}): JSX.Element;
|
|
12
|
-
declare namespace EditableItem {
|
|
13
|
-
namespace propTypes {
|
|
14
|
-
const className: PropTypes.Requireable<string>;
|
|
15
|
-
const isEditable: PropTypes.Requireable<boolean>;
|
|
16
|
-
const isEditing: PropTypes.Requireable<boolean>;
|
|
17
|
-
const onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
18
|
-
const onSave: PropTypes.Validator<(...args: any[]) => any>;
|
|
19
|
-
const onClickAway: PropTypes.Requireable<(...args: any[]) => any>;
|
|
20
|
-
const onCancel: PropTypes.Requireable<(...args: any[]) => any>;
|
|
21
|
-
const value: PropTypes.Validator<string>;
|
|
22
|
-
}
|
|
23
|
-
namespace defaultProps {
|
|
24
|
-
const className_1: string;
|
|
25
|
-
export { className_1 as className };
|
|
26
|
-
const isEditable_1: boolean;
|
|
27
|
-
export { isEditable_1 as isEditable };
|
|
28
|
-
const isEditing_1: boolean;
|
|
29
|
-
export { isEditing_1 as isEditing };
|
|
30
|
-
export function onClick_1(): void;
|
|
31
|
-
export { onClick_1 as onClick };
|
|
32
|
-
export function onClickAway_1(): void;
|
|
33
|
-
export { onClickAway_1 as onClickAway };
|
|
34
|
-
export function onCancel_1(): void;
|
|
35
|
-
export { onCancel_1 as onCancel };
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
import PropTypes from "prop-types";
|
|
39
35
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/EditableItem/EditableItem/index.
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/EditableItem/EditableItem/index.tsx"],"names":[],"mappings":"AACA,OAAO,SAAS,MAAM,YAAY,CAAC;AAsGnC,aAAK,iBAAiB,GAAG,SAAS,CAAC,UAAU,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAE5E,QAAA,MAAM,YAAY;2HASf,iBAAiB,GAAG,WAAW;;;;;;;;;;;;;;;;;;;CAkIjC,CAAC;AAEF,QAAA,MAAM,qBAAqB;;;;;;;;;CAS1B,CAAC;AAaF,eAAe,YAAY,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import e
|
|
1
|
+
import{__assign as e}from"../../../_virtual/_tslib.js";import{jsxs as i,jsx as o}from"react/jsx-runtime";import{useState as t,useEffect as n}from"react";import r from"prop-types";import a from"classnames";import{makeStyles as l,ClickAwayListener as c,TextField as s,Tooltip as d,InputAdornment as p}from"@material-ui/core";import m from"@material-ui/icons/Edit";import u from"@material-ui/icons/Close";import f from"@material-ui/icons/Done";var g=l((function(e){return{editableItem:{width:"100%",height:36,position:"relative",backgroundColor:e.palette.background.b8,"&:hover":{backgroundColor:"rgba(3, 188, 212, 0.07)"},"&:hover svg":{visibility:"visible"}},editableItemActive:{backgroundColor:"rgba(3, 188, 212, 0.15) !important"},value:{color:e.palette.primary.text6,fontSize:"0.875rem",height:"100%",letterSpacing:".13132px",lineHeight:"36px",overflow:"hidden",paddingLeft:48,textOverflow:"ellipsis",whiteSpace:"nowrap",width:"calc(100% - 32px)",userSelect:"none"},textField:{width:"100%"},inputRoot:{height:36,paddingLeft:48,fontSize:"0.875rem"},inputDisabled:{backgroundColor:"unset",paddingRight:16,"&::before":{display:"none"},pointerEvents:"none"},icon:{boxSizing:"content-box",cursor:"pointer",color:e.palette.primary.text6,padding:7,fontSize:"1rem","&:hover":{color:"#FFFFFF",backgroundColor:"rgba(51, 51, 51, 0.9)",borderRadius:"50%"},"&:target":{backgroundColor:e.palette.background.b9}},iconPrimary:{color:e.palette.primary.main},iconPrimaryDisabled:{color:e.palette.primary.main,opacity:.4,cursor:"default",pointerEvents:"none"},iconClose:{fill:"".concat(e.palette.primary.text6," !important"),"&:hover":{fill:"#FFFFFF !important"}},iconEdit:{position:"absolute",right:4,top:3,visibility:"hidden"},inputAdornment:{marginTop:1,marginRight:4}}})),b=function(r){var l,b=r.className,v=r.isEditable,h=r.isEditing,y=r.onClick,C=r.onClickAway,k=r.onCancel,E=r.onSave,F=r.value,x=t(F),w=x[0],P=x[1],S=t(h),N=S[0],A=S[1],R=g(),z=function(e){e.stopPropagation(),w.length&&w!==F&&E(w).then((function(){return A(!1)}))};n((function(){var e=function(e){"Escape"===e.key||"Esc"===e.key?(P(F),A(!1),C()):"Enter"===e.key&&z(e)};return N&&document.addEventListener("keydown",e),function(){return document.removeEventListener("keydown",e)}}),[N,F,w]);var D=function(e){e.stopPropagation(),P(F),A(!1),k()};n((function(){P(F)}),[F]);var I=a(R.editableItem,((l={})[R.editableItemActive]=N,l),b);return i("div",e({className:I,onClick:y},{children:[!N&&o("div",e({className:R.value},{children:w})),N&&o(c,e({onClickAway:function(){P(F),A(!1),C()}},{children:o(s,{autoFocus:!0,type:"text",value:w,onChange:function(e){e.stopPropagation(),P(e.target.value)},placeholder:"Page Name...",className:R.textField,InputProps:{classes:{root:R.inputRoot},endAdornment:N?o(p,e({position:"end"},{children:i("span",e({className:R.inputAdornment},{children:[o(d,e({title:"Cancel",placement:"bottom-end"},{children:o(u,{className:a(R.icon,R.iconClose),onClick:D,fontSize:"small"})})),o(d,e({title:"Save",placement:"bottom-end"},{children:o(f,{color:w===F?"disabled":"primary",onClick:z,fontSize:"small",disabled:w===F,classes:{root:R.icon,colorPrimary:R.iconPrimary,colorDisabled:R.iconPrimaryDisabled}})}))]}))})):null}})})),v&&!N&&o(d,e({title:"Rename Page",placement:"bottom-end"},{children:o(m,{className:a(R.icon,R.iconEdit),onClick:function(e){e.stopPropagation(),A(!0)},fontSize:"small"})}))]}))},v={className:r.string,isEditable:r.bool,isEditing:r.bool,onClick:r.func,onSave:r.func.isRequired,onClickAway:r.func,onCancel:r.func,value:r.string.isRequired};b.propTypes=v,b.defaultProps={className:"",isEditable:!0,isEditing:!1,onClick:function(){},onClickAway:function(){},onCancel:function(){}};export{b as default};
|
|
@@ -14,7 +14,7 @@ declare class ErrorBoundary extends Component<any, any, any> {
|
|
|
14
14
|
declare namespace ErrorBoundary {
|
|
15
15
|
namespace propTypes {
|
|
16
16
|
const children: PropTypes.Validator<NonNullable<PropTypes.ReactNodeLike>>;
|
|
17
|
-
const ErrorView: PropTypes.Requireable<NonNullable<((...args: any[]) => any)
|
|
17
|
+
const ErrorView: PropTypes.Requireable<NonNullable<PropTypes.ReactNodeLike | ((...args: any[]) => any)>>;
|
|
18
18
|
}
|
|
19
19
|
namespace defaultProps {
|
|
20
20
|
export { EmptyAppView as ErrorView };
|
|
@@ -16,7 +16,7 @@ declare namespace FeedItem {
|
|
|
16
16
|
const feedItem: PropTypes.Validator<NonNullable<PropTypes.InferProps<PropTypes.ValidationMap<any>>>>;
|
|
17
17
|
const enterEditMode: PropTypes.Requireable<(...args: any[]) => any>;
|
|
18
18
|
const removeFeedItem: PropTypes.Requireable<(...args: any[]) => any>;
|
|
19
|
-
const editableFeedItemTypes: PropTypes.Requireable<
|
|
19
|
+
const editableFeedItemTypes: PropTypes.Requireable<string>;
|
|
20
20
|
const currentUser: PropTypes.Validator<NonNullable<PropTypes.InferProps<PropTypes.ValidationMap<any>>>>;
|
|
21
21
|
const appData: PropTypes.Validator<NonNullable<PropTypes.InferProps<PropTypes.ValidationMap<any>>>>;
|
|
22
22
|
const paperClassName: PropTypes.Requireable<string>;
|
|
@@ -27,7 +27,7 @@ declare namespace FeedItem {
|
|
|
27
27
|
export { noop as removeFeedItem };
|
|
28
28
|
const paperClassName_1: any;
|
|
29
29
|
export { paperClassName_1 as paperClassName };
|
|
30
|
-
const editableFeedItemTypes_1:
|
|
30
|
+
const editableFeedItemTypes_1: string[];
|
|
31
31
|
export { editableFeedItemTypes_1 as editableFeedItemTypes };
|
|
32
32
|
const customFeedItemTypeTemplates_1: {};
|
|
33
33
|
export { customFeedItemTypeTemplates_1 as customFeedItemTypeTemplates };
|
|
@@ -6,7 +6,7 @@ declare namespace DepthCommentFeedItem {
|
|
|
6
6
|
namespace propTypes {
|
|
7
7
|
const feedItem: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
8
8
|
context: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
9
|
-
[x:
|
|
9
|
+
[x: string]: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
10
10
|
body: PropTypes.Validator<string>;
|
|
11
11
|
attachment: PropTypes.Requireable<PropTypes.InferProps<{
|
|
12
12
|
url: PropTypes.Requireable<string>;
|
package/components/FeedItem/feedItemTypes/StageOverviewFeedItem/components/Stages/utils.d.ts
CHANGED
|
@@ -1,6 +1,24 @@
|
|
|
1
1
|
export function getSummaries(data: any, stagesData: any, predictionsData: any): {
|
|
2
|
-
actualSummary:
|
|
3
|
-
|
|
2
|
+
actualSummary: {
|
|
3
|
+
top_perforation: any;
|
|
4
|
+
bottom_perforation: any;
|
|
5
|
+
perforated_length: any;
|
|
6
|
+
total_shots: any;
|
|
7
|
+
flush_volume: any;
|
|
8
|
+
chemicals: any;
|
|
9
|
+
proppants: any;
|
|
10
|
+
fluids: any;
|
|
11
|
+
};
|
|
12
|
+
designSummary: {
|
|
13
|
+
top_perforation: any;
|
|
14
|
+
bottom_perforation: any;
|
|
15
|
+
perforated_length: any;
|
|
16
|
+
total_shots: any;
|
|
17
|
+
flush_volume: any;
|
|
18
|
+
chemicals: any;
|
|
19
|
+
proppants: any;
|
|
20
|
+
fluids: any;
|
|
21
|
+
};
|
|
4
22
|
predictionSummary: any;
|
|
5
23
|
};
|
|
6
24
|
//# sourceMappingURL=utils.d.ts.map
|
package/components/FeedItem/feedItemTypes/StageOverviewFeedItem/components/Stages/utils.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/FeedItem/feedItemTypes/StageOverviewFeedItem/components/Stages/utils.js"],"names":[],"mappings":"AAGO
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/FeedItem/feedItemTypes/StageOverviewFeedItem/components/Stages/utils.js"],"names":[],"mappings":"AAGO;;;;;;;;;;;;;;;;;;;;;;EAwBN"}
|
|
@@ -9,7 +9,7 @@ declare namespace TracesMemoFeedItem {
|
|
|
9
9
|
namespace propTypes {
|
|
10
10
|
const feedItem: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
11
11
|
context: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
12
|
-
[x:
|
|
12
|
+
[x: string]: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
13
13
|
body: PropTypes.Validator<string>;
|
|
14
14
|
attachment: PropTypes.Requireable<PropTypes.InferProps<{
|
|
15
15
|
url: PropTypes.Requireable<string>;
|
|
@@ -10,7 +10,7 @@ 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
|
-
}>, "
|
|
13
|
+
}>, "fileName" | "classes" | "fileUrl" | "handleFileDelete">, "fileName" | "fileUrl" | "handleFileDelete"> & import("@material-ui/core").StyledComponentProps<"deleteTooltip">>;
|
|
14
14
|
export default _default;
|
|
15
15
|
import PropTypes from "prop-types";
|
|
16
16
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,61 +1,52 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
name: any;
|
|
6
|
-
sizeBytes: any;
|
|
7
|
-
handleCancel: any;
|
|
8
|
-
onReload: any;
|
|
9
|
-
onDelete: any;
|
|
10
|
-
loadedBytes: any;
|
|
11
|
-
error: any;
|
|
12
|
-
errorText: any;
|
|
13
|
-
formatError: any;
|
|
14
|
-
importButtonType: any;
|
|
15
|
-
isLoadingAnimation: any;
|
|
16
|
-
}): JSX.Element;
|
|
1
|
+
import PropTypes from 'prop-types';
|
|
2
|
+
interface FilesLoaderProps extends PropTypes.InferProps<typeof filesLoaderPropTypes> {
|
|
3
|
+
}
|
|
4
|
+
declare function FilesLoader({ size, unit, name, sizeBytes, handleCancel, onReload, onDelete, loadedBytes, error, errorText, formatError, importButtonType, isLoadingAnimation, }: FilesLoaderProps): JSX.Element;
|
|
17
5
|
declare namespace FilesLoader {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
export { error_1 as error };
|
|
48
|
-
const errorText_1: string;
|
|
49
|
-
export { errorText_1 as errorText };
|
|
50
|
-
const formatError_1: boolean;
|
|
51
|
-
export { formatError_1 as formatError };
|
|
52
|
-
const importButtonType_1: string;
|
|
53
|
-
export { importButtonType_1 as importButtonType };
|
|
54
|
-
const handleCancel_1: any;
|
|
55
|
-
export { handleCancel_1 as handleCancel };
|
|
56
|
-
const isLoadingAnimation_1: boolean;
|
|
57
|
-
export { isLoadingAnimation_1 as isLoadingAnimation };
|
|
58
|
-
}
|
|
6
|
+
var propTypes: {
|
|
7
|
+
size: PropTypes.Requireable<string>;
|
|
8
|
+
unit: PropTypes.Requireable<string>;
|
|
9
|
+
onDelete: PropTypes.Requireable<(...args: any[]) => any>;
|
|
10
|
+
onReload: PropTypes.Requireable<(...args: any[]) => any>;
|
|
11
|
+
handleCancel: PropTypes.Requireable<(...args: any[]) => any>;
|
|
12
|
+
name: PropTypes.Requireable<string>;
|
|
13
|
+
sizeBytes: PropTypes.Requireable<number>;
|
|
14
|
+
error: PropTypes.Requireable<boolean>;
|
|
15
|
+
errorText: PropTypes.Requireable<string>;
|
|
16
|
+
formatError: PropTypes.Requireable<boolean>;
|
|
17
|
+
importButtonType: PropTypes.Requireable<string>;
|
|
18
|
+
loadedBytes: PropTypes.Validator<number>;
|
|
19
|
+
isLoadingAnimation: PropTypes.Requireable<boolean>;
|
|
20
|
+
};
|
|
21
|
+
var defaultProps: {
|
|
22
|
+
size: string;
|
|
23
|
+
unit: string;
|
|
24
|
+
onDelete: any;
|
|
25
|
+
onReload: any;
|
|
26
|
+
name: string;
|
|
27
|
+
sizeBytes: number;
|
|
28
|
+
error: any;
|
|
29
|
+
errorText: string;
|
|
30
|
+
formatError: boolean;
|
|
31
|
+
importButtonType: string;
|
|
32
|
+
handleCancel: any;
|
|
33
|
+
isLoadingAnimation: boolean;
|
|
34
|
+
};
|
|
59
35
|
}
|
|
60
|
-
|
|
36
|
+
declare const filesLoaderPropTypes: {
|
|
37
|
+
size: PropTypes.Requireable<string>;
|
|
38
|
+
unit: PropTypes.Requireable<string>;
|
|
39
|
+
onDelete: PropTypes.Requireable<(...args: any[]) => any>;
|
|
40
|
+
onReload: PropTypes.Requireable<(...args: any[]) => any>;
|
|
41
|
+
handleCancel: PropTypes.Requireable<(...args: any[]) => any>;
|
|
42
|
+
name: PropTypes.Requireable<string>;
|
|
43
|
+
sizeBytes: PropTypes.Requireable<number>;
|
|
44
|
+
error: PropTypes.Requireable<boolean>;
|
|
45
|
+
errorText: PropTypes.Requireable<string>;
|
|
46
|
+
formatError: PropTypes.Requireable<boolean>;
|
|
47
|
+
importButtonType: PropTypes.Requireable<string>;
|
|
48
|
+
loadedBytes: PropTypes.Validator<number>;
|
|
49
|
+
isLoadingAnimation: PropTypes.Requireable<boolean>;
|
|
50
|
+
};
|
|
51
|
+
export default FilesLoader;
|
|
61
52
|
//# sourceMappingURL=FilesLoader.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FilesLoader.d.ts","sourceRoot":"","sources":["../../../src/components/FilesLoader/FilesLoader.
|
|
1
|
+
{"version":3,"file":"FilesLoader.d.ts","sourceRoot":"","sources":["../../../src/components/FilesLoader/FilesLoader.tsx"],"names":[],"mappings":"AACA,OAAO,SAAS,MAAM,YAAY,CAAC;AA6CnC,UAAU,gBAAiB,SAAQ,SAAS,CAAC,UAAU,CAAC,OAAO,oBAAoB,CAAC;CAAG;AAOvF,iBAAS,WAAW,CAAC,EACnB,IAAI,EACJ,IAAI,EACJ,IAAI,EACJ,SAAS,EACT,YAAY,EACZ,QAAQ,EACR,QAAQ,EACR,WAAW,EACX,KAAK,EACL,SAAS,EACT,WAAW,EACX,gBAAgB,EAChB,kBAAkB,GACnB,EAAE,gBAAgB,GAAG,GAAG,CAAC,OAAO,CAqMhC;kBAnNQ,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAqNpB,QAAA,MAAM,oBAAoB;;;;;;;;;;;;;;CAczB,CAAA;AAkBD,eAAe,WAAW,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import e
|
|
1
|
+
import{__assign as e}from"../../_virtual/_tslib.js";import{jsxs as o,jsx as r,Fragment as n}from"react/jsx-runtime";import{useState as t,useEffect as i,useMemo as a}from"react";import l from"prop-types";import s from"classnames";import{Typography as c,LinearProgress as d}from"@material-ui/core";import{Close as m,Delete as f}from"@material-ui/icons";import u from"../IconButton/index.js";import p from"../Button/index.js";import h from"./Icons/IconWarning.js";import g from"./Icons/IconSuccess.js";import v from"./Icons/IconRefresh.js";import z from"./Icons/FileIcon.js";import N from"./Icons/UploadIcon.js";import{useStyles as B}from"./useStyles.js";function I(l){var I,y,S,C,w,b,L,j=l.size,M=l.unit,P=l.name,T=l.sizeBytes,x=l.handleCancel,k=l.onReload,E=l.onDelete,R=l.loadedBytes,A=l.error,D=l.errorText,U=l.formatError,O=l.importButtonType,W=l.isLoadingAnimation,F=B(),_=t({}),q=_[0],K=_[1],G=t(0),H=G[0],J=G[1],Q=t(!0),V=Q[0],X=Q[1],Y="large"===j;i((function(){K(function(e,o){return"time"===o?{downloaded:0,unit:"min",convertedSize:e}:e>=Math.pow(10,6)?{downloaded:0,unit:"MB",convertedSize:Math.floor(e/Math.pow(10,5))/10}:e>=Math.pow(10,3)?{downloaded:0,unit:"KB",convertedSize:Math.floor(e/Math.pow(10,2))/10}:{downloaded:0,unit:"B",convertedSize:Math.floor(10*e)/10}}(T,M))}),[T,M]),i((function(){if(R&&T){var o=Math.round(R/T*100);K((function(r){return e(e({},r),{downloaded:Math.floor(r.convertedSize*o/10)/10})})),J(o)}}),[R,T]),i((function(){var e;return E&&H>=100&&(X(!0),e=setTimeout((function(){X(!1)}),5e3)),function(){return e&&clearTimeout(e)}}),[H]),i((function(){A&&(J(0),K((function(o){return e(e({},o),{downloaded:0})})))}),[A]);var Z=a((function(){var e,o;return[s(F.iconButton,((e={})[F.iconButtonLarge]=Y,e)),s(F.actionIcon,((o={})[F.actionIconLarge]=Y,o))]}),[Y]),$=Z[0],ee=Z[1];return o("div",e({className:F.fileStateWrapper},{children:[r("div",e({className:F.fileIconContainer},{children:r(z,{name:P,style:{fontSize:Y?48:32}})})),o("div",e({className:F.fileState},{children:[o("div",e({className:F.fileStateProgress},{children:[r("div",e({className:F.fileNameWrapper},{children:r(c,e({className:s(F.fileName,(I={},I[F.fileNameLarge]=Y,I))},{children:P.length>7?o(n,{children:[r("span",e({className:F.firstPart},{children:P.slice(0,P.length-7)})),r("span",{children:P.slice(-7)})]}):P}))})),!W&&r(d,{className:F.progressBar,variant:"determinate",value:H,classes:{colorPrimary:s(F.progressBackground,(y={},y[F.progressBarError]=A,y)),barColorPrimary:s(F.progressBarColor,(S={},S[F.progressBarError]=A,S))}}),o("div",e({className:F.loaderProgressContainer},{children:[!W&&r(c,e({className:s(F.fileSize,(C={},C[F.fileSizeLarge]=Y,C)),component:"span"},{children:"".concat(q.downloaded," of ").concat(q.convertedSize," ").concat(q.unit)})),o("div",e({className:s(F.progressStatus,(w={},w[F.fileSizeLarge]=Y,w))},{children:[A&&o(c,e({component:"div",className:F.errorContainer},{children:[r(h,{size:j}),r(c,e({component:"span",className:s(F.errorText,(b={},b[F.fileSizeLarge]=Y,b))},{children:U?"Upload Error. Unacceptable file format.":"Upload Error".concat(D&&". ".concat(D))}))]})),!A&&!W&&"".concat(H," %")]}))]}))]})),o("div",e({className:F.fileActions},{children:[H<100&&!A&&r(n,{children:W?r("div",{className:s(F.loadingIcon,(L={},L[F.loadingLargeIcon]=Y,L)),style:{backgroundImage:"url(".concat("/static/media/c7e056a4353978b8b0393473f0d750ae.svg",")")}}):r(u,e({tooltipProps:{title:"Cancel"},className:$,onClick:function(){x(P),J(0),K((function(o){return e(e({},o),{downloaded:0})}))}},{children:r(m,{classes:{root:ee}})}))}),100===H&&!A&&(!V&&E?r(u,e({variant:"contained",tooltipProps:{title:"Delete"},className:$,onClick:E},{children:r(f,{classes:{root:ee}})})):r(g,{size:j,style:{marginLeft:12}})),k&&A&&r(n,{children:U?r(n,{children:"default"===O?r(p,e({size:Y?"medium":"small",variation:"primary",startIcon:r(N,{}),onClick:k},{children:"Import"})):r(u,e({tooltipProps:{title:"Import File"},className:$,onClick:k},{children:r(N,{style:{fontSize:Y?24:16}})}))}):r(u,e({tooltipProps:{title:"Reload"},className:$,onClick:k},{children:r(v,{style:{fontSize:Y?24:16}})}))})]}))]}))]}))}var y={size:l.oneOf(["small","large"]),unit:l.oneOf(["size","time"]),onDelete:l.func,onReload:l.func,handleCancel:l.func,name:l.string,sizeBytes:l.number,error:l.bool,errorText:l.string,formatError:l.bool,importButtonType:l.oneOf(["default","icon"]),loadedBytes:l.number.isRequired,isLoadingAnimation:l.bool};I.propTypes=y,I.defaultProps={size:"small",unit:"size",onDelete:null,onReload:null,name:"",sizeBytes:1,error:null,errorText:"",formatError:!1,importButtonType:"default",handleCancel:null,isLoadingAnimation:!1};export{I as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{jsx as e}from"react/jsx-runtime";var l=function(l){var t=l.size,i=l.style;return e("svg",{width:"small"===t?16:20,height:"small"===t?16:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:i,children:e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.72494 17.0865C2.4416 17.0865 1.6416 15.6948 2.28327 14.5865L8.55827 3.74482C9.19994 2.63649 10.7999 2.63649 11.4416 3.74482L17.7166 14.5865C18.3583 15.6948 17.5583 17.0865 16.2749 17.0865H3.72494ZM16.2749 15.4198L9.99994 4.57816L3.72494 15.4198H16.2749ZM9.1666 8.75316V10.4198C9.1666 10.8782 9.5416 11.2532 9.99994 11.2532C10.4583 11.2532 10.8333 10.8782 10.8333 10.4198V8.75316C10.8333 8.29482 10.4583 7.91982 9.99994 7.91982C9.5416 7.91982 9.1666 8.29482 9.1666 8.75316ZM10.8333 14.5865V12.9198H9.1666V14.5865H10.8333Z",fill:"#F44336"})})};export{l as default};
|
|
1
|
+
import{jsx as e}from"react/jsx-runtime";var l=function(l){var t=l.size,i=l.style;return e("svg",{width:"small"===t?16:20,height:"small"===t?16:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:void 0===i?{}:i,children:e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.72494 17.0865C2.4416 17.0865 1.6416 15.6948 2.28327 14.5865L8.55827 3.74482C9.19994 2.63649 10.7999 2.63649 11.4416 3.74482L17.7166 14.5865C18.3583 15.6948 17.5583 17.0865 16.2749 17.0865H3.72494ZM16.2749 15.4198L9.99994 4.57816L3.72494 15.4198H16.2749ZM9.1666 8.75316V10.4198C9.1666 10.8782 9.5416 11.2532 9.99994 11.2532C10.4583 11.2532 10.8333 10.8782 10.8333 10.4198V8.75316C10.8333 8.29482 10.4583 7.91982 9.99994 7.91982C9.5416 7.91982 9.1666 8.29482 9.1666 8.75316ZM10.8333 14.5865V12.9198H9.1666V14.5865H10.8333Z",fill:"#F44336"})})};export{l as default};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { default as FilesLoader } from
|
|
2
|
-
export { default as FileIcon } from
|
|
1
|
+
export { default as FilesLoader } from './FilesLoader';
|
|
2
|
+
export { default as FileIcon } from './Icons/FileIcon';
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/FilesLoader/index.
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/FilesLoader/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,eAAe,CAAC;AACvD,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,kBAAkB,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const useStyles: (props?: any) => import("@material-ui/styles").ClassNameMap<
|
|
1
|
+
export const useStyles: (props?: any) => import("@material-ui/styles").ClassNameMap<"fileName" | "iconButton" | "errorText" | "actionIcon" | "fileStateWrapper" | "fileIconContainer" | "fileState" | "fileStateProgress" | "fileNameWrapper" | "fileNameLarge" | "firstPart" | "fileSize" | "fileSizeLarge" | "checkIcon" | "iconButtonLarge" | "actionIconLarge" | "progressBar" | "fileActions" | "progressBackground" | "progressBarColor" | "progressBarError" | "loaderProgressContainer" | "progressStatus" | "errorContainer" | "loadingIcon" | "@keyframes rotation" | "loadingLargeIcon">;
|
|
2
2
|
//# sourceMappingURL=useStyles.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useStyles.d.ts","sourceRoot":"","sources":["../../../src/components/FilesLoader/useStyles.js"],"names":[],"mappings":"AAEA,
|
|
1
|
+
{"version":3,"file":"useStyles.d.ts","sourceRoot":"","sources":["../../../src/components/FilesLoader/useStyles.js"],"names":[],"mappings":"AAEA,okBAoII"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{makeStyles as e}from"@material-ui/core";var
|
|
1
|
+
import{makeStyles as e,createStyles as t}from"@material-ui/core";var r=e((function(e){return t({fileStateWrapper:{display:"flex",alignItems:"center"},fileIconContainer:{display:"flex",alignItems:"center",marginRight:"16px"},fileState:{display:"flex",flexGrow:"1",alignItems:"center"},fileStateProgress:{flexGrow:"1"},fileNameWrapper:{display:"table",tableLayout:"fixed",width:"100%"},fileName:{display:"flex",fontSize:"14px",lineHeight:"20px",color:e.palette.primary.text1},fileNameLarge:{fontSize:"18px",lineHeight:"24px"},firstPart:{maxWidth:"calc(100% - 72px)",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},fileSize:{fontSize:"12px",lineHeight:"16px",color:e.palette.primary.text6},fileSizeLarge:{fontSize:"14px !important",lineHeight:"20px !important"},checkIcon:{color:e.palette.success.bright},iconButton:{padding:"7px",color:e.palette.primary.text6,"&:hover":{color:e.palette.primary.text1}},iconButtonLarge:{padding:"8px"},actionIcon:{fontSize:"16px !important",cursor:"pointer",color:"white #important"},actionIconLarge:{fontSize:"24px !important"},progressBar:{borderRadius:"2px",height:"2px",margin:"4px 0"},fileActions:{display:"flex",alignItems:"center",paddingLeft:"16px"},progressBackground:{backgroundColor:"".concat(e.palette.primary.light,"66")},progressBarColor:{backgroundColor:e.palette.primary.light},progressBarError:{backgroundColor:"#ffffff66"},loaderProgressContainer:{display:"flex",justifyContent:"space-between",width:"100%",fontSize:"11px",fontWeight:"400",letterSpacing:"0.4px",color:e.palette.primary.text6,marginTop:"4px"},progressStatus:{fontSize:"12px",lineHeight:"16px",color:e.palette.primary.text6},errorContainer:{display:"flex"},errorText:{color:e.palette.error.main,fontSize:"12px",lineHeight:"16px",marginLeft:"8px"},loadingIcon:{width:"30px",height:"30px",backgroundRepeat:"no-repeat",backgroundPosition:"center",backgroundSize:"contain",animation:"$rotation 1.4s infinite linear"},"@keyframes rotation":{from:{transform:"rotate(0deg)"},to:{transform:"rotate(359deg)"}},loadingLargeIcon:{width:"40px",height:"40px"}})}));export{r as useStyles};
|
|
@@ -1,19 +1,27 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
import PropTypes from 'prop-types';
|
|
2
|
+
import { IconButtonProps as MuiIconButtonProps } from '@material-ui/core';
|
|
3
|
+
interface IconButtonProps extends Omit<MuiIconButtonProps, 'size' | 'variant' | 'classes'>, PropTypes.InferProps<typeof iconButtonPropTypes> {
|
|
4
|
+
size?: 'small' | 'medium' | 'large';
|
|
5
|
+
variant?: 'contained' | 'default';
|
|
6
|
+
}
|
|
7
|
+
declare const IconButton: {
|
|
8
|
+
({ tooltipProps, ...otherProps }: IconButtonProps): JSX.Element;
|
|
9
|
+
propTypes: {
|
|
8
10
|
size: PropTypes.Requireable<string>;
|
|
9
11
|
variant: PropTypes.Requireable<string>;
|
|
10
12
|
tooltipProps: PropTypes.Requireable<PropTypes.InferProps<{
|
|
11
13
|
title: PropTypes.Requireable<string>;
|
|
12
14
|
}>>;
|
|
15
|
+
classes: PropTypes.Requireable<PropTypes.InferProps<{
|
|
16
|
+
root: PropTypes.Requireable<string>;
|
|
17
|
+
disabled: PropTypes.Requireable<string>;
|
|
18
|
+
colorPrimary: PropTypes.Requireable<string>;
|
|
19
|
+
sizeSmall: PropTypes.Requireable<string>;
|
|
20
|
+
}>>;
|
|
13
21
|
disabled: PropTypes.Requireable<boolean>;
|
|
14
22
|
'data-testid': PropTypes.Requireable<string>;
|
|
15
23
|
};
|
|
16
|
-
|
|
24
|
+
defaultProps: {
|
|
17
25
|
size: string;
|
|
18
26
|
variant: string;
|
|
19
27
|
tooltipProps: {
|
|
@@ -22,6 +30,21 @@ declare namespace IconButton {
|
|
|
22
30
|
disabled: boolean;
|
|
23
31
|
'data-testid': string;
|
|
24
32
|
};
|
|
25
|
-
}
|
|
26
|
-
|
|
33
|
+
};
|
|
34
|
+
declare const iconButtonPropTypes: {
|
|
35
|
+
size: PropTypes.Requireable<string>;
|
|
36
|
+
variant: PropTypes.Requireable<string>;
|
|
37
|
+
tooltipProps: PropTypes.Requireable<PropTypes.InferProps<{
|
|
38
|
+
title: PropTypes.Requireable<string>;
|
|
39
|
+
}>>;
|
|
40
|
+
classes: PropTypes.Requireable<PropTypes.InferProps<{
|
|
41
|
+
root: PropTypes.Requireable<string>;
|
|
42
|
+
disabled: PropTypes.Requireable<string>;
|
|
43
|
+
colorPrimary: PropTypes.Requireable<string>;
|
|
44
|
+
sizeSmall: PropTypes.Requireable<string>;
|
|
45
|
+
}>>;
|
|
46
|
+
disabled: PropTypes.Requireable<boolean>;
|
|
47
|
+
'data-testid': PropTypes.Requireable<string>;
|
|
48
|
+
};
|
|
49
|
+
export default IconButton;
|
|
27
50
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/IconButton/index.
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/IconButton/index.tsx"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AAEnC,OAAO,EAAkE,eAAe,IAAI,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AAwD1I,UAAU,eAAgB,SACxB,IAAI,CAAC,kBAAkB,EAAE,MAAM,GAAG,SAAS,GAAG,SAAS,CAAC,EACxD,SAAS,CAAC,UAAU,CAAC,OAAO,mBAAmB,CAAC;IAChD,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;IACpC,OAAO,CAAC,EAAE,WAAW,GAAG,SAAS,CAAC;CACnC;AAED,QAAA,MAAM,UAAU;sCAA4D,eAAe,GAAG,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;CAgCxG,CAAC;AAEF,QAAA,MAAM,mBAAmB;;;;;;;;;;;;;;CAYxB,CAAC;AAYF,eAAe,UAAU,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import
|
|
1
|
+
import{__rest as o,__assign as t}from"../../_virtual/_tslib.js";import{jsx as r}from"react/jsx-runtime";import i from"prop-types";import a from"classnames";import{makeStyles as e,Tooltip as n,IconButton as l}from"@material-ui/core";import{useState as s}from"react";var d=e((function(o){return{root:{color:o.palette.primary.text6,padding:6,"&:hover":{color:"#FFFFFF",backgroundColor:o.palette.background.b7,"&.MuiIconButton-colorPrimary":{color:o.palette.primary.main}},"&:active":{color:"#FFFFFF","&.MuiIconButton-colorPrimary":{color:o.palette.primary.main}},"&.Mui-disabled":{pointerEvents:"all",opacity:.4,color:"#FFFFFF","&.MuiIconButton-colorPrimary":{color:o.palette.primary.main}},"& .MuiSvgIcon-root":{color:"inherit",fontSize:"inherit"}},colorPrimary:{color:o.palette.primary.main},sizeSmall:{fontSize:16,padding:7},sizeLarge:{"&.MuiButtonBase-root":{padding:8}},contained:{backgroundColor:o.palette.background.b9},containedDisabled:{"&.MuiButtonBase-root":{backgroundColor:o.palette.background.b9}},tooltip:{top:"-10px !important"}}})),c=function(i){var e,c,p=i.tooltipProps,m=void 0===p?{title:void 0}:p,u=o(i,["tooltipProps"]),g=u.size,b=u.variant,f=u.classes,F=void 0===f?{}:f,y=u["data-testid"],v=d(),P=s(!1),z=P[0],B=P[1],M=t(t({},F),{root:a(F.root,v.root,(e={},e[v.sizeLarge]="large"===g,e[v.contained]="contained"===b,e)),disabled:a(F.disabled,(c={},c[v.containedDisabled]="contained"===b,c)),colorPrimary:a(F.colorPrimary,v.colorPrimary),sizeSmall:a(F.sizeSmall,v.sizeSmall)});return m.title?r(n,t({},m,{open:z},{children:r(l,t({"data-testid":y,classes:M,onMouseOver:function(){return B(!0)},onMouseOut:function(){return B(!1)}},u))})):r(l,t({"data-testid":y,classes:M},u))},p={size:i.oneOf(["small","medium","large"]),variant:i.oneOf(["default","contained"]),tooltipProps:i.shape({title:i.string}),classes:i.shape({root:i.string,disabled:i.string,colorPrimary:i.string,sizeSmall:i.string}),disabled:i.bool,"data-testid":i.string};c.propTypes=p,c.defaultProps={size:"medium",variant:"default",tooltipProps:{title:void 0},disabled:!1,"data-testid":"IconButton"};export{c as default};
|
|
@@ -41,7 +41,7 @@ declare const _default: import("react").ComponentType<Pick<Pick<Pick<{
|
|
|
41
41
|
tooltipProps: PropTypes.Requireable<PropTypes.InferProps<{}>>;
|
|
42
42
|
menuProps: PropTypes.Requireable<PropTypes.InferProps<{}>>;
|
|
43
43
|
iconButtonProps: PropTypes.Requireable<PropTypes.InferProps<{}>>;
|
|
44
|
-
}>, "className" | "classes" | "color" | "children" | "disabled" | "transformOrigin" | "data-testid" | "disableRipple" | "anchorOrigin" | "marginThreshold" | "tooltipProps" | "
|
|
44
|
+
}>, "className" | "classes" | "color" | "children" | "disabled" | "transformOrigin" | "data-testid" | "disableRipple" | "anchorOrigin" | "marginThreshold" | "tooltipProps" | "iconButtonStyle" | "IconElement" | "IconButtonComponent" | "iconButtonProps" | "menuProps">, never> & {
|
|
45
45
|
className?: string;
|
|
46
46
|
classes?: PropTypes.InferProps<{
|
|
47
47
|
iconButton: PropTypes.Requireable<string>;
|
|
@@ -62,12 +62,12 @@ declare const _default: import("react").ComponentType<Pick<Pick<Pick<{
|
|
|
62
62
|
}>;
|
|
63
63
|
marginThreshold?: number;
|
|
64
64
|
tooltipProps?: PropTypes.InferProps<{}>;
|
|
65
|
+
iconButtonStyle?: PropTypes.InferProps<{}>;
|
|
65
66
|
IconElement?: PropTypes.ReactElementLike;
|
|
66
67
|
IconButtonComponent?: any;
|
|
67
|
-
menuProps?: PropTypes.InferProps<{}>;
|
|
68
|
-
iconButtonStyle?: PropTypes.InferProps<{}>;
|
|
69
68
|
iconButtonProps?: PropTypes.InferProps<{}>;
|
|
70
|
-
|
|
69
|
+
menuProps?: PropTypes.InferProps<{}>;
|
|
70
|
+
} & {}, "className" | "color" | "children" | "disabled" | "transformOrigin" | "data-testid" | "disableRipple" | "anchorOrigin" | "marginThreshold" | "tooltipProps" | "iconButtonStyle" | "IconElement" | "IconButtonComponent" | "iconButtonProps" | "menuProps"> & import("@material-ui/core").StyledComponentProps<"iconButton">>;
|
|
71
71
|
export default _default;
|
|
72
72
|
import PropTypes from "prop-types";
|
|
73
73
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,19 +1,16 @@
|
|
|
1
|
+
import { FullScreenLoadingIndicatorProps } from "./types";
|
|
2
|
+
declare const FullScreenLoadingIndicator: {
|
|
3
|
+
(props: FullScreenLoadingIndicatorProps): JSX.Element;
|
|
4
|
+
propTypes: {
|
|
5
|
+
className: import("prop-types").Requireable<number>;
|
|
6
|
+
white: import("prop-types").Requireable<boolean>;
|
|
7
|
+
size: import("prop-types").Requireable<number>;
|
|
8
|
+
};
|
|
9
|
+
defaultProps: {
|
|
10
|
+
white: boolean;
|
|
11
|
+
size: number;
|
|
12
|
+
className: string;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
1
15
|
export default FullScreenLoadingIndicator;
|
|
2
|
-
declare function FullScreenLoadingIndicator(props: any): JSX.Element;
|
|
3
|
-
declare namespace FullScreenLoadingIndicator {
|
|
4
|
-
namespace propTypes {
|
|
5
|
-
const white: PropTypes.Requireable<boolean>;
|
|
6
|
-
const size: PropTypes.Requireable<number>;
|
|
7
|
-
const className: PropTypes.Requireable<string>;
|
|
8
|
-
}
|
|
9
|
-
namespace defaultProps {
|
|
10
|
-
const white_1: boolean;
|
|
11
|
-
export { white_1 as white };
|
|
12
|
-
const size_1: number;
|
|
13
|
-
export { size_1 as size };
|
|
14
|
-
const className_1: string;
|
|
15
|
-
export { className_1 as className };
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
import PropTypes from "prop-types";
|
|
19
16
|
//# sourceMappingURL=FullScreenLoadingIndicator.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FullScreenLoadingIndicator.d.ts","sourceRoot":"","sources":["../../../src/components/LoadingIndicator/FullScreenLoadingIndicator.
|
|
1
|
+
{"version":3,"file":"FullScreenLoadingIndicator.d.ts","sourceRoot":"","sources":["../../../src/components/LoadingIndicator/FullScreenLoadingIndicator.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAmC,+BAA+B,EAAE,MAAM,SAAS,CAAC;AAG3F,QAAA,MAAM,0BAA0B;YAAW,+BAA+B,GAAG,WAAW;;;;;;;;;;;CAYvF,CAAC;AAUF,eAAe,0BAA0B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import
|
|
1
|
+
import{__assign as r}from"../../_virtual/_tslib.js";import{jsx as a}from"react/jsx-runtime";import i from"classnames";import s from"./Loader.js";import{screenLoadingIndicatorPropTypes as e}from"./types.js";import o from"./LoadingIndicator.css.js";var t=function(e){var t=e.white,m=e.size,p=e.className;return a("div",r({className:i(o.appLoading,p)},{children:a("div",r({className:o.appLoadingGrid},{children:a("div",r({className:o.appLoadingInner},{children:a(s,{white:t,size:m})}))}))}))};t.propTypes=e,t.defaultProps={white:!0,size:80,className:""};export{t as default};
|