@@ -46,38 +46,35 @@ export const CascaderChildren = {
46
46
} ;
47
47
48
48
export const CascaderPropertyView = (
49
- children : RecordConstructorToComp <
50
- typeof CascaderChildren & { hidden : typeof BoolCodeControl }
51
- >
49
+ children : RecordConstructorToComp < typeof CascaderChildren & { hidden : typeof BoolCodeControl } >
52
50
) => (
53
51
< >
54
52
< Section name = { sectionNames . basic } >
55
- { children . options . propertyView ( { label : trans ( ' cascader.options' ) } ) }
56
- { children . value . propertyView ( { label : trans ( ' prop.defaultValue' ) } ) }
53
+ { children . options . propertyView ( { label : trans ( " cascader.options" ) } ) }
54
+ { children . value . propertyView ( { label : trans ( " prop.defaultValue" ) } ) }
57
55
{ placeholderPropertyView ( children ) }
58
56
</ Section >
59
57
60
- { [ ' logic' , ' both' ] . includes ( useContext ( EditorContext ) . editorModeStatus ) && (
58
+ { [ " logic" , " both" ] . includes ( useContext ( EditorContext ) . editorModeStatus ) && (
61
59
< Section name = { sectionNames . interaction } >
62
60
{ children . onEvent . getPropertyView ( ) }
63
61
{ disabledPropertyView ( children ) }
64
62
{ hiddenPropertyView ( children ) }
65
63
</ Section >
66
64
) }
67
65
68
- { [ 'layout' , 'both' ] . includes ( useContext ( EditorContext ) . editorModeStatus ) &&
69
- children . label . getPropertyView ( ) }
66
+ { [ "layout" , "both" ] . includes ( useContext ( EditorContext ) . editorModeStatus ) && (
67
+ children . label . getPropertyView ( )
68
+ ) }
70
69
71
- { [ ' logic' , ' both' ] . includes ( useContext ( EditorContext ) . editorModeStatus ) && (
70
+ { [ " logic" , " both" ] . includes ( useContext ( EditorContext ) . editorModeStatus ) && (
72
71
< Section name = { sectionNames . advanced } >
73
72
{ allowClearPropertyView ( children ) }
74
73
{ showSearchPropertyView ( children ) }
75
74
</ Section >
76
75
) }
77
76
78
- { [ 'layout' , 'both' ] . includes (
79
- useContext ( EditorContext ) . editorModeStatus
80
- ) && (
77
+ { [ "layout" , "both" ] . includes ( useContext ( EditorContext ) . editorModeStatus ) && (
81
78
< >
82
79
< Section name = { sectionNames . style } >
83
80
{ children . style . getPropertyView ( ) }
0 commit comments