@flozy/editor 1.6.5 → 1.6.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (40) hide show
  1. package/dist/Editor/CommonEditor.js +55 -100
  2. package/dist/Editor/DialogWrapper.js +3 -0
  3. package/dist/Editor/Editor.css +3 -7
  4. package/dist/Editor/Elements/AppHeader/AppHeader.js +10 -3
  5. package/dist/Editor/Elements/AppHeader/AppHeaderButton.js +12 -9
  6. package/dist/Editor/Elements/Carousel/Carousel.js +1 -1
  7. package/dist/Editor/Elements/Color Picker/ColorButtons.js +29 -13
  8. package/dist/Editor/Elements/Color Picker/Styles.js +4 -4
  9. package/dist/Editor/Elements/Form/Form.js +23 -1
  10. package/dist/Editor/Elements/Form/Workflow/FormWorkflow.js +178 -0
  11. package/dist/Editor/Elements/Form/Workflow/ListWorkflow.js +139 -0
  12. package/dist/Editor/Elements/Form/Workflow/MoreOptions.js +64 -0
  13. package/dist/Editor/Elements/Form/Workflow/Styles.js +207 -0
  14. package/dist/Editor/Elements/Form/Workflow/UserInputs.js +207 -0
  15. package/dist/Editor/Elements/Form/Workflow/constant.js +3 -0
  16. package/dist/Editor/Elements/Form/Workflow/index.js +179 -0
  17. package/dist/Editor/Elements/Grid/GridItem.js +8 -6
  18. package/dist/Editor/Elements/InlineIcon/InlineIcon.js +1 -2
  19. package/dist/Editor/Elements/Signature/SignatureOptions/DrawSignature.js +1 -1
  20. package/dist/Editor/Elements/Signature/Signed.js +13 -2
  21. package/dist/Editor/Elements/SimpleText.js +7 -5
  22. package/dist/Editor/Elements/TopBanner/TopBanner.js +2 -2
  23. package/dist/Editor/Elements/TopBanner/TopBannerButton.js +0 -1
  24. package/dist/Editor/Styles/EditorStyles.js +16 -5
  25. package/dist/Editor/Toolbar/Mini/Styles.js +4 -2
  26. package/dist/Editor/Toolbar/PopupTool/PopupToolStyle.js +2 -2
  27. package/dist/Editor/Toolbar/PopupTool/TextFormat.js +4 -14
  28. package/dist/Editor/Toolbar/Toolbar.js +2 -1
  29. package/dist/Editor/Toolbar/toolbarGroups.js +2 -1
  30. package/dist/Editor/common/Icon.js +5 -3
  31. package/dist/Editor/common/ImageSelector/ImageSelector.js +1 -1
  32. package/dist/Editor/common/MentionsPopup/Styles.js +6 -3
  33. package/dist/Editor/common/StyleBuilder/gridItemStyle.js +29 -0
  34. package/dist/Editor/common/iconslist.js +67 -1
  35. package/dist/Editor/hooks/useMentions.js +0 -26
  36. package/dist/Editor/utils/embed.js +14 -10
  37. package/dist/Editor/utils/emoji.js +0 -1
  38. package/dist/Editor/utils/form.js +1 -0
  39. package/dist/Editor/utils/insertAppHeader.js +66 -12
  40. package/package.json +3 -2
@@ -0,0 +1,139 @@
1
+ import React from "react";
2
+ import { Grid, Typography } from "@mui/material";
3
+ import FormStyles from "./Styles";
4
+ import MoreOptions from "./MoreOptions";
5
+ import { jsx as _jsx } from "react/jsx-runtime";
6
+ import { jsxs as _jsxs } from "react/jsx-runtime";
7
+ const ListWorkflow = props => {
8
+ const {
9
+ workflow,
10
+ handleEditFormWorkflow,
11
+ handleDeleteFormWorkflow
12
+ } = props;
13
+ const classes = FormStyles();
14
+ const optionsList = ["Edit", "Delete"];
15
+ const onMenuClick = (selectedMenu, selectedFlow) => () => {
16
+ if (selectedMenu === "Edit") {
17
+ handleEditFormWorkflow(selectedFlow);
18
+ } else if (selectedMenu === "Delete") {
19
+ handleDeleteFormWorkflow(selectedFlow);
20
+ }
21
+ };
22
+ return /*#__PURE__*/_jsx(Grid, {
23
+ container: true,
24
+ gap: 2,
25
+ children: workflow?.map((flow, index) => /*#__PURE__*/_jsx(Grid, {
26
+ item: true,
27
+ xs: 12,
28
+ children: /*#__PURE__*/_jsxs(Grid, {
29
+ container: true,
30
+ sx: classes.flowListCard,
31
+ alignItems: "center",
32
+ justifyContent: "space-between",
33
+ children: [/*#__PURE__*/_jsx(Grid, {
34
+ item: true,
35
+ xs: 11,
36
+ children: /*#__PURE__*/_jsxs(Grid, {
37
+ container: true,
38
+ gap: 1,
39
+ children: [/*#__PURE__*/_jsx(Grid, {
40
+ item: true,
41
+ xs: 12,
42
+ children: /*#__PURE__*/_jsxs(Grid, {
43
+ container: true,
44
+ alignItems: "center",
45
+ children: [/*#__PURE__*/_jsx(Grid, {
46
+ item: true,
47
+ children: /*#__PURE__*/_jsx(Typography, {
48
+ sx: classes.listHeading,
49
+ children: "Subject:"
50
+ })
51
+ }), /*#__PURE__*/_jsx(Grid, {
52
+ item: true,
53
+ children: /*#__PURE__*/_jsx(Typography, {
54
+ sx: classes.listSubHeading,
55
+ style: {
56
+ paddingLeft: '24px'
57
+ },
58
+ children: flow.subject_data
59
+ })
60
+ })]
61
+ })
62
+ }), /*#__PURE__*/_jsx(Grid, {
63
+ item: true,
64
+ xs: 12,
65
+ children: /*#__PURE__*/_jsxs(Grid, {
66
+ container: true,
67
+ alignItems: "center",
68
+ children: [/*#__PURE__*/_jsx(Grid, {
69
+ item: true,
70
+ children: /*#__PURE__*/_jsx(Typography, {
71
+ sx: classes.listHeading,
72
+ children: "Body:"
73
+ })
74
+ }), /*#__PURE__*/_jsx(Grid, {
75
+ item: true,
76
+ children: /*#__PURE__*/_jsx(Typography, {
77
+ sx: classes.listSubHeading,
78
+ style: {
79
+ paddingLeft: '40px'
80
+ },
81
+ children: flow.body_data
82
+ })
83
+ })]
84
+ })
85
+ }), /*#__PURE__*/_jsx(Grid, {
86
+ item: true,
87
+ xs: 12,
88
+ children: /*#__PURE__*/_jsxs(Grid, {
89
+ container: true,
90
+ alignItems: "center",
91
+ children: [/*#__PURE__*/_jsx(Grid, {
92
+ item: true,
93
+ children: /*#__PURE__*/_jsx(Typography, {
94
+ sx: classes.listHeading,
95
+ children: "Scheduled:"
96
+ })
97
+ }), /*#__PURE__*/_jsx(Grid, {
98
+ item: true,
99
+ children: /*#__PURE__*/_jsxs(Grid, {
100
+ container: true,
101
+ children: [/*#__PURE__*/_jsx(Grid, {
102
+ item: true,
103
+ children: /*#__PURE__*/_jsx(Typography, {
104
+ sx: classes.listSubHeading,
105
+ style: {
106
+ paddingLeft: '5px'
107
+ },
108
+ children: flow.schedule_type
109
+ })
110
+ }), flow.schedule_type === 'after' && /*#__PURE__*/_jsx(Grid, {
111
+ item: true,
112
+ children: /*#__PURE__*/_jsxs(Typography, {
113
+ sx: classes.listSubHeading,
114
+ style: {
115
+ paddingLeft: '5px'
116
+ },
117
+ children: [flow.schedule_on, flow.schedule_every]
118
+ })
119
+ })]
120
+ })
121
+ })]
122
+ })
123
+ })]
124
+ })
125
+ }), /*#__PURE__*/_jsx(Grid, {
126
+ item: true,
127
+ xs: 1,
128
+ children: /*#__PURE__*/_jsx(MoreOptions, {
129
+ classes: classes,
130
+ menus: optionsList,
131
+ selectedFlow: index,
132
+ onMenuClick: onMenuClick
133
+ })
134
+ })]
135
+ })
136
+ }, `workflow_list_${index}`))
137
+ });
138
+ };
139
+ export default ListWorkflow;
@@ -0,0 +1,64 @@
1
+ import React, { useState } from "react";
2
+ import { IconButton, Menu, MenuItem, Tooltip } from "@mui/material";
3
+ import { MoreHorizontal } from "../../../common/iconslist";
4
+ import Icon from "../../../common/Icon";
5
+ import { jsx as _jsx } from "react/jsx-runtime";
6
+ import { jsxs as _jsxs } from "react/jsx-runtime";
7
+ import { Fragment as _Fragment } from "react/jsx-runtime";
8
+ function MoreOptions(props) {
9
+ const {
10
+ classes,
11
+ menus,
12
+ onMenuClick,
13
+ selectedFlow
14
+ } = props;
15
+
16
+ //state
17
+ const [anchorEl, setAnchorEl] = useState(null);
18
+ const handleClick = event => {
19
+ event.stopPropagation();
20
+ setAnchorEl(event.currentTarget);
21
+ };
22
+ const handleClose = event => {
23
+ event.stopPropagation();
24
+ setAnchorEl(null);
25
+ };
26
+ return /*#__PURE__*/_jsxs(_Fragment, {
27
+ children: [/*#__PURE__*/_jsx(Tooltip, {
28
+ arrow: true,
29
+ title: "More Options",
30
+ children: /*#__PURE__*/_jsxs(IconButton, {
31
+ sx: classes.moreOption,
32
+ onClick: handleClick,
33
+ children: [/*#__PURE__*/_jsx(Icon, {
34
+ icon: "moreHorizantal"
35
+ }), /*#__PURE__*/_jsx(MoreHorizontal, {
36
+ width: "24px",
37
+ height: "24px"
38
+ })]
39
+ })
40
+ }), /*#__PURE__*/_jsx(Menu, {
41
+ id: "basic-menu",
42
+ open: Boolean(anchorEl),
43
+ anchorEl: anchorEl,
44
+ onClose: handleClose,
45
+ anchorOrigin: {
46
+ vertical: "bottom",
47
+ horizontal: "right"
48
+ },
49
+ transformOrigin: {
50
+ vertical: "top",
51
+ horizontal: "right"
52
+ },
53
+ children: menus.map((m, i) => /*#__PURE__*/_jsx(MenuItem, {
54
+ sx: {
55
+ color: "#64748B",
56
+ paddingRight: "100px"
57
+ },
58
+ onClick: onMenuClick(m, selectedFlow),
59
+ children: m
60
+ }, `menu_${i}_${m}`))
61
+ })]
62
+ });
63
+ }
64
+ export default MoreOptions;
@@ -0,0 +1,207 @@
1
+ const FormStyles = () => ({
2
+ addButton: {
3
+ display: 'flex',
4
+ justifyContent: 'flex-end'
5
+ },
6
+ infoText: {
7
+ fontSize: '12px',
8
+ fontWeight: '400',
9
+ color: '#94A3B8'
10
+ },
11
+ bodyTextArea: {
12
+ '& textarea': {
13
+ border: 'none',
14
+ width: '96%',
15
+ maxWidth: '96%',
16
+ outline: 'none'
17
+ },
18
+ '& textarea: focus-visible': {
19
+ outline: 'none',
20
+ border: 'none'
21
+ }
22
+ },
23
+ formHeadings: {
24
+ fontSize: '14px',
25
+ fontWeight: 500,
26
+ paddingBottom: '10px',
27
+ paddingTop: '10px'
28
+ },
29
+ flowListCard: {
30
+ border: '1px solid #6F6F6F33',
31
+ borderRadius: '8px',
32
+ padding: '10px'
33
+ },
34
+ listHeading: {
35
+ fontSize: '14px',
36
+ fontWeight: 700
37
+ },
38
+ listSubHeading: {
39
+ fontSize: '12px',
40
+ fontWeight: 500,
41
+ color: '#64748B',
42
+ maxWidth: '380px',
43
+ textTransform: 'capitalize',
44
+ whiteSpace: "nowrap",
45
+ overflow: 'hidden',
46
+ textOverflow: 'ellipsis'
47
+ },
48
+ addBtnTypo: {
49
+ color: '#94A3B8',
50
+ fontWeight: 500,
51
+ fontSize: '12px'
52
+ },
53
+ emptyList: {
54
+ justifyContent: 'center',
55
+ display: 'flex',
56
+ border: '1px solid #6F6F6F33',
57
+ borderRadius: '8px',
58
+ padding: '10px',
59
+ color: '#94A3B8'
60
+ },
61
+ popupTitle: {
62
+ fontWeight: 600,
63
+ fontSize: '16px',
64
+ display: 'flex',
65
+ alignItems: 'center'
66
+ },
67
+ subHeadings: {
68
+ fontWeight: 500,
69
+ fontSize: '14px'
70
+ },
71
+ radioBtn: {
72
+ '& .MuiFormControlLabel-label': {
73
+ fontSize: '14px',
74
+ color: '#64748B'
75
+ }
76
+ },
77
+ dialogTitle: {
78
+ '& MuiDialogTitle-root': {
79
+ padding: '16px 12px'
80
+ }
81
+ },
82
+ closeBtn: {
83
+ background: '#F4F6F9',
84
+ color: '#64748B',
85
+ fontSize: '14px',
86
+ fontWeight: 500,
87
+ padding: '4px 22px',
88
+ textTransform: 'none',
89
+ border: '1px solid #D8DDE1',
90
+ '&:hover': {
91
+ border: '1px solid #64748B'
92
+ }
93
+ },
94
+ variableBtn: {
95
+ background: '#F4F6F9',
96
+ color: '#64748B',
97
+ fontSize: '14px',
98
+ fontWeight: 500,
99
+ padding: '4px 22px',
100
+ textTransform: 'none',
101
+ border: '1px solid #D8DDE1',
102
+ '& svg': {
103
+ '& path': {
104
+ stroke: '#64748B'
105
+ }
106
+ },
107
+ '&:hover': {
108
+ border: '1px solid #64748B'
109
+ }
110
+ },
111
+ saveBtn: {
112
+ background: '#2563EB',
113
+ fontSize: '14px',
114
+ fontWeight: 500,
115
+ padding: '4px 24px',
116
+ textTransform: 'none'
117
+ },
118
+ select: {
119
+ minWidth: '110px',
120
+ '& .MuiOutlinedInput-notchedOutline': {
121
+ borderRadius: '8px',
122
+ border: '1px solid #6F6F6F33',
123
+ boxShadow: '0px 4px 16px 0px #0000000D'
124
+ },
125
+ '&:hover .MuiOutlinedInput-notchedOutline': {
126
+ borderRadius: '8px',
127
+ border: '1px solid #6F6F6F33',
128
+ boxShadow: '0px 4px 16px 0px #0000000D'
129
+ },
130
+ '& .MuiSelect-select': {
131
+ color: '#94A3B8',
132
+ fontSize: '14px'
133
+ }
134
+ },
135
+ selectList: {
136
+ color: '#94A3B8',
137
+ fontSize: '14px'
138
+ },
139
+ toolbarContainer: {
140
+ border: '1px solid #6F6F6F33',
141
+ borderRadius: '10px'
142
+ },
143
+ toolBar: {
144
+ padding: '5px'
145
+ },
146
+ colorButtons: {
147
+ "& .buttonsWrpr": {
148
+ display: "flex",
149
+ justifyContent: "center"
150
+ },
151
+ "& button": {
152
+ width: "16px",
153
+ height: "16px",
154
+ marginRight: "8px"
155
+ }
156
+ },
157
+ colorButtonSingle: {
158
+ "&.active": {
159
+ "&:before": {
160
+ content: '" "',
161
+ position: "absolute",
162
+ top: "-5px",
163
+ left: "-5px",
164
+ width: "calc(100% + 4px)",
165
+ height: "calc(100% + 4px)",
166
+ border: "3px solid blue",
167
+ borderRadius: "50%"
168
+ }
169
+ }
170
+ },
171
+ colorButtonsInner: {
172
+ width: "100%",
173
+ padding: "4px",
174
+ display: "flex",
175
+ justifyContent: "center",
176
+ alignItems: "center",
177
+ flexDirection: "column",
178
+ "& .buttonsWrpr": {
179
+ display: "flex",
180
+ justifyContent: "center",
181
+ alignItems: "center"
182
+ },
183
+ ".more-btn-cbs": {
184
+ display: "none"
185
+ },
186
+ "& button": {
187
+ width: "16px",
188
+ height: "16px",
189
+ margin: "0px 4px",
190
+ border: "1px solid #ccc"
191
+ }
192
+ },
193
+ moreOption: {
194
+ background: '#F4F4F4',
195
+ borderRadius: '8px'
196
+ },
197
+ dialogFooter: {
198
+ '&.MuiDialogActions-root': {
199
+ padding: '8px 24px'
200
+ }
201
+ },
202
+ toolButtons: {
203
+ width: '36px',
204
+ height: '36px'
205
+ }
206
+ });
207
+ export default FormStyles;
@@ -0,0 +1,207 @@
1
+ import { Button, Divider, Grid, IconButton, Menu, MenuItem, TextField, TextareaAutosize, Tooltip } from "@mui/material";
2
+ import React, { useState } from "react";
3
+ import FormStyles from "./Styles";
4
+ import Icon from "../../../common/Icon";
5
+ import { PlusIcon, RestRight } from "../../../common/iconslist";
6
+ import KeyboardArrowDownIcon from '@mui/icons-material/KeyboardArrowDown';
7
+ import { AllColors } from "../../Color Picker/ColorButtons";
8
+ import PopupToolStyle from "../../../Toolbar/PopupTool/PopupToolStyle";
9
+ import { jsx as _jsx } from "react/jsx-runtime";
10
+ import { jsxs as _jsxs } from "react/jsx-runtime";
11
+ const UserInputs = props => {
12
+ const {
13
+ element,
14
+ type,
15
+ subject,
16
+ handleField,
17
+ handleSelectedVariables,
18
+ handleInputReset
19
+ } = props;
20
+ const variables = element?.children;
21
+ const classes = FormStyles();
22
+ const popupClasses = PopupToolStyle();
23
+ const [activeColor, setActiveColor] = useState(['#000000']);
24
+ //state
25
+ const [anchorEl, setAnchorEl] = useState(null);
26
+ const [colorAnchorEl, setColorAnchorEl] = useState(null);
27
+ const colorPopover = Boolean(colorAnchorEl);
28
+ const handleVariables = event => {
29
+ event.stopPropagation();
30
+ setAnchorEl(event.currentTarget);
31
+ };
32
+ const handleColorPicker = event => {
33
+ event.stopPropagation();
34
+ setColorAnchorEl(event.currentTarget);
35
+ };
36
+ const handleClose = event => {
37
+ event.stopPropagation();
38
+ setAnchorEl(null);
39
+ };
40
+ const handleColorClose = event => {
41
+ event.stopPropagation();
42
+ setColorAnchorEl(null);
43
+ };
44
+ const handleTextColor = color => () => {
45
+ setActiveColor(color);
46
+ setColorAnchorEl(null);
47
+ };
48
+ return /*#__PURE__*/_jsxs(Grid, {
49
+ container: true,
50
+ sx: classes.toolbarContainer,
51
+ children: [/*#__PURE__*/_jsxs(Grid, {
52
+ item: true,
53
+ xs: 12,
54
+ children: [/*#__PURE__*/_jsxs(Grid, {
55
+ container: true,
56
+ sx: classes.toolBar,
57
+ justifyContent: "space-between",
58
+ children: [/*#__PURE__*/_jsx(Grid, {
59
+ item: true,
60
+ children: /*#__PURE__*/_jsxs(Grid, {
61
+ container: true,
62
+ gap: 1,
63
+ children: [/*#__PURE__*/_jsx(Grid, {
64
+ item: true,
65
+ children: /*#__PURE__*/_jsx(Tooltip, {
66
+ arrow: true,
67
+ title: "Bold",
68
+ children: /*#__PURE__*/_jsx(IconButton, {
69
+ sx: classes.toolButtons,
70
+ children: /*#__PURE__*/_jsx(Icon, {
71
+ icon: "bold"
72
+ })
73
+ })
74
+ })
75
+ }), /*#__PURE__*/_jsx(Grid, {
76
+ item: true,
77
+ children: /*#__PURE__*/_jsx(Tooltip, {
78
+ arrow: true,
79
+ title: "Underline",
80
+ children: /*#__PURE__*/_jsx(IconButton, {
81
+ sx: classes.toolButtons,
82
+ children: /*#__PURE__*/_jsx(Icon, {
83
+ icon: "underline"
84
+ })
85
+ })
86
+ })
87
+ }), /*#__PURE__*/_jsx(Grid, {
88
+ item: true,
89
+ children: /*#__PURE__*/_jsx(Tooltip, {
90
+ arrow: true,
91
+ title: "Italic",
92
+ children: /*#__PURE__*/_jsx(IconButton, {
93
+ sx: classes.toolButtons,
94
+ children: /*#__PURE__*/_jsx(Icon, {
95
+ icon: "italic"
96
+ })
97
+ })
98
+ })
99
+ }), /*#__PURE__*/_jsx(Grid, {
100
+ item: true,
101
+ children: /*#__PURE__*/_jsx(Tooltip, {
102
+ arrow: true,
103
+ title: "Link",
104
+ children: /*#__PURE__*/_jsx(IconButton, {
105
+ sx: classes.toolButtons,
106
+ children: /*#__PURE__*/_jsx(Icon, {
107
+ icon: "link"
108
+ })
109
+ })
110
+ })
111
+ }), /*#__PURE__*/_jsxs(Grid, {
112
+ item: true,
113
+ children: [/*#__PURE__*/_jsx(Tooltip, {
114
+ arrow: true,
115
+ title: "Current Color",
116
+ children: /*#__PURE__*/_jsx(IconButton, {
117
+ style: {
118
+ borderRadius: '50px',
119
+ background: activeColor
120
+ }
121
+ })
122
+ }), /*#__PURE__*/_jsx(Tooltip, {
123
+ arrow: true,
124
+ title: "Color Picker",
125
+ children: /*#__PURE__*/_jsx(IconButton, {
126
+ onClick: handleColorPicker,
127
+ children: /*#__PURE__*/_jsx(KeyboardArrowDownIcon, {})
128
+ })
129
+ }), /*#__PURE__*/_jsx(AllColors, {
130
+ classes: popupClasses,
131
+ open: colorPopover,
132
+ activeColor: activeColor,
133
+ anchorEl: colorAnchorEl,
134
+ onClose: handleColorClose,
135
+ onSelect: handleTextColor
136
+ })]
137
+ })]
138
+ })
139
+ }), /*#__PURE__*/_jsx(Grid, {
140
+ item: true,
141
+ children: /*#__PURE__*/_jsxs(Grid, {
142
+ container: true,
143
+ children: [/*#__PURE__*/_jsx(Grid, {
144
+ item: true,
145
+ children: /*#__PURE__*/_jsx(Tooltip, {
146
+ arrow: true,
147
+ title: "Reset",
148
+ children: /*#__PURE__*/_jsx(IconButton, {
149
+ onClick: handleInputReset(type),
150
+ sx: classes.toolButtons,
151
+ children: /*#__PURE__*/_jsx(RestRight, {})
152
+ })
153
+ })
154
+ }), /*#__PURE__*/_jsxs(Grid, {
155
+ item: true,
156
+ children: [/*#__PURE__*/_jsx(Button, {
157
+ sx: classes.variableBtn,
158
+ variant: "outlined",
159
+ size: "small",
160
+ onClick: handleVariables,
161
+ startIcon: /*#__PURE__*/_jsx(PlusIcon, {}),
162
+ children: "Variables"
163
+ }), /*#__PURE__*/_jsx(Menu, {
164
+ id: "basic-menu",
165
+ open: Boolean(anchorEl),
166
+ anchorEl: anchorEl,
167
+ onClose: handleClose,
168
+ anchorOrigin: {
169
+ vertical: 'bottom',
170
+ horizontal: 'right'
171
+ },
172
+ transformOrigin: {
173
+ vertical: 'top',
174
+ horizontal: 'right'
175
+ },
176
+ children: variables?.map((m, i) => /*#__PURE__*/_jsx(MenuItem, {
177
+ sx: {
178
+ color: "#64748B"
179
+ },
180
+ onClick: handleSelectedVariables(m, type),
181
+ children: m.name
182
+ }, `menu_${i}_${m.name}`))
183
+ })]
184
+ })]
185
+ })
186
+ })]
187
+ }), /*#__PURE__*/_jsx(Divider, {})]
188
+ }), /*#__PURE__*/_jsx(Grid, {
189
+ item: true,
190
+ xs: 12,
191
+ children: type === 2 && /*#__PURE__*/_jsx(TextareaAutosize, {
192
+ margin: "none",
193
+ minRows: 6,
194
+ value: subject,
195
+ onChange: handleField,
196
+ className: classes.bodyTextArea,
197
+ style: {
198
+ border: 'none',
199
+ width: "96%",
200
+ padding: '10px',
201
+ outline: "none"
202
+ }
203
+ })
204
+ })]
205
+ });
206
+ };
207
+ export default UserInputs;
@@ -0,0 +1,3 @@
1
+ export const minutes = [30, 35, 40, 45, 50, 55];
2
+ export const hours = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23];
3
+ export const days = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31];