work-workflow-test 0.0.20 → 0.0.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/workflow.es.js +5036 -5317
- package/dist/workflow.umd.js +45 -45
- package/package.json +1 -1
- package/types/components/Automation/Automation.d.ts +2 -1
- package/types/components/Automation/index.d.ts +1 -1
- package/types/components/Automation/types.d.ts +1 -0
- package/types/components/Condition/index.d.ts +1 -1
- package/types/components/CustomEdge/CustomEdge.d.ts +1 -1
- package/types/components/CustomNode/OptionFieldNode.d.ts +1 -1
- package/types/components/FieldAutomationModal/index.d.ts +1 -1
- package/types/components/WorkflowModal/index.d.ts +1 -1
- package/types/components/WorkflowModal/types.d.ts +5 -0
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { CustomEdgeType, SelectIdType } from "../WorkflowModal/types";
|
|
2
|
-
declare const Automation: ({ editEdgeData, setSelectedId, selectAutomation, isCreateNewAutomation, backTolistAutomaion, acceptedUser, selectFieldId, validateUser, workspaceId, col, datasetId, isAutomation, exampleData, }: {
|
|
2
|
+
declare const Automation: ({ editEdgeData, setSelectedId, selectAutomation, isCreateNewAutomation, backTolistAutomaion, acceptedUser, selectFieldId, validateUser, workspaceId, col, datasetId, isAutomation, exampleData, callBackFunc, }: {
|
|
3
3
|
editEdgeData: CustomEdgeType | null;
|
|
4
4
|
setSelectedId: React.Dispatch<React.SetStateAction<SelectIdType>>;
|
|
5
5
|
selectAutomation: any;
|
|
@@ -13,5 +13,6 @@ declare const Automation: ({ editEdgeData, setSelectedId, selectAutomation, isCr
|
|
|
13
13
|
datasetId: any;
|
|
14
14
|
isAutomation: boolean;
|
|
15
15
|
exampleData: any;
|
|
16
|
+
callBackFunc: any;
|
|
16
17
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
17
18
|
export default Automation;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { AutomaitonConfigType } from "./types";
|
|
2
|
-
declare const AutomaitonConfig: ({ editEdgeData, selectedId, setSelectedId, acceptedUser, selectFieldId, validateUser, workspaceId, col, datasetId, isAutomation, exampleData, onClose, }: AutomaitonConfigType) => import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
declare const AutomaitonConfig: ({ editEdgeData, selectedId, setSelectedId, acceptedUser, selectFieldId, validateUser, workspaceId, col, datasetId, isAutomation, exampleData, onClose, callBackFunc }: AutomaitonConfigType) => import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export default AutomaitonConfig;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const ConditionComp: ({ defaultValue, setValue, isDisable, col, isAutomation, filedId, islistpage, }: any) => import("react/jsx-runtime").JSX.Element;
|
|
1
|
+
declare const ConditionComp: ({ defaultValue, setValue, isDisable, col, isAutomation, filedId, islistpage, editEdgeData, }: any) => import("react/jsx-runtime").JSX.Element;
|
|
2
2
|
export default ConditionComp;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
declare const CustomEdge: ({ id, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition,
|
|
1
|
+
declare const CustomEdge: ({ id, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, }: any) => import("react/jsx-runtime").JSX.Element;
|
|
2
2
|
export declare const MiniCustomEdge: ({ id, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, }: any) => import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export default CustomEdge;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { type NodeProps } from "reactflow";
|
|
2
|
-
export declare const CustomHandleNode: ({ data }: NodeProps) => import("react/jsx-runtime").JSX.Element;
|
|
3
2
|
export declare const MiniCustomHandleNode: ({ data }: NodeProps) => import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
export declare const CustomHandleNode: ({ data }: NodeProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { ReactFlowModalType } from "..//WorkflowModal/types";
|
|
2
|
-
declare const FieldAutomationModal: ({ acceptedUser, col, datasetId, exampleData, fieldId, onClose, validateUser, workspaceId, }: ReactFlowModalType) => import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
declare const FieldAutomationModal: ({ acceptedUser, col, datasetId, exampleData, fieldId, onClose, validateUser, workspaceId, callBackFunc }: ReactFlowModalType) => import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export default FieldAutomationModal;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { ReactFlowModalType } from "./types";
|
|
2
|
-
declare const ReactFlowModal: ({ fieldId, col, validateUser, workspaceId, exampleData, acceptedUser, datasetId, onClose, }: ReactFlowModalType) => import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
declare const ReactFlowModal: ({ fieldId, col, validateUser, workspaceId, exampleData, acceptedUser, datasetId, onClose, callBackFunc, }: ReactFlowModalType) => import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export default ReactFlowModal;
|
|
@@ -39,6 +39,11 @@ export interface ReactFlowModalType {
|
|
|
39
39
|
acceptedUser: any;
|
|
40
40
|
datasetId: string;
|
|
41
41
|
onClose: () => void;
|
|
42
|
+
callBackFunc?: (data: {
|
|
43
|
+
id: string;
|
|
44
|
+
automation?: any;
|
|
45
|
+
workflow?: any;
|
|
46
|
+
}) => void;
|
|
42
47
|
}
|
|
43
48
|
export interface MiniFlowType {
|
|
44
49
|
nodes: any;
|