Skip to content

Commit 84188bb

Browse files
unfinished moving meeting comp to lowcoder-comps
1 parent 0de683e commit 84188bb

File tree

2 files changed

+39
-35
lines changed

2 files changed

+39
-35
lines changed

client/packages/lowcoder/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
"@types/react-test-renderer": "^18.0.0",
3838
"@types/react-virtualized": "^9.21.21",
3939
"agora-access-token": "^2.0.4",
40-
"agora-rtc-sdk-ng": "^4.19.0",
40+
"agora-rtc-sdk-ng": "^4.20.2",
4141
"agora-rtm-sdk": "^1.5.1",
4242
"antd": "5.13.2",
4343
"axios": "^1.6.2",

client/packages/lowcoder/src/comps/comps/meetingComp/videoMeetingControllerComp.tsx

Lines changed: 38 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -512,12 +512,12 @@ let MTComp = (function () {
512512
styles={{
513513
wrapper: {
514514
maxHeight: "100%",
515-
maxWidth: "100%"
516-
},
515+
maxWidth: "100%",
516+
},
517517
body: {
518518
padding: 0,
519519
backgroundColor: props.style.background,
520-
}
520+
},
521521
}}
522522
closable={false}
523523
placement={props.placement}
@@ -569,8 +569,10 @@ let MTComp = (function () {
569569
)
570570
.setPropertyViewFn((children) => (
571571
<>
572-
{(useContext(EditorContext).editorModeStatus === "logic" || useContext(EditorContext).editorModeStatus === "both") && (
573-
<><Section name={sectionNames.meetings}>
572+
{(useContext(EditorContext).editorModeStatus === "logic" ||
573+
useContext(EditorContext).editorModeStatus === "both") && (
574+
<>
575+
<Section name={sectionNames.meetings}>
574576
{children.appId.propertyView({
575577
label: trans("meeting.appid"),
576578
})}
@@ -593,38 +595,40 @@ let MTComp = (function () {
593595
</>
594596
)}
595597

596-
{(useContext(EditorContext).editorModeStatus === "layout" || useContext(EditorContext).editorModeStatus === "both") && (
597-
<><Section name={sectionNames.layout}>
598-
{children.placement.propertyView({
599-
label: trans("drawer.placement"),
600-
radioButton: true,
601-
})}
602-
{["top", "bottom"].includes(children.placement.getView())
603-
? children.autoHeight.getPropertyView()
604-
: children.width.propertyView({
605-
label: trans("drawer.width"),
606-
tooltip: trans("drawer.widthTooltip"),
598+
{(useContext(EditorContext).editorModeStatus === "layout" ||
599+
useContext(EditorContext).editorModeStatus === "both") && (
600+
<>
601+
<Section name={sectionNames.layout}>
602+
{children.placement.propertyView({
603+
label: trans("drawer.placement"),
604+
radioButton: true,
605+
})}
606+
{["top", "bottom"].includes(children.placement.getView())
607+
? children.autoHeight.getPropertyView()
608+
: children.width.propertyView({
609+
label: trans("drawer.width"),
610+
tooltip: trans("drawer.widthTooltip"),
611+
placeholder: DEFAULT_SIZE + "",
612+
})}
613+
{!children.autoHeight.getView() &&
614+
["top", "bottom"].includes(children.placement.getView()) &&
615+
children.height.propertyView({
616+
label: trans("drawer.height"),
617+
tooltip: trans("drawer.heightTooltip"),
607618
placeholder: DEFAULT_SIZE + "",
608619
})}
609-
{!children.autoHeight.getView() &&
610-
["top", "bottom"].includes(children.placement.getView()) &&
611-
children.height.propertyView({
612-
label: trans("drawer.height"),
613-
tooltip: trans("drawer.heightTooltip"),
614-
placeholder: DEFAULT_SIZE + "",
620+
{children.maskClosable.propertyView({
621+
label: trans("prop.maskClosable"),
622+
})}
623+
{children.showMask.propertyView({
624+
label: trans("prop.showMask"),
615625
})}
616-
{children.maskClosable.propertyView({
617-
label: trans("prop.maskClosable"),
618-
})}
619-
{children.showMask.propertyView({
620-
label: trans("prop.showMask"),
621-
})}
622-
</Section>
623-
624-
<Section name={sectionNames.style}>
625-
626-
{children.style.getPropertyView()}
627-
</Section></>
626+
</Section>
627+
628+
<Section name={sectionNames.style}>
629+
{children.style.getPropertyView()}
630+
</Section>
631+
</>
628632
)}
629633
</>
630634
))

0 commit comments

Comments
 (0)