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 () {
306306 { props . prefixIcon }
307307 </ IconWrapper >
308308 ) }
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+
320310 </ Button100 >
321311 </ div >
322312 </ Container >
@@ -369,7 +359,7 @@ ButtonTmpComp = class extends ButtonTmpComp {
369359 return this . children . autoHeight . getView ( ) ;
370360 }
371361} ;
372- export const VideoControlButton = withExposingConfigs ( ButtonTmpComp , [
362+ export const ControlButton = withExposingConfigs ( ButtonTmpComp , [
373363 new NameConfig ( "text" , trans ( "button.textDesc" ) ) ,
374364 new NameConfig ( "loading" , trans ( "button.loadingDesc" ) ) ,
375365 ...CommonNameConfig ,
Original file line number Diff line number Diff line change @@ -137,7 +137,7 @@ import { AutoCompleteComp } from "./comps/autoCompleteComp/autoCompleteComp";
137137import { JsonLottieComp } from "./comps/jsonComp/jsonLottieComp" ;
138138import { ResponsiveLayoutComp } from "./comps/responsiveLayout" ;
139139import { VideoMeetingStreamComp } from "./comps/meetingComp/videoMeetingStreamComp" ;
140- import { VideoControlButton } from "./comps/meetingComp/videoControlButton " ;
140+ import { ControlButton } from "./comps/meetingComp/controlButton " ;
141141import { VideoMeetingControllerComp } from "./comps/meetingComp/videoMeetingControllerComp" ;
142142
143143type Registry = {
@@ -568,14 +568,14 @@ const uiCompMap: Registry = {
568568 comp : VideoMeetingStreamComp ,
569569 withoutLoading : true ,
570570 } ,
571- meetingcontrols : {
571+ controlButton : {
572572 name : trans ( "meeting.meetingControlCompName" ) ,
573573 enName : "Controls" ,
574574 description : trans ( "meeting.meetingCompDesc" ) ,
575575 categories : [ "meeting" ] ,
576576 icon : ButtonCompIcon ,
577577 keywords : trans ( "meeting.meetingCompKeywords" ) ,
578- comp : VideoControlButton ,
578+ comp : ControlButton ,
579579 withoutLoading : true ,
580580 } ,
581581 tabbedContainer : {
Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ export type UICompType =
5858 | "chart"
5959 | "meeting"
6060 | "videocomponent"
61- | "meetingcontrols "
61+ | "controlButton "
6262 | "imageEditor"
6363 | "calendar"
6464 | "password"
Original file line number Diff line number Diff line change @@ -86,7 +86,7 @@ export const CompStateIcon: {
8686 container : < LeftContainer /> ,
8787 meeting : < LeftMeeting /> ,
8888 videocomponent : < LeftMeeting /> ,
89- meetingcontrols : < LeftMeeting /> ,
89+ controlButton : < LeftMeeting /> ,
9090 tabbedContainer : < LeftContainer /> ,
9191 modal : < LeftModal /> ,
9292 listView : < LeftListView /> ,
You can’t perform that action at this time.
0 commit comments