@evoke-platform/ui-components 1.0.0-dev.1.10.6
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/README.md +15 -0
- package/dist/published/components/Test/Test.d.ts +3 -0
- package/dist/published/components/Test/Test.js +8 -0
- package/dist/published/components/Test/Test.test.d.ts +1 -0
- package/dist/published/components/Test/Test.test.js +11 -0
- package/dist/published/components/Test/index.d.ts +3 -0
- package/dist/published/components/Test/index.js +3 -0
- package/dist/published/components/core/Accordion/Accordion.d.ts +4 -0
- package/dist/published/components/core/Accordion/Accordion.js +8 -0
- package/dist/published/components/core/Accordion/AccordionActions/AccordionActions.d.ts +4 -0
- package/dist/published/components/core/Accordion/AccordionActions/AccordionActions.js +8 -0
- package/dist/published/components/core/Accordion/AccordionActions/index.d.ts +2 -0
- package/dist/published/components/core/Accordion/AccordionActions/index.js +2 -0
- package/dist/published/components/core/Accordion/AccordionDetails/AccordionDetails.d.ts +4 -0
- package/dist/published/components/core/Accordion/AccordionDetails/AccordionDetails.js +8 -0
- package/dist/published/components/core/Accordion/AccordionDetails/index.d.ts +2 -0
- package/dist/published/components/core/Accordion/AccordionDetails/index.js +2 -0
- package/dist/published/components/core/Accordion/AccordionSummary/AccordionSummary.d.ts +4 -0
- package/dist/published/components/core/Accordion/AccordionSummary/AccordionSummary.js +8 -0
- package/dist/published/components/core/Accordion/AccordionSummary/index.d.ts +2 -0
- package/dist/published/components/core/Accordion/AccordionSummary/index.js +2 -0
- package/dist/published/components/core/Accordion/index.d.ts +5 -0
- package/dist/published/components/core/Accordion/index.js +5 -0
- package/dist/published/components/core/Alert/Alert.d.ts +4 -0
- package/dist/published/components/core/Alert/Alert.js +8 -0
- package/dist/published/components/core/Alert/index.d.ts +2 -0
- package/dist/published/components/core/Alert/index.js +2 -0
- package/dist/published/components/core/AppBar/AppBar.d.ts +4 -0
- package/dist/published/components/core/AppBar/AppBar.js +8 -0
- package/dist/published/components/core/AppBar/index.d.ts +2 -0
- package/dist/published/components/core/AppBar/index.js +2 -0
- package/dist/published/components/core/Autocomplete/Autocomplete.d.ts +19 -0
- package/dist/published/components/core/Autocomplete/Autocomplete.js +48 -0
- package/dist/published/components/core/Autocomplete/index.d.ts +3 -0
- package/dist/published/components/core/Autocomplete/index.js +3 -0
- package/dist/published/components/core/Avatar/Avatar.d.ts +8 -0
- package/dist/published/components/core/Avatar/Avatar.js +12 -0
- package/dist/published/components/core/Avatar/index.d.ts +3 -0
- package/dist/published/components/core/Avatar/index.js +3 -0
- package/dist/published/components/core/Backdrop/Backdrop.d.ts +4 -0
- package/dist/published/components/core/Backdrop/Backdrop.js +8 -0
- package/dist/published/components/core/Backdrop/index.d.ts +3 -0
- package/dist/published/components/core/Backdrop/index.js +3 -0
- package/dist/published/components/core/Badge/Badge.d.ts +4 -0
- package/dist/published/components/core/Badge/Badge.js +8 -0
- package/dist/published/components/core/Badge/index.d.ts +3 -0
- package/dist/published/components/core/Badge/index.js +3 -0
- package/dist/published/components/core/Breadcrumbs/Breadcrumbs.d.ts +4 -0
- package/dist/published/components/core/Breadcrumbs/Breadcrumbs.js +8 -0
- package/dist/published/components/core/Breadcrumbs/index.d.ts +3 -0
- package/dist/published/components/core/Breadcrumbs/index.js +3 -0
- package/dist/published/components/core/Button/Button.d.ts +4 -0
- package/dist/published/components/core/Button/Button.js +8 -0
- package/dist/published/components/core/Button/index.d.ts +3 -0
- package/dist/published/components/core/Button/index.js +3 -0
- package/dist/published/components/core/ButtonGroup/ButtonGroup.d.ts +4 -0
- package/dist/published/components/core/ButtonGroup/ButtonGroup.js +8 -0
- package/dist/published/components/core/ButtonGroup/index.d.ts +3 -0
- package/dist/published/components/core/ButtonGroup/index.js +3 -0
- package/dist/published/components/core/Card/Card.d.ts +4 -0
- package/dist/published/components/core/Card/Card.js +8 -0
- package/dist/published/components/core/Card/index.d.ts +3 -0
- package/dist/published/components/core/Card/index.js +3 -0
- package/dist/published/components/core/Checkbox/Checkbox.d.ts +4 -0
- package/dist/published/components/core/Checkbox/Checkbox.js +8 -0
- package/dist/published/components/core/Checkbox/index.d.ts +3 -0
- package/dist/published/components/core/Checkbox/index.js +3 -0
- package/dist/published/components/core/Chip/Chip.d.ts +4 -0
- package/dist/published/components/core/Chip/Chip.js +8 -0
- package/dist/published/components/core/Chip/index.d.ts +3 -0
- package/dist/published/components/core/Chip/index.js +3 -0
- package/dist/published/components/core/CircularProgress/CircularProgress.d.ts +4 -0
- package/dist/published/components/core/CircularProgress/CircularProgress.js +8 -0
- package/dist/published/components/core/CircularProgress/index.d.ts +3 -0
- package/dist/published/components/core/CircularProgress/index.js +3 -0
- package/dist/published/components/core/Collapse/Collapse.d.ts +4 -0
- package/dist/published/components/core/Collapse/Collapse.js +8 -0
- package/dist/published/components/core/Collapse/index.d.ts +3 -0
- package/dist/published/components/core/Collapse/index.js +3 -0
- package/dist/published/components/core/DatePicker/DatePicker.d.ts +8 -0
- package/dist/published/components/core/DatePicker/DatePicker.js +41 -0
- package/dist/published/components/core/DatePicker/index.d.ts +2 -0
- package/dist/published/components/core/DatePicker/index.js +2 -0
- package/dist/published/components/core/Dialog/Dialog.d.ts +4 -0
- package/dist/published/components/core/Dialog/Dialog.js +8 -0
- package/dist/published/components/core/Dialog/DialogActions/DialogActions.d.ts +12 -0
- package/dist/published/components/core/Dialog/DialogActions/DialogActions.js +38 -0
- package/dist/published/components/core/Dialog/DialogActions/index.d.ts +2 -0
- package/dist/published/components/core/Dialog/DialogActions/index.js +2 -0
- package/dist/published/components/core/Dialog/DialogContent/DialogContent.d.ts +4 -0
- package/dist/published/components/core/Dialog/DialogContent/DialogContent.js +8 -0
- package/dist/published/components/core/Dialog/DialogContent/index.d.ts +2 -0
- package/dist/published/components/core/Dialog/DialogContent/index.js +2 -0
- package/dist/published/components/core/Dialog/DialogContentText/DialogContentText.d.ts +4 -0
- package/dist/published/components/core/Dialog/DialogContentText/DialogContentText.js +8 -0
- package/dist/published/components/core/Dialog/DialogContentText/index.d.ts +2 -0
- package/dist/published/components/core/Dialog/DialogContentText/index.js +2 -0
- package/dist/published/components/core/Dialog/DialogTitle/DialogTitle.d.ts +4 -0
- package/dist/published/components/core/Dialog/DialogTitle/DialogTitle.js +8 -0
- package/dist/published/components/core/Dialog/DialogTitle/index.d.ts +2 -0
- package/dist/published/components/core/Dialog/DialogTitle/index.js +2 -0
- package/dist/published/components/core/Dialog/index.d.ts +6 -0
- package/dist/published/components/core/Dialog/index.js +6 -0
- package/dist/published/components/core/Divider/Divider.d.ts +4 -0
- package/dist/published/components/core/Divider/Divider.js +8 -0
- package/dist/published/components/core/Divider/index.d.ts +3 -0
- package/dist/published/components/core/Divider/index.js +3 -0
- package/dist/published/components/core/Drawer/Drawer.d.ts +4 -0
- package/dist/published/components/core/Drawer/Drawer.js +8 -0
- package/dist/published/components/core/Drawer/index.d.ts +3 -0
- package/dist/published/components/core/Drawer/index.js +3 -0
- package/dist/published/components/core/FieldError/FieldError.d.ts +7 -0
- package/dist/published/components/core/FieldError/FieldError.js +11 -0
- package/dist/published/components/core/FieldError/index.d.ts +3 -0
- package/dist/published/components/core/FieldError/index.js +3 -0
- package/dist/published/components/core/FormElements/FormControl/FormControl.d.ts +4 -0
- package/dist/published/components/core/FormElements/FormControl/FormControl.js +8 -0
- package/dist/published/components/core/FormElements/FormControl/index.d.ts +2 -0
- package/dist/published/components/core/FormElements/FormControl/index.js +2 -0
- package/dist/published/components/core/FormElements/FormControlLabel/FormControlLabel.d.ts +4 -0
- package/dist/published/components/core/FormElements/FormControlLabel/FormControlLabel.js +8 -0
- package/dist/published/components/core/FormElements/FormControlLabel/index.d.ts +2 -0
- package/dist/published/components/core/FormElements/FormControlLabel/index.js +2 -0
- package/dist/published/components/core/FormElements/FormGroup/FormGroup.d.ts +4 -0
- package/dist/published/components/core/FormElements/FormGroup/FormGroup.js +8 -0
- package/dist/published/components/core/FormElements/FormGroup/index.d.ts +2 -0
- package/dist/published/components/core/FormElements/FormGroup/index.js +2 -0
- package/dist/published/components/core/FormElements/FormHelperText/FormHelperText.d.ts +4 -0
- package/dist/published/components/core/FormElements/FormHelperText/FormHelperText.js +8 -0
- package/dist/published/components/core/FormElements/FormHelperText/index.d.ts +2 -0
- package/dist/published/components/core/FormElements/FormHelperText/index.js +2 -0
- package/dist/published/components/core/FormElements/FormLabel/FormLabel.d.ts +4 -0
- package/dist/published/components/core/FormElements/FormLabel/FormLabel.js +8 -0
- package/dist/published/components/core/FormElements/FormLabel/index.d.ts +2 -0
- package/dist/published/components/core/FormElements/FormLabel/index.js +2 -0
- package/dist/published/components/core/FormElements/index.d.ts +6 -0
- package/dist/published/components/core/FormElements/index.js +6 -0
- package/dist/published/components/core/IconButton/IconButton.d.ts +4 -0
- package/dist/published/components/core/IconButton/IconButton.js +8 -0
- package/dist/published/components/core/IconButton/index.d.ts +3 -0
- package/dist/published/components/core/IconButton/index.js +3 -0
- package/dist/published/components/core/LinearProgress/LinearProgress.d.ts +4 -0
- package/dist/published/components/core/LinearProgress/LinearProgress.js +8 -0
- package/dist/published/components/core/LinearProgress/index.d.ts +3 -0
- package/dist/published/components/core/LinearProgress/index.js +3 -0
- package/dist/published/components/core/Link/Link.d.ts +4 -0
- package/dist/published/components/core/Link/Link.js +8 -0
- package/dist/published/components/core/Link/index.d.ts +3 -0
- package/dist/published/components/core/Link/index.js +3 -0
- package/dist/published/components/core/List/List.d.ts +4 -0
- package/dist/published/components/core/List/List.js +8 -0
- package/dist/published/components/core/List/ListItemText/ListItemText.d.ts +4 -0
- package/dist/published/components/core/List/ListItemText/ListItemText.js +8 -0
- package/dist/published/components/core/List/ListItemText/index.d.ts +3 -0
- package/dist/published/components/core/List/ListItemText/index.js +3 -0
- package/dist/published/components/core/List/index.d.ts +3 -0
- package/dist/published/components/core/List/index.js +3 -0
- package/dist/published/components/core/LocalizationProvider/LocalizationProvider.d.ts +5 -0
- package/dist/published/components/core/LocalizationProvider/LocalizationProvider.js +115 -0
- package/dist/published/components/core/LocalizationProvider/index.d.ts +2 -0
- package/dist/published/components/core/LocalizationProvider/index.js +2 -0
- package/dist/published/components/core/Menu/Menu.d.ts +4 -0
- package/dist/published/components/core/Menu/Menu.js +8 -0
- package/dist/published/components/core/Menu/MenuItem/MenuItem.d.ts +4 -0
- package/dist/published/components/core/Menu/MenuItem/MenuItem.js +8 -0
- package/dist/published/components/core/Menu/MenuItem/index.d.ts +3 -0
- package/dist/published/components/core/Menu/MenuItem/index.js +3 -0
- package/dist/published/components/core/Menu/index.d.ts +4 -0
- package/dist/published/components/core/Menu/index.js +4 -0
- package/dist/published/components/core/Paper/Paper.d.ts +4 -0
- package/dist/published/components/core/Paper/Paper.js +8 -0
- package/dist/published/components/core/Paper/index.d.ts +3 -0
- package/dist/published/components/core/Paper/index.js +3 -0
- package/dist/published/components/core/Popover/Popover.d.ts +4 -0
- package/dist/published/components/core/Popover/Popover.js +8 -0
- package/dist/published/components/core/Popover/index.d.ts +3 -0
- package/dist/published/components/core/Popover/index.js +3 -0
- package/dist/published/components/core/RadioGroup/Radio.d.ts +4 -0
- package/dist/published/components/core/RadioGroup/Radio.js +8 -0
- package/dist/published/components/core/RadioGroup/RadioGroup.d.ts +4 -0
- package/dist/published/components/core/RadioGroup/RadioGroup.js +8 -0
- package/dist/published/components/core/RadioGroup/index.d.ts +4 -0
- package/dist/published/components/core/RadioGroup/index.js +4 -0
- package/dist/published/components/core/Select/Select.d.ts +5 -0
- package/dist/published/components/core/Select/Select.js +10 -0
- package/dist/published/components/core/Select/index.d.ts +3 -0
- package/dist/published/components/core/Select/index.js +3 -0
- package/dist/published/components/core/Skeleton/Skeleton.d.ts +4 -0
- package/dist/published/components/core/Skeleton/Skeleton.js +8 -0
- package/dist/published/components/core/Skeleton/index.d.ts +3 -0
- package/dist/published/components/core/Skeleton/index.js +3 -0
- package/dist/published/components/core/Snackbar/Snackbar.d.ts +8 -0
- package/dist/published/components/core/Snackbar/Snackbar.js +40 -0
- package/dist/published/components/core/Snackbar/index.d.ts +3 -0
- package/dist/published/components/core/Snackbar/index.js +3 -0
- package/dist/published/components/core/StaticDatePicker/StaticDatePicker.d.ts +8 -0
- package/dist/published/components/core/StaticDatePicker/StaticDatePicker.js +41 -0
- package/dist/published/components/core/StaticDatePicker/index.d.ts +2 -0
- package/dist/published/components/core/StaticDatePicker/index.js +2 -0
- package/dist/published/components/core/Stepper/Step/Step.d.ts +4 -0
- package/dist/published/components/core/Stepper/Step/Step.js +8 -0
- package/dist/published/components/core/Stepper/Step/index.d.ts +2 -0
- package/dist/published/components/core/Stepper/Step/index.js +2 -0
- package/dist/published/components/core/Stepper/StepButton/StepButton.d.ts +4 -0
- package/dist/published/components/core/Stepper/StepButton/StepButton.js +8 -0
- package/dist/published/components/core/Stepper/StepButton/index.d.ts +2 -0
- package/dist/published/components/core/Stepper/StepButton/index.js +2 -0
- package/dist/published/components/core/Stepper/StepConnector/StepConnector.d.ts +4 -0
- package/dist/published/components/core/Stepper/StepConnector/StepConnector.js +8 -0
- package/dist/published/components/core/Stepper/StepConnector/index.d.ts +2 -0
- package/dist/published/components/core/Stepper/StepConnector/index.js +2 -0
- package/dist/published/components/core/Stepper/StepContent/StepContent.d.ts +4 -0
- package/dist/published/components/core/Stepper/StepContent/StepContent.js +8 -0
- package/dist/published/components/core/Stepper/StepContent/index.d.ts +2 -0
- package/dist/published/components/core/Stepper/StepContent/index.js +2 -0
- package/dist/published/components/core/Stepper/StepIcon/StepIcon.d.ts +4 -0
- package/dist/published/components/core/Stepper/StepIcon/StepIcon.js +8 -0
- package/dist/published/components/core/Stepper/StepIcon/index.d.ts +2 -0
- package/dist/published/components/core/Stepper/StepIcon/index.js +2 -0
- package/dist/published/components/core/Stepper/StepLabel/StepLabel.d.ts +4 -0
- package/dist/published/components/core/Stepper/StepLabel/StepLabel.js +8 -0
- package/dist/published/components/core/Stepper/StepLabel/index.d.ts +2 -0
- package/dist/published/components/core/Stepper/StepLabel/index.js +2 -0
- package/dist/published/components/core/Stepper/Stepper.d.ts +4 -0
- package/dist/published/components/core/Stepper/Stepper.js +8 -0
- package/dist/published/components/core/Stepper/index.d.ts +8 -0
- package/dist/published/components/core/Stepper/index.js +8 -0
- package/dist/published/components/core/Switch/Switch.d.ts +4 -0
- package/dist/published/components/core/Switch/Switch.js +8 -0
- package/dist/published/components/core/Switch/index.d.ts +3 -0
- package/dist/published/components/core/Switch/index.js +3 -0
- package/dist/published/components/core/Table/Table.d.ts +4 -0
- package/dist/published/components/core/Table/Table.js +8 -0
- package/dist/published/components/core/Table/index.d.ts +3 -0
- package/dist/published/components/core/Table/index.js +3 -0
- package/dist/published/components/core/Tabs/Tab/Tab.d.ts +4 -0
- package/dist/published/components/core/Tabs/Tab/Tab.js +8 -0
- package/dist/published/components/core/Tabs/Tab/index.d.ts +2 -0
- package/dist/published/components/core/Tabs/Tab/index.js +2 -0
- package/dist/published/components/core/Tabs/Tabs.d.ts +4 -0
- package/dist/published/components/core/Tabs/Tabs.js +8 -0
- package/dist/published/components/core/Tabs/index.d.ts +3 -0
- package/dist/published/components/core/Tabs/index.js +3 -0
- package/dist/published/components/core/TextField/TextField.d.ts +10 -0
- package/dist/published/components/core/TextField/TextField.js +36 -0
- package/dist/published/components/core/TextField/TextField.test.d.ts +1 -0
- package/dist/published/components/core/TextField/TextField.test.js +20 -0
- package/dist/published/components/core/TextField/index.d.ts +3 -0
- package/dist/published/components/core/TextField/index.js +3 -0
- package/dist/published/components/core/ToggleButton/ToggleButton.d.ts +4 -0
- package/dist/published/components/core/ToggleButton/ToggleButton.js +8 -0
- package/dist/published/components/core/ToggleButton/index.d.ts +3 -0
- package/dist/published/components/core/ToggleButton/index.js +3 -0
- package/dist/published/components/core/ToggleButtonGroup/ToggleButtonGroup.d.ts +4 -0
- package/dist/published/components/core/ToggleButtonGroup/ToggleButtonGroup.js +8 -0
- package/dist/published/components/core/ToggleButtonGroup/index.d.ts +3 -0
- package/dist/published/components/core/ToggleButtonGroup/index.js +3 -0
- package/dist/published/components/core/Tooltip/Tooltip.d.ts +4 -0
- package/dist/published/components/core/Tooltip/Tooltip.js +8 -0
- package/dist/published/components/core/Tooltip/index.d.ts +3 -0
- package/dist/published/components/core/Tooltip/index.js +3 -0
- package/dist/published/components/core/Typography/index.d.ts +4 -0
- package/dist/published/components/core/Typography/index.js +9 -0
- package/dist/published/components/core/index.d.ts +45 -0
- package/dist/published/components/core/index.js +46 -0
- package/dist/published/components/custom/CriteriaBuilder/CriteriaBuilder.d.ts +27 -0
- package/dist/published/components/custom/CriteriaBuilder/CriteriaBuilder.js +232 -0
- package/dist/published/components/custom/CriteriaBuilder/index.d.ts +3 -0
- package/dist/published/components/custom/CriteriaBuilder/index.js +3 -0
- package/dist/published/components/custom/FormField/BooleanSelect/BooleanSelect.d.ts +4 -0
- package/dist/published/components/custom/FormField/BooleanSelect/BooleanSelect.js +27 -0
- package/dist/published/components/custom/FormField/BooleanSelect/index.d.ts +1 -0
- package/dist/published/components/custom/FormField/BooleanSelect/index.js +1 -0
- package/dist/published/components/custom/FormField/DatePickerSelect/DatePickerSelect.d.ts +4 -0
- package/dist/published/components/custom/FormField/DatePickerSelect/DatePickerSelect.js +42 -0
- package/dist/published/components/custom/FormField/DatePickerSelect/index.d.ts +1 -0
- package/dist/published/components/custom/FormField/DatePickerSelect/index.js +1 -0
- package/dist/published/components/custom/FormField/FileUpload/FileUpload.d.ts +4 -0
- package/dist/published/components/custom/FormField/FileUpload/FileUpload.js +65 -0
- package/dist/published/components/custom/FormField/FileUpload/index.d.ts +1 -0
- package/dist/published/components/custom/FormField/FileUpload/index.js +1 -0
- package/dist/published/components/custom/FormField/FormField.d.ts +24 -0
- package/dist/published/components/custom/FormField/FormField.js +45 -0
- package/dist/published/components/custom/FormField/InputFieldComponent/InputFieldComponent.d.ts +4 -0
- package/dist/published/components/custom/FormField/InputFieldComponent/InputFieldComponent.js +76 -0
- package/dist/published/components/custom/FormField/InputFieldComponent/index.d.ts +1 -0
- package/dist/published/components/custom/FormField/InputFieldComponent/index.js +1 -0
- package/dist/published/components/custom/FormField/Select/Select.d.ts +4 -0
- package/dist/published/components/custom/FormField/Select/Select.js +32 -0
- package/dist/published/components/custom/FormField/Select/index.d.ts +1 -0
- package/dist/published/components/custom/FormField/Select/index.js +1 -0
- package/dist/published/components/custom/FormField/index.d.ts +3 -0
- package/dist/published/components/custom/FormField/index.js +3 -0
- package/dist/published/components/custom/Menubar/Menubar.d.ts +12 -0
- package/dist/published/components/custom/Menubar/Menubar.js +25 -0
- package/dist/published/components/custom/Menubar/Menubar.test.d.ts +1 -0
- package/dist/published/components/custom/Menubar/Menubar.test.js +12 -0
- package/dist/published/components/custom/Menubar/index.d.ts +3 -0
- package/dist/published/components/custom/Menubar/index.js +3 -0
- package/dist/published/components/custom/MultiSelect/MultiSelect.d.ts +14 -0
- package/dist/published/components/custom/MultiSelect/MultiSelect.js +144 -0
- package/dist/published/components/custom/MultiSelect/SortableItem.d.ts +2 -0
- package/dist/published/components/custom/MultiSelect/SortableItem.js +13 -0
- package/dist/published/components/custom/MultiSelect/index.d.ts +3 -0
- package/dist/published/components/custom/MultiSelect/index.js +3 -0
- package/dist/published/components/custom/RepeatableField/RepeatableField.d.ts +15 -0
- package/dist/published/components/custom/RepeatableField/RepeatableField.js +111 -0
- package/dist/published/components/custom/RepeatableField/index.d.ts +3 -0
- package/dist/published/components/custom/RepeatableField/index.js +3 -0
- package/dist/published/components/custom/index.d.ts +5 -0
- package/dist/published/components/custom/index.js +5 -0
- package/dist/published/components/layout/Box/Box.d.ts +8 -0
- package/dist/published/components/layout/Box/Box.js +8 -0
- package/dist/published/components/layout/Box/index.d.ts +3 -0
- package/dist/published/components/layout/Box/index.js +3 -0
- package/dist/published/components/layout/Container/Container.d.ts +4 -0
- package/dist/published/components/layout/Container/Container.js +8 -0
- package/dist/published/components/layout/Container/index.d.ts +3 -0
- package/dist/published/components/layout/Container/index.js +3 -0
- package/dist/published/components/layout/Grid/Grid.d.ts +4 -0
- package/dist/published/components/layout/Grid/Grid.js +8 -0
- package/dist/published/components/layout/Grid/index.d.ts +3 -0
- package/dist/published/components/layout/Grid/index.js +3 -0
- package/dist/published/components/layout/Stack/Stack.d.ts +4 -0
- package/dist/published/components/layout/Stack/Stack.js +8 -0
- package/dist/published/components/layout/Stack/index.d.ts +3 -0
- package/dist/published/components/layout/Stack/index.js +3 -0
- package/dist/published/components/layout/index.d.ts +4 -0
- package/dist/published/components/layout/index.js +4 -0
- package/dist/published/icons/index.d.ts +1 -0
- package/dist/published/icons/index.js +1 -0
- package/dist/published/index.d.ts +6 -0
- package/dist/published/index.js +6 -0
- package/dist/published/stories/Accordion.stories.d.ts +5 -0
- package/dist/published/stories/Accordion.stories.js +21 -0
- package/dist/published/stories/Alert.stories.d.ts +5 -0
- package/dist/published/stories/Alert.stories.js +8 -0
- package/dist/published/stories/Appbar.stories.d.ts +5 -0
- package/dist/published/stories/Appbar.stories.js +15 -0
- package/dist/published/stories/Autocomplete.stories.d.ts +23 -0
- package/dist/published/stories/Autocomplete.stories.js +413 -0
- package/dist/published/stories/Avatar.stories.d.ts +39 -0
- package/dist/published/stories/Avatar.stories.js +8 -0
- package/dist/published/stories/Backdrop.stories.d.ts +5 -0
- package/dist/published/stories/Backdrop.stories.js +20 -0
- package/dist/published/stories/Badge.stories.d.ts +5 -0
- package/dist/published/stories/Badge.stories.js +10 -0
- package/dist/published/stories/Box.stories.d.ts +25 -0
- package/dist/published/stories/Box.stories.js +18 -0
- package/dist/published/stories/Breadcrumbs.stories.d.ts +5 -0
- package/dist/published/stories/Breadcrumbs.stories.js +11 -0
- package/dist/published/stories/Button.stories.d.ts +5 -0
- package/dist/published/stories/Button.stories.js +8 -0
- package/dist/published/stories/ButtonGroup.stories.d.ts +5 -0
- package/dist/published/stories/ButtonGroup.stories.js +11 -0
- package/dist/published/stories/Card.stories.d.ts +5 -0
- package/dist/published/stories/Card.stories.js +15 -0
- package/dist/published/stories/Checkbox.stories.d.ts +5 -0
- package/dist/published/stories/Checkbox.stories.js +8 -0
- package/dist/published/stories/Chip.stories.d.ts +5 -0
- package/dist/published/stories/Chip.stories.js +8 -0
- package/dist/published/stories/CircularProgress.stories.d.ts +5 -0
- package/dist/published/stories/CircularProgress.stories.js +8 -0
- package/dist/published/stories/Collapse.stories.d.ts +5 -0
- package/dist/published/stories/Collapse.stories.js +26 -0
- package/dist/published/stories/Container.stories.d.ts +5 -0
- package/dist/published/stories/Container.stories.js +12 -0
- package/dist/published/stories/CriteriaBuilder.stories.d.ts +21 -0
- package/dist/published/stories/CriteriaBuilder.stories.js +206 -0
- package/dist/published/stories/DatePicker.stories.d.ts +6 -0
- package/dist/published/stories/DatePicker.stories.js +35 -0
- package/dist/published/stories/Dialog.stories.d.ts +5 -0
- package/dist/published/stories/Dialog.stories.js +24 -0
- package/dist/published/stories/Divider.stories.d.ts +5 -0
- package/dist/published/stories/Divider.stories.js +8 -0
- package/dist/published/stories/Drawer.stories.d.ts +5 -0
- package/dist/published/stories/Drawer.stories.js +27 -0
- package/dist/published/stories/FormControl.stories.d.ts +5 -0
- package/dist/published/stories/FormControl.stories.js +14 -0
- package/dist/published/stories/FormControlLabel.stories.d.ts +5 -0
- package/dist/published/stories/FormControlLabel.stories.js +8 -0
- package/dist/published/stories/FormField.stories.d.ts +9 -0
- package/dist/published/stories/FormField.stories.js +128 -0
- package/dist/published/stories/FormGroup.stories.d.ts +5 -0
- package/dist/published/stories/FormGroup.stories.js +10 -0
- package/dist/published/stories/FormHelperText.stories.d.ts +5 -0
- package/dist/published/stories/FormHelperText.stories.js +10 -0
- package/dist/published/stories/FormLabel.stories.d.ts +5 -0
- package/dist/published/stories/FormLabel.stories.js +13 -0
- package/dist/published/stories/Grid.stories.d.ts +5 -0
- package/dist/published/stories/Grid.stories.js +8 -0
- package/dist/published/stories/IconButton.stories.d.ts +5 -0
- package/dist/published/stories/IconButton.stories.js +17 -0
- package/dist/published/stories/LinearProgress.stories.d.ts +5 -0
- package/dist/published/stories/LinearProgress.stories.js +8 -0
- package/dist/published/stories/Link.stories.d.ts +5 -0
- package/dist/published/stories/Link.stories.js +16 -0
- package/dist/published/stories/List.stories.d.ts +5 -0
- package/dist/published/stories/List.stories.js +31 -0
- package/dist/published/stories/Menu.stories.d.ts +5 -0
- package/dist/published/stories/Menu.stories.js +25 -0
- package/dist/published/stories/MenuBar.stories.d.ts +5 -0
- package/dist/published/stories/MenuBar.stories.js +24 -0
- package/dist/published/stories/MultiSelect.stories.d.ts +5 -0
- package/dist/published/stories/MultiSelect.stories.js +26 -0
- package/dist/published/stories/Palette.stories.d.ts +25 -0
- package/dist/published/stories/Palette.stories.js +89 -0
- package/dist/published/stories/Paper.stories.d.ts +5 -0
- package/dist/published/stories/Paper.stories.js +15 -0
- package/dist/published/stories/RadioGroup.stories.d.ts +5 -0
- package/dist/published/stories/RadioGroup.stories.js +13 -0
- package/dist/published/stories/RepeatableField.stories.d.ts +5 -0
- package/dist/published/stories/RepeatableField.stories.js +36 -0
- package/dist/published/stories/Skeleton.stories.d.ts +5 -0
- package/dist/published/stories/Skeleton.stories.js +8 -0
- package/dist/published/stories/Snackbar.stories.d.ts +5 -0
- package/dist/published/stories/Snackbar.stories.js +22 -0
- package/dist/published/stories/Stack.stories.d.ts +5 -0
- package/dist/published/stories/Stack.stories.js +40 -0
- package/dist/published/stories/StaticDatePicker.stories.d.ts +7 -0
- package/dist/published/stories/StaticDatePicker.stories.js +42 -0
- package/dist/published/stories/Stepper.stories.d.ts +9 -0
- package/dist/published/stories/Stepper.stories.js +72 -0
- package/dist/published/stories/Switch.stories.d.ts +5 -0
- package/dist/published/stories/Switch.stories.js +8 -0
- package/dist/published/stories/Table.stories.d.ts +5 -0
- package/dist/published/stories/Table.stories.js +51 -0
- package/dist/published/stories/Tabs.stories.d.ts +5 -0
- package/dist/published/stories/Tabs.stories.js +45 -0
- package/dist/published/stories/TextField.stories.d.ts +21 -0
- package/dist/published/stories/TextField.stories.js +80 -0
- package/dist/published/stories/TimePicker.stories.d.ts +9 -0
- package/dist/published/stories/TimePicker.stories.js +34 -0
- package/dist/published/stories/ToggleButton.stories.d.ts +5 -0
- package/dist/published/stories/ToggleButton.stories.js +23 -0
- package/dist/published/stories/Typogrpahy.stories.d.ts +5 -0
- package/dist/published/stories/Typogrpahy.stories.js +21 -0
- package/dist/published/theme/UIThemeProvider.d.ts +7 -0
- package/dist/published/theme/UIThemeProvider.js +10 -0
- package/dist/published/theme/defaultTheme.d.ts +1 -0
- package/dist/published/theme/defaultTheme.js +104 -0
- package/dist/published/theme/index.d.ts +2 -0
- package/dist/published/theme/index.js +2 -0
- package/dist/published/util/date.d.ts +23 -0
- package/dist/published/util/date.js +47 -0
- package/dist/published/util/index.d.ts +1 -0
- package/dist/published/util/index.js +1 -0
- package/icons.ts +1 -0
- package/package.json +85 -0
@@ -0,0 +1,115 @@
|
|
1
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
2
|
+
var t = {};
|
3
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
4
|
+
t[p] = s[p];
|
5
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
6
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
7
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
8
|
+
t[p[i]] = s[p[i]];
|
9
|
+
}
|
10
|
+
return t;
|
11
|
+
};
|
12
|
+
import * as React from 'react';
|
13
|
+
import { LocalizationProvider as MUILocalizationProvider, } from '@mui/x-date-pickers';
|
14
|
+
import AdapterJoda from '@date-io/js-joda';
|
15
|
+
import { ChronoUnit, LocalDate, LocalDateTime, DateTimeFormatter, ChronoField } from '@js-joda/core';
|
16
|
+
import { InvalidDate } from '../../../util/date';
|
17
|
+
import { Locale as ImportedLocale } from '@js-joda/locale_en-us';
|
18
|
+
const LocalizationProvider = (props) => {
|
19
|
+
const { children } = props, rest = __rest(props, ["children"]);
|
20
|
+
new Date().valueOf();
|
21
|
+
return (React.createElement(MUILocalizationProvider, Object.assign({ dateAdapter: DateAdapter, adapterLocale: ImportedLocale.US }, rest), children));
|
22
|
+
};
|
23
|
+
class DateAdapter extends AdapterJoda {
|
24
|
+
constructor(args = {}) {
|
25
|
+
super(args);
|
26
|
+
// For some reason getDiff is defined as an instance member instead of a class
|
27
|
+
// function in AdapterJoda, so we can't override it the traditional way.
|
28
|
+
const superGetDiff = this.getDiff;
|
29
|
+
this.getDiff = (value, comparing, unit) => {
|
30
|
+
if (value instanceof InvalidDate || comparing instanceof InvalidDate) {
|
31
|
+
return NaN;
|
32
|
+
}
|
33
|
+
let adjustFactor = 1;
|
34
|
+
// If no time unit is specified, @date-io assumes milliseconds.
|
35
|
+
unit = unit !== null && unit !== void 0 ? unit : 'milliseconds';
|
36
|
+
// MUI date picker generally assumes the date types have second/millisecond precision.
|
37
|
+
// However, LocalDate only supports date comparisons and will fail when trying to
|
38
|
+
// compare time fields, which MUI attempts to do. If the values being compared don't
|
39
|
+
// support time comparisons, perform a date comparison instead and translate the result
|
40
|
+
// back into the original units.
|
41
|
+
if (isTimeUnit(unit) && !value.isSupported(ChronoUnit.HOURS)) {
|
42
|
+
switch (unit) {
|
43
|
+
case 'hours':
|
44
|
+
adjustFactor = 24;
|
45
|
+
break;
|
46
|
+
case 'minutes':
|
47
|
+
adjustFactor = 24 * 60;
|
48
|
+
break;
|
49
|
+
case 'seconds':
|
50
|
+
adjustFactor = 24 * 60 * 60;
|
51
|
+
break;
|
52
|
+
case 'milliseconds':
|
53
|
+
adjustFactor = 24 * 60 * 60 * 1000;
|
54
|
+
break;
|
55
|
+
default:
|
56
|
+
throw new Error(`Unsupported unit ${unit}`);
|
57
|
+
}
|
58
|
+
unit = 'days';
|
59
|
+
}
|
60
|
+
const diff = superGetDiff(value, comparing, unit);
|
61
|
+
return adjustFactor * diff;
|
62
|
+
};
|
63
|
+
}
|
64
|
+
date(value) {
|
65
|
+
if (value instanceof InvalidDate) {
|
66
|
+
return value;
|
67
|
+
}
|
68
|
+
return super.date(value);
|
69
|
+
}
|
70
|
+
isValid(value) {
|
71
|
+
if (value instanceof InvalidDate) {
|
72
|
+
return false;
|
73
|
+
}
|
74
|
+
return super.isValid(value);
|
75
|
+
}
|
76
|
+
parse(value, format) {
|
77
|
+
if (value === "") {
|
78
|
+
return null;
|
79
|
+
}
|
80
|
+
let formatter = DateTimeFormatter.ofPattern(format).withLocale(this.locale);
|
81
|
+
try {
|
82
|
+
let parsed_assessor = formatter.parse(value);
|
83
|
+
if (parsed_assessor.isSupported(ChronoField.YEAR) &&
|
84
|
+
parsed_assessor.isSupported(ChronoField.MONTH_OF_YEAR) &&
|
85
|
+
parsed_assessor.isSupported(ChronoField.DAY_OF_MONTH)) {
|
86
|
+
if (parsed_assessor.isSupported(ChronoField.HOUR_OF_DAY) &&
|
87
|
+
parsed_assessor.isSupported(ChronoField.MINUTE_OF_HOUR) &&
|
88
|
+
parsed_assessor.isSupported(ChronoField.SECOND_OF_MINUTE)) {
|
89
|
+
return LocalDateTime.from(parsed_assessor);
|
90
|
+
}
|
91
|
+
else {
|
92
|
+
return LocalDate.from(parsed_assessor);
|
93
|
+
}
|
94
|
+
}
|
95
|
+
else if (parsed_assessor.isSupported(ChronoField.HOUR_OF_DAY) &&
|
96
|
+
parsed_assessor.isSupported(ChronoField.MINUTE_OF_HOUR) &&
|
97
|
+
parsed_assessor.isSupported(ChronoField.SECOND_OF_MINUTE)) {
|
98
|
+
const hourOfDay = parsed_assessor.get(ChronoField.HOUR_OF_DAY).toString();
|
99
|
+
const minuteOfHour = parsed_assessor.get(ChronoField.MINUTE_OF_HOUR).toString();
|
100
|
+
return LocalDateTime.parse(`2023-01-01T${hourOfDay.length === 1 ? `0${hourOfDay}` : hourOfDay}:${minuteOfHour.length === 1 ? `0${minuteOfHour}` : minuteOfHour}`);
|
101
|
+
}
|
102
|
+
}
|
103
|
+
catch (ex) {
|
104
|
+
// For invalid strings, an error is returned. Replace that with our
|
105
|
+
// invalid date marker.
|
106
|
+
return new InvalidDate(value);
|
107
|
+
}
|
108
|
+
return null;
|
109
|
+
}
|
110
|
+
}
|
111
|
+
const timeUnits = ['hours', 'minutes', 'seconds', 'milliseconds'];
|
112
|
+
function isTimeUnit(unit) {
|
113
|
+
return timeUnits.includes(unit);
|
114
|
+
}
|
115
|
+
export default LocalizationProvider;
|
@@ -0,0 +1,8 @@
|
|
1
|
+
import * as React from 'react';
|
2
|
+
import { Menu as MUIMenu } from '@mui/material';
|
3
|
+
import UIThemeProvider from '../../../theme';
|
4
|
+
const Menu = (props) => {
|
5
|
+
return (React.createElement(UIThemeProvider, null,
|
6
|
+
React.createElement(MUIMenu, Object.assign({}, props))));
|
7
|
+
};
|
8
|
+
export default Menu;
|
@@ -0,0 +1,8 @@
|
|
1
|
+
import * as React from 'react';
|
2
|
+
import { MenuItem as MUIMenuItem } from '@mui/material';
|
3
|
+
import UIThemeProvider from '../../../../theme';
|
4
|
+
const MenuItem = (props) => {
|
5
|
+
return (React.createElement(UIThemeProvider, null,
|
6
|
+
React.createElement(MUIMenuItem, Object.assign({}, props))));
|
7
|
+
};
|
8
|
+
export default MenuItem;
|
@@ -0,0 +1,8 @@
|
|
1
|
+
import * as React from 'react';
|
2
|
+
import { Paper as MUIPaper } from '@mui/material';
|
3
|
+
import UIThemeProvider from '../../../theme';
|
4
|
+
const Paper = (props) => {
|
5
|
+
return (React.createElement(UIThemeProvider, null,
|
6
|
+
React.createElement(MUIPaper, Object.assign({}, props))));
|
7
|
+
};
|
8
|
+
export default Paper;
|
@@ -0,0 +1,8 @@
|
|
1
|
+
import * as React from 'react';
|
2
|
+
import { Popover as MUIPopover } from '@mui/material';
|
3
|
+
import UIThemeProvider from '../../../theme';
|
4
|
+
const Popover = (props) => {
|
5
|
+
return (React.createElement(UIThemeProvider, null,
|
6
|
+
React.createElement(MUIPopover, Object.assign({}, props))));
|
7
|
+
};
|
8
|
+
export default Popover;
|
@@ -0,0 +1,8 @@
|
|
1
|
+
import * as React from 'react';
|
2
|
+
import { Radio as MUIRadio } from '@mui/material';
|
3
|
+
import UIThemeProvider from '../../../theme';
|
4
|
+
const Radio = (props) => {
|
5
|
+
return (React.createElement(UIThemeProvider, null,
|
6
|
+
React.createElement(MUIRadio, Object.assign({}, props))));
|
7
|
+
};
|
8
|
+
export default Radio;
|
@@ -0,0 +1,8 @@
|
|
1
|
+
import * as React from 'react';
|
2
|
+
import { RadioGroup as MUIRadioGroup } from '@mui/material';
|
3
|
+
import UIThemeProvider from '../../../theme';
|
4
|
+
const RadioGroup = (props) => {
|
5
|
+
return (React.createElement(UIThemeProvider, null,
|
6
|
+
React.createElement(MUIRadioGroup, Object.assign({}, props))));
|
7
|
+
};
|
8
|
+
export default RadioGroup;
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import * as React from 'react';
|
2
|
+
import { Select as MUISelect } from '@mui/material';
|
3
|
+
import UIThemeProvider from '../../../theme';
|
4
|
+
import { ExpandMore } from '../../../icons';
|
5
|
+
const Select = (props) => {
|
6
|
+
var _a;
|
7
|
+
return (React.createElement(UIThemeProvider, null,
|
8
|
+
React.createElement(MUISelect, Object.assign({}, props, { IconComponent: (_a = props.IconComponent) !== null && _a !== void 0 ? _a : ((iconProps) => (React.createElement(ExpandMore, Object.assign({}, iconProps)))) }))));
|
9
|
+
};
|
10
|
+
export default Select;
|
@@ -0,0 +1,8 @@
|
|
1
|
+
import * as React from 'react';
|
2
|
+
import { Skeleton as MUISkeleton } from '@mui/material';
|
3
|
+
import UIThemeProvider from '../../../theme';
|
4
|
+
const Skeleton = (props) => {
|
5
|
+
return (React.createElement(UIThemeProvider, null,
|
6
|
+
React.createElement(MUISkeleton, Object.assign({}, props))));
|
7
|
+
};
|
8
|
+
export default Skeleton;
|
@@ -0,0 +1,8 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
import { SnackbarProps } from '@mui/material';
|
3
|
+
export declare type SnackbarAlertProps = SnackbarProps & {
|
4
|
+
handleClose: Function;
|
5
|
+
error?: boolean;
|
6
|
+
};
|
7
|
+
export declare const Snackbar: (props: SnackbarAlertProps) => JSX.Element;
|
8
|
+
export default Snackbar;
|
@@ -0,0 +1,40 @@
|
|
1
|
+
import * as React from 'react';
|
2
|
+
import { Snackbar as MUISnackbar } from '@mui/material';
|
3
|
+
import UIThemeProvider from '../../../theme';
|
4
|
+
import IconButton from '../IconButton';
|
5
|
+
import { CheckCircle, Close, InfoRounded } from '../../../icons';
|
6
|
+
import Box from '../../layout/Box';
|
7
|
+
import Typography from '../Typography';
|
8
|
+
const styles = {
|
9
|
+
container: {
|
10
|
+
display: 'flex',
|
11
|
+
backgroundColor: 'white',
|
12
|
+
minHeight: '40px',
|
13
|
+
width: '348px',
|
14
|
+
padding: '7px',
|
15
|
+
border: '1px solid #919EAB7A',
|
16
|
+
borderRadius: '8px',
|
17
|
+
boxShadow: '0px 8px 16px 0px rgba(0, 0, 0, 0.12)',
|
18
|
+
alignItems: 'center',
|
19
|
+
},
|
20
|
+
icon: {
|
21
|
+
paddingLeft: '18px',
|
22
|
+
paddingRight: '14px'
|
23
|
+
}
|
24
|
+
};
|
25
|
+
export const Snackbar = (props) => {
|
26
|
+
const { handleClose, error, message } = props;
|
27
|
+
return (React.createElement(UIThemeProvider, null,
|
28
|
+
React.createElement(MUISnackbar, Object.assign({ autoHideDuration: 6000, onClose: () => handleClose(), anchorOrigin: {
|
29
|
+
vertical: 'bottom',
|
30
|
+
horizontal: 'center',
|
31
|
+
} }, props),
|
32
|
+
React.createElement("div", null,
|
33
|
+
React.createElement(Box, { sx: styles.container },
|
34
|
+
error ?
|
35
|
+
React.createElement(InfoRounded, { sx: Object.assign(Object.assign({}, styles.icon), { color: '#A22723' }) }) : React.createElement(CheckCircle, { sx: Object.assign(Object.assign({}, styles.icon), { color: '#229A16' }) }),
|
36
|
+
React.createElement(Typography, { fontSize: '14px', fontWeight: 400, sx: { marginRight: '3px' } }, (message !== null && message !== void 0 ? message : '')),
|
37
|
+
React.createElement(IconButton, { size: "small", "aria-label": "close", color: "inherit", sx: { marginLeft: 'auto', marginRight: '15px' }, onClick: () => handleClose() },
|
38
|
+
React.createElement(Close, { fontSize: "small" })))))));
|
39
|
+
};
|
40
|
+
export default Snackbar;
|
@@ -0,0 +1,8 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
import { StaticDatePickerProps as MUIStaticDatePickerProps } from '@mui/x-date-pickers';
|
3
|
+
import { CalendarDate } from '../../../util/date';
|
4
|
+
export declare type StaticDatePickerProps = Omit<MUIStaticDatePickerProps<string | CalendarDate, CalendarDate>, 'renderInput'> & {
|
5
|
+
renderInput?: MUIStaticDatePickerProps<string | CalendarDate, CalendarDate>['renderInput'];
|
6
|
+
};
|
7
|
+
declare const StaticDatePicker: (props: StaticDatePickerProps) => JSX.Element;
|
8
|
+
export default StaticDatePicker;
|
@@ -0,0 +1,41 @@
|
|
1
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
2
|
+
var t = {};
|
3
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
4
|
+
t[p] = s[p];
|
5
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
6
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
7
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
8
|
+
t[p[i]] = s[p[i]];
|
9
|
+
}
|
10
|
+
return t;
|
11
|
+
};
|
12
|
+
import React from 'react';
|
13
|
+
import UIThemeProvider from '../../../theme';
|
14
|
+
import { StaticDatePicker as MUIStaticDatePicker, } from '@mui/x-date-pickers';
|
15
|
+
import { LocalDate } from '@js-joda/core';
|
16
|
+
import { InvalidDate } from '../../../util/date';
|
17
|
+
import TextField from '../TextField';
|
18
|
+
const StaticDatePicker = (props) => {
|
19
|
+
var _a;
|
20
|
+
const { value: inputValue, onChange: handleChange } = props, rest = __rest(props, ["value", "onChange"]);
|
21
|
+
let value = null;
|
22
|
+
try {
|
23
|
+
value = typeof inputValue === 'string' ? LocalDate.parse(inputValue) : inputValue;
|
24
|
+
}
|
25
|
+
catch (err) {
|
26
|
+
// If we fail to parse the input string, log the error and continue as if no value was set.
|
27
|
+
console.error((_a = err.message) !== null && _a !== void 0 ? _a : err);
|
28
|
+
}
|
29
|
+
const onChange = (newValue, keyboardInputValue) => {
|
30
|
+
// Joda does not have a representation of an invalid date, so if the component fails to
|
31
|
+
// parse a date, the onChange receives an Error instead. Replace the error with our own
|
32
|
+
// invalid date marker.
|
33
|
+
if (newValue instanceof Error) {
|
34
|
+
newValue = new InvalidDate(keyboardInputValue);
|
35
|
+
}
|
36
|
+
handleChange(newValue, keyboardInputValue);
|
37
|
+
};
|
38
|
+
return (React.createElement(UIThemeProvider, null,
|
39
|
+
React.createElement(MUIStaticDatePicker, Object.assign({ value: value, onChange: onChange, renderInput: (params) => React.createElement(TextField, Object.assign({}, params)) }, rest))));
|
40
|
+
};
|
41
|
+
export default StaticDatePicker;
|
@@ -0,0 +1,8 @@
|
|
1
|
+
import * as React from 'react';
|
2
|
+
import { Step as MUIStep } from '@mui/material';
|
3
|
+
import UIThemeProvider from '../../../../theme';
|
4
|
+
const Step = (props) => {
|
5
|
+
return (React.createElement(UIThemeProvider, null,
|
6
|
+
React.createElement(MUIStep, Object.assign({}, props))));
|
7
|
+
};
|
8
|
+
export default Step;
|
@@ -0,0 +1,8 @@
|
|
1
|
+
import * as React from 'react';
|
2
|
+
import { StepButton as MUIStepButton } from '@mui/material';
|
3
|
+
import UIThemeProvider from '../../../../theme';
|
4
|
+
const StepButton = (props) => {
|
5
|
+
return (React.createElement(UIThemeProvider, null,
|
6
|
+
React.createElement(MUIStepButton, Object.assign({}, props))));
|
7
|
+
};
|
8
|
+
export default StepButton;
|
@@ -0,0 +1,8 @@
|
|
1
|
+
import * as React from 'react';
|
2
|
+
import { StepConnector as MUIStepConnector } from '@mui/material';
|
3
|
+
import UIThemeProvider from '../../../../theme';
|
4
|
+
const StepConnector = (props) => {
|
5
|
+
return (React.createElement(UIThemeProvider, null,
|
6
|
+
React.createElement(MUIStepConnector, Object.assign({}, props))));
|
7
|
+
};
|
8
|
+
export default StepConnector;
|
@@ -0,0 +1,8 @@
|
|
1
|
+
import * as React from 'react';
|
2
|
+
import { StepContent as MUIStepContent } from '@mui/material';
|
3
|
+
import UIThemeProvider from '../../../../theme';
|
4
|
+
const StepContent = (props) => {
|
5
|
+
return (React.createElement(UIThemeProvider, null,
|
6
|
+
React.createElement(MUIStepContent, Object.assign({}, props))));
|
7
|
+
};
|
8
|
+
export default StepContent;
|
@@ -0,0 +1,8 @@
|
|
1
|
+
import * as React from 'react';
|
2
|
+
import { StepIcon as MUIStepIcon } from '@mui/material';
|
3
|
+
import UIThemeProvider from '../../../../theme';
|
4
|
+
const StepIcon = (props) => {
|
5
|
+
return (React.createElement(UIThemeProvider, null,
|
6
|
+
React.createElement(MUIStepIcon, Object.assign({}, props))));
|
7
|
+
};
|
8
|
+
export default StepIcon;
|
@@ -0,0 +1,8 @@
|
|
1
|
+
import * as React from 'react';
|
2
|
+
import { StepLabel as MUIStepLabel } from '@mui/material';
|
3
|
+
import UIThemeProvider from '../../../../theme';
|
4
|
+
const StepLabel = (props) => {
|
5
|
+
return (React.createElement(UIThemeProvider, null,
|
6
|
+
React.createElement(MUIStepLabel, Object.assign({}, props))));
|
7
|
+
};
|
8
|
+
export default StepLabel;
|
@@ -0,0 +1,8 @@
|
|
1
|
+
import * as React from 'react';
|
2
|
+
import { Stepper as MUIStepper } from '@mui/material';
|
3
|
+
import UIThemeProvider from '../../../theme';
|
4
|
+
const Stepper = (props) => {
|
5
|
+
return (React.createElement(UIThemeProvider, null,
|
6
|
+
React.createElement(MUIStepper, Object.assign({}, props))));
|
7
|
+
};
|
8
|
+
export default Stepper;
|