Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit6456622

Browse files
committed
Changed viewMode of components
1 parent1e7cb91 commit6456622

File tree

64 files changed

+75
-75
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

64 files changed

+75
-75
lines changed

‎client/packages/lowcoder/src/comps/comps/autoCompleteComp/autoCompleteComp.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ let AutoCompleteCompBase = (function () {
281281
...validateState,
282282
});
283283
})
284-
if(viewMode()==="edit"){
284+
if(viewMode()==="admin"){
285285
builder.setPropertyViewFn((children)=><PropertyView{...children}></PropertyView>);
286286
}
287287
returnbuilder

‎client/packages/lowcoder/src/comps/comps/avatar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ const AvatarView = (props: RecordConstructorToView<typeof childrenMap>) => {
198198
letAvatarBasicComp=(function(){
199199
letbuilder=newUICompBuilder(childrenMap,(props)=>{
200200
return(<AvatarView{...props}/>)})
201-
if(viewMode()==="edit"){
201+
if(viewMode()==="admin"){
202202
builder.setPropertyViewFn((children)=><PropertyView{...children}></PropertyView>);
203203
}
204204
returnbuilder

‎client/packages/lowcoder/src/comps/comps/avatarGroup.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ let DropdownOption = new MultiCompBuilder(
5959
},
6060
(props)=>props
6161
)
62-
if(viewMode()==="edit"){
62+
if(viewMode()==="admin"){
6363
DropdownOption.setPropertyViewFn((children)=><PropertyViewAvatarGroup1{...children}></PropertyViewAvatarGroup1>);
6464
}
6565
constDropdownOptionBuilder=DropdownOption.build();
@@ -132,7 +132,7 @@ let AvatarGroupBasicComp = (function () {
132132
letbuilder=newUICompBuilder(childrenMap,(props,dispatch)=>{
133133
return(<AvatarGroupView{...props}dispatch={dispatch}/>
134134
)})
135-
if(viewMode()==="edit"){
135+
if(viewMode()==="admin"){
136136
builder.setPropertyViewFn((children)=><PropertyViewAvatarGroup2{...children}></PropertyViewAvatarGroup2>);
137137
}
138138
returnbuilder

‎client/packages/lowcoder/src/comps/comps/buttonComp/buttonComp.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ const ButtonTmpComp = (function () {
160160
)
161161
})
162162

163-
if(viewMode()==="edit"){
163+
if(viewMode()==="admin"){
164164
builder.setPropertyViewFn((children)=><PropertyViewButtonComp{...children}></PropertyViewButtonComp>);
165165
}
166166

‎client/packages/lowcoder/src/comps/comps/buttonComp/dropdownComp.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ const DropdownTmpComp = (function () {
150150
</ButtonCompWrapper>
151151
);
152152
})
153-
if(viewMode()==="edit"){
153+
if(viewMode()==="admin"){
154154
builder.setPropertyViewFn((children)=><PropertyViewDropDownComp{...children}></PropertyViewDropDownComp>);
155155
}
156156
returnbuilder

‎client/packages/lowcoder/src/comps/comps/buttonComp/floatButtonComp.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ let FloatButtonBasicComp = (function () {
135135
return(
136136
<FloatButtonView{...props}/>
137137
)})
138-
if(viewMode()==="edit"){
138+
if(viewMode()==="admin"){
139139
builder.setPropertyViewFn((children)=><PropertyViewFloatButton{...children}></PropertyViewFloatButton>);
140140
}
141141
returnbuilder

‎client/packages/lowcoder/src/comps/comps/buttonComp/linkComp.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ const LinkTmpComp = (function () {
111111
</ButtonCompWrapper>
112112
);
113113
})
114-
if(viewMode()==="edit"){
114+
if(viewMode()==="admin"){
115115
builder.setPropertyViewFn((children)=><PropertyViewLinkComp{...children}></PropertyViewLinkComp>);
116116
}
117117
returnbuilder

‎client/packages/lowcoder/src/comps/comps/buttonComp/scannerComp.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ const ScannerTmpComp = (function () {
211211
</ButtonCompWrapper>
212212
);
213213
})
214-
if(viewMode()==="edit"){
214+
if(viewMode()==="admin"){
215215
builder.setPropertyViewFn((children)=><PropertyViewScannerComp{...children}></PropertyViewScannerComp>);
216216
}
217217
returnbuilder

‎client/packages/lowcoder/src/comps/comps/buttonComp/toggleButtonComp.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ const ToggleTmpComp = (function () {
8989
</ButtonCompWrapperStyled>
9090
);
9191
})
92-
if(viewMode()==="edit"){
92+
if(viewMode()==="admin"){
9393
builder.setPropertyViewFn((children)=><PropertyViewToggleButton{...children}></PropertyViewToggleButton>);
9494
}
9595
returnbuilder

‎client/packages/lowcoder/src/comps/comps/carouselComp.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ let CarouselBasicComp = (function () {
7777
</Container>
7878
);
7979
})
80-
if(viewMode()==="edit"){
80+
if(viewMode()==="admin"){
8181
builder.setPropertyViewFn((children)=><PropertyView{...children}></PropertyView>);
8282
}
8383
returnbuilder

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp