@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,36 +1,56 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import { SelectProps as MuiSelectProps, MenuProps as MuiMenuProps, FormControlProps as MuiFormControlProps } from '@material-ui/core';
|
|
2
|
+
import PropTypes from 'prop-types';
|
|
3
|
+
interface SelectProps extends MuiFormControlProps, PropTypes.InferProps<typeof selectPropTypes> {
|
|
4
|
+
MenuProps?: Partial<MuiMenuProps> & {
|
|
5
|
+
list: string;
|
|
6
|
+
paper: string;
|
|
7
|
+
};
|
|
8
|
+
}
|
|
9
|
+
declare const Select: {
|
|
10
|
+
(props: SelectProps & MuiSelectProps): JSX.Element;
|
|
11
|
+
propTypes: {
|
|
12
|
+
FormControlProps: PropTypes.Requireable<PropTypes.InferProps<{
|
|
6
13
|
classes: PropTypes.Requireable<PropTypes.InferProps<{
|
|
7
14
|
root: PropTypes.Requireable<string>;
|
|
8
15
|
}>>;
|
|
9
16
|
disabled: PropTypes.Requireable<boolean>;
|
|
10
17
|
variant: PropTypes.Requireable<string>;
|
|
11
18
|
}>>;
|
|
12
|
-
|
|
19
|
+
InputLabelProps: PropTypes.Requireable<PropTypes.InferProps<{
|
|
13
20
|
classes: PropTypes.Requireable<PropTypes.InferProps<{
|
|
14
21
|
root: PropTypes.Requireable<string>;
|
|
15
22
|
disabled: PropTypes.Requireable<string>;
|
|
16
23
|
}>>;
|
|
17
24
|
}>>;
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
}
|
|
35
|
-
|
|
25
|
+
label: PropTypes.Requireable<string>;
|
|
26
|
+
formHelperText: PropTypes.Requireable<string>;
|
|
27
|
+
error: PropTypes.Requireable<boolean>;
|
|
28
|
+
};
|
|
29
|
+
defaultProps: {
|
|
30
|
+
FormControlProps: {};
|
|
31
|
+
InputLabelProps: {};
|
|
32
|
+
label: any;
|
|
33
|
+
formHelperText: any;
|
|
34
|
+
error: boolean;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
declare const selectPropTypes: {
|
|
38
|
+
FormControlProps: PropTypes.Requireable<PropTypes.InferProps<{
|
|
39
|
+
classes: PropTypes.Requireable<PropTypes.InferProps<{
|
|
40
|
+
root: PropTypes.Requireable<string>;
|
|
41
|
+
}>>;
|
|
42
|
+
disabled: PropTypes.Requireable<boolean>;
|
|
43
|
+
variant: PropTypes.Requireable<string>;
|
|
44
|
+
}>>;
|
|
45
|
+
InputLabelProps: PropTypes.Requireable<PropTypes.InferProps<{
|
|
46
|
+
classes: PropTypes.Requireable<PropTypes.InferProps<{
|
|
47
|
+
root: PropTypes.Requireable<string>;
|
|
48
|
+
disabled: PropTypes.Requireable<string>;
|
|
49
|
+
}>>;
|
|
50
|
+
}>>;
|
|
51
|
+
label: PropTypes.Requireable<string>;
|
|
52
|
+
formHelperText: PropTypes.Requireable<string>;
|
|
53
|
+
error: PropTypes.Requireable<boolean>;
|
|
54
|
+
};
|
|
55
|
+
export default Select;
|
|
36
56
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Select/index.
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Select/index.tsx"],"names":[],"mappings":"AACA,OAAO,EAEL,WAAW,IAAI,cAAc,EAC7B,SAAS,IAAI,YAAY,EAEzB,gBAAgB,IAAI,mBAAmB,EAIxC,MAAM,mBAAmB,CAAC;AAC3B,OAAO,SAAS,MAAM,YAAY,CAAC;AA+InC,UAAU,WAAY,SAAQ,mBAAmB,EAAE,SAAS,CAAC,UAAU,CAAC,OAAO,eAAe,CAAC;IAC7F,SAAS,CAAC,EAAE,OAAO,CAAC,YAAY,CAAC,GAAG;QAClC,IAAI,EAAE,MAAM,CAAC;QACb,KAAK,EAAE,MAAM,CAAC;KACf,CAAA;CACF;AAED,QAAA,MAAM,MAAM;2CAA0C,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;CA4ChE,CAAC;AAEF,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;CAiBpB,CAAC;AAYF,eAAe,MAAM,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import e from"
|
|
1
|
+
import{__rest as e,__assign as o}from"../../_virtual/_tslib.js";import{jsxs as r,jsx as t}from"react/jsx-runtime";import{useMemo as l}from"react";import{makeStyles as i,FormControl as a,InputLabel as n,Select as u,FormHelperText as p}from"@material-ui/core";import d from"prop-types";import s from"uuid/v4";import c from"classnames";var m=i((function(e){return{formControlRoot:{"&:hover":{"& .MuiFormLabel-root":{color:e.palette.primary.contrastText},"& .MuiInput-underline:not(.Mui-disabled), & .MuiFilledInput-underline:not(.Mui-disabled)":{"&::before":{borderBottom:"2px solid ".concat(e.palette.primary.contrastText)}},"& .MuiSvgIcon-root.MuiSelect-icon":{color:e.palette.primary.contrastText}},"& .MuiInputBase-root.Mui-focused":{"& .MuiSvgIcon-root.MuiSelect-icon":{color:e.palette.primary.main}},"& .MuiInput-underline, & .MuiFilledInput-underline":{"&::before":{borderBottom:"1px solid ".concat(e.palette.primary.text6)},"&.Mui-disabled":{"&::before":{opacity:"0.4",borderBottom:"1px solid ".concat(e.palette.primary.text6)},"&::after":{opacity:"0.4"}}},"& .MuiSelect-root":{"&.Mui-disabled":{color:e.palette.primary.contrastText,opacity:"0.4"}},"& .MuiFormLabel-root":{color:e.palette.primary.text6,"&.Mui-focused":{color:e.palette.primary.main},"&.Mui-disabled.MuiInputLabel-root":{color:e.palette.primary.text6,opacity:"0.4"}},"& .MuiSelect-icon.Mui-disabled":{color:e.palette.primary.contrastText,opacity:"0.4"},"& .MuiFormHelperText-root":{color:e.palette.primary.text6,"&.Mui-disabled":{opacity:"0.4"}},"& .MuiFilledInput-root":{backgroundColor:e.palette.background.b6,"&:hover":{backgroundColor:e.palette.background.b7},"&.Mui-disabled":{backgroundColor:e.palette.background.b6,opacity:"0.4"}},"& .MuiInputLabel-filled":{left:2},"& .MuiSelect-filled":{paddingLeft:14},"& .MuiSvgIcon-root.MuiSelect-icon":{color:e.palette.primary.text6}},menuList:{backgroundColor:e.palette.background.b9,"& .MuiMenuItem-root":{"&.Mui-selected":{backgroundColor:e.palette.primary.text9}}},error:{"&:hover":{"& .MuiInput-underline, & .MuiFilledInput-underline":{"&::after":{borderBottom:"2px solid ".concat(e.palette.error.main)}},"& .MuiInput-underline.Mui-disabled, & .MuiFilledInput-underline.Mui-disabled":{"&::before":{borderBottom:"1px solid ".concat(e.palette.error.main)},"&::after":{display:"none"}},"& .MuiOutlinedInput-root.Mui-error:not(.Mui-disabled) .MuiOutlinedInput-notchedOutline":{borderWidth:2}},"& .MuiFormLabel-root.MuiInputLabel-root":{color:e.palette.error.main,"&.Mui-focused":{color:e.palette.error.main},"&.Mui-disabled":{color:e.palette.error.main}},"& .MuiFormHelperText-root":{color:e.palette.error.main},"& .MuiInput-underline, & .MuiFilledInput-underline":{"&::after":{borderBottom:"1px solid ".concat(e.palette.error.main)},"&.Mui-disabled::after":{display:"none"},"&.Mui-disabled::before":{borderBottom:"1px solid ".concat(e.palette.error.main)}},"& .MuiOutlinedInput-root.Mui-disabled .MuiOutlinedInput-notchedOutline":{borderColor:e.palette.error.main,opacity:"0.4"}}}})),b=function(i){var d,b,M,f,I,x,y=i.FormControlProps,v=i.InputLabelProps,g=i.label,F=i.formHelperText,P=e(i,["FormControlProps","InputLabelProps","label","formHelperText"]),h=l(s,[]),L=m();return r(a,o({},y,{classes:o(o({},y.classes),{root:c(null===(M=y.classes)||void 0===M?void 0:M.root,L.formControlRoot,(d={},d[L.error]=P.error,d))}),disabled:y.disabled||P.disabled},{children:[g&&t(n,o({id:h},v,{children:g})),t(u,o({},P,{labelId:h,label:g,MenuProps:o(o({},null==P?void 0:P.MenuProps),{classes:o(o({},null===(f=null==P?void 0:P.MenuProps)||void 0===f?void 0:f.classes),{paper:c(null===(I=null==P?void 0:P.MenuProps)||void 0===I?void 0:I.paper,(b={},b[L.outlinedMenuPaper]="outlined"===y.variant,b)),list:c(null===(x=null==P?void 0:P.MenuProps)||void 0===x?void 0:x.list,L.menuList)})})})),F&&t(p,{children:F})]}))},M={FormControlProps:d.shape({classes:d.shape({root:d.string}),disabled:d.bool,variant:d.oneOf(["outlined","filled","standard"])}),InputLabelProps:d.shape({classes:d.shape({root:d.string,disabled:d.string})}),label:d.string,formHelperText:d.string,error:d.bool};b.propTypes=M,b.defaultProps={FormControlProps:{},InputLabelProps:{},label:null,formHelperText:null,error:!1};export{b as default};
|
|
@@ -1,56 +1,93 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
classes:
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
const defaultValue_1: string;
|
|
26
|
-
export { defaultValue_1 as defaultValue };
|
|
27
|
-
const lensColor_1: string;
|
|
28
|
-
export { lensColor_1 as lensColor };
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
declare const _default: import("react").ComponentType<Pick<Pick<Pick<{
|
|
32
|
-
onChange: any;
|
|
33
|
-
currentValue: any;
|
|
34
|
-
defaultValue: any;
|
|
35
|
-
classes: any;
|
|
36
|
-
condensed: any;
|
|
37
|
-
colors: any;
|
|
38
|
-
lensColor: any;
|
|
39
|
-
}, never> & Pick<PropTypes.InferProps<{
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import PropTypes from 'prop-types';
|
|
3
|
+
declare type ColorEditorProps = PropTypes.InferProps<typeof colorEditorPropTypes>;
|
|
4
|
+
export declare const ColorEditor: {
|
|
5
|
+
({ onChange, currentValue, defaultValue, classes, condensed, colors, lensColor, }: ColorEditorProps): JSX.Element;
|
|
6
|
+
propTypes: {
|
|
7
|
+
currentValue: PropTypes.Validator<string>;
|
|
8
|
+
defaultValue: PropTypes.Requireable<string>;
|
|
9
|
+
condensed: PropTypes.Requireable<boolean>;
|
|
10
|
+
onChange: PropTypes.Validator<(...args: any[]) => any>;
|
|
11
|
+
colors: PropTypes.Requireable<string[]>;
|
|
12
|
+
classes: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
13
|
+
button: PropTypes.Requireable<string>;
|
|
14
|
+
}>>>;
|
|
15
|
+
lensColor: PropTypes.Requireable<string>;
|
|
16
|
+
};
|
|
17
|
+
defaultProps: {
|
|
18
|
+
condensed: boolean;
|
|
19
|
+
colors: string[];
|
|
20
|
+
defaultValue: string;
|
|
21
|
+
lensColor: string;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
declare const colorEditorPropTypes: {
|
|
40
25
|
currentValue: PropTypes.Validator<string>;
|
|
41
26
|
defaultValue: PropTypes.Requireable<string>;
|
|
42
27
|
condensed: PropTypes.Requireable<boolean>;
|
|
43
28
|
onChange: PropTypes.Validator<(...args: any[]) => any>;
|
|
44
29
|
colors: PropTypes.Requireable<string[]>;
|
|
45
|
-
classes: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
30
|
+
classes: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
31
|
+
button: PropTypes.Requireable<string>;
|
|
32
|
+
}>>>;
|
|
46
33
|
lensColor: PropTypes.Requireable<string>;
|
|
47
|
-
}
|
|
34
|
+
};
|
|
35
|
+
declare const _default: import("react").ComponentType<Pick<Pick<Pick<PropTypes.InferPropsInner<Pick<{
|
|
36
|
+
currentValue: PropTypes.Validator<string>;
|
|
37
|
+
defaultValue: PropTypes.Requireable<string>;
|
|
38
|
+
condensed: PropTypes.Requireable<boolean>;
|
|
39
|
+
onChange: PropTypes.Validator<(...args: any[]) => any>;
|
|
40
|
+
colors: PropTypes.Requireable<string[]>;
|
|
41
|
+
classes: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
42
|
+
button: PropTypes.Requireable<string>;
|
|
43
|
+
}>>>;
|
|
44
|
+
lensColor: PropTypes.Requireable<string>;
|
|
45
|
+
}, never>> & Partial<PropTypes.InferPropsInner<Pick<{
|
|
46
|
+
currentValue: PropTypes.Validator<string>;
|
|
47
|
+
defaultValue: PropTypes.Requireable<string>;
|
|
48
|
+
condensed: PropTypes.Requireable<boolean>;
|
|
49
|
+
onChange: PropTypes.Validator<(...args: any[]) => any>;
|
|
50
|
+
colors: PropTypes.Requireable<string[]>;
|
|
51
|
+
classes: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
52
|
+
button: PropTypes.Requireable<string>;
|
|
53
|
+
}>>>;
|
|
54
|
+
lensColor: PropTypes.Requireable<string>;
|
|
55
|
+
}, "classes" | "onChange" | "defaultValue" | "condensed" | "currentValue" | "lensColor" | "colors">>>, "classes" | "onChange" | "defaultValue" | "condensed" | "currentValue" | "lensColor" | "colors"> & Pick<PropTypes.InferProps<{
|
|
56
|
+
currentValue: PropTypes.Validator<string>;
|
|
57
|
+
defaultValue: PropTypes.Requireable<string>;
|
|
58
|
+
condensed: PropTypes.Requireable<boolean>;
|
|
59
|
+
onChange: PropTypes.Validator<(...args: any[]) => any>;
|
|
60
|
+
colors: PropTypes.Requireable<string[]>;
|
|
61
|
+
classes: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
62
|
+
button: PropTypes.Requireable<string>;
|
|
63
|
+
}>>>;
|
|
64
|
+
lensColor: PropTypes.Requireable<string>;
|
|
65
|
+
}>, never> & Pick<PropTypes.InferPropsInner<Pick<{
|
|
66
|
+
currentValue: PropTypes.Validator<string>;
|
|
67
|
+
defaultValue: PropTypes.Requireable<string>;
|
|
68
|
+
condensed: PropTypes.Requireable<boolean>;
|
|
69
|
+
onChange: PropTypes.Validator<(...args: any[]) => any>;
|
|
70
|
+
colors: PropTypes.Requireable<string[]>;
|
|
71
|
+
classes: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
72
|
+
button: PropTypes.Requireable<string>;
|
|
73
|
+
}>>>;
|
|
74
|
+
lensColor: PropTypes.Requireable<string>;
|
|
75
|
+
}, never>> & Partial<PropTypes.InferPropsInner<Pick<{
|
|
76
|
+
currentValue: PropTypes.Validator<string>;
|
|
77
|
+
defaultValue: PropTypes.Requireable<string>;
|
|
78
|
+
condensed: PropTypes.Requireable<boolean>;
|
|
79
|
+
onChange: PropTypes.Validator<(...args: any[]) => any>;
|
|
80
|
+
colors: PropTypes.Requireable<string[]>;
|
|
81
|
+
classes: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
82
|
+
button: PropTypes.Requireable<string>;
|
|
83
|
+
}>>>;
|
|
84
|
+
lensColor: PropTypes.Requireable<string>;
|
|
85
|
+
}, "classes" | "onChange" | "defaultValue" | "condensed" | "currentValue" | "lensColor" | "colors">>>, never>, "classes" | "onChange" | "currentValue"> & {
|
|
48
86
|
defaultValue?: string;
|
|
49
87
|
condensed?: boolean;
|
|
50
|
-
colors?: string[];
|
|
51
88
|
lensColor?: string;
|
|
52
|
-
|
|
89
|
+
colors?: string[];
|
|
90
|
+
} & {}, "onChange" | "defaultValue" | "condensed" | "currentValue" | "lensColor" | "colors"> & import("@material-ui/core").StyledComponentProps<"button">>;
|
|
53
91
|
export default _default;
|
|
54
|
-
export
|
|
55
|
-
import PropTypes from "prop-types";
|
|
92
|
+
export declare const colorEditorForDefinitions: (colors: any, defaultValue: any) => (props: any) => JSX.Element;
|
|
56
93
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/SettingEditors/ColorEditor/index.
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/SettingEditors/ColorEditor/index.tsx"],"names":[],"mappings":";AACA,OAAO,SAAS,MAAM,YAAY,CAAC;AAcnC,aAAK,gBAAgB,GAAG,SAAS,CAAC,UAAU,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAE1E,eAAO,MAAM,WAAW;uFAQrB,gBAAgB,GAAG,WAAW;;;;;;;;;;;;;;;;;;CAyDhC,CAAC;AAEF,QAAA,MAAM,oBAAoB;;;;;;;;;;CAUzB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAWF,wBAAkD;AAElD,eAAO,MAAM,yBAAyB,iEAErC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import"
|
|
1
|
+
import{__assign as o}from"../../../_virtual/_tslib.js";import{jsxs as r,jsx as e}from"react/jsx-runtime";import{useState as n}from"react";import t from"prop-types";import{GithubPicker as i,ChromePicker as l}from"react-color";import{withStyles as a,Button as s,ClickAwayListener as c}from"@material-ui/core";import u from"@material-ui/icons/ColorLens";import m from"./style.css.js";var d=function(t){var a=t.onChange,d=t.currentValue,f=t.defaultValue,p=t.classes,h=t.condensed,g=t.colors,C=t.lensColor,v=n(!1),F=v[0],y=v[1],b=n(d||f),V=b[0],k=b[1],x=function(){return a(V)};return r("div",o({className:m.colorEditor},{children:[e(s,o({variant:"contained",color:"primary",onClick:function(){return y(!0)},className:p.button,style:{backgroundColor:V,color:C}},{children:e(u,{})})),F&&e(c,o({mouseEvent:"onMouseDown",touchEvent:"onTouchStart",onClickAway:function(){y(!1),x()}},{children:e("div",o({className:m.colorEditorPickerContainer},{children:h?e(i,{color:V,onChange:function(o){k(o.hex),y(!1),x()},colors:g,triangle:"hide"}):e(l,{color:V,onChange:function(o){k(o.hex),x()}})}))}))]}))},f={currentValue:t.string.isRequired,defaultValue:t.string,condensed:t.bool,onChange:t.func.isRequired,colors:t.arrayOf(t.string),classes:t.shape({button:t.string}).isRequired,lensColor:t.string};d.propTypes=f,d.defaultProps={condensed:!1,colors:["#FF0000","#00FF00","#0000FF"],defaultValue:"#FF0000",lensColor:"#fff"};var p=a({button:{marginBottom:16}})(d);export{d as ColorEditor,p as default};
|
|
@@ -35,6 +35,6 @@ declare const StyledDropdownEditor: import("react").ComponentType<Pick<Pick<Pick
|
|
|
35
35
|
currentValue?: NonNullable<string | number | any[]>;
|
|
36
36
|
errorText?: string;
|
|
37
37
|
renderValue?: (...args: any[]) => any;
|
|
38
|
-
} & {}, "onChange" | "defaultValue" | "placeholder" | "disabled" | "multiple" | "options" | "currentValue" | "errorText" | "renderValue"> & import("@material-ui/core").StyledComponentProps<"selectMenu" | "
|
|
38
|
+
} & {}, "onChange" | "defaultValue" | "placeholder" | "disabled" | "multiple" | "options" | "currentValue" | "errorText" | "renderValue"> & import("@material-ui/core").StyledComponentProps<"selectMenu" | "formControl" | "menuItem" | "multipleMenuItem">>;
|
|
39
39
|
import PropTypes from "prop-types";
|
|
40
40
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,25 +1,29 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
declare
|
|
4
|
-
options:
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
onChange: any;
|
|
8
|
-
}): JSX.Element;
|
|
9
|
-
declare namespace RadioEditor {
|
|
10
|
-
namespace propTypes {
|
|
11
|
-
const options: PropTypes.Validator<PropTypes.InferProps<{
|
|
1
|
+
import PropTypes from 'prop-types';
|
|
2
|
+
declare type RadioEditorProps = PropTypes.InferProps<typeof radioEditorPropTypes>;
|
|
3
|
+
declare const RadioEditor: {
|
|
4
|
+
({ options, currentValue, defaultValue, onChange }: RadioEditorProps): JSX.Element;
|
|
5
|
+
propTypes: {
|
|
6
|
+
options: PropTypes.Validator<PropTypes.InferProps<{
|
|
12
7
|
value: PropTypes.Requireable<string>;
|
|
13
8
|
label: PropTypes.Requireable<string>;
|
|
14
9
|
}>[]>;
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
10
|
+
defaultValue: PropTypes.Validator<NonNullable<NonNullable<string | number>>>;
|
|
11
|
+
currentValue: PropTypes.Requireable<NonNullable<string | number>>;
|
|
12
|
+
onChange: PropTypes.Validator<(...args: any[]) => any>;
|
|
13
|
+
};
|
|
14
|
+
defaultProps: {
|
|
15
|
+
currentValue: any;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
declare const radioEditorPropTypes: {
|
|
19
|
+
options: PropTypes.Validator<PropTypes.InferProps<{
|
|
20
|
+
value: PropTypes.Requireable<string>;
|
|
21
|
+
label: PropTypes.Requireable<string>;
|
|
22
|
+
}>[]>;
|
|
23
|
+
defaultValue: PropTypes.Validator<NonNullable<NonNullable<string | number>>>;
|
|
24
|
+
currentValue: PropTypes.Requireable<NonNullable<string | number>>;
|
|
25
|
+
onChange: PropTypes.Validator<(...args: any[]) => any>;
|
|
26
|
+
};
|
|
27
|
+
export default RadioEditor;
|
|
28
|
+
export declare const radioEditorForDefinitions: (options: any, defaultValue: any) => (props: any) => JSX.Element;
|
|
25
29
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/SettingEditors/RadioEditor/index.
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/SettingEditors/RadioEditor/index.tsx"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AAInC,aAAK,gBAAgB,GAAG,SAAS,CAAC,UAAU,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAE1E,QAAA,MAAM,WAAW;wDAAuD,gBAAgB,GAAG,WAAW;;;;;;;;;;;;;CAgBrG,CAAC;AAEF,QAAA,MAAM,oBAAoB;;;;;;;;CAMzB,CAAA;AAQD,eAAe,WAAW,CAAC;AAG3B,eAAO,MAAM,yBAAyB,kEAErC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import"
|
|
1
|
+
import{__assign as e}from"../../../_virtual/_tslib.js";import{jsx as r}from"react/jsx-runtime";import n from"prop-types";import{FormControl as o,RadioGroup as i,FormControlLabel as a,Radio as t}from"@material-ui/core";var u=function(n){var u=n.options,l=n.currentValue,p=n.defaultValue,s=n.onChange,d=void 0===l?p:l;return r(o,e({component:"fieldset",margin:"dense",fullWidth:!0},{children:r(i,e({"aria-label":"position",name:"radio_editor",row:!0},{children:u.map((function(e){var n=e.value,o=e.label;return r(a,{onChange:function(){return s(n)},control:r(t,{color:"primary",checked:n===d}),label:o},n)}))}))}))},l={options:n.arrayOf(n.shape({value:n.string,label:n.string})).isRequired,defaultValue:n.oneOfType([n.string,n.number]).isRequired,currentValue:n.oneOfType([n.string,n.number]),onChange:n.func.isRequired};u.propTypes=l,u.defaultProps={currentValue:void 0};export{u as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ElementsComparison.d.ts","sourceRoot":"","sources":["../../../../src/components/StageDesignVActual/ElementsComparison/ElementsComparison.js"],"names":[],"mappings":";AAQA;;;;;;;
|
|
1
|
+
{"version":3,"file":"ElementsComparison.d.ts","sourceRoot":"","sources":["../../../../src/components/StageDesignVActual/ElementsComparison/ElementsComparison.js"],"names":[],"mappings":";AAQA;;;;;;;kBAiCC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../src/components/StageDesignVActual/ElementsComparison/utils.js"],"names":[],"mappings":"AAQO
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../src/components/StageDesignVActual/ElementsComparison/utils.js"],"names":[],"mappings":"AAQO;;;;;;;;EAoDN"}
|
|
@@ -1,45 +1,40 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
active: any;
|
|
6
|
-
error: any;
|
|
7
|
-
disabled: any;
|
|
8
|
-
size: any;
|
|
9
|
-
canGoBack: any;
|
|
10
|
-
label: any;
|
|
11
|
-
className: any;
|
|
12
|
-
}): JSX.Element;
|
|
1
|
+
import PropTypes from 'prop-types';
|
|
2
|
+
interface StepProps extends PropTypes.InferProps<typeof stepPropTypes> {
|
|
3
|
+
}
|
|
4
|
+
declare function Step({ value, checked, active, error, disabled, size, canGoBack, label, className }: StepProps): JSX.Element;
|
|
13
5
|
declare namespace Step {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
export { size_1 as size };
|
|
36
|
-
const canGoBack_1: boolean;
|
|
37
|
-
export { canGoBack_1 as canGoBack };
|
|
38
|
-
const label_1: string;
|
|
39
|
-
export { label_1 as label };
|
|
40
|
-
const className_1: string;
|
|
41
|
-
export { className_1 as className };
|
|
42
|
-
}
|
|
6
|
+
var propTypes: {
|
|
7
|
+
value: PropTypes.Validator<number>;
|
|
8
|
+
label: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
9
|
+
checked: PropTypes.Requireable<boolean>;
|
|
10
|
+
active: PropTypes.Requireable<boolean>;
|
|
11
|
+
error: PropTypes.Requireable<boolean>;
|
|
12
|
+
disabled: PropTypes.Requireable<boolean>;
|
|
13
|
+
size: PropTypes.Requireable<string>;
|
|
14
|
+
canGoBack: PropTypes.Requireable<boolean>;
|
|
15
|
+
className: PropTypes.Requireable<string>;
|
|
16
|
+
};
|
|
17
|
+
var defaultProps: {
|
|
18
|
+
checked: boolean;
|
|
19
|
+
active: boolean;
|
|
20
|
+
error: boolean;
|
|
21
|
+
disabled: boolean;
|
|
22
|
+
size: string;
|
|
23
|
+
canGoBack: boolean;
|
|
24
|
+
label: string;
|
|
25
|
+
className: string;
|
|
26
|
+
};
|
|
43
27
|
}
|
|
44
|
-
|
|
28
|
+
declare const stepPropTypes: {
|
|
29
|
+
value: PropTypes.Validator<number>;
|
|
30
|
+
label: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
31
|
+
checked: PropTypes.Requireable<boolean>;
|
|
32
|
+
active: PropTypes.Requireable<boolean>;
|
|
33
|
+
error: PropTypes.Requireable<boolean>;
|
|
34
|
+
disabled: PropTypes.Requireable<boolean>;
|
|
35
|
+
size: PropTypes.Requireable<string>;
|
|
36
|
+
canGoBack: PropTypes.Requireable<boolean>;
|
|
37
|
+
className: PropTypes.Requireable<string>;
|
|
38
|
+
};
|
|
39
|
+
export default Step;
|
|
45
40
|
//# sourceMappingURL=Step.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Step.d.ts","sourceRoot":"","sources":["../../../src/components/Stepper/Step.
|
|
1
|
+
{"version":3,"file":"Step.d.ts","sourceRoot":"","sources":["../../../src/components/Stepper/Step.tsx"],"names":[],"mappings":"AAEA,OAAO,SAAS,MAAM,YAAY,CAAC;AAuBnC,UAAU,SAAU,SAAQ,SAAS,CAAC,UAAU,CAAC,OAAO,aAAa,CAAC;CAAG;AAEzE,iBAAS,IAAI,CAAC,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,SAAS,EAAE,KAAK,EAAE,SAAS,EAAE,EAAE,SAAS,GAAG,GAAG,CAAC,OAAO,CAuBpH;kBAvBQ,IAAI;;;;;;;;;;;;;;;;;;;;;;;AAyBb,QAAA,MAAM,aAAa;;;;;;;;;;CAUlB,CAAC;AAeF,eAAe,IAAI,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import e from"classnames";import
|
|
1
|
+
import{__assign as e}from"../../_virtual/_tslib.js";import{jsxs as r,jsx as a}from"react/jsx-runtime";import s from"classnames";import i from"prop-types";import{SIZES as o}from"./constants.js";import l from"./Step.css.js";var t=function(r){var s=r.size;return a("svg",e({width:s,height:s,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},{children:a("path",{d:"M6.0001 10.7799L3.2201 7.9999L2.27344 8.9399L6.0001 12.6666L14.0001 4.66656L13.0601 3.72656L6.0001 10.7799Z",fill:"white"})}))};function c(i){var c=i.value,d=i.checked,m=i.active,n=i.error,p=i.disabled,v=i.size,b=i.canGoBack,h=i.label,u=i.className;return r("div",e({className:s(l.step,l[v],m&&l.active,n&&l.error,d&&!n&&l.checked,p&&l.disabled,u)},{children:[a("div",e({className:l.stepCircle},{children:!d||n||b?c:a(t,{size:v===o.large?24:16})})),h]}))}var d={value:i.number.isRequired,label:i.node,checked:i.bool,active:i.bool,error:i.bool,disabled:i.bool,size:i.string,canGoBack:i.bool,className:i.string};c.propTypes=d,c.defaultProps={checked:!1,active:!1,error:!1,disabled:!1,size:o.medium,canGoBack:!0,label:"",className:""};export{c as default};
|
|
@@ -1,12 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
size: any;
|
|
6
|
-
}): JSX.Element;
|
|
1
|
+
import PropTypes from 'prop-types';
|
|
2
|
+
interface StepperProps extends PropTypes.InferProps<typeof stepperPropTypes> {
|
|
3
|
+
}
|
|
4
|
+
declare function Stepper({ steps, activeStep, size }: StepperProps): JSX.Element;
|
|
7
5
|
declare namespace Stepper {
|
|
8
|
-
|
|
9
|
-
|
|
6
|
+
var propTypes: {
|
|
7
|
+
steps: PropTypes.Validator<PropTypes.InferProps<{
|
|
10
8
|
value: PropTypes.Validator<number>;
|
|
11
9
|
label: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
12
10
|
checked: PropTypes.Requireable<boolean>;
|
|
@@ -17,15 +15,28 @@ declare namespace Stepper {
|
|
|
17
15
|
canGoBack: PropTypes.Requireable<boolean>;
|
|
18
16
|
className: PropTypes.Requireable<string>;
|
|
19
17
|
}>[]>;
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
export { size_1 as size };
|
|
28
|
-
}
|
|
18
|
+
activeStep: PropTypes.Requireable<number>;
|
|
19
|
+
size: PropTypes.Requireable<string>;
|
|
20
|
+
};
|
|
21
|
+
var defaultProps: {
|
|
22
|
+
activeStep: any;
|
|
23
|
+
size: string;
|
|
24
|
+
};
|
|
29
25
|
}
|
|
30
|
-
|
|
26
|
+
declare const stepperPropTypes: {
|
|
27
|
+
steps: PropTypes.Validator<PropTypes.InferProps<{
|
|
28
|
+
value: PropTypes.Validator<number>;
|
|
29
|
+
label: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
30
|
+
checked: PropTypes.Requireable<boolean>;
|
|
31
|
+
active: PropTypes.Requireable<boolean>;
|
|
32
|
+
error: PropTypes.Requireable<boolean>;
|
|
33
|
+
disabled: PropTypes.Requireable<boolean>;
|
|
34
|
+
size: PropTypes.Requireable<string>;
|
|
35
|
+
canGoBack: PropTypes.Requireable<boolean>;
|
|
36
|
+
className: PropTypes.Requireable<string>;
|
|
37
|
+
}>[]>;
|
|
38
|
+
activeStep: PropTypes.Requireable<number>;
|
|
39
|
+
size: PropTypes.Requireable<string>;
|
|
40
|
+
};
|
|
41
|
+
export default Stepper;
|
|
31
42
|
//# sourceMappingURL=Stepper.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Stepper.d.ts","sourceRoot":"","sources":["../../../src/components/Stepper/Stepper.
|
|
1
|
+
{"version":3,"file":"Stepper.d.ts","sourceRoot":"","sources":["../../../src/components/Stepper/Stepper.tsx"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AAKnC,UAAU,YAAa,SAAQ,SAAS,CAAC,UAAU,CAAC,OAAO,gBAAgB,CAAC;CAAG;AAE/E,iBAAS,OAAO,CAAC,EAAE,KAAK,EAAE,UAAU,EAAE,IAAI,EAAE,EAAE,YAAY,GAAG,GAAG,CAAC,OAAO,CAgBvE;kBAhBQ,OAAO;;;;;;;;;;;;;;;;;;;;;AAkBhB,QAAA,MAAM,gBAAgB;;;;;;;;;;;;;;CAIrB,CAAC;AASF,eAAe,OAAO,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import e from"
|
|
1
|
+
import{__assign as e}from"../../_virtual/_tslib.js";import{jsx as r}from"react/jsx-runtime";import t from"prop-types";import p from"./Step.js";import i from"./StepsWrapper.js";import{SIZES as s}from"./constants.js";function a(t){var s=t.steps,a=t.activeStep,o=t.size;return r(i,{children:s.map((function(t){return r(p,e({checked:t.value<a,active:t.value===a,size:o,disabled:t.disabled,canGoBack:t.canGoBack},t),t.value)}))})}var o={steps:t.arrayOf(t.shape(p.propTypes)).isRequired,activeStep:t.number,size:t.string};a.propTypes=o,a.defaultProps={activeStep:void 0,size:s.medium};export{a as default};
|
|
@@ -1,17 +1,19 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
}): JSX.Element;
|
|
1
|
+
import PropTypes from 'prop-types';
|
|
2
|
+
interface StepsWrapperProps extends PropTypes.InferProps<typeof stepsWrapperPropTypes> {
|
|
3
|
+
}
|
|
4
|
+
declare function StepsWrapper({ children, className }: StepsWrapperProps): JSX.Element;
|
|
6
5
|
declare namespace StepsWrapper {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
}
|
|
6
|
+
var propTypes: {
|
|
7
|
+
children: PropTypes.Validator<NonNullable<PropTypes.ReactNodeLike>>;
|
|
8
|
+
className: PropTypes.Requireable<string>;
|
|
9
|
+
};
|
|
10
|
+
var defaultProps: {
|
|
11
|
+
className: string;
|
|
12
|
+
};
|
|
15
13
|
}
|
|
16
|
-
|
|
14
|
+
declare const stepsWrapperPropTypes: {
|
|
15
|
+
children: PropTypes.Validator<NonNullable<PropTypes.ReactNodeLike>>;
|
|
16
|
+
className: PropTypes.Requireable<string>;
|
|
17
|
+
};
|
|
18
|
+
export default StepsWrapper;
|
|
17
19
|
//# sourceMappingURL=StepsWrapper.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StepsWrapper.d.ts","sourceRoot":"","sources":["../../../src/components/Stepper/StepsWrapper.
|
|
1
|
+
{"version":3,"file":"StepsWrapper.d.ts","sourceRoot":"","sources":["../../../src/components/Stepper/StepsWrapper.tsx"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AAInC,UAAU,iBAAkB,SAAQ,SAAS,CAAC,UAAU,CAAC,OAAO,qBAAqB,CAAC;CAAG;AAEzF,iBAAS,YAAY,CAAC,EAAE,QAAQ,EAAE,SAAS,EAAE,EAAE,iBAAiB,GAAG,GAAG,CAAC,OAAO,CAE7E;kBAFQ,YAAY;;;;;;;;;AAIrB,QAAA,MAAM,qBAAqB;;;CAG1B,CAAC;AAQF,eAAe,YAAY,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import r from"prop-types";import
|
|
1
|
+
import{__assign as r}from"../../_virtual/_tslib.js";import{jsx as s}from"react/jsx-runtime";import e from"prop-types";import a from"classnames";import t from"./StepsWrapper.css.js";function i(e){var i=e.children,o=e.className;return s("div",r({className:a(t.container,o)},{children:i}))}var o={children:e.node.isRequired,className:e.string};i.propTypes=o,i.defaultProps={className:""};export{i as default};
|