@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,15 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
import { Card as CustomCard, CardMedia, CardContent, Typography, CardActions, Button } from '../index';
|
3
|
+
export default {
|
4
|
+
title: 'Data Display/Card',
|
5
|
+
component: CustomCard,
|
6
|
+
};
|
7
|
+
const CardTemplate = (args) => (React.createElement(CustomCard, Object.assign({ sx: { maxWidth: 345 } }, args),
|
8
|
+
React.createElement(CardMedia, { component: "img", height: "180", image: "data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wCEAAoHCBQUExcSFBIYFxcaGxsYGBoXGhceFxcXGxsbIBobGxsbISwkHR0qHhgXJTYlKS4wMzMzGiI5PjkyPSwyMzIBCwsLEA4QHhISHjsqJCo7MjQyMjIyMjQ0MjIyMjIyMjIyMjQyMjIyNDIyMjIyMjIyMjIyMjIyMjQyMjIyMjIyMv/AABEIALEBHAMBIgACEQEDEQH/xAAcAAABBQEBAQAAAAAAAAAAAAAAAQIDBAUGBwj/xABCEAACAQMDAwIDBAcGBQMFAAABAhEAAyEEEjEiQVEFYRMycQZCgZEUIzNSobHBB0NictHwFYKSsuGzwvEkNERjg//EABkBAQADAQEAAAAAAAAAAAAAAAABAgMEBf/EACYRAAICAwACAgICAwEAAAAAAAABAhEDITESQQRRE2EigXGRsRT/2gAMA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LTGBnjFJyvhrGalKiD7K6Cxc1Vv4oPwAzqxlYIW2z9TDKoNpGP/ACOr+0NrS6K29yytyy29rdsK7N8VVcq+GJ4aSPBVPY1l/ZCxYSybl64y/ARXKCNzOxJRCBktu2k5GZUiN08r6/6m+t1CncN5kARCW1yYAESFWRMck4k40UUatsq3fUL2rfZ1bN222kYRXeJcrEsZjJkk1v6b0BXQXDdLdOzH0gJyceT4jFUr2kOntqLZGOsGATcur1QD22hSPrx72W9bJ0puZDm5tKSysp2qYEEHYRGefpUrZZa70f6rq0tWAgABkqpzgcEkTkjqz5+lcgtrY4LSUbuDlge27+f1qXVs5Ny87bngSRA2klfmXxEgCIEiq72ndVl9xMQO4wAMnt7e1SVZMjAh7qCNsKsEySxnk98dveq9kAqVYQvJIjcY4EngZmor1vYFAbJyYPkY/qKUW8ksYUcCDBJ7fWhFkoRWiyrLtA3M3+hP1pt3VQNqABVkL/iJwW+sfzqJ3WIKjHBGMVA5nM/7FKIH/pDRkz9TzUZfMjFL8OflM/0p1mwWIAB/KmiKdkbuTTIp9wQY8f7ijd9KlEM1DSNRRXGjmEpKKKkBSUUVICiiigCg0UUAUUUUAtOWiioB2Ppn7FvpVTQfs1/zp/O3SUUiRH2a6/O//L/6rVl6n9lc+n/upaKl9K+zc1n7O79bn8xV/T/tP+dv56iiirosi76f8if/AM/++s3S8L/k/q1FFUnwvHqOf9Z5uf57X/piua+zf/3Df5Ln/Y1JRW0OI6vo6b/8JPpc/m9cqP7r6f6UUVMfZrL0Ra3m9/y/91P03zL/AL/eooqTNEPq/wC1H0/qarpyf8xooqSPbIRy30qI0UVJQn0/zfgf5Vpen8fl/KloqpeJkXvmb6n+dR0UVYzP/9k=", alt: "green iguana" }),
|
9
|
+
React.createElement(CardContent, null,
|
10
|
+
React.createElement(Typography, { gutterBottom: true, variant: "h5", component: "div" }, "Lizard"),
|
11
|
+
React.createElement(Typography, { variant: "body2", color: "text.secondary" }, "Lizards are a widespread group of squamate reptiles, with over 6,000 species, ranging across all continents except Antarctica")),
|
12
|
+
React.createElement(CardActions, null,
|
13
|
+
React.createElement(Button, { size: "small" }, "Share"),
|
14
|
+
React.createElement(Button, { size: "small" }, "Learn More"))));
|
15
|
+
export const Card = CardTemplate.bind({});
|
@@ -0,0 +1,5 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
import { ComponentStory, ComponentMeta } from '@storybook/react';
|
3
|
+
declare const _default: ComponentMeta<(props: import("@mui/material").CheckboxProps) => JSX.Element>;
|
4
|
+
export default _default;
|
5
|
+
export declare const Checkbox: ComponentStory<(props: import("@mui/material").CheckboxProps) => JSX.Element>;
|
@@ -0,0 +1,8 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
import { Checkbox as CustomCheckbox } from '../index';
|
3
|
+
export default {
|
4
|
+
title: 'Input/Checkbox',
|
5
|
+
component: CustomCheckbox,
|
6
|
+
};
|
7
|
+
const CheckboxTemplate = (args) => React.createElement(CustomCheckbox, Object.assign({}, args));
|
8
|
+
export const Checkbox = CheckboxTemplate.bind({});
|
@@ -0,0 +1,5 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
import { ComponentStory, ComponentMeta } from '@storybook/react';
|
3
|
+
declare const _default: ComponentMeta<(props: import("@mui/material").ChipProps<"div", {}>) => JSX.Element>;
|
4
|
+
export default _default;
|
5
|
+
export declare const Chip: ComponentStory<(props: import("@mui/material").ChipProps<"div", {}>) => JSX.Element>;
|
@@ -0,0 +1,8 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
import { Chip as CustomChip } from '../index';
|
3
|
+
export default {
|
4
|
+
title: 'Data Display/Chip',
|
5
|
+
component: CustomChip,
|
6
|
+
};
|
7
|
+
const ChipTemplate = (args) => React.createElement(CustomChip, Object.assign({}, args));
|
8
|
+
export const Chip = ChipTemplate.bind({});
|
@@ -0,0 +1,5 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
import { ComponentStory, ComponentMeta } from '@storybook/react';
|
3
|
+
declare const _default: ComponentMeta<(props: import("@mui/material").CircularProgressProps) => JSX.Element>;
|
4
|
+
export default _default;
|
5
|
+
export declare const CircularProgress: ComponentStory<(props: import("@mui/material").CircularProgressProps) => JSX.Element>;
|
@@ -0,0 +1,8 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
import { CircularProgress as CustomCircularProgress } from '../index';
|
3
|
+
export default {
|
4
|
+
title: 'Data Display/CircularProgress',
|
5
|
+
component: CustomCircularProgress,
|
6
|
+
};
|
7
|
+
const CircularProgressTemplate = (args) => (React.createElement(CustomCircularProgress, Object.assign({}, args)));
|
8
|
+
export const CircularProgress = CircularProgressTemplate.bind({});
|
@@ -0,0 +1,5 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
import { ComponentStory, ComponentMeta } from '@storybook/react';
|
3
|
+
declare const _default: ComponentMeta<(props: import("@mui/material").CollapseProps) => JSX.Element>;
|
4
|
+
export default _default;
|
5
|
+
export declare const Collapse: ComponentStory<(props: import("@mui/material").CollapseProps) => JSX.Element>;
|
@@ -0,0 +1,26 @@
|
|
1
|
+
import React, { useState } from 'react';
|
2
|
+
import { Collapse as CustomCollapse, Box, FormControlLabel, Switch, Typography } from '../index';
|
3
|
+
export default {
|
4
|
+
title: 'Data Display/Collapse',
|
5
|
+
component: CustomCollapse,
|
6
|
+
};
|
7
|
+
const CollapseTemplate = (args) => {
|
8
|
+
const children = (React.createElement(Typography, { variant: "body1" }, "Lorem ipsum dolor sit amet. Et odit quia qui deserunt repellat eum commodi totam id ipsa repellendus sed accusantium rerum. Quo laborum tempora in similique culpa sed enim dolores At tempora aut voluptates sint vel praesentium quis! Aut perferendis minima et molestiae corrupti sit illum velit in fugit consectetur qui accusantium culpa sed nihil omnis."));
|
9
|
+
const [checked, setChecked] = useState(false);
|
10
|
+
const handleChange = () => {
|
11
|
+
setChecked((prev) => !prev);
|
12
|
+
};
|
13
|
+
return (React.createElement(Box, { sx: { height: 300 } },
|
14
|
+
React.createElement(FormControlLabel, { control: React.createElement(Switch, { checked: checked, onChange: handleChange }), label: "Show" }),
|
15
|
+
React.createElement(Box, { sx: {
|
16
|
+
'& > :not(style)': {
|
17
|
+
display: 'flex',
|
18
|
+
justifyContent: 'space-around',
|
19
|
+
height: 120,
|
20
|
+
width: 250,
|
21
|
+
},
|
22
|
+
} },
|
23
|
+
React.createElement("div", null,
|
24
|
+
React.createElement(CustomCollapse, Object.assign({ in: checked }, args), children)))));
|
25
|
+
};
|
26
|
+
export const Collapse = CollapseTemplate.bind({});
|
@@ -0,0 +1,5 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
import { ComponentStory, ComponentMeta } from '@storybook/react';
|
3
|
+
declare const _default: ComponentMeta<(props: import("@mui/material").ContainerProps<"div", {}>) => JSX.Element>;
|
4
|
+
export default _default;
|
5
|
+
export declare const Container: ComponentStory<(props: import("@mui/material").ContainerProps<"div", {}>) => JSX.Element>;
|
@@ -0,0 +1,12 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
import { Container as CustomContainer, Box } from '../index';
|
3
|
+
export default {
|
4
|
+
title: 'Layout/Container',
|
5
|
+
component: CustomContainer,
|
6
|
+
};
|
7
|
+
const ContainerTemplate = (args) => {
|
8
|
+
return (React.createElement(React.Fragment, null,
|
9
|
+
React.createElement(CustomContainer, Object.assign({ maxWidth: "sm" }, args),
|
10
|
+
React.createElement(Box, { sx: { bgcolor: '#cfe8fc', height: '200px' } }))));
|
11
|
+
};
|
12
|
+
export const Container = ContainerTemplate.bind({});
|
@@ -0,0 +1,21 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
import { ComponentMeta, ComponentStory } from '@storybook/react';
|
3
|
+
declare const _default: ComponentMeta<(props: {
|
4
|
+
properties: import("../components/custom/CriteriaBuilder/CriteriaBuilder").ObjectProperty[];
|
5
|
+
setCriteria: Function;
|
6
|
+
criteria?: Record<string, any> | undefined;
|
7
|
+
enablePresetValues?: boolean | undefined;
|
8
|
+
}) => JSX.Element>;
|
9
|
+
export default _default;
|
10
|
+
export declare const CriteriaBuilder: ComponentStory<(props: {
|
11
|
+
properties: import("../components/custom/CriteriaBuilder/CriteriaBuilder").ObjectProperty[];
|
12
|
+
setCriteria: Function;
|
13
|
+
criteria?: Record<string, any> | undefined;
|
14
|
+
enablePresetValues?: boolean | undefined;
|
15
|
+
}) => JSX.Element>;
|
16
|
+
export declare const CriteriaBuilderPresetValues: ComponentStory<(props: {
|
17
|
+
properties: import("../components/custom/CriteriaBuilder/CriteriaBuilder").ObjectProperty[];
|
18
|
+
setCriteria: Function;
|
19
|
+
criteria?: Record<string, any> | undefined;
|
20
|
+
enablePresetValues?: boolean | undefined;
|
21
|
+
}) => JSX.Element>;
|
@@ -0,0 +1,206 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
import { CriteriaBuilder as BuildCriteria } from '../index';
|
3
|
+
export default {
|
4
|
+
title: 'Input/CriteriaBuilder',
|
5
|
+
component: BuildCriteria,
|
6
|
+
};
|
7
|
+
const CriteriaBuilderTemplate = (args) => React.createElement(BuildCriteria, Object.assign({}, args));
|
8
|
+
export const CriteriaBuilder = CriteriaBuilderTemplate.bind({});
|
9
|
+
CriteriaBuilder.args = {
|
10
|
+
properties: [
|
11
|
+
{
|
12
|
+
id: 'name',
|
13
|
+
name: 'name',
|
14
|
+
type: 'string',
|
15
|
+
required: true,
|
16
|
+
},
|
17
|
+
{
|
18
|
+
id: 'licenseNumber',
|
19
|
+
name: 'license number',
|
20
|
+
type: 'string',
|
21
|
+
required: true,
|
22
|
+
},
|
23
|
+
{
|
24
|
+
id: 'issueDate',
|
25
|
+
name: 'issue date',
|
26
|
+
type: 'date',
|
27
|
+
required: false,
|
28
|
+
objectId: '',
|
29
|
+
},
|
30
|
+
{
|
31
|
+
id: 'status',
|
32
|
+
name: 'status',
|
33
|
+
type: 'string',
|
34
|
+
enum: ['active', 'expired', 'pending approval'],
|
35
|
+
required: false,
|
36
|
+
objectId: '',
|
37
|
+
},
|
38
|
+
{
|
39
|
+
id: 'licenseeName',
|
40
|
+
name: 'Licensee Name',
|
41
|
+
type: 'string',
|
42
|
+
required: false,
|
43
|
+
formula: '{{person.firstName}} {{person.middleName}} {{person.lastName}}',
|
44
|
+
},
|
45
|
+
{
|
46
|
+
id: 'calculated',
|
47
|
+
name: 'calculated',
|
48
|
+
type: 'string',
|
49
|
+
required: false,
|
50
|
+
objectId: '',
|
51
|
+
formula: '{{status}} - {{licensee.firstName}}',
|
52
|
+
},
|
53
|
+
{
|
54
|
+
id: 'application',
|
55
|
+
name: 'applicant',
|
56
|
+
type: 'object',
|
57
|
+
required: false,
|
58
|
+
objectId: 'application',
|
59
|
+
},
|
60
|
+
{
|
61
|
+
id: 'applicantName',
|
62
|
+
name: 'Application Info',
|
63
|
+
type: 'string',
|
64
|
+
required: false,
|
65
|
+
formula: '{{application.name}} - {{status}}',
|
66
|
+
},
|
67
|
+
{
|
68
|
+
id: 'licensedFor',
|
69
|
+
name: 'licensed for',
|
70
|
+
type: 'array',
|
71
|
+
enum: [
|
72
|
+
'amusements',
|
73
|
+
'food and beverage',
|
74
|
+
'entertainment',
|
75
|
+
'transportation',
|
76
|
+
'hot dogs',
|
77
|
+
'swimming pools',
|
78
|
+
'ferris wheels',
|
79
|
+
'bungee jumping',
|
80
|
+
],
|
81
|
+
required: true,
|
82
|
+
searchable: false,
|
83
|
+
},
|
84
|
+
{
|
85
|
+
id: 'inState',
|
86
|
+
name: 'In State',
|
87
|
+
type: 'string',
|
88
|
+
enum: ['Yes', 'No'],
|
89
|
+
required: false,
|
90
|
+
searchable: false,
|
91
|
+
},
|
92
|
+
],
|
93
|
+
setCriteria: (criteria) => console.log('criteria= ', criteria),
|
94
|
+
criteria: {
|
95
|
+
$or: [
|
96
|
+
{
|
97
|
+
name: 'bert',
|
98
|
+
},
|
99
|
+
{
|
100
|
+
licensedFor: { $in: ['hot dogs', 'amusements', 'entertainment'] },
|
101
|
+
},
|
102
|
+
{
|
103
|
+
licenseNumber: '123456',
|
104
|
+
},
|
105
|
+
{
|
106
|
+
issueDate: '2023-03-16',
|
107
|
+
},
|
108
|
+
],
|
109
|
+
},
|
110
|
+
enablePresetValues: false,
|
111
|
+
};
|
112
|
+
export const CriteriaBuilderPresetValues = CriteriaBuilderTemplate.bind({});
|
113
|
+
CriteriaBuilderPresetValues.args = {
|
114
|
+
properties: [
|
115
|
+
{
|
116
|
+
id: 'name',
|
117
|
+
name: 'name',
|
118
|
+
type: 'string',
|
119
|
+
required: true,
|
120
|
+
},
|
121
|
+
{
|
122
|
+
id: 'licenseNumber',
|
123
|
+
name: 'license number',
|
124
|
+
type: 'string',
|
125
|
+
required: true,
|
126
|
+
},
|
127
|
+
{
|
128
|
+
id: 'issueDate',
|
129
|
+
name: 'issue date',
|
130
|
+
type: 'date',
|
131
|
+
required: false,
|
132
|
+
objectId: '',
|
133
|
+
},
|
134
|
+
{
|
135
|
+
id: 'status',
|
136
|
+
name: 'status',
|
137
|
+
type: 'string',
|
138
|
+
enum: ['active', 'expired', 'pending approval'],
|
139
|
+
required: false,
|
140
|
+
objectId: '',
|
141
|
+
},
|
142
|
+
{
|
143
|
+
id: 'licenseeName',
|
144
|
+
name: 'Licensee Name',
|
145
|
+
type: 'string',
|
146
|
+
required: false,
|
147
|
+
formula: '{{person.firstName}} {{person.middleName}} {{person.lastName}}',
|
148
|
+
},
|
149
|
+
{
|
150
|
+
id: 'calculated',
|
151
|
+
name: 'calculated',
|
152
|
+
type: 'string',
|
153
|
+
required: false,
|
154
|
+
objectId: '',
|
155
|
+
formula: '{{status}} - {{licensee.firstName}}',
|
156
|
+
},
|
157
|
+
{
|
158
|
+
id: 'application',
|
159
|
+
name: 'applicant',
|
160
|
+
type: 'object',
|
161
|
+
required: false,
|
162
|
+
objectId: 'application',
|
163
|
+
},
|
164
|
+
{
|
165
|
+
id: 'applicantName',
|
166
|
+
name: 'Application Info',
|
167
|
+
type: 'string',
|
168
|
+
required: false,
|
169
|
+
formula: '{{application.name}} - {{status}}',
|
170
|
+
},
|
171
|
+
{
|
172
|
+
id: 'licensedFor',
|
173
|
+
name: 'licensed for',
|
174
|
+
type: 'array',
|
175
|
+
enum: [
|
176
|
+
'amusements',
|
177
|
+
'food and beverage',
|
178
|
+
'entertainment',
|
179
|
+
'transportation',
|
180
|
+
'hot dogs',
|
181
|
+
'swimming pools',
|
182
|
+
'ferris wheels',
|
183
|
+
'bungee jumping',
|
184
|
+
],
|
185
|
+
required: true,
|
186
|
+
searchable: false,
|
187
|
+
},
|
188
|
+
{
|
189
|
+
id: 'inState',
|
190
|
+
name: 'In State',
|
191
|
+
type: 'string',
|
192
|
+
enum: ['Yes', 'No'],
|
193
|
+
required: false,
|
194
|
+
searchable: false,
|
195
|
+
},
|
196
|
+
],
|
197
|
+
setCriteria: (criteria) => console.log('criteria= ', criteria),
|
198
|
+
criteria: {
|
199
|
+
$or: [
|
200
|
+
{
|
201
|
+
name: '',
|
202
|
+
},
|
203
|
+
],
|
204
|
+
},
|
205
|
+
enablePresetValues: true,
|
206
|
+
};
|
@@ -0,0 +1,6 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
import { ComponentStory, ComponentMeta } from '@storybook/react';
|
3
|
+
import { DatePickerProps } from '../index';
|
4
|
+
declare const _default: ComponentMeta<(props: DatePickerProps) => JSX.Element>;
|
5
|
+
export default _default;
|
6
|
+
export declare const DatePicker: ComponentStory<(props: DatePickerProps) => JSX.Element>;
|
@@ -0,0 +1,35 @@
|
|
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, { useState } from 'react';
|
13
|
+
import { DatePicker as CustomDatePicker, LocalizationProvider } from '../index';
|
14
|
+
export default {
|
15
|
+
title: 'Input/DatePicker',
|
16
|
+
component: CustomDatePicker,
|
17
|
+
argTypes: {
|
18
|
+
value: {
|
19
|
+
type: {
|
20
|
+
name: 'string',
|
21
|
+
},
|
22
|
+
},
|
23
|
+
},
|
24
|
+
};
|
25
|
+
const DatePickerTemplate = (args) => {
|
26
|
+
const { value: initialValue, onChange } = args, rest = __rest(args, ["value", "onChange"]);
|
27
|
+
const [value, setValue] = useState(initialValue !== null && initialValue !== void 0 ? initialValue : null);
|
28
|
+
const handleChange = (newValue, input) => {
|
29
|
+
onChange(newValue, input);
|
30
|
+
setValue(newValue);
|
31
|
+
};
|
32
|
+
return (React.createElement(LocalizationProvider, null,
|
33
|
+
React.createElement(CustomDatePicker, Object.assign({}, rest, { value: value, onChange: handleChange }))));
|
34
|
+
};
|
35
|
+
export const DatePicker = DatePickerTemplate.bind({});
|
@@ -0,0 +1,5 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
import { ComponentStory, ComponentMeta } from '@storybook/react';
|
3
|
+
declare const _default: ComponentMeta<(props: import("@mui/material").DialogProps) => JSX.Element>;
|
4
|
+
export default _default;
|
5
|
+
export declare const Dialog: ComponentStory<(props: import("@mui/material").DialogProps) => JSX.Element>;
|
@@ -0,0 +1,24 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
import { Dialog as CustomDialog, Button, DialogTitle, DialogActions, DialogContent, TextField, Typography } from '../index';
|
3
|
+
export default {
|
4
|
+
title: 'Data Display/Dialog',
|
5
|
+
component: CustomDialog,
|
6
|
+
};
|
7
|
+
const DialogTemplate = (args) => {
|
8
|
+
const [open, setOpen] = React.useState(false);
|
9
|
+
const handleClickOpen = () => {
|
10
|
+
setOpen(true);
|
11
|
+
};
|
12
|
+
const handleClose = () => {
|
13
|
+
setOpen(false);
|
14
|
+
};
|
15
|
+
return (React.createElement(React.Fragment, null,
|
16
|
+
React.createElement(Button, { variant: "outlined", onClick: handleClickOpen }, "Open simple dialog"),
|
17
|
+
React.createElement(CustomDialog, Object.assign({ onClose: handleClose, open: open }, args),
|
18
|
+
React.createElement(DialogTitle, null, "Add backup account"),
|
19
|
+
React.createElement(DialogContent, null,
|
20
|
+
React.createElement(Typography, null, "Backup Account:"),
|
21
|
+
React.createElement(TextField, { placeholder: 'Account Name' })),
|
22
|
+
React.createElement(DialogActions, { defaultAction: { text: 'Add', onClick: () => { } }, defaultCancel: { text: 'Cancel', onClick: handleClose } }))));
|
23
|
+
};
|
24
|
+
export const Dialog = DialogTemplate.bind({});
|
@@ -0,0 +1,5 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
import { ComponentStory, ComponentMeta } from '@storybook/react';
|
3
|
+
declare const _default: ComponentMeta<(props: import("@mui/material").DividerProps<"hr", {}>) => JSX.Element>;
|
4
|
+
export default _default;
|
5
|
+
export declare const Divider: ComponentStory<(props: import("@mui/material").DividerProps<"hr", {}>) => JSX.Element>;
|
@@ -0,0 +1,8 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
import { Divider as CustomDivider } from '../index';
|
3
|
+
export default {
|
4
|
+
title: 'Data Display/Divider',
|
5
|
+
component: CustomDivider,
|
6
|
+
};
|
7
|
+
const DividerTemplate = (args) => React.createElement(CustomDivider, Object.assign({}, args));
|
8
|
+
export const Divider = DividerTemplate.bind({});
|
@@ -0,0 +1,5 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
import { ComponentStory, ComponentMeta } from '@storybook/react';
|
3
|
+
declare const _default: ComponentMeta<(props: import("@mui/material").DrawerProps) => JSX.Element>;
|
4
|
+
export default _default;
|
5
|
+
export declare const Drawer: ComponentStory<(props: import("@mui/material").DrawerProps) => JSX.Element>;
|
@@ -0,0 +1,27 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
import { Typography } from '@mui/material';
|
3
|
+
import { Drawer as CustomDrawer, Button } from '../index';
|
4
|
+
export default {
|
5
|
+
title: 'Navigation/Drawer',
|
6
|
+
component: CustomDrawer,
|
7
|
+
};
|
8
|
+
const DrawerTemplate = (args) => {
|
9
|
+
const [state, setState] = React.useState({
|
10
|
+
top: false,
|
11
|
+
left: false,
|
12
|
+
bottom: false,
|
13
|
+
right: false,
|
14
|
+
});
|
15
|
+
const toggleDrawer = (anchor, open) => (event) => {
|
16
|
+
if (event.type === 'keydown' &&
|
17
|
+
(event.key === 'Tab' || event.key === 'Shift')) {
|
18
|
+
return;
|
19
|
+
}
|
20
|
+
setState(Object.assign(Object.assign({}, state), { [anchor]: open }));
|
21
|
+
};
|
22
|
+
return (React.createElement("div", null, ['left', 'right', 'top', 'bottom'].map((anchor) => (React.createElement(React.Fragment, { key: anchor },
|
23
|
+
React.createElement(Button, { onClick: toggleDrawer(anchor, true) }, anchor),
|
24
|
+
React.createElement(CustomDrawer, Object.assign({ anchor: anchor, open: state[anchor], onClose: toggleDrawer(anchor, false) }, args),
|
25
|
+
React.createElement(Typography, { variant: "h6" }, "Testing Drawer")))))));
|
26
|
+
};
|
27
|
+
export const Drawer = DrawerTemplate.bind({});
|
@@ -0,0 +1,5 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
import { ComponentStory, ComponentMeta } from '@storybook/react';
|
3
|
+
declare const _default: ComponentMeta<(props: import("@mui/material").FormControlProps<"div", {}>) => JSX.Element>;
|
4
|
+
export default _default;
|
5
|
+
export declare const FormControl: ComponentStory<(props: import("@mui/material").FormControlProps<"div", {}>) => JSX.Element>;
|
@@ -0,0 +1,14 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
import { FormControl as CustomFormControl, FormControlLabel } from '../index';
|
3
|
+
import { FormLabel, Radio, RadioGroup } from '@mui/material';
|
4
|
+
export default {
|
5
|
+
title: 'Form Elements/FormControl',
|
6
|
+
component: CustomFormControl,
|
7
|
+
};
|
8
|
+
const FormControlTemplate = (args) => (React.createElement(CustomFormControl, Object.assign({}, args),
|
9
|
+
React.createElement(FormLabel, { id: "demo-radio-buttons-group-label" }, "Gender"),
|
10
|
+
React.createElement(RadioGroup, { "aria-labelledby": "demo-radio-buttons-group-label", defaultValue: "female", name: "radio-buttons-group" },
|
11
|
+
React.createElement(FormControlLabel, { value: "female", control: React.createElement(Radio, null), label: "Female" }),
|
12
|
+
React.createElement(FormControlLabel, { value: "male", control: React.createElement(Radio, null), label: "Male" }),
|
13
|
+
React.createElement(FormControlLabel, { value: "other", control: React.createElement(Radio, null), label: "Other" }))));
|
14
|
+
export const FormControl = FormControlTemplate.bind({});
|
@@ -0,0 +1,5 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
import { ComponentStory, ComponentMeta } from '@storybook/react';
|
3
|
+
declare const _default: ComponentMeta<(props: import("@mui/material").FormControlLabelProps) => JSX.Element>;
|
4
|
+
export default _default;
|
5
|
+
export declare const FormControlLabel: ComponentStory<(props: import("@mui/material").FormControlLabelProps) => JSX.Element>;
|
@@ -0,0 +1,8 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
import { FormControlLabel as CustomFormControlLabel, Switch } from '../index';
|
3
|
+
export default {
|
4
|
+
title: 'Form Elements/FormControlLabel',
|
5
|
+
component: CustomFormControlLabel,
|
6
|
+
};
|
7
|
+
const FormControlLabelTemplate = (args) => (React.createElement(CustomFormControlLabel, Object.assign({ control: React.createElement(Switch, { defaultChecked: true }), label: "Label" }, args)));
|
8
|
+
export const FormControlLabel = FormControlLabelTemplate.bind({});
|
@@ -0,0 +1,9 @@
|
|
1
|
+
import { ComponentMeta, ComponentStory } from '@storybook/react';
|
2
|
+
declare const _default: ComponentMeta<(props: import("../components/custom/FormField/FormField").FormFieldProps) => any>;
|
3
|
+
export default _default;
|
4
|
+
export declare const InputField: ComponentStory<(props: import("../components/custom/FormField/FormField").FormFieldProps) => any>;
|
5
|
+
export declare const ChoicesSelectField: ComponentStory<(props: import("../components/custom/FormField/FormField").FormFieldProps) => any>;
|
6
|
+
export declare const DatePickerField: ComponentStory<(props: import("../components/custom/FormField/FormField").FormFieldProps) => any>;
|
7
|
+
export declare const BooleanField: ComponentStory<(props: import("../components/custom/FormField/FormField").FormFieldProps) => any>;
|
8
|
+
export declare const FileUploadField: ComponentStory<(props: import("../components/custom/FormField/FormField").FormFieldProps) => any>;
|
9
|
+
export declare const ArraySelectField: ComponentStory<(props: import("../components/custom/FormField/FormField").FormFieldProps) => any>;
|