@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,8 @@
|
|
1
|
+
import Step from './Step';
|
2
|
+
import Stepper from './Stepper';
|
3
|
+
import StepIcon from './StepIcon';
|
4
|
+
import StepLabel from './StepLabel';
|
5
|
+
import StepButton from './StepButton';
|
6
|
+
import StepContent from './StepContent';
|
7
|
+
import StepConnector from './StepConnector';
|
8
|
+
export { Stepper, Step, StepLabel, StepContent, StepIcon, StepButton, StepConnector };
|
@@ -0,0 +1,8 @@
|
|
1
|
+
import Step from './Step';
|
2
|
+
import Stepper from './Stepper';
|
3
|
+
import StepIcon from './StepIcon';
|
4
|
+
import StepLabel from './StepLabel';
|
5
|
+
import StepButton from './StepButton';
|
6
|
+
import StepContent from './StepContent';
|
7
|
+
import StepConnector from './StepConnector';
|
8
|
+
export { Stepper, Step, StepLabel, StepContent, StepIcon, StepButton, StepConnector };
|
@@ -0,0 +1,8 @@
|
|
1
|
+
import * as React from 'react';
|
2
|
+
import { Switch as MUISwitch } from '@mui/material';
|
3
|
+
import UIThemeProvider from '../../../theme';
|
4
|
+
const Switch = (props) => {
|
5
|
+
return (React.createElement(UIThemeProvider, null,
|
6
|
+
React.createElement(MUISwitch, Object.assign({}, props))));
|
7
|
+
};
|
8
|
+
export default Switch;
|
@@ -0,0 +1,8 @@
|
|
1
|
+
import * as React from 'react';
|
2
|
+
import { Table as MUITable } from '@mui/material';
|
3
|
+
import UIThemeProvider from '../../../theme';
|
4
|
+
const Table = (props) => {
|
5
|
+
return (React.createElement(UIThemeProvider, null,
|
6
|
+
React.createElement(MUITable, Object.assign({}, props))));
|
7
|
+
};
|
8
|
+
export default Table;
|
@@ -0,0 +1,8 @@
|
|
1
|
+
import * as React from 'react';
|
2
|
+
import { Tab as MUITab } from '@mui/material';
|
3
|
+
import UIThemeProvider from '../../../../theme';
|
4
|
+
const Tab = (props) => {
|
5
|
+
return (React.createElement(UIThemeProvider, null,
|
6
|
+
React.createElement(MUITab, Object.assign({}, props), props === null || props === void 0 ? void 0 : props.children)));
|
7
|
+
};
|
8
|
+
export default Tab;
|
@@ -0,0 +1,8 @@
|
|
1
|
+
import * as React from 'react';
|
2
|
+
import { Tabs as MUITabs } from '@mui/material';
|
3
|
+
import UIThemeProvider from '../../../theme';
|
4
|
+
const Tabs = (props) => {
|
5
|
+
return (React.createElement(UIThemeProvider, null,
|
6
|
+
React.createElement(MUITabs, Object.assign({}, props), props === null || props === void 0 ? void 0 : props.children)));
|
7
|
+
};
|
8
|
+
export default Tabs;
|
@@ -0,0 +1,10 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
import { TextFieldProps } from '@mui/material';
|
3
|
+
declare type CustomTextFieldProps = TextFieldProps & {
|
4
|
+
labelPlacement?: string;
|
5
|
+
readOnly?: boolean;
|
6
|
+
instructionText?: string;
|
7
|
+
errorMessage?: string;
|
8
|
+
};
|
9
|
+
declare const TextField: (props: CustomTextFieldProps) => JSX.Element;
|
10
|
+
export default TextField;
|
@@ -0,0 +1,36 @@
|
|
1
|
+
import * as React from 'react';
|
2
|
+
import { TextField as MUITextField, InputLabel } from '@mui/material';
|
3
|
+
import UIThemeProvider from '../../../theme';
|
4
|
+
import FieldError from '../FieldError';
|
5
|
+
import Typography from '../Typography';
|
6
|
+
const TextField = (props) => {
|
7
|
+
var _a;
|
8
|
+
const { variant, label, labelPlacement, readOnly, required, error, instructionText, errorMessage } = props;
|
9
|
+
const readOnlyStyles = {
|
10
|
+
'.MuiOutlinedInput-root': {
|
11
|
+
paddingRight: '5px',
|
12
|
+
background: '#F4F6F8',
|
13
|
+
border: 'none',
|
14
|
+
borderColor: 'transparent',
|
15
|
+
},
|
16
|
+
'&:hover .MuiOutlinedInput-notchedOutline': {
|
17
|
+
border: 'none',
|
18
|
+
},
|
19
|
+
'& fieldset': { borderColor: 'transparent', borderRadius: '8px' },
|
20
|
+
};
|
21
|
+
return (React.createElement(UIThemeProvider, null, variant === 'outlined' && !!label && labelPlacement === 'outside-top' ? (React.createElement(React.Fragment, null,
|
22
|
+
React.createElement(InputLabel, { "data-testid": "label-outside", htmlFor: (_a = label === null || label === void 0 ? void 0 : label.toString()) !== null && _a !== void 0 ? _a : '', sx: { paddingBottom: instructionText ? '0px' : '3px', fontSize: '14px' } }, label !== null && label !== void 0 ? label : '',
|
23
|
+
" ",
|
24
|
+
props.required ? React.createElement("span", { style: { color: 'red' } }, "*") : null),
|
25
|
+
instructionText &&
|
26
|
+
React.createElement(Typography, { variant: 'caption' }, instructionText),
|
27
|
+
React.createElement(MUITextField, Object.assign({}, props, { label: null, inputProps: { readOnly: readOnly, 'aria-readonly': !!readOnly }, sx: readOnly
|
28
|
+
? readOnlyStyles
|
29
|
+
: Object.assign({ '& fieldset': { borderRadius: '8px' } }, props.sx) })),
|
30
|
+
error && (required || errorMessage) &&
|
31
|
+
React.createElement(FieldError, { required: required, label: errorMessage }))) : (React.createElement(React.Fragment, null,
|
32
|
+
React.createElement(MUITextField, Object.assign({ "data-testid": "label-inside", inputProps: { readOnly: readOnly, 'aria-readonly': !!readOnly } }, props, { sx: readOnly ? readOnlyStyles : Object.assign({ '& fieldset': { borderRadius: '8px' } }, props.sx) })),
|
33
|
+
error && (required || errorMessage) &&
|
34
|
+
React.createElement(FieldError, { required: required, label: errorMessage })))));
|
35
|
+
};
|
36
|
+
export default TextField;
|
@@ -0,0 +1 @@
|
|
1
|
+
import '@testing-library/jest-dom/extend-expect';
|
@@ -0,0 +1,20 @@
|
|
1
|
+
import '@testing-library/jest-dom/extend-expect';
|
2
|
+
import React from 'react';
|
3
|
+
import { render, screen } from '@testing-library/react';
|
4
|
+
import TextField from './index';
|
5
|
+
test('render TextField and check for data-testid === label-outside when labelPlacement === outside-top && variant === outlined', () => {
|
6
|
+
render(React.createElement(TextField, { labelPlacement: "outside-top", variant: "outlined", label: "Title" }));
|
7
|
+
const label = screen.getByTestId('label-outside');
|
8
|
+
expect(label).toBeInTheDocument();
|
9
|
+
});
|
10
|
+
test('render TextField and check for data-testid === label-inside when labelPlacement === outside-top && variant !== outlined using data-testid', () => {
|
11
|
+
render(React.createElement(TextField, { labelPlacement: "outside-top", label: "Title2" }));
|
12
|
+
const label = screen.getByTestId('label-inside');
|
13
|
+
expect(label).toBeInTheDocument();
|
14
|
+
});
|
15
|
+
test('render TextField and check for data-testid === label-inside when labelPlacement === undefined', () => {
|
16
|
+
render(React.createElement(TextField, { label: "Title3" }));
|
17
|
+
const label = screen.getByTestId('label-inside');
|
18
|
+
expect(label).toBeInTheDocument();
|
19
|
+
});
|
20
|
+
// TODO Add a test case to check if the label is not present outside the TextField when the labelPlacement is undefined or not equal to outside-top
|
@@ -0,0 +1,8 @@
|
|
1
|
+
import * as React from 'react';
|
2
|
+
import { ToggleButton as MUIToggleButton } from '@mui/material';
|
3
|
+
import UIThemeProvider from '../../../theme';
|
4
|
+
const ToggleButton = (props) => {
|
5
|
+
return (React.createElement(UIThemeProvider, null,
|
6
|
+
React.createElement(MUIToggleButton, Object.assign({}, props))));
|
7
|
+
};
|
8
|
+
export default ToggleButton;
|
@@ -0,0 +1,8 @@
|
|
1
|
+
import * as React from 'react';
|
2
|
+
import { ToggleButtonGroup as MUIToggleButtonGroup } from '@mui/material';
|
3
|
+
import UIThemeProvider from '../../../theme';
|
4
|
+
const ToggleButtonGroup = (props) => {
|
5
|
+
return (React.createElement(UIThemeProvider, null,
|
6
|
+
React.createElement(MUIToggleButtonGroup, Object.assign({}, props))));
|
7
|
+
};
|
8
|
+
export default ToggleButtonGroup;
|
@@ -0,0 +1,8 @@
|
|
1
|
+
import * as React from 'react';
|
2
|
+
import { Tooltip as MUITooltip } from '@mui/material';
|
3
|
+
import UIThemeProvider from '../../../theme';
|
4
|
+
const Tooltip = (props) => {
|
5
|
+
return (React.createElement(UIThemeProvider, null,
|
6
|
+
React.createElement(MUITooltip, Object.assign({}, props))));
|
7
|
+
};
|
8
|
+
export default Tooltip;
|
@@ -0,0 +1,9 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
import { Typography as MUITypography } from '@mui/material';
|
3
|
+
import UIThemeProvider from '../../../theme';
|
4
|
+
const Typography = (props) => {
|
5
|
+
return (React.createElement(UIThemeProvider, null,
|
6
|
+
React.createElement(MUITypography, Object.assign({}, props))));
|
7
|
+
};
|
8
|
+
export default Typography;
|
9
|
+
export { Typography };
|
@@ -0,0 +1,45 @@
|
|
1
|
+
export { Accordion, AccordionDetails, AccordionActions, AccordionSummary } from './Accordion';
|
2
|
+
export { AppBar } from './AppBar';
|
3
|
+
export { Alert } from './Alert';
|
4
|
+
export { Autocomplete, AutocompleteOption } from './Autocomplete';
|
5
|
+
export { Avatar } from './Avatar';
|
6
|
+
export { Backdrop } from './Backdrop';
|
7
|
+
export { Badge } from './Badge';
|
8
|
+
export { Button } from './Button';
|
9
|
+
export { Checkbox } from './Checkbox';
|
10
|
+
export { Chip } from './Chip';
|
11
|
+
export { CircularProgress } from './CircularProgress';
|
12
|
+
export * from './DatePicker';
|
13
|
+
export { Dialog, DialogTitle, DialogActions, DialogContent, DialogContentText } from './Dialog';
|
14
|
+
export { Divider } from './Divider';
|
15
|
+
export { Drawer } from './Drawer';
|
16
|
+
export { LinearProgress } from './LinearProgress';
|
17
|
+
export { Link } from './Link';
|
18
|
+
export * from './LocalizationProvider';
|
19
|
+
export { Menu, MenuItem } from './Menu';
|
20
|
+
export { Skeleton } from './Skeleton';
|
21
|
+
export { Snackbar } from './Snackbar';
|
22
|
+
export * from './StaticDatePicker';
|
23
|
+
export { Switch } from './Switch';
|
24
|
+
export { TextField } from './TextField';
|
25
|
+
export { Typography } from './Typography';
|
26
|
+
export { Paper } from './Paper';
|
27
|
+
export { List } from './List';
|
28
|
+
export { Card } from './Card';
|
29
|
+
export { Collapse } from './Collapse';
|
30
|
+
export { IconButton } from './IconButton';
|
31
|
+
export { Table } from './Table';
|
32
|
+
export { ButtonGroup } from './ButtonGroup';
|
33
|
+
export { Breadcrumbs } from './Breadcrumbs';
|
34
|
+
export { ToggleButton } from './ToggleButton';
|
35
|
+
export { ToggleButtonGroup } from './ToggleButtonGroup';
|
36
|
+
export { Tabs, Tab } from './Tabs';
|
37
|
+
export { Tooltip } from './Tooltip';
|
38
|
+
export { FormControl, FormGroup, FormLabel, FormControlLabel, FormHelperText } from './FormElements';
|
39
|
+
export { Radio, RadioGroup } from './RadioGroup';
|
40
|
+
export { FieldError } from './FieldError';
|
41
|
+
export { Select } from './Select';
|
42
|
+
export { Step, StepLabel, Stepper, StepContent, StepButton, StepIcon, StepConnector } from './Stepper';
|
43
|
+
export { Popover } from './Popover';
|
44
|
+
export { TableBody, TableCell, TableContainer, TableHead, TablePagination, TableRow, TableSortLabel, ListItem, ListItemButton, ListItemText, CardActions, CardActionArea, CardContent, CardMedia, CardHeader, Input, InputLabel, InputAdornment, GridSize, } from '@mui/material';
|
45
|
+
export { TabPanel, TreeItem, TreeView } from '@mui/lab';
|
@@ -0,0 +1,46 @@
|
|
1
|
+
export { Accordion, AccordionDetails, AccordionActions, AccordionSummary } from './Accordion';
|
2
|
+
export { AppBar } from './AppBar';
|
3
|
+
export { Alert } from './Alert';
|
4
|
+
export { Autocomplete } from './Autocomplete';
|
5
|
+
export { Avatar } from './Avatar';
|
6
|
+
export { Backdrop } from './Backdrop';
|
7
|
+
export { Badge } from './Badge';
|
8
|
+
export { Button } from './Button';
|
9
|
+
export { Checkbox } from './Checkbox';
|
10
|
+
export { Chip } from './Chip';
|
11
|
+
export { CircularProgress } from './CircularProgress';
|
12
|
+
export * from './DatePicker';
|
13
|
+
export { Dialog, DialogTitle, DialogActions, DialogContent, DialogContentText } from './Dialog';
|
14
|
+
export { Divider } from './Divider';
|
15
|
+
export { Drawer } from './Drawer';
|
16
|
+
export { LinearProgress } from './LinearProgress';
|
17
|
+
export { Link } from './Link';
|
18
|
+
export * from './LocalizationProvider';
|
19
|
+
export { Menu, MenuItem } from './Menu';
|
20
|
+
export { Skeleton } from './Skeleton';
|
21
|
+
export { Snackbar } from './Snackbar';
|
22
|
+
export * from './StaticDatePicker';
|
23
|
+
export { Switch } from './Switch';
|
24
|
+
export { TextField } from './TextField';
|
25
|
+
export { Typography } from './Typography';
|
26
|
+
export { Paper } from './Paper';
|
27
|
+
export { List } from './List';
|
28
|
+
export { Card } from './Card';
|
29
|
+
export { Collapse } from './Collapse';
|
30
|
+
export { IconButton } from './IconButton';
|
31
|
+
export { Table } from './Table';
|
32
|
+
export { ButtonGroup } from './ButtonGroup';
|
33
|
+
export { Breadcrumbs } from './Breadcrumbs';
|
34
|
+
export { ToggleButton } from './ToggleButton';
|
35
|
+
export { ToggleButtonGroup } from './ToggleButtonGroup';
|
36
|
+
export { Tabs, Tab } from './Tabs';
|
37
|
+
export { Tooltip } from './Tooltip';
|
38
|
+
export { FormControl, FormGroup, FormLabel, FormControlLabel, FormHelperText } from './FormElements';
|
39
|
+
export { Radio, RadioGroup } from './RadioGroup';
|
40
|
+
export { FieldError } from './FieldError';
|
41
|
+
export { Select } from './Select';
|
42
|
+
export { Step, StepLabel, Stepper, StepContent, StepButton, StepIcon, StepConnector } from './Stepper';
|
43
|
+
export { Popover } from './Popover';
|
44
|
+
//TODO: Review following components. They also need theme control:
|
45
|
+
export { TableBody, TableCell, TableContainer, TableHead, TablePagination, TableRow, TableSortLabel, ListItem, ListItemButton, ListItemText, CardActions, CardActionArea, CardContent, CardMedia, CardHeader, Input, InputLabel, InputAdornment, } from '@mui/material';
|
46
|
+
export { TabPanel, TreeItem, TreeView } from '@mui/lab';
|
@@ -0,0 +1,27 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
import { ValueEditorProps } from 'react-querybuilder';
|
3
|
+
import 'react-querybuilder/dist/query-builder.css';
|
4
|
+
import { AutocompleteOption } from '../../core';
|
5
|
+
export declare type ObjectProperty = {
|
6
|
+
id: string;
|
7
|
+
name: string;
|
8
|
+
type: string;
|
9
|
+
enum?: string[];
|
10
|
+
required?: boolean;
|
11
|
+
searchable?: boolean;
|
12
|
+
objectId?: string;
|
13
|
+
formula?: string;
|
14
|
+
};
|
15
|
+
declare type CustomValueEditorProps = ValueEditorProps & {
|
16
|
+
values?: AutocompleteOption[] | any[];
|
17
|
+
};
|
18
|
+
declare type CriteriaInputProps = {
|
19
|
+
properties: ObjectProperty[];
|
20
|
+
setCriteria: Function;
|
21
|
+
criteria?: Record<string, any>;
|
22
|
+
enablePresetValues?: boolean;
|
23
|
+
};
|
24
|
+
export declare const customValueEditorWithPresets: (props: CustomValueEditorProps) => JSX.Element;
|
25
|
+
export declare const customValueEditor: (props: CustomValueEditorProps) => JSX.Element;
|
26
|
+
declare const CriteriaBuilder: (props: CriteriaInputProps) => JSX.Element;
|
27
|
+
export default CriteriaBuilder;
|