File tree Expand file tree Collapse file tree 4 files changed +7
-17
lines changed
client/packages/lowcoder/src Expand file tree Collapse file tree 4 files changed +7
-17
lines changed Original file line number Diff line number Diff line change @@ -306,17 +306,7 @@ let ButtonTmpComp = (function () {
306
306
{ props . prefixIcon }
307
307
</ IconWrapper >
308
308
) }
309
- {
310
- props . text ||
311
- ( props . prefixIcon || props . suffixIcon ? undefined : " " ) // Avoid button disappearing
312
- }
313
- { props . suffixIcon && (
314
- < IconWrapper
315
- $style = { { ...props . style , size : props . iconSize } }
316
- >
317
- { props . suffixIcon }
318
- </ IconWrapper >
319
- ) }
309
+
320
310
</ Button100 >
321
311
</ div >
322
312
</ Container >
@@ -369,7 +359,7 @@ ButtonTmpComp = class extends ButtonTmpComp {
369
359
return this . children . autoHeight . getView ( ) ;
370
360
}
371
361
} ;
372
- export const VideoControlButton = withExposingConfigs ( ButtonTmpComp , [
362
+ export const ControlButton = withExposingConfigs ( ButtonTmpComp , [
373
363
new NameConfig ( "text" , trans ( "button.textDesc" ) ) ,
374
364
new NameConfig ( "loading" , trans ( "button.loadingDesc" ) ) ,
375
365
...CommonNameConfig ,
Original file line number Diff line number Diff line change @@ -137,7 +137,7 @@ import { AutoCompleteComp } from "./comps/autoCompleteComp/autoCompleteComp";
137
137
import { JsonLottieComp } from "./comps/jsonComp/jsonLottieComp" ;
138
138
import { ResponsiveLayoutComp } from "./comps/responsiveLayout" ;
139
139
import { VideoMeetingStreamComp } from "./comps/meetingComp/videoMeetingStreamComp" ;
140
- import { VideoControlButton } from "./comps/meetingComp/videoControlButton " ;
140
+ import { ControlButton } from "./comps/meetingComp/controlButton " ;
141
141
import { VideoMeetingControllerComp } from "./comps/meetingComp/videoMeetingControllerComp" ;
142
142
143
143
type Registry = {
@@ -568,14 +568,14 @@ const uiCompMap: Registry = {
568
568
comp : VideoMeetingStreamComp ,
569
569
withoutLoading : true ,
570
570
} ,
571
- meetingcontrols : {
571
+ controlButton : {
572
572
name : trans ( "meeting.meetingControlCompName" ) ,
573
573
enName : "Controls" ,
574
574
description : trans ( "meeting.meetingCompDesc" ) ,
575
575
categories : [ "meeting" ] ,
576
576
icon : ButtonCompIcon ,
577
577
keywords : trans ( "meeting.meetingCompKeywords" ) ,
578
- comp : VideoControlButton ,
578
+ comp : ControlButton ,
579
579
withoutLoading : true ,
580
580
} ,
581
581
tabbedContainer : {
Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ export type UICompType =
58
58
| "chart"
59
59
| "meeting"
60
60
| "videocomponent"
61
- | "meetingcontrols "
61
+ | "controlButton "
62
62
| "imageEditor"
63
63
| "calendar"
64
64
| "password"
Original file line number Diff line number Diff line change @@ -86,7 +86,7 @@ export const CompStateIcon: {
86
86
container : < LeftContainer /> ,
87
87
meeting : < LeftMeeting /> ,
88
88
videocomponent : < LeftMeeting /> ,
89
- meetingcontrols : < LeftMeeting /> ,
89
+ controlButton : < LeftMeeting /> ,
90
90
tabbedContainer : < LeftContainer /> ,
91
91
modal : < LeftModal /> ,
92
92
listView : < LeftListView /> ,
You can’t perform that action at this time.
0 commit comments