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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "work-workflow-test",
3
- "version": "0.0.20",
3
+ "version": "0.0.21",
4
4
  "type": "module",
5
5
  "main": "./dist/workflow.cjs.js",
6
6
  "module": "./dist/workflow.es.js",
@@ -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;
@@ -12,4 +12,5 @@ export type AutomaitonConfigType = {
12
12
  isAutomation: boolean;
13
13
  exampleData: any;
14
14
  onClose?: any;
15
+ callBackFunc?: any;
15
16
  };
@@ -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, curvature, data, markerEnd, }: any) => import("react/jsx-runtime").JSX.Element;
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;