@@ -204,46 +204,35 @@ const FormBaseComp = (function () {
204
204
return (
205
205
< >
206
206
< Section name = { sectionNames . basic } >
207
- { children . resetAfterSubmit . propertyView ( {
208
- label : trans ( 'formComp.resetAfterSubmit' ) ,
209
- } ) }
207
+ { children . resetAfterSubmit . propertyView ( { label : trans ( "formComp.resetAfterSubmit" ) } ) }
210
208
</ Section >
211
209
212
- { ( useContext ( EditorContext ) . editorModeStatus === 'logic' ||
213
- useContext ( EditorContext ) . editorModeStatus === 'both' ) && (
214
- < >
215
- < Section name = { sectionNames . interaction } >
210
+ { ( useContext ( EditorContext ) . editorModeStatus === "logic" || useContext ( EditorContext ) . editorModeStatus === "both" ) && (
211
+ < > < Section name = { sectionNames . interaction } >
216
212
{ children . onEvent . getPropertyView ( ) }
217
213
{ disabledPropertyView ( children ) }
218
- { children . disableSubmit . propertyView ( {
219
- label : trans ( 'formComp.disableSubmit' ) ,
220
- } ) }
214
+ { children . disableSubmit . propertyView ( { label : trans ( "formComp.disableSubmit" ) } ) }
221
215
{ hiddenPropertyView ( children ) }
222
216
{ loadingPropertyView ( children ) }
223
217
</ Section >
224
218
</ >
225
219
) }
226
220
227
- { ( useContext ( EditorContext ) . editorModeStatus === 'layout' ||
228
- useContext ( EditorContext ) . editorModeStatus === 'both' ) && (
221
+ { ( useContext ( EditorContext ) . editorModeStatus === "layout" || useContext ( EditorContext ) . editorModeStatus === "both" ) && (
229
222
< >
230
223
< Section name = { sectionNames . layout } >
231
224
{ children . container . getPropertyView ( ) }
232
225
</ Section >
233
226
</ >
234
227
) }
235
228
236
- { ( useContext ( EditorContext ) . editorModeStatus === 'logic' ||
237
- useContext ( EditorContext ) . editorModeStatus === 'both' ) && (
229
+ { ( useContext ( EditorContext ) . editorModeStatus === "logic" || useContext ( EditorContext ) . editorModeStatus === "both" ) && (
238
230
< Section name = { sectionNames . advanced } >
239
- { children . initialData . propertyView ( {
240
- label : trans ( 'formComp.initialData' ) ,
241
- } ) }
231
+ { children . initialData . propertyView ( { label : trans ( "formComp.initialData" ) } ) }
242
232
</ Section >
243
233
) }
244
234
245
- { ( useContext ( EditorContext ) . editorModeStatus === 'layout' ||
246
- useContext ( EditorContext ) . editorModeStatus === 'both' ) && (
235
+ { ( useContext ( EditorContext ) . editorModeStatus === "layout" || useContext ( EditorContext ) . editorModeStatus === "both" ) && (
247
236
< >
248
237
< Section name = { sectionNames . style } >
249
238
{ children . container . stylePropertyView ( ) }
@@ -252,8 +241,8 @@ const FormBaseComp = (function () {
252
241
{ children . animationStyle . getPropertyView ( ) }
253
242
</ Section >
254
243
{ children . container . children . showHeader . getView ( ) && (
255
- < Section name = { ' Header Style' } >
256
- { children . container . headerStylePropertyView ( ) }
244
+ < Section name = { " Header Style" } >
245
+ { children . container . headerStylePropertyView ( ) }
257
246
</ Section >
258
247
) }
259
248
{ children . container . children . showBody . getView ( ) && (
@@ -262,12 +251,13 @@ const FormBaseComp = (function () {
262
251
</ Section >
263
252
) }
264
253
{ children . container . children . showFooter . getView ( ) && (
265
- < Section name = { ' Footer Style' } >
266
- { children . container . footerStylePropertyView ( ) }
254
+ < Section name = { " Footer Style" } >
255
+ { children . container . footerStylePropertyView ( ) }
267
256
</ Section >
268
257
) }
269
258
</ >
270
259
) }
260
+
271
261
</ >
272
262
) ;
273
263
} )
0 commit comments