@flozy/editor 3.5.7 → 3.5.8

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.
@@ -71,11 +71,11 @@ const FormWorkflow = props => {
71
71
  children: [/*#__PURE__*/_jsx(Grid, {
72
72
  item: true,
73
73
  sx: classes.radioBtn,
74
- children: /*#__PURE__*/_jsx(RadioGroup, {
74
+ children: /*#__PURE__*/_jsxs(RadioGroup, {
75
75
  name: "set timing",
76
76
  value: schedule,
77
77
  defaultValue: 1,
78
- children: /*#__PURE__*/_jsx(FormControlLabel, {
78
+ children: [/*#__PURE__*/_jsx(FormControlLabel, {
79
79
  value: "immediately",
80
80
  label: "Immediately",
81
81
  onChange: () => {
@@ -84,7 +84,16 @@ const FormWorkflow = props => {
84
84
  control: /*#__PURE__*/_jsx(Radio, {
85
85
  size: "small"
86
86
  })
87
- })
87
+ }), /*#__PURE__*/_jsx(FormControlLabel, {
88
+ value: "after",
89
+ label: "After",
90
+ onChange: () => {
91
+ setSchedule("after");
92
+ },
93
+ control: /*#__PURE__*/_jsx(Radio, {
94
+ size: "small"
95
+ })
96
+ })]
88
97
  })
89
98
  }), schedule === "after" && /*#__PURE__*/_jsx(Grid, {
90
99
  item: true,
@@ -129,32 +129,31 @@ const formStyle = [{
129
129
  key: "backgroundImage",
130
130
  type: "backgroundImage"
131
131
  }]
132
- },
133
- // {
134
- // tab: "Add to Boards",
135
- // value: "metadatamapping",
136
- // fields: [
137
- // {
138
- // label: "Add response to contacts board",
139
- // key: "metadatamapping",
140
- // type: "metadatamapping",
141
- // compType: "card",
142
- // content: "By default, form responses are added as separate cards on the default contact board.",
143
- // value: "mappingToContactBoard",
144
- // infoIcon: <Icon icon="info" />
145
- // },
146
- // {
147
- // label: "Create a separate board",
148
- // key: "metadatamapping",
149
- // type: "metadatamapping",
150
- // compType: "card",
151
- // content: "By default, form responses are added as separate cards on a new board (Contact Us).",
152
- // value: "mappingToSeparateBoard",
153
- // infoIcon: <Icon icon="info" />
154
- // },
155
- // ],
156
- // },
157
- {
132
+ }, {
133
+ tab: "Add to Boards",
134
+ value: "metadatamapping",
135
+ fields: [{
136
+ label: "Add response to contacts board",
137
+ key: "metadatamapping",
138
+ type: "metadatamapping",
139
+ compType: "card",
140
+ content: "By default, form responses are added as separate cards on the default contact board.",
141
+ value: "mappingToContactBoard",
142
+ infoIcon: /*#__PURE__*/_jsx(Icon, {
143
+ icon: "info"
144
+ })
145
+ }, {
146
+ label: "Create a separate board",
147
+ key: "metadatamapping",
148
+ type: "metadatamapping",
149
+ compType: "card",
150
+ content: "By default, form responses are added as separate cards on a new board (Contact Us).",
151
+ value: "mappingToSeparateBoard",
152
+ infoIcon: /*#__PURE__*/_jsx(Icon, {
153
+ icon: "info"
154
+ })
155
+ }]
156
+ }, {
158
157
  tab: "Save As Template",
159
158
  value: "saveAsTemplate",
160
159
  needActions: false,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flozy/editor",
3
- "version": "3.5.7",
3
+ "version": "3.5.8",
4
4
  "description": "An Editor for flozy app brain",
5
5
  "files": [
6
6
  "dist"