Merge branch 'cz/mergeAll' into fix/edited_component
This commit is contained in:
commit
fdf3306911
11 changed files with 6 additions and 9 deletions
|
|
@ -21,7 +21,6 @@ import {
|
||||||
LANGFLOW_SUPPORTED_TYPES,
|
LANGFLOW_SUPPORTED_TYPES,
|
||||||
TOOLTIP_EMPTY,
|
TOOLTIP_EMPTY,
|
||||||
} from "../../../../constants/constants";
|
} from "../../../../constants/constants";
|
||||||
import OutputModal from "../../../../customNodes/genericNode/components/outputModal";
|
|
||||||
import { Case } from "../../../../shared/components/caseComponent";
|
import { Case } from "../../../../shared/components/caseComponent";
|
||||||
import useFlowStore from "../../../../stores/flowStore";
|
import useFlowStore from "../../../../stores/flowStore";
|
||||||
import useFlowsManagerStore from "../../../../stores/flowsManagerStore";
|
import useFlowsManagerStore from "../../../../stores/flowsManagerStore";
|
||||||
|
|
@ -47,6 +46,7 @@ import useHandleNodeClass from "../../../hooks/use-handle-node-class";
|
||||||
import useHandleRefreshButtonPress from "../../../hooks/use-handle-refresh-buttons";
|
import useHandleRefreshButtonPress from "../../../hooks/use-handle-refresh-buttons";
|
||||||
import TooltipRenderComponent from "../tooltipRenderComponent";
|
import TooltipRenderComponent from "../tooltipRenderComponent";
|
||||||
import { TEXT_FIELD_TYPES } from "./constants";
|
import { TEXT_FIELD_TYPES } from "./constants";
|
||||||
|
import OutputModal from "../outputModal";
|
||||||
|
|
||||||
export default function ParameterComponent({
|
export default function ParameterComponent({
|
||||||
left,
|
left,
|
||||||
|
|
@ -430,7 +430,7 @@ export default function ParameterComponent({
|
||||||
});
|
});
|
||||||
}}
|
}}
|
||||||
name={name}
|
name={name}
|
||||||
data={data.node?.template[name]}
|
data={data.node?.template[name]!}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
{data.node?.template[name]?.refresh_button && (
|
{data.node?.template[name]?.refresh_button && (
|
||||||
|
|
|
||||||
|
|
@ -12,8 +12,8 @@ import {
|
||||||
STATUS_BUILDING,
|
STATUS_BUILDING,
|
||||||
} from "../../constants/constants";
|
} from "../../constants/constants";
|
||||||
import { BuildStatus } from "../../constants/enums";
|
import { BuildStatus } from "../../constants/enums";
|
||||||
import { countHandlesFn } from "../../customNodes/helpers/count-handles";
|
import { countHandlesFn } from "../helpers/count-handles";
|
||||||
import { getSpecificClassFromBuildStatus } from "../../customNodes/helpers/get-class-from-build-status";
|
import { getSpecificClassFromBuildStatus } from "../helpers/get-class-from-build-status";
|
||||||
import NodeToolbarComponent from "../../pages/FlowPage/components/nodeToolbarComponent";
|
import NodeToolbarComponent from "../../pages/FlowPage/components/nodeToolbarComponent";
|
||||||
import useAlertStore from "../../stores/alertStore";
|
import useAlertStore from "../../stores/alertStore";
|
||||||
import { useDarkStore } from "../../stores/darkStore";
|
import { useDarkStore } from "../../stores/darkStore";
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,6 @@ import { Input } from "../../../ui/input";
|
||||||
import useFileDrop from "../../hooks/use-on-file-drop";
|
import useFileDrop from "../../hooks/use-on-file-drop";
|
||||||
|
|
||||||
type SideBarFoldersButtonsComponentProps = {
|
type SideBarFoldersButtonsComponentProps = {
|
||||||
folders: FolderType[];
|
|
||||||
pathname: string;
|
pathname: string;
|
||||||
handleChangeFolder?: (id: string) => void;
|
handleChangeFolder?: (id: string) => void;
|
||||||
handleDeleteFolder?: (item: FolderType) => void;
|
handleDeleteFolder?: (item: FolderType) => void;
|
||||||
|
|
|
||||||
|
|
@ -44,10 +44,8 @@ export default function SidebarNav({
|
||||||
folders?.length > 0 &&
|
folders?.length > 0 &&
|
||||||
isFolderPath && (
|
isFolderPath && (
|
||||||
<SideBarFoldersButtonsComponent
|
<SideBarFoldersButtonsComponent
|
||||||
folders={folders}
|
|
||||||
pathname={pathname}
|
pathname={pathname}
|
||||||
handleChangeFolder={handleChangeFolder}
|
handleChangeFolder={handleChangeFolder}
|
||||||
handleEditFolder={handleEditFolder}
|
|
||||||
handleDeleteFolder={handleDeleteFolder}
|
handleDeleteFolder={handleDeleteFolder}
|
||||||
/>
|
/>
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -81,10 +81,10 @@ export type InputListComponentType = {
|
||||||
|
|
||||||
export type InputGlobalComponentType = {
|
export type InputGlobalComponentType = {
|
||||||
disabled: boolean;
|
disabled: boolean;
|
||||||
onChange: (value: string) => void;
|
onChange: (value: string, snapshot?: boolean) => void;
|
||||||
setDb: (value: boolean) => void;
|
setDb: (value: boolean) => void;
|
||||||
name: string;
|
name: string;
|
||||||
data: NodeDataType;
|
data: TemplateVariableType;
|
||||||
editNode?: boolean;
|
editNode?: boolean;
|
||||||
playgroundDisabled?: boolean;
|
playgroundDisabled?: boolean;
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue