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

Feature extension#1334

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
FalkWolsky merged 10 commits intodevfromfeature-extension
Nov 22, 2024
Merged
Show file tree
Hide file tree
Changes fromall commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -15,7 +15,7 @@ const Wrapper = styled.div<{
$itemHeight?:number;
}>`
position: relative;
width:100%;
width:auto;
height:${(props)=>props.$itemHeight??30}px;
/* border: 1px solid #d7d9e0; */
border-radius: 4px;
Expand Down
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -6,6 +6,7 @@ import { DraggableTreeContext } from "./DraggableTreeContext";
import DroppablePlaceholder from "./DroppablePlaceHolder";
import { DraggableTreeNode, DraggableTreeNodeItemRenderProps, IDragData, IDropData } from "./types";
import { checkDroppableFlag } from "./util";
import { Flex } from "antd";

const DraggableMenuItemWrapper = styled.div`
position: relative;
Expand DownExpand Up@@ -88,29 +89,34 @@ export default function DraggableMenuItem(props: IDraggableMenuItemProps) {
disabled={isDragging || disabled}
/>
)}
<DraggableItem
path={path}
id={id}
dropInAsSub={dropInAsSub && canDropIn !== false}
isOver={isOver}
ref={(node) => {
setDragNodeRef(node);
setDropNodeRef(node);
}}
{...dragListeners}
>
{renderContent?.({
node: item,
isOver,
path,
isOverlay,
hasChildren: items.length > 0,
dragging: !!(isDragging || parentDragging),
isFolded: isFold,
onDelete: () => onDelete?.(path),
onToggleFold: () => context.toggleFold(id),
}) || null}
</DraggableItem>
<Flex style={{paddingLeft: '15px'}} align="center">
<DraggableItem
path={path}
id={id}
dropInAsSub={dropInAsSub && canDropIn !== false}
isOver={isOver}
ref={(node) => {
setDragNodeRef(node);
setDropNodeRef(node);
}}
{...dragListeners}
>
<span style={{cursor: "default"}}>⣿</span>
</DraggableItem>
<div style={{flex: 1}}>
{renderContent?.({
node: item,
isOver,
path,
isOverlay,
hasChildren: items.length > 0,
dragging: !!(isDragging || parentDragging),
isFolded: isFold,
onDelete: () => onDelete?.(path),
onToggleFold: () => context.toggleFold(id),
}) || null}
</div>
</Flex>
</DraggableMenuItemWrapper>
{items.length > 0 && !isFold && (
<div className="sub-menu-list">
Expand Down
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -9,7 +9,7 @@ export const ReduxActionTypes = {
FETCH_RAW_CURRENT_USER_SUCCESS: "FETCH_RAW_CURRENT_USER_SUCCESS",
FETCH_API_KEYS: "FETCH_API_KEYS",
FETCH_API_KEYS_SUCCESS: "FETCH_API_KEYS_SUCCESS",

MOVE_TO_FOLDER2_SUCCESS: "MOVE_TO_FOLDER2_SUCCESS",

/* plugin RELATED */
FETCH_DATA_SOURCE_TYPES: "FETCH_DATA_SOURCE_TYPES",
Expand Down
1 change: 1 addition & 0 deletionsclient/packages/lowcoder/src/i18n/locales/en.ts
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -2785,6 +2785,7 @@ export const en = {
"switch":"Switch Component: "
},
"module":{
"folderNotEmpty":"Folder is not empty",
"emptyText":"No Data",
"docLink":"Read More About Modules...",
"documentationText" :"Modules are complete Applications, that can get included and repeated in other Applications and it functions just like a single component. As modules can get embedded, they need to be able to interact with your outside apps or websites. This four settings help to support communication with a Module.",
Expand Down
Loading
Loading

[8]ページ先頭

©2009-2025 Movatter.jp