work-workflow-test 0.0.5 → 0.0.7
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/index.css +1 -1
- package/dist/workflow.es.js +5633 -5416
- package/dist/workflow.umd.js +46 -46
- package/package.json +3 -2
- package/types/components/Automation/AutoComp.d.ts +1 -1
- package/types/components/Automation/Automation.d.ts +10 -1
- package/types/components/Automation/ListOfAutomation.d.ts +1 -1
- package/types/components/Automation/index.d.ts +1 -1
- package/types/components/Automation/types.d.ts +9 -0
- package/types/components/Condition/constants.d.ts +1 -0
- package/types/components/Condition/index.d.ts +1 -1
- package/types/components/FieldAutomationModal/index.d.ts +3 -0
- package/types/components/Form/Notification.d.ts +1 -1
- package/types/components/Form/multi-user-field.d.ts +4 -1
- package/types/components/WorkflowModal/FlowEdgeDrawer.d.ts +1 -1
- package/types/index.d.ts +1 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "work-workflow-test",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.7",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/workflow.cjs.js",
|
|
6
6
|
"module": "./dist/workflow.es.js",
|
|
@@ -38,7 +38,8 @@
|
|
|
38
38
|
"luxon": "^3.7.1",
|
|
39
39
|
"react-hook-form": "^7",
|
|
40
40
|
"reactflow": "^11.11.4",
|
|
41
|
-
"universal-cookie": "^8.0.1"
|
|
41
|
+
"universal-cookie": "^8.0.1",
|
|
42
|
+
"work-workflow-prod": "^0.0.8"
|
|
42
43
|
},
|
|
43
44
|
"devDependencies": {
|
|
44
45
|
"@chromatic-com/storybook": "^4.0.1",
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const AutomationComp: ({ defaultValue, setValue, isDisable }: any) => import("react/jsx-runtime").JSX.Element;
|
|
1
|
+
declare const AutomationComp: ({ defaultValue, setValue, isDisable, col, datasetId, workspaceId, acceptedUser, validateUser, exampleData, }: any) => import("react/jsx-runtime").JSX.Element;
|
|
2
2
|
export default AutomationComp;
|
|
@@ -1,8 +1,17 @@
|
|
|
1
1
|
import type { CustomEdgeType, SelectIdType } from "../WorkflowModal/types";
|
|
2
|
-
declare const Automation: ({ editEdgeData, setSelectedId, selectAutomation, isCreateNewAutomation, }: {
|
|
2
|
+
declare const Automation: ({ editEdgeData, setSelectedId, selectAutomation, isCreateNewAutomation, backTolistAutomaion, acceptedUser, selectFieldId, validateUser, workspaceId, col, datasetId, isAutomation, exampleData, }: {
|
|
3
3
|
editEdgeData: CustomEdgeType | null;
|
|
4
4
|
setSelectedId: React.Dispatch<React.SetStateAction<SelectIdType>>;
|
|
5
5
|
selectAutomation: any;
|
|
6
6
|
isCreateNewAutomation: boolean;
|
|
7
|
+
backTolistAutomaion: () => void;
|
|
8
|
+
acceptedUser: any;
|
|
9
|
+
selectFieldId: any;
|
|
10
|
+
validateUser: any;
|
|
11
|
+
workspaceId: any;
|
|
12
|
+
col: any;
|
|
13
|
+
datasetId: any;
|
|
14
|
+
isAutomation: boolean;
|
|
15
|
+
exampleData: any;
|
|
7
16
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
8
17
|
export default Automation;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const ListOfAutomation: ({ selectedId, setSelectedId, setSelectAutomation, setisCreateNewAutomation, }: any) => import("react/jsx-runtime").JSX.Element;
|
|
1
|
+
declare const ListOfAutomation: ({ selectedId, setSelectedId, setSelectAutomation, setisCreateNewAutomation, workspaceId, isAutomation, selectFieldId, col, datasetId, validateUser, acceptedUser, exampleData, onClose, }: any) => import("react/jsx-runtime").JSX.Element;
|
|
2
2
|
export default ListOfAutomation;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { AutomaitonConfigType } from "./types";
|
|
2
|
-
declare const AutomaitonConfig: ({ editEdgeData, selectedId, setSelectedId, }: AutomaitonConfigType) => import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
declare const AutomaitonConfig: ({ editEdgeData, selectedId, setSelectedId, acceptedUser, selectFieldId, validateUser, workspaceId, col, datasetId, isAutomation, exampleData, onClose, }: AutomaitonConfigType) => import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export default AutomaitonConfig;
|
|
@@ -3,4 +3,13 @@ export type AutomaitonConfigType = {
|
|
|
3
3
|
selectedId: SelectIdType;
|
|
4
4
|
editEdgeData: CustomEdgeType | null;
|
|
5
5
|
setSelectedId: React.Dispatch<React.SetStateAction<SelectIdType>>;
|
|
6
|
+
acceptedUser: any;
|
|
7
|
+
selectFieldId: any;
|
|
8
|
+
validateUser: any;
|
|
9
|
+
workspaceId: any;
|
|
10
|
+
col: any;
|
|
11
|
+
datasetId: any;
|
|
12
|
+
isAutomation: boolean;
|
|
13
|
+
exampleData: any;
|
|
14
|
+
onClose?: any;
|
|
6
15
|
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const ConditionComp: ({ defaultValue, setValue, isDisable }: any) => import("react/jsx-runtime").JSX.Element;
|
|
1
|
+
declare const ConditionComp: ({ defaultValue, setValue, isDisable, col, isAutomation, filedId, islistpage, }: any) => import("react/jsx-runtime").JSX.Element;
|
|
2
2
|
export default ConditionComp;
|
|
@@ -0,0 +1,3 @@
|
|
|
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;
|
|
3
|
+
export default FieldAutomationModal;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const Notification: ({ defaultValue, setValue }: any) => import("react/jsx-runtime").JSX.Element;
|
|
1
|
+
declare const Notification: ({ defaultValue, setValue, acceptedUser, col, exampleData, }: any) => import("react/jsx-runtime").JSX.Element;
|
|
2
2
|
export default Notification;
|
|
@@ -1,8 +1,11 @@
|
|
|
1
|
-
declare const MultiUserField: ({ selectedAssignees, setValue, datasetId, isForNotification, }: {
|
|
1
|
+
declare const MultiUserField: ({ selectedAssignees, setValue, datasetId, isForNotification, acceptedUser, validateUser, workspaceId, }: {
|
|
2
2
|
selectedAssignees: string[];
|
|
3
3
|
setValue: (value: string[]) => void;
|
|
4
4
|
datasetId: string;
|
|
5
5
|
isForNotification?: boolean;
|
|
6
|
+
acceptedUser: any;
|
|
7
|
+
workspaceId: any;
|
|
8
|
+
validateUser: any;
|
|
6
9
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
7
10
|
export default MultiUserField;
|
|
8
11
|
export declare const CollobrationView: ({ assignTo, acceptedUserData, }: {
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import "./styles.scss";
|
|
2
|
-
declare const FlowEdgeDrawer: ({ edgeData, updateEdgeData, setSelectedId }: any) => import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
declare const FlowEdgeDrawer: ({ edgeData, updateEdgeData, setSelectedId, validateUser, workspaceId, acceptedUser, }: any) => import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export default FlowEdgeDrawer;
|
package/types/index.d.ts
CHANGED
|
@@ -2,3 +2,4 @@ import "@style/global.scss";
|
|
|
2
2
|
import "reactflow/dist/style.css";
|
|
3
3
|
export type { ReactFlowModalType } from "./components/WorkflowModal/types";
|
|
4
4
|
export { default as ReactFlowModal } from "./components/WorkflowModal";
|
|
5
|
+
export { default as FieldAutomationModal } from "./components/FieldAutomationModal";
|